
com.tencent.ads.model.ChannelPackageInfo 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 ChannelPackageInfo {
@SerializedName("android_app_id")
private Long androidAppId = null;
@SerializedName("package_name")
private String packageName = null;
@SerializedName("status")
private ChannelTaskStatus status = null;
@SerializedName("error_code")
private ChannelTaskError errorCode = null;
@SerializedName("created_time")
private Long createdTime = null;
@SerializedName("last_modified_time")
private Long lastModifiedTime = null;
public ChannelPackageInfo androidAppId(Long androidAppId) {
this.androidAppId = androidAppId;
return this;
}
/**
* Get androidAppId
*
* @return androidAppId
*/
@ApiModelProperty(value = "")
public Long getAndroidAppId() {
return androidAppId;
}
public void setAndroidAppId(Long androidAppId) {
this.androidAppId = androidAppId;
}
public ChannelPackageInfo packageName(String packageName) {
this.packageName = packageName;
return this;
}
/**
* Get packageName
*
* @return packageName
*/
@ApiModelProperty(value = "")
public String getPackageName() {
return packageName;
}
public void setPackageName(String packageName) {
this.packageName = packageName;
}
public ChannelPackageInfo status(ChannelTaskStatus status) {
this.status = status;
return this;
}
/**
* Get status
*
* @return status
*/
@ApiModelProperty(value = "")
public ChannelTaskStatus getStatus() {
return status;
}
public void setStatus(ChannelTaskStatus status) {
this.status = status;
}
public ChannelPackageInfo errorCode(ChannelTaskError errorCode) {
this.errorCode = errorCode;
return this;
}
/**
* Get errorCode
*
* @return errorCode
*/
@ApiModelProperty(value = "")
public ChannelTaskError getErrorCode() {
return errorCode;
}
public void setErrorCode(ChannelTaskError errorCode) {
this.errorCode = errorCode;
}
public ChannelPackageInfo createdTime(Long createdTime) {
this.createdTime = createdTime;
return this;
}
/**
* Get createdTime
*
* @return createdTime
*/
@ApiModelProperty(value = "")
public Long getCreatedTime() {
return createdTime;
}
public void setCreatedTime(Long createdTime) {
this.createdTime = createdTime;
}
public ChannelPackageInfo lastModifiedTime(Long lastModifiedTime) {
this.lastModifiedTime = lastModifiedTime;
return this;
}
/**
* Get lastModifiedTime
*
* @return lastModifiedTime
*/
@ApiModelProperty(value = "")
public Long getLastModifiedTime() {
return lastModifiedTime;
}
public void setLastModifiedTime(Long lastModifiedTime) {
this.lastModifiedTime = lastModifiedTime;
}
@Override
public boolean equals(java.lang.Object o) {
if (this == o) {
return true;
}
if (o == null || getClass() != o.getClass()) {
return false;
}
ChannelPackageInfo channelPackageInfo = (ChannelPackageInfo) o;
return Objects.equals(this.androidAppId, channelPackageInfo.androidAppId)
&& Objects.equals(this.packageName, channelPackageInfo.packageName)
&& Objects.equals(this.status, channelPackageInfo.status)
&& Objects.equals(this.errorCode, channelPackageInfo.errorCode)
&& Objects.equals(this.createdTime, channelPackageInfo.createdTime)
&& Objects.equals(this.lastModifiedTime, channelPackageInfo.lastModifiedTime);
}
@Override
public int hashCode() {
return Objects.hash(
androidAppId, packageName, status, errorCode, createdTime, lastModifiedTime);
}
@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