
com.tencent.ads.model.RejectInfoLocation 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 RejectInfoLocation {
@SerializedName("x")
private Long x = null;
@SerializedName("y")
private Long y = null;
@SerializedName("width")
private Long width = null;
@SerializedName("height")
private Long height = null;
@SerializedName("time_second")
private Long timeSecond = null;
@SerializedName("location_img_url")
private String locationImgUrl = null;
@SerializedName("img_url")
private String imgUrl = null;
@SerializedName("related_img_url")
private String relatedImgUrl = null;
public RejectInfoLocation x(Long x) {
this.x = x;
return this;
}
/**
* Get x
*
* @return x
*/
@ApiModelProperty(value = "")
public Long getX() {
return x;
}
public void setX(Long x) {
this.x = x;
}
public RejectInfoLocation y(Long y) {
this.y = y;
return this;
}
/**
* Get y
*
* @return y
*/
@ApiModelProperty(value = "")
public Long getY() {
return y;
}
public void setY(Long y) {
this.y = y;
}
public RejectInfoLocation width(Long width) {
this.width = width;
return this;
}
/**
* Get width
*
* @return width
*/
@ApiModelProperty(value = "")
public Long getWidth() {
return width;
}
public void setWidth(Long width) {
this.width = width;
}
public RejectInfoLocation height(Long height) {
this.height = height;
return this;
}
/**
* Get height
*
* @return height
*/
@ApiModelProperty(value = "")
public Long getHeight() {
return height;
}
public void setHeight(Long height) {
this.height = height;
}
public RejectInfoLocation timeSecond(Long timeSecond) {
this.timeSecond = timeSecond;
return this;
}
/**
* Get timeSecond
*
* @return timeSecond
*/
@ApiModelProperty(value = "")
public Long getTimeSecond() {
return timeSecond;
}
public void setTimeSecond(Long timeSecond) {
this.timeSecond = timeSecond;
}
public RejectInfoLocation locationImgUrl(String locationImgUrl) {
this.locationImgUrl = locationImgUrl;
return this;
}
/**
* Get locationImgUrl
*
* @return locationImgUrl
*/
@ApiModelProperty(value = "")
public String getLocationImgUrl() {
return locationImgUrl;
}
public void setLocationImgUrl(String locationImgUrl) {
this.locationImgUrl = locationImgUrl;
}
public RejectInfoLocation imgUrl(String imgUrl) {
this.imgUrl = imgUrl;
return this;
}
/**
* Get imgUrl
*
* @return imgUrl
*/
@ApiModelProperty(value = "")
public String getImgUrl() {
return imgUrl;
}
public void setImgUrl(String imgUrl) {
this.imgUrl = imgUrl;
}
public RejectInfoLocation relatedImgUrl(String relatedImgUrl) {
this.relatedImgUrl = relatedImgUrl;
return this;
}
/**
* Get relatedImgUrl
*
* @return relatedImgUrl
*/
@ApiModelProperty(value = "")
public String getRelatedImgUrl() {
return relatedImgUrl;
}
public void setRelatedImgUrl(String relatedImgUrl) {
this.relatedImgUrl = relatedImgUrl;
}
@Override
public boolean equals(java.lang.Object o) {
if (this == o) {
return true;
}
if (o == null || getClass() != o.getClass()) {
return false;
}
RejectInfoLocation rejectInfoLocation = (RejectInfoLocation) o;
return Objects.equals(this.x, rejectInfoLocation.x)
&& Objects.equals(this.y, rejectInfoLocation.y)
&& Objects.equals(this.width, rejectInfoLocation.width)
&& Objects.equals(this.height, rejectInfoLocation.height)
&& Objects.equals(this.timeSecond, rejectInfoLocation.timeSecond)
&& Objects.equals(this.locationImgUrl, rejectInfoLocation.locationImgUrl)
&& Objects.equals(this.imgUrl, rejectInfoLocation.imgUrl)
&& Objects.equals(this.relatedImgUrl, rejectInfoLocation.relatedImgUrl);
}
@Override
public int hashCode() {
return Objects.hash(x, y, width, height, timeSecond, locationImgUrl, imgUrl, relatedImgUrl);
}
@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