
com.tencent.ads.model.Summary 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 Summary {
@SerializedName("task_id")
private Long taskId = null;
@SerializedName("task_name")
private String taskName = null;
@SerializedName("task_type")
private TaskType taskType = null;
@SerializedName("task_scope")
private TaskScope taskScope = null;
@SerializedName("status")
private TaskStatus status = null;
@SerializedName("result_status")
private TaskResultStatus resultStatus = null;
@SerializedName("created_time")
private Long createdTime = null;
@SerializedName("end_time")
private Long endTime = null;
@SerializedName("success_count")
private Long successCount = null;
@SerializedName("fail_count")
private Long failCount = null;
@SerializedName("system_error_count")
private Long systemErrorCount = null;
@SerializedName("progress")
private Long progress = null;
public Summary taskId(Long taskId) {
this.taskId = taskId;
return this;
}
/**
* Get taskId
*
* @return taskId
*/
@ApiModelProperty(value = "")
public Long getTaskId() {
return taskId;
}
public void setTaskId(Long taskId) {
this.taskId = taskId;
}
public Summary taskName(String taskName) {
this.taskName = taskName;
return this;
}
/**
* Get taskName
*
* @return taskName
*/
@ApiModelProperty(value = "")
public String getTaskName() {
return taskName;
}
public void setTaskName(String taskName) {
this.taskName = taskName;
}
public Summary taskType(TaskType taskType) {
this.taskType = taskType;
return this;
}
/**
* Get taskType
*
* @return taskType
*/
@ApiModelProperty(value = "")
public TaskType getTaskType() {
return taskType;
}
public void setTaskType(TaskType taskType) {
this.taskType = taskType;
}
public Summary taskScope(TaskScope taskScope) {
this.taskScope = taskScope;
return this;
}
/**
* Get taskScope
*
* @return taskScope
*/
@ApiModelProperty(value = "")
public TaskScope getTaskScope() {
return taskScope;
}
public void setTaskScope(TaskScope taskScope) {
this.taskScope = taskScope;
}
public Summary status(TaskStatus status) {
this.status = status;
return this;
}
/**
* Get status
*
* @return status
*/
@ApiModelProperty(value = "")
public TaskStatus getStatus() {
return status;
}
public void setStatus(TaskStatus status) {
this.status = status;
}
public Summary resultStatus(TaskResultStatus resultStatus) {
this.resultStatus = resultStatus;
return this;
}
/**
* Get resultStatus
*
* @return resultStatus
*/
@ApiModelProperty(value = "")
public TaskResultStatus getResultStatus() {
return resultStatus;
}
public void setResultStatus(TaskResultStatus resultStatus) {
this.resultStatus = resultStatus;
}
public Summary 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 Summary endTime(Long endTime) {
this.endTime = endTime;
return this;
}
/**
* Get endTime
*
* @return endTime
*/
@ApiModelProperty(value = "")
public Long getEndTime() {
return endTime;
}
public void setEndTime(Long endTime) {
this.endTime = endTime;
}
public Summary successCount(Long successCount) {
this.successCount = successCount;
return this;
}
/**
* Get successCount
*
* @return successCount
*/
@ApiModelProperty(value = "")
public Long getSuccessCount() {
return successCount;
}
public void setSuccessCount(Long successCount) {
this.successCount = successCount;
}
public Summary failCount(Long failCount) {
this.failCount = failCount;
return this;
}
/**
* Get failCount
*
* @return failCount
*/
@ApiModelProperty(value = "")
public Long getFailCount() {
return failCount;
}
public void setFailCount(Long failCount) {
this.failCount = failCount;
}
public Summary systemErrorCount(Long systemErrorCount) {
this.systemErrorCount = systemErrorCount;
return this;
}
/**
* Get systemErrorCount
*
* @return systemErrorCount
*/
@ApiModelProperty(value = "")
public Long getSystemErrorCount() {
return systemErrorCount;
}
public void setSystemErrorCount(Long systemErrorCount) {
this.systemErrorCount = systemErrorCount;
}
public Summary progress(Long progress) {
this.progress = progress;
return this;
}
/**
* Get progress
*
* @return progress
*/
@ApiModelProperty(value = "")
public Long getProgress() {
return progress;
}
public void setProgress(Long progress) {
this.progress = progress;
}
@Override
public boolean equals(java.lang.Object o) {
if (this == o) {
return true;
}
if (o == null || getClass() != o.getClass()) {
return false;
}
Summary summary = (Summary) o;
return Objects.equals(this.taskId, summary.taskId)
&& Objects.equals(this.taskName, summary.taskName)
&& Objects.equals(this.taskType, summary.taskType)
&& Objects.equals(this.taskScope, summary.taskScope)
&& Objects.equals(this.status, summary.status)
&& Objects.equals(this.resultStatus, summary.resultStatus)
&& Objects.equals(this.createdTime, summary.createdTime)
&& Objects.equals(this.endTime, summary.endTime)
&& Objects.equals(this.successCount, summary.successCount)
&& Objects.equals(this.failCount, summary.failCount)
&& Objects.equals(this.systemErrorCount, summary.systemErrorCount)
&& Objects.equals(this.progress, summary.progress);
}
@Override
public int hashCode() {
return Objects.hash(
taskId,
taskName,
taskType,
taskScope,
status,
resultStatus,
createdTime,
endTime,
successCount,
failCount,
systemErrorCount,
progress);
}
@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