
com.tencent.ads.model.ElementRejectDetailInfo 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.ArrayList;
import java.util.List;
import java.util.Objects;
/** 元素拒绝原因详情 */
@ApiModel(description = "元素拒绝原因详情")
public class ElementRejectDetailInfo {
@SerializedName("element_name")
private String elementName = null;
@SerializedName("element_value")
private String elementValue = null;
@SerializedName("element_type")
private String elementType = null;
@SerializedName("reason")
private String reason = null;
@SerializedName("case_doc")
private String caseDoc = null;
@SerializedName("case_content")
private String caseContent = null;
@SerializedName("reject_info_location")
private List rejectInfoLocation = null;
public ElementRejectDetailInfo elementName(String elementName) {
this.elementName = elementName;
return this;
}
/**
* Get elementName
*
* @return elementName
*/
@ApiModelProperty(value = "")
public String getElementName() {
return elementName;
}
public void setElementName(String elementName) {
this.elementName = elementName;
}
public ElementRejectDetailInfo elementValue(String elementValue) {
this.elementValue = elementValue;
return this;
}
/**
* Get elementValue
*
* @return elementValue
*/
@ApiModelProperty(value = "")
public String getElementValue() {
return elementValue;
}
public void setElementValue(String elementValue) {
this.elementValue = elementValue;
}
public ElementRejectDetailInfo elementType(String elementType) {
this.elementType = elementType;
return this;
}
/**
* Get elementType
*
* @return elementType
*/
@ApiModelProperty(value = "")
public String getElementType() {
return elementType;
}
public void setElementType(String elementType) {
this.elementType = elementType;
}
public ElementRejectDetailInfo reason(String reason) {
this.reason = reason;
return this;
}
/**
* Get reason
*
* @return reason
*/
@ApiModelProperty(value = "")
public String getReason() {
return reason;
}
public void setReason(String reason) {
this.reason = reason;
}
public ElementRejectDetailInfo caseDoc(String caseDoc) {
this.caseDoc = caseDoc;
return this;
}
/**
* Get caseDoc
*
* @return caseDoc
*/
@ApiModelProperty(value = "")
public String getCaseDoc() {
return caseDoc;
}
public void setCaseDoc(String caseDoc) {
this.caseDoc = caseDoc;
}
public ElementRejectDetailInfo caseContent(String caseContent) {
this.caseContent = caseContent;
return this;
}
/**
* Get caseContent
*
* @return caseContent
*/
@ApiModelProperty(value = "")
public String getCaseContent() {
return caseContent;
}
public void setCaseContent(String caseContent) {
this.caseContent = caseContent;
}
public ElementRejectDetailInfo rejectInfoLocation(List rejectInfoLocation) {
this.rejectInfoLocation = rejectInfoLocation;
return this;
}
public ElementRejectDetailInfo addRejectInfoLocationItem(
RejectInfoLocation rejectInfoLocationItem) {
if (this.rejectInfoLocation == null) {
this.rejectInfoLocation = new ArrayList();
}
this.rejectInfoLocation.add(rejectInfoLocationItem);
return this;
}
/**
* Get rejectInfoLocation
*
* @return rejectInfoLocation
*/
@ApiModelProperty(value = "")
public List getRejectInfoLocation() {
return rejectInfoLocation;
}
public void setRejectInfoLocation(List rejectInfoLocation) {
this.rejectInfoLocation = rejectInfoLocation;
}
@Override
public boolean equals(java.lang.Object o) {
if (this == o) {
return true;
}
if (o == null || getClass() != o.getClass()) {
return false;
}
ElementRejectDetailInfo elementRejectDetailInfo = (ElementRejectDetailInfo) o;
return Objects.equals(this.elementName, elementRejectDetailInfo.elementName)
&& Objects.equals(this.elementValue, elementRejectDetailInfo.elementValue)
&& Objects.equals(this.elementType, elementRejectDetailInfo.elementType)
&& Objects.equals(this.reason, elementRejectDetailInfo.reason)
&& Objects.equals(this.caseDoc, elementRejectDetailInfo.caseDoc)
&& Objects.equals(this.caseContent, elementRejectDetailInfo.caseContent)
&& Objects.equals(this.rejectInfoLocation, elementRejectDetailInfo.rejectInfoLocation);
}
@Override
public int hashCode() {
return Objects.hash(
elementName, elementValue, elementType, reason, caseDoc, caseContent, rejectInfoLocation);
}
@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