Skip to content

Instantly share code, notes, and snippets.

@TranBaVinhSon
Created March 7, 2018 13:58
Show Gist options
  • Save TranBaVinhSon/3405f47b21ebb7092f0d354b178acca6 to your computer and use it in GitHub Desktop.
Save TranBaVinhSon/3405f47b21ebb7092f0d354b178acca6 to your computer and use it in GitHub Desktop.
package com.example.sontbv.retrofittutorial.model;
import com.google.gson.annotations.SerializedName;
/**
* Created by sontbv on 3/7/18.
*/
public class Movie {
@SerializedName("id")
private String id;
@SerializedName("title")
private String title;
@SerializedName("description")
private String description;
@SerializedName("director")
private String director;
public String getId() {
return id;
}
public void setId(String id) {
this.id = id;
}
public String getTitle() {
return title;
}
public void setTitle(String title) {
this.title = title;
}
public String getDescription() {
return description;
}
public void setDescription(String description) {
this.description = description;
}
public String getDirector() {
return director;
}
public void setDirector(String director) {
this.director = director;
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment