com.afrozaar.wordpress.wpapi.v2.model.Attachment 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.JsonInclude;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.fasterxml.jackson.annotation.JsonPropertyOrder;
import javax.annotation.Generated;
@JsonInclude(JsonInclude.Include.NON_NULL)
@Generated("org.jsonschema2pojo")
@JsonPropertyOrder({
"embeddable",
"href"
})
public class Attachment {
@JsonProperty("embeddable")
private Boolean embeddable;
@JsonProperty("href")
private String 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 href
*/
@JsonProperty("href")
public String getHref() {
return href;
}
/**
* @param href The href
*/
@JsonProperty("href")
public void setHref(String href) {
this.href = href;
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy