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

net.gdface.facedb.thrift.client.ImageBean Maven / Gradle / Ivy

The newest version!
package net.gdface.facedb.thrift.client;

import com.facebook.swift.codec.*;
import com.facebook.swift.codec.ThriftField.Requiredness;
import java.util.*;

import static com.google.common.base.Objects.toStringHelper;

@ThriftStruct("ImageBean")
public final class ImageBean
{
    public ImageBean() {
    }

    private boolean New;

    @ThriftField(value=1, name="_new", requiredness=Requiredness.REQUIRED)
    public boolean isNew() { return New; }

    @ThriftField
    public void setNew(final boolean New) { this.New = New; }

    private int modified;

    @ThriftField(value=2, name="modified", requiredness=Requiredness.REQUIRED)
    public int getModified() { return modified; }

    @ThriftField
    public void setModified(final int modified) { this.modified = modified; }

    private int initialized;

    @ThriftField(value=3, name="initialized", requiredness=Requiredness.REQUIRED)
    public int getInitialized() { return initialized; }

    @ThriftField
    public void setInitialized(final int initialized) { this.initialized = initialized; }

    private String md5;

    @ThriftField(value=4, name="md5", requiredness=Requiredness.OPTIONAL)
    public String getMd5() { return md5; }

    @ThriftField
    public void setMd5(final String md5) { this.md5 = md5; }

    private String format;

    @ThriftField(value=5, name="format", requiredness=Requiredness.OPTIONAL)
    public String getFormat() { return format; }

    @ThriftField
    public void setFormat(final String format) { this.format = format; }

    private Integer width;

    @ThriftField(value=6, name="width", requiredness=Requiredness.OPTIONAL)
    public Integer getWidth() { return width; }

    @ThriftField
    public void setWidth(final Integer width) { this.width = width; }

    private Integer height;

    @ThriftField(value=7, name="height", requiredness=Requiredness.OPTIONAL)
    public Integer getHeight() { return height; }

    @ThriftField
    public void setHeight(final Integer height) { this.height = height; }

    private Integer depth;

    @ThriftField(value=8, name="depth", requiredness=Requiredness.OPTIONAL)
    public Integer getDepth() { return depth; }

    @ThriftField
    public void setDepth(final Integer depth) { this.depth = depth; }

    private Integer faceNum;

    @ThriftField(value=9, name="faceNum", requiredness=Requiredness.OPTIONAL)
    public Integer getFaceNum() { return faceNum; }

    @ThriftField
    public void setFaceNum(final Integer faceNum) { this.faceNum = faceNum; }

    private String location;

    @ThriftField(value=10, name="location", requiredness=Requiredness.OPTIONAL)
    public String getLocation() { return location; }

    @ThriftField
    public void setLocation(final String location) { this.location = location; }

    private Long updateTime;

    @ThriftField(value=11, name="updateTime", requiredness=Requiredness.OPTIONAL)
    public Long getUpdateTime() { return updateTime; }

    @ThriftField
    public void setUpdateTime(final Long updateTime) { this.updateTime = updateTime; }

    private Long createTime;

    @ThriftField(value=12, name="createTime", requiredness=Requiredness.OPTIONAL)
    public Long getCreateTime() { return createTime; }

    @ThriftField
    public void setCreateTime(final Long createTime) { this.createTime = createTime; }

    @Override
    public String toString()
    {
        return toStringHelper(this)
            .add("New", New)
            .add("modified", modified)
            .add("initialized", initialized)
            .add("md5", md5)
            .add("format", format)
            .add("width", width)
            .add("height", height)
            .add("depth", depth)
            .add("faceNum", faceNum)
            .add("location", location)
            .add("updateTime", updateTime)
            .add("createTime", createTime)
            .toString();
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy