Created
March 7, 2018 13:58
-
-
Save TranBaVinhSon/3405f47b21ebb7092f0d354b178acca6 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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