com.volcengine.cdn.model.DataForDescribeContentBlockTasksOutput Maven / Gradle / Ivy
/*
* cdn
* No description provided (generated by Swagger Codegen https://github.com/swagger-api/swagger-codegen)
*
* OpenAPI spec version: common-version
*
*
* 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.volcengine.cdn.model;
import java.util.Objects;
import java.util.Arrays;
import com.google.gson.TypeAdapter;
import com.google.gson.annotations.JsonAdapter;
import com.google.gson.annotations.SerializedName;
import com.google.gson.stream.JsonReader;
import com.google.gson.stream.JsonWriter;
import io.swagger.v3.oas.annotations.media.Schema;
import java.io.IOException;
import javax.validation.constraints.*;
import javax.validation.Valid;
/**
* DataForDescribeContentBlockTasksOutput
*/
public class DataForDescribeContentBlockTasksOutput {
@SerializedName("BlockReason")
private String blockReason = null;
@SerializedName("CreateTime")
private Long createTime = null;
@SerializedName("Status")
private String status = null;
@SerializedName("TaskID")
private String taskID = null;
@SerializedName("TaskType")
private String taskType = null;
@SerializedName("Url")
private String url = null;
public DataForDescribeContentBlockTasksOutput blockReason(String blockReason) {
this.blockReason = blockReason;
return this;
}
/**
* Get blockReason
* @return blockReason
**/
@Schema(description = "")
public String getBlockReason() {
return blockReason;
}
public void setBlockReason(String blockReason) {
this.blockReason = blockReason;
}
public DataForDescribeContentBlockTasksOutput createTime(Long createTime) {
this.createTime = createTime;
return this;
}
/**
* Get createTime
* @return createTime
**/
@Schema(description = "")
public Long getCreateTime() {
return createTime;
}
public void setCreateTime(Long createTime) {
this.createTime = createTime;
}
public DataForDescribeContentBlockTasksOutput status(String status) {
this.status = status;
return this;
}
/**
* Get status
* @return status
**/
@Schema(description = "")
public String getStatus() {
return status;
}
public void setStatus(String status) {
this.status = status;
}
public DataForDescribeContentBlockTasksOutput taskID(String taskID) {
this.taskID = taskID;
return this;
}
/**
* Get taskID
* @return taskID
**/
@Schema(description = "")
public String getTaskID() {
return taskID;
}
public void setTaskID(String taskID) {
this.taskID = taskID;
}
public DataForDescribeContentBlockTasksOutput taskType(String taskType) {
this.taskType = taskType;
return this;
}
/**
* Get taskType
* @return taskType
**/
@Schema(description = "")
public String getTaskType() {
return taskType;
}
public void setTaskType(String taskType) {
this.taskType = taskType;
}
public DataForDescribeContentBlockTasksOutput url(String url) {
this.url = url;
return this;
}
/**
* Get url
* @return url
**/
@Schema(description = "")
public String getUrl() {
return url;
}
public void setUrl(String url) {
this.url = url;
}
@Override
public boolean equals(java.lang.Object o) {
if (this == o) {
return true;
}
if (o == null || getClass() != o.getClass()) {
return false;
}
DataForDescribeContentBlockTasksOutput dataForDescribeContentBlockTasksOutput = (DataForDescribeContentBlockTasksOutput) o;
return Objects.equals(this.blockReason, dataForDescribeContentBlockTasksOutput.blockReason) &&
Objects.equals(this.createTime, dataForDescribeContentBlockTasksOutput.createTime) &&
Objects.equals(this.status, dataForDescribeContentBlockTasksOutput.status) &&
Objects.equals(this.taskID, dataForDescribeContentBlockTasksOutput.taskID) &&
Objects.equals(this.taskType, dataForDescribeContentBlockTasksOutput.taskType) &&
Objects.equals(this.url, dataForDescribeContentBlockTasksOutput.url);
}
@Override
public int hashCode() {
return Objects.hash(blockReason, createTime, status, taskID, taskType, url);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class DataForDescribeContentBlockTasksOutput {\n");
sb.append(" blockReason: ").append(toIndentedString(blockReason)).append("\n");
sb.append(" createTime: ").append(toIndentedString(createTime)).append("\n");
sb.append(" status: ").append(toIndentedString(status)).append("\n");
sb.append(" taskID: ").append(toIndentedString(taskID)).append("\n");
sb.append(" taskType: ").append(toIndentedString(taskType)).append("\n");
sb.append(" url: ").append(toIndentedString(url)).append("\n");
sb.append("}");
return sb.toString();
}
/**
* 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 - 2024 Weber Informatics LLC | Privacy Policy