SHARE
TWEET

Untitled

a guest Oct 21st, 2019 67 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. package me.alhaz.tutorial.architecturecomponent.models.repositories.movie.remote.response
  2.  
  3. import android.os.Parcelable
  4. import com.google.gson.annotations.SerializedName
  5. import kotlinx.android.parcel.Parcelize
  6.  
  7. @Parcelize
  8. data class Movie(
  9.  
  10.     @SerializedName("id")
  11.     var id: Long = 0,
  12.  
  13.     @SerializedName("adult")
  14.     var adult: Boolean = false,
  15.  
  16.     @SerializedName("backdrop_path")
  17.     var backdropPath: String = "",
  18.  
  19.     @SerializedName("budget")
  20.     var budget: Long = 0,
  21.  
  22.     @SerializedName("homepage")
  23.     var homepage: String = "",
  24.  
  25.     @SerializedName("imdbID")
  26.     var imdbID: String = "",
  27.  
  28.     @SerializedName("original_language")
  29.     var originalLanguage: String = "",
  30.  
  31.     @SerializedName("original_title")
  32.     var originalTitle: String = "",
  33.  
  34.     @SerializedName("overview")
  35.     var overview: String = "",
  36.  
  37.     @SerializedName("overview_id")
  38.     var overview_id: String = "",
  39.  
  40.     @SerializedName("popularity")
  41.     var popularity: Double = 0.0,
  42.  
  43.     @SerializedName("poster_path")
  44.     var posterPath: String = "",
  45.  
  46.     @SerializedName("release_date")
  47.     var releaseDate: String = "",
  48.  
  49.     @SerializedName("revenue")
  50.     var revenue: Long = 0,
  51.  
  52.     @SerializedName("runtime")
  53.     var runtime: Long = 0,
  54.  
  55.     @SerializedName("Status")
  56.     var status: String = "",
  57.  
  58.     @SerializedName("tagline")
  59.     var tagline: String = "",
  60.  
  61.     @SerializedName("title")
  62.     var title: String,
  63.  
  64.     @SerializedName("video")
  65.     var video: Boolean = false,
  66.  
  67.     @SerializedName("vote_average")
  68.     var voteAverage: Double = 0.0,
  69.  
  70.     @SerializedName("vote_count")
  71.     var voteCount: Long = 0,
  72.  
  73.     @SerializedName("favorite")
  74.     var favorite: Int = 0
  75.  
  76. ): Parcelable
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top