All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.afrozaar.wordpress.wpapi.v2.model.Medium Maven / Gradle / Ivy

There is a newer version: 4.8.3
Show newest version
package com.afrozaar.wordpress.wpapi.v2.model;

import com.fasterxml.jackson.annotation.JsonProperty;

import java.util.Map;

public class Medium {
    @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 "Medium{" +
                "width=" + width +
                ", height=" + height +
                ", file='" + file + '\'' +
                ", sizes=" + sizes +
                ", imageMeta=" + imageMeta +
                '}';
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy