Update Network model

This commit is contained in:
Stuart Boston
2018-04-03 18:49:57 +01:00
parent 4203dc55a5
commit 33daddb40e
@@ -19,6 +19,7 @@
*/
package com.omertron.themoviedbapi.model.network;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.omertron.themoviedbapi.interfaces.Identification;
import com.omertron.themoviedbapi.model.AbstractIdName;
import java.io.Serializable;
@@ -30,5 +31,35 @@ public class Network extends AbstractIdName implements Serializable, Identificat
private static final long serialVersionUID = 100L;
// Nothing to add to base class
@JsonProperty("headquarters")
private String headquarters;
@JsonProperty("homepage")
private String homepage;
@JsonProperty("origin_country")
private String originCountry;
public String getHeadquarters() {
return headquarters;
}
public void setHeadquarters(String headquarters) {
this.headquarters = headquarters;
}
public String getHomepage() {
return homepage;
}
public void setHomepage(String homepage) {
this.homepage = homepage;
}
public String getOriginCountry() {
return originCountry;
}
public void setOriginCountry(String originCountry) {
this.originCountry = originCountry;
}
}