com.volcengine.dms.model.QueryDataMigrateTaskResponse Maven / Gradle / Ivy
/*
* dms
* 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.dms.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 com.volcengine.dms.model.AdvanceConfigForQueryDataMigrateTaskOutput;
import com.volcengine.dms.model.BasicConfigForQueryDataMigrateTaskOutput;
import com.volcengine.dms.model.SourceForQueryDataMigrateTaskOutput;
import com.volcengine.dms.model.TargetForQueryDataMigrateTaskOutput;
import com.volcengine.dms.model.TaskProgressForQueryDataMigrateTaskOutput;
import com.volcengine.dms.model.TaskReportForQueryDataMigrateTaskOutput;
import io.swagger.v3.oas.annotations.media.Schema;
import java.io.IOException;
import javax.validation.constraints.*;
import javax.validation.Valid;
/**
* QueryDataMigrateTaskResponse
*/
public class QueryDataMigrateTaskResponse extends com.volcengine.model.AbstractResponse {
@SerializedName("AdvanceConfig")
private AdvanceConfigForQueryDataMigrateTaskOutput advanceConfig = null;
@SerializedName("BasicConfig")
private BasicConfigForQueryDataMigrateTaskOutput basicConfig = null;
@SerializedName("CreateTime")
private String createTime = null;
@SerializedName("Source")
private SourceForQueryDataMigrateTaskOutput source = null;
@SerializedName("Target")
private TargetForQueryDataMigrateTaskOutput target = null;
@SerializedName("TaskID")
private Long taskID = null;
@SerializedName("TaskProgress")
private TaskProgressForQueryDataMigrateTaskOutput taskProgress = null;
@SerializedName("TaskReport")
private TaskReportForQueryDataMigrateTaskOutput taskReport = null;
@SerializedName("TaskStatus")
private String taskStatus = null;
public QueryDataMigrateTaskResponse advanceConfig(AdvanceConfigForQueryDataMigrateTaskOutput advanceConfig) {
this.advanceConfig = advanceConfig;
return this;
}
/**
* Get advanceConfig
* @return advanceConfig
**/
@Valid
@Schema(description = "")
public AdvanceConfigForQueryDataMigrateTaskOutput getAdvanceConfig() {
return advanceConfig;
}
public void setAdvanceConfig(AdvanceConfigForQueryDataMigrateTaskOutput advanceConfig) {
this.advanceConfig = advanceConfig;
}
public QueryDataMigrateTaskResponse basicConfig(BasicConfigForQueryDataMigrateTaskOutput basicConfig) {
this.basicConfig = basicConfig;
return this;
}
/**
* Get basicConfig
* @return basicConfig
**/
@Valid
@Schema(description = "")
public BasicConfigForQueryDataMigrateTaskOutput getBasicConfig() {
return basicConfig;
}
public void setBasicConfig(BasicConfigForQueryDataMigrateTaskOutput basicConfig) {
this.basicConfig = basicConfig;
}
public QueryDataMigrateTaskResponse createTime(String createTime) {
this.createTime = createTime;
return this;
}
/**
* Get createTime
* @return createTime
**/
@Schema(description = "")
public String getCreateTime() {
return createTime;
}
public void setCreateTime(String createTime) {
this.createTime = createTime;
}
public QueryDataMigrateTaskResponse source(SourceForQueryDataMigrateTaskOutput source) {
this.source = source;
return this;
}
/**
* Get source
* @return source
**/
@Valid
@Schema(description = "")
public SourceForQueryDataMigrateTaskOutput getSource() {
return source;
}
public void setSource(SourceForQueryDataMigrateTaskOutput source) {
this.source = source;
}
public QueryDataMigrateTaskResponse target(TargetForQueryDataMigrateTaskOutput target) {
this.target = target;
return this;
}
/**
* Get target
* @return target
**/
@Valid
@Schema(description = "")
public TargetForQueryDataMigrateTaskOutput getTarget() {
return target;
}
public void setTarget(TargetForQueryDataMigrateTaskOutput target) {
this.target = target;
}
public QueryDataMigrateTaskResponse taskID(Long taskID) {
this.taskID = taskID;
return this;
}
/**
* Get taskID
* @return taskID
**/
@Schema(description = "")
public Long getTaskID() {
return taskID;
}
public void setTaskID(Long taskID) {
this.taskID = taskID;
}
public QueryDataMigrateTaskResponse taskProgress(TaskProgressForQueryDataMigrateTaskOutput taskProgress) {
this.taskProgress = taskProgress;
return this;
}
/**
* Get taskProgress
* @return taskProgress
**/
@Valid
@Schema(description = "")
public TaskProgressForQueryDataMigrateTaskOutput getTaskProgress() {
return taskProgress;
}
public void setTaskProgress(TaskProgressForQueryDataMigrateTaskOutput taskProgress) {
this.taskProgress = taskProgress;
}
public QueryDataMigrateTaskResponse taskReport(TaskReportForQueryDataMigrateTaskOutput taskReport) {
this.taskReport = taskReport;
return this;
}
/**
* Get taskReport
* @return taskReport
**/
@Valid
@Schema(description = "")
public TaskReportForQueryDataMigrateTaskOutput getTaskReport() {
return taskReport;
}
public void setTaskReport(TaskReportForQueryDataMigrateTaskOutput taskReport) {
this.taskReport = taskReport;
}
public QueryDataMigrateTaskResponse taskStatus(String taskStatus) {
this.taskStatus = taskStatus;
return this;
}
/**
* Get taskStatus
* @return taskStatus
**/
@Schema(description = "")
public String getTaskStatus() {
return taskStatus;
}
public void setTaskStatus(String taskStatus) {
this.taskStatus = taskStatus;
}
@Override
public boolean equals(java.lang.Object o) {
if (this == o) {
return true;
}
if (o == null || getClass() != o.getClass()) {
return false;
}
QueryDataMigrateTaskResponse queryDataMigrateTaskResponse = (QueryDataMigrateTaskResponse) o;
return Objects.equals(this.advanceConfig, queryDataMigrateTaskResponse.advanceConfig) &&
Objects.equals(this.basicConfig, queryDataMigrateTaskResponse.basicConfig) &&
Objects.equals(this.createTime, queryDataMigrateTaskResponse.createTime) &&
Objects.equals(this.source, queryDataMigrateTaskResponse.source) &&
Objects.equals(this.target, queryDataMigrateTaskResponse.target) &&
Objects.equals(this.taskID, queryDataMigrateTaskResponse.taskID) &&
Objects.equals(this.taskProgress, queryDataMigrateTaskResponse.taskProgress) &&
Objects.equals(this.taskReport, queryDataMigrateTaskResponse.taskReport) &&
Objects.equals(this.taskStatus, queryDataMigrateTaskResponse.taskStatus);
}
@Override
public int hashCode() {
return Objects.hash(advanceConfig, basicConfig, createTime, source, target, taskID, taskProgress, taskReport, taskStatus);
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class QueryDataMigrateTaskResponse {\n");
sb.append(" advanceConfig: ").append(toIndentedString(advanceConfig)).append("\n");
sb.append(" basicConfig: ").append(toIndentedString(basicConfig)).append("\n");
sb.append(" createTime: ").append(toIndentedString(createTime)).append("\n");
sb.append(" source: ").append(toIndentedString(source)).append("\n");
sb.append(" target: ").append(toIndentedString(target)).append("\n");
sb.append(" taskID: ").append(toIndentedString(taskID)).append("\n");
sb.append(" taskProgress: ").append(toIndentedString(taskProgress)).append("\n");
sb.append(" taskReport: ").append(toIndentedString(taskReport)).append("\n");
sb.append(" taskStatus: ").append(toIndentedString(taskStatus)).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