com.afrozaar.wordpress.wpapi.v2.model.HttpsApiWOrgTerm 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.HashMap;
import java.util.Map;
@JsonInclude(JsonInclude.Include.NON_NULL)
@Generated("org.jsonschema2pojo")
@JsonPropertyOrder({
"href",
"embeddable",
"taxonomy"
})
public class HttpsApiWOrgTerm {
@JsonProperty("href")
private String href;
@JsonProperty("embeddable")
private Boolean embeddable;
@JsonProperty("taxonomy")
private String taxonomy;
@JsonIgnore
private Map additionalProperties = new HashMap();
/**
* @return The href
*/
@JsonProperty("href")
public String getHref() {
return href;
}
/**
* @param href The href
*/
@JsonProperty("href")
public void setHref(String href) {
this.href = href;
}
/**
* @return The embeddable
*/
@JsonProperty("embeddable")
public Boolean getEmbeddable() {
return embeddable;
}
/**
* @param embeddable The embeddable
*/
@JsonProperty("embeddable")
public void setEmbeddable(Boolean embeddable) {
this.embeddable = embeddable;
}
/**
* @return The taxonomy
*/
@JsonProperty("taxonomy")
public String getTaxonomy() {
return taxonomy;
}
/**
* @param taxonomy The taxonomy
*/
@JsonProperty("taxonomy")
public void setTaxonomy(String taxonomy) {
this.taxonomy = taxonomy;
}
@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