com.volcengine.cdn.model.DescribeContentTasksRequest 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;
/**
* DescribeContentTasksRequest
*/
public class DescribeContentTasksRequest {
@SerializedName("DomainName")
private String domainName = null;
@SerializedName("EndTime")
private Long endTime = null;
@SerializedName("PageNum")
private Integer pageNum = null;
@SerializedName("PageSize")
private Integer pageSize = null;
@SerializedName("Remark")
private String remark = null;
@SerializedName("StartTime")
private Integer startTime = 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 DescribeContentTasksRequest domainName(String domainName) {
this.domainName = domainName;
return this;
}
/**
* Get domainName
* @return domainName
**/
@Schema(description = "")
public String getDomainName() {
return domainName;
}
public void setDomainName(String domainName) {
this.domainName = domainName;
}
public DescribeContentTasksRequest endTime(Long endTime) {
this.endTime = endTime;
return this;
}
/**
* Get endTime
* @return endTime
**/
@Schema(description = "")
public Long getEndTime() {
return endTime;
}
public void setEndTime(Long endTime) {
this.endTime = endTime;
}
public DescribeContentTasksRequest pageNum(Integer pageNum) {
this.pageNum = pageNum;
return this;
}
/**
* Get pageNum
* @return pageNum
**/
@Schema(description = "")
public Integer getPageNum() {
return pageNum;
}
public void setPageNum(Integer pageNum) {
this.pageNum = pageNum;
}
public DescribeContentTasksRequest pageSize(Integer pageSize) {
this.pageSize = pageSize;
return this;
}
/**
* Get pageSize
* @return pageSize
**/
@Schema(description = "")
public Integer getPageSize() {
return pageSize;
}
public void setPageSize(Integer pageSize) {
this.pageSize = pageSize;
}
public DescribeContentTasksRequest remark(String remark) {
this.remark = remark;
return this;
}
/**
* Get remark
* @return remark
**/
@Schema(description = "")
public String getRemark() {
return remark;
}
public void setRemark(String remark) {
this.remark = remark;
}
public DescribeContentTasksRequest startTime(Integer startTime) {
this.startTime = startTime;
return this;
}
/**
* Get startTime
* @return startTime
**/
@Schema(description = "")
public Integer getStartTime() {
return startTime;
}
public void setStartTime(Integer startTime) {
this.startTime = startTime;
}
public DescribeContentTasksRequest 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 DescribeContentTasksRequest 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 DescribeContentTasksRequest taskType(String taskType) {
this.taskType = taskType;
return this;
}
/**
* Get taskType
* @return taskType
**/
@NotNull
@Schema(required = true, description = "")
public String getTaskType() {
return taskType;
}
public void setTaskType(String taskType) {
this.taskType = taskType;
}
public DescribeContentTasksRequest 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;
}
DescribeContentTasksRequest describeContentTasksRequest = (DescribeContentTasksRequest) o;
return Objects.equals(this.domainName, describeContentTasksRequest.domainName) &&
Objects.equals(this.endTime, describeContentTasksRequest.endTime) &&
Objects.equals(this.pageNum, describeContentTasksRequest.pageNum) &&
Objects.equals(this.pageSize, describeContentTasksRequest.pageSize) &&
Objects.equals(this.remark, describeContentTasksRequest.remark) &&
Objects.equals(this.startTime, describeContentTasksRequest.startTime) &&
Objects.equals(this.status, describeContentTasksRequest.status) &&
Objects.equals(this.taskID, describeContentTasksRequest.taskID) &&
Objects.equals(this.taskType, describeContentTasksRequest.taskType) &&
Objects.equals(this.url, describeContentTasksRequest.url);
}
@Override
public int hashCode() {
return Objects.hash(domainName, endTime, pageNum, pageSize, remark, startTime, status, taskID, taskType, url);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class DescribeContentTasksRequest {\n");
sb.append(" domainName: ").append(toIndentedString(domainName)).append("\n");
sb.append(" endTime: ").append(toIndentedString(endTime)).append("\n");
sb.append(" pageNum: ").append(toIndentedString(pageNum)).append("\n");
sb.append(" pageSize: ").append(toIndentedString(pageSize)).append("\n");
sb.append(" remark: ").append(toIndentedString(remark)).append("\n");
sb.append(" startTime: ").append(toIndentedString(startTime)).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