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();
/**
* @return The author
*/
@JsonProperty("author")
public List getAuthor() {
return author;
}
/**
* @param author The author
*/
@JsonProperty("author")
public void setAuthor(List author) {
this.author = author;
}
/**
* @return The collection
*/
@JsonProperty("collection")
public List getCollection() {
return collection;
}
/**
* @param collection The collection
*/
@JsonProperty("collection")
public void setCollection(List collection) {
this.collection = collection;
}
/**
* @return The httpsApiWOrgAttachment
*/
@JsonProperty("https://api.w.org/attachment")
public List getHttpsApiWOrgAttachment() {
return httpsApiWOrgAttachment;
}
/**
* @param httpsApiWOrgAttachment The https://api.w.org/attachment
*/
@JsonProperty("https://api.w.org/attachment")
public void setHttpsApiWOrgAttachment(List httpsApiWOrgAttachment) {
this.httpsApiWOrgAttachment = httpsApiWOrgAttachment;
}
/**
* @return The httpsApiWOrgMeta
*/
@JsonProperty("https://api.w.org/meta")
public List getHttpsApiWOrgMeta() {
return httpsApiWOrgMeta;
}
/**
* @param httpsApiWOrgMeta The https://api.w.org/meta
*/
@JsonProperty("https://api.w.org/meta")
public void setHttpsApiWOrgMeta(List httpsApiWOrgMeta) {
this.httpsApiWOrgMeta = httpsApiWOrgMeta;
}
/**
* @return The replies
*/
@JsonProperty("replies")
public List getReplies() {
return replies;
}
/**
* @param replies The replies
*/
@JsonProperty("replies")
public void setReplies(List replies) {
this.replies = replies;
}
/**
* @return The self
*/
@JsonProperty("self")
public List getSelf() {
return self;
}
/**
* @param self The self
*/
@JsonProperty("self")
public void setSelf(List self) {
this.self = self;
}
/**
* @return The versionHistory
*/
@JsonProperty("version-history")
public List getVersionHistory() {
return versionHistory;
}
/**
* @param versionHistory The version-history
*/
@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