com.afrozaar.wordpress.wpapi.v2.model.MediaDetails 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.JsonProperty;
import java.util.Map;
public class MediaDetails {
@JsonProperty("width")
private Integer width;
@JsonProperty("height")
private Integer height;
@JsonProperty("file")
private String file;
@JsonProperty("sizes")
private Sizes sizes;
@JsonProperty("image_meta")
private Map imageMeta;
public Integer getWidth() {
return width;
}
public void setWidth(Integer width) {
this.width = width;
}
public Integer getHeight() {
return height;
}
public void setHeight(Integer height) {
this.height = height;
}
public String getFile() {
return file;
}
public void setFile(String file) {
this.file = file;
}
public Sizes getSizes() {
return sizes;
}
public void setSizes(Sizes sizes) {
this.sizes = sizes;
}
public Map getImageMeta() {
return imageMeta;
}
public void setImageMeta(Map imageMeta) {
this.imageMeta = imageMeta;
}
@Override
public String toString() {
return "MediaDetails{" +
"width=" + width +
", height=" + height +
", file='" + file + '\'' +
", sizes=" + sizes +
", imageMeta=" + imageMeta +
'}';
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy