com.siftscience.model.Listing Maven / Gradle / Ivy
package com.siftscience.model;
import java.util.List;
import com.google.gson.annotations.Expose;
import com.google.gson.annotations.SerializedName;
public class Listing {
@Expose @SerializedName("$subject") private String subject;
@Expose @SerializedName("$body") private String body;
@Expose @SerializedName("$contact_email") private String contactEmail;
@Expose @SerializedName("$contact_address") private Address contactAddress;
@Expose @SerializedName("$locations") private List locations;
@Expose @SerializedName("$listed_items") private List- listedItems;
@Expose @SerializedName("$images") private List
images;
@Expose @SerializedName("$expiration_time") private Long expirationTime;
public String getBody() {
return body;
}
public Listing setBody(String body) {
this.body = body;
return this;
}
public String getContactEmail() {
return contactEmail;
}
public Listing setContactEmail(String contactEmail) {
this.contactEmail = contactEmail;
return this;
}
public List getImages() {
return images;
}
public Listing setImages(List images) {
this.images = images;
return this;
}
public Address getContactAddress() {
return contactAddress;
}
public Listing setContactAddress(Address contactAddress) {
this.contactAddress = contactAddress;
return this;
}
public List getLocations() {
return locations;
}
public Listing setLocations(List locations) {
this.locations = locations;
return this;
}
public List- getListedItems() {
return listedItems;
}
public Listing setListedItems(List
- listedItems) {
this.listedItems = listedItems;
return this;
}
public Long getExpirationTime() {
return expirationTime;
}
public Listing setExpirationTime(Long expirationTime) {
this.expirationTime = expirationTime;
return this;
}
public String getSubject() {
return subject;
}
public Listing setSubject(String subject) {
this.subject = subject;
return this;
}
}