Skip to content

Instantly share code, notes, and snippets.

@vicky7230
Created June 26, 2018 11:01
Show Gist options
  • Save vicky7230/fded9ac0517ccffb09545e6ed024dae7 to your computer and use it in GitHub Desktop.
Save vicky7230/fded9ac0517ccffb09545e6ed024dae7 to your computer and use it in GitHub Desktop.
data class Result(
var type: String = "TV",
@SerializedName("original_name")
@Expose
var originalName: String? = null,
@SerializedName("genre_ids")
@Expose
var genreIds: List<Int>? = null,
@SerializedName("name")
@Expose
var name: String? = null,
@SerializedName("popularity")
@Expose
var popularity: Float? = null,
@SerializedName("origin_country")
@Expose
var originCountry: List<String>? = null,
@SerializedName("vote_count")
@Expose
var voteCount: Int? = null,
@SerializedName("first_air_date")
@Expose
var firstAirDate: String? = null,
@SerializedName("backdrop_path")
@Expose
var backdropPath: String? = null,
@SerializedName("original_language")
@Expose
var originalLanguage: String? = null,
@SerializedName("id")
@Expose
var id: Int? = null,
@SerializedName("vote_average")
@Expose
var voteAverage: Float? = null,
@SerializedName("overview")
@Expose
var overview: String? = null,
@SerializedName("poster_path")
@Expose
var posterPath: String? = null
)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment