com.afrozaar.wordpress.wpapi.v2.model.Links Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of wp-api-v2-client-java Show documentation
Show all versions of wp-api-v2-client-java Show documentation
A Java client implementation to the WordPress WP-API v2 plugin.
package com.afrozaar.wordpress.wpapi.v2.model;
import com.fasterxml.jackson.annotation.JsonAnyGetter;
import com.fasterxml.jackson.annotation.JsonAnySetter;
import com.fasterxml.jackson.annotation.JsonIgnore;
import com.fasterxml.jackson.annotation.JsonInclude;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.fasterxml.jackson.annotation.JsonPropertyOrder;
import javax.annotation.Generated;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
@JsonInclude(JsonInclude.Include.NON_NULL)
@Generated("org.jsonschema2pojo")
@JsonPropertyOrder({
"author",
"collection",
"https://api.w.org/attachment",
"https://api.w.org/meta",
"replies",
"self",
"version-history"
})
public class Links {
@JsonProperty("author")
private List author = new ArrayList();
@JsonProperty("collection")
private List collection = new ArrayList();
@JsonProperty("https://api.w.org/attachment")
private List httpsApiWOrgAttachment = new ArrayList();
@JsonProperty("https://api.w.org/meta")
private List httpsApiWOrgMeta = new ArrayList();
@JsonProperty("replies")
private List replies = new ArrayList();
@JsonProperty("self")
private List self = new ArrayList();
@JsonProperty("version-history")
private List versionHistory = new ArrayList();
@JsonIgnore
private Map additionalProperties = new HashMap();
@JsonProperty("author")
public List getAuthor() {
return author;
}
@JsonProperty("author")
public void setAuthor(List author) {
this.author = author;
}
@JsonProperty("collection")
public List getCollection() {
return collection;
}
@JsonProperty("collection")
public void setCollection(List collection) {
this.collection = collection;
}
@JsonProperty("https://api.w.org/attachment")
public List getHttpsApiWOrgAttachment() {
return httpsApiWOrgAttachment;
}
@JsonProperty("https://api.w.org/attachment")
public void setHttpsApiWOrgAttachment(List httpsApiWOrgAttachment) {
this.httpsApiWOrgAttachment = httpsApiWOrgAttachment;
}
@JsonProperty("https://api.w.org/meta")
public List getHttpsApiWOrgMeta() {
return httpsApiWOrgMeta;
}
@JsonProperty("https://api.w.org/meta")
public void setHttpsApiWOrgMeta(List httpsApiWOrgMeta) {
this.httpsApiWOrgMeta = httpsApiWOrgMeta;
}
@JsonProperty("replies")
public List getReplies() {
return replies;
}
@JsonProperty("replies")
public void setReplies(List replies) {
this.replies = replies;
}
@JsonProperty("self")
public List getSelf() {
return self;
}
@JsonProperty("self")
public void setSelf(List self) {
this.self = self;
}
@JsonProperty("version-history")
public List getVersionHistory() {
return versionHistory;
}
@JsonProperty("version-history")
public void setVersionHistory(List versionHistory) {
this.versionHistory = versionHistory;
}
@JsonAnyGetter
public Map getAdditionalProperties() {
return this.additionalProperties;
}
@JsonAnySetter
public void setAdditionalProperty(String name, Object value) {
this.additionalProperties.put(name, value);
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy