
com.tencent.ads.model.CropCustomizedSpecAndResize Maven / Gradle / Ivy
/*
* Marketing API
* Marketing API
*
* OpenAPI spec version: 1.3
*
*
* NOTE: This class is auto generated by the swagger code generator program.
* https://github.com/swagger-api/swagger-codegen.git
* Do not edit the class manually.
*/
package com.tencent.ads.model;
import com.google.gson.Gson;
import com.google.gson.annotations.SerializedName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.util.Objects;
/** 自定义裁剪后缩放信息 */
@ApiModel(description = "自定义裁剪后缩放信息")
public class CropCustomizedSpecAndResize {
@SerializedName("crop_width")
private Long cropWidth = null;
@SerializedName("crop_height")
private Long cropHeight = null;
@SerializedName("axis_x")
private Long axisX = null;
@SerializedName("axis_y")
private Long axisY = null;
@SerializedName("resize_width")
private Long resizeWidth = null;
@SerializedName("resize_height")
private Long resizeHeight = null;
public CropCustomizedSpecAndResize cropWidth(Long cropWidth) {
this.cropWidth = cropWidth;
return this;
}
/**
* Get cropWidth
*
* @return cropWidth
*/
@ApiModelProperty(value = "")
public Long getCropWidth() {
return cropWidth;
}
public void setCropWidth(Long cropWidth) {
this.cropWidth = cropWidth;
}
public CropCustomizedSpecAndResize cropHeight(Long cropHeight) {
this.cropHeight = cropHeight;
return this;
}
/**
* Get cropHeight
*
* @return cropHeight
*/
@ApiModelProperty(value = "")
public Long getCropHeight() {
return cropHeight;
}
public void setCropHeight(Long cropHeight) {
this.cropHeight = cropHeight;
}
public CropCustomizedSpecAndResize axisX(Long axisX) {
this.axisX = axisX;
return this;
}
/**
* Get axisX
*
* @return axisX
*/
@ApiModelProperty(value = "")
public Long getAxisX() {
return axisX;
}
public void setAxisX(Long axisX) {
this.axisX = axisX;
}
public CropCustomizedSpecAndResize axisY(Long axisY) {
this.axisY = axisY;
return this;
}
/**
* Get axisY
*
* @return axisY
*/
@ApiModelProperty(value = "")
public Long getAxisY() {
return axisY;
}
public void setAxisY(Long axisY) {
this.axisY = axisY;
}
public CropCustomizedSpecAndResize resizeWidth(Long resizeWidth) {
this.resizeWidth = resizeWidth;
return this;
}
/**
* Get resizeWidth
*
* @return resizeWidth
*/
@ApiModelProperty(value = "")
public Long getResizeWidth() {
return resizeWidth;
}
public void setResizeWidth(Long resizeWidth) {
this.resizeWidth = resizeWidth;
}
public CropCustomizedSpecAndResize resizeHeight(Long resizeHeight) {
this.resizeHeight = resizeHeight;
return this;
}
/**
* Get resizeHeight
*
* @return resizeHeight
*/
@ApiModelProperty(value = "")
public Long getResizeHeight() {
return resizeHeight;
}
public void setResizeHeight(Long resizeHeight) {
this.resizeHeight = resizeHeight;
}
@Override
public boolean equals(java.lang.Object o) {
if (this == o) {
return true;
}
if (o == null || getClass() != o.getClass()) {
return false;
}
CropCustomizedSpecAndResize cropCustomizedSpecAndResize = (CropCustomizedSpecAndResize) o;
return Objects.equals(this.cropWidth, cropCustomizedSpecAndResize.cropWidth)
&& Objects.equals(this.cropHeight, cropCustomizedSpecAndResize.cropHeight)
&& Objects.equals(this.axisX, cropCustomizedSpecAndResize.axisX)
&& Objects.equals(this.axisY, cropCustomizedSpecAndResize.axisY)
&& Objects.equals(this.resizeWidth, cropCustomizedSpecAndResize.resizeWidth)
&& Objects.equals(this.resizeHeight, cropCustomizedSpecAndResize.resizeHeight);
}
@Override
public int hashCode() {
return Objects.hash(cropWidth, cropHeight, axisX, axisY, resizeWidth, resizeHeight);
}
@Override
public String toString() {
Gson gson = new Gson();
return gson.toJson(this);
}
/**
* Convert the given object to string with each line indented by 4 spaces (except the first line).
*/
private String toIndentedString(java.lang.Object o) {
if (o == null) {
return "null";
}
return o.toString().replace("\n", "\n ");
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy