index int64 | repo_id string | file_path string | content string |
|---|---|---|---|
0 | java-sources/com/aliyun/alibabacloud-schedulerx320240624/1.0.10/com/aliyun/sdk/service/schedulerx320240624 | java-sources/com/aliyun/alibabacloud-schedulerx320240624/1.0.10/com/aliyun/sdk/service/schedulerx320240624/models/CreateClusterResponseBody.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.schedulerx320240624.models;
import com.aliyun.sdk.gateway.pop.*;
import darabonba.core.*;
import darabonba.core.async.*;
import darabonba.core.sync.*;
import darabonba.core.client.*;
import darabonba.core.RequestModel;
import darabonba.core.TeaModel;
import com.aliyun.sdk.gateway.pop.models.*;
/**
*
* {@link CreateClusterResponseBody} extends {@link TeaModel}
*
* <p>CreateClusterResponseBody</p>
*/
public class CreateClusterResponseBody extends TeaModel {
@com.aliyun.core.annotation.NameInMap("Code")
private Integer code;
@com.aliyun.core.annotation.NameInMap("Data")
private Data data;
@com.aliyun.core.annotation.NameInMap("ErrorCode")
private String errorCode;
@com.aliyun.core.annotation.NameInMap("Message")
private String message;
@com.aliyun.core.annotation.NameInMap("RequestId")
private String requestId;
@com.aliyun.core.annotation.NameInMap("Success")
private Boolean success;
private CreateClusterResponseBody(Builder builder) {
this.code = builder.code;
this.data = builder.data;
this.errorCode = builder.errorCode;
this.message = builder.message;
this.requestId = builder.requestId;
this.success = builder.success;
}
public static Builder builder() {
return new Builder();
}
public static CreateClusterResponseBody create() {
return builder().build();
}
public Builder toBuilder() {
return new Builder(this);
}
/**
* @return code
*/
public Integer getCode() {
return this.code;
}
/**
* @return data
*/
public Data getData() {
return this.data;
}
/**
* @return errorCode
*/
public String getErrorCode() {
return this.errorCode;
}
/**
* @return message
*/
public String getMessage() {
return this.message;
}
/**
* @return requestId
*/
public String getRequestId() {
return this.requestId;
}
/**
* @return success
*/
public Boolean getSuccess() {
return this.success;
}
public static final class Builder {
private Integer code;
private Data data;
private String errorCode;
private String message;
private String requestId;
private Boolean success;
private Builder() {
}
private Builder(CreateClusterResponseBody model) {
this.code = model.code;
this.data = model.data;
this.errorCode = model.errorCode;
this.message = model.message;
this.requestId = model.requestId;
this.success = model.success;
}
/**
* Code.
*/
public Builder code(Integer code) {
this.code = code;
return this;
}
/**
* <ul>
* <li></li>
* </ul>
*/
public Builder data(Data data) {
this.data = data;
return this;
}
/**
* ErrorCode.
*/
public Builder errorCode(String errorCode) {
this.errorCode = errorCode;
return this;
}
/**
* Message.
*/
public Builder message(String message) {
this.message = message;
return this;
}
/**
* RequestId.
*/
public Builder requestId(String requestId) {
this.requestId = requestId;
return this;
}
/**
* Success.
*/
public Builder success(Boolean success) {
this.success = success;
return this;
}
public CreateClusterResponseBody build() {
return new CreateClusterResponseBody(this);
}
}
/**
*
* {@link CreateClusterResponseBody} extends {@link TeaModel}
*
* <p>CreateClusterResponseBody</p>
*/
public static class Data extends TeaModel {
@com.aliyun.core.annotation.NameInMap("ClusterId")
private String clusterId;
@com.aliyun.core.annotation.NameInMap("OrderId")
private Long orderId;
private Data(Builder builder) {
this.clusterId = builder.clusterId;
this.orderId = builder.orderId;
}
public static Builder builder() {
return new Builder();
}
public static Data create() {
return builder().build();
}
/**
* @return clusterId
*/
public String getClusterId() {
return this.clusterId;
}
/**
* @return orderId
*/
public Long getOrderId() {
return this.orderId;
}
public static final class Builder {
private String clusterId;
private Long orderId;
private Builder() {
}
private Builder(Data model) {
this.clusterId = model.clusterId;
this.orderId = model.orderId;
}
/**
* ClusterId.
*/
public Builder clusterId(String clusterId) {
this.clusterId = clusterId;
return this;
}
/**
* OrderId.
*/
public Builder orderId(Long orderId) {
this.orderId = orderId;
return this;
}
public Data build() {
return new Data(this);
}
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-schedulerx320240624/1.0.10/com/aliyun/sdk/service/schedulerx320240624 | java-sources/com/aliyun/alibabacloud-schedulerx320240624/1.0.10/com/aliyun/sdk/service/schedulerx320240624/models/CreateJobRequest.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.schedulerx320240624.models;
import com.aliyun.sdk.gateway.pop.*;
import darabonba.core.*;
import darabonba.core.async.*;
import darabonba.core.sync.*;
import darabonba.core.client.*;
import darabonba.core.RequestModel;
import darabonba.core.TeaModel;
import com.aliyun.sdk.gateway.pop.models.*;
/**
*
* {@link CreateJobRequest} extends {@link RequestModel}
*
* <p>CreateJobRequest</p>
*/
public class CreateJobRequest extends Request {
@com.aliyun.core.annotation.Host
@com.aliyun.core.annotation.NameInMap("RegionId")
private String regionId;
@com.aliyun.core.annotation.Body
@com.aliyun.core.annotation.NameInMap("AppName")
@com.aliyun.core.annotation.Validation(required = true)
private String appName;
@com.aliyun.core.annotation.Body
@com.aliyun.core.annotation.NameInMap("AttemptInterval")
private Integer attemptInterval;
@com.aliyun.core.annotation.Body
@com.aliyun.core.annotation.NameInMap("Calendar")
private String calendar;
@com.aliyun.core.annotation.Body
@com.aliyun.core.annotation.NameInMap("ChildJobId")
private String childJobId;
@com.aliyun.core.annotation.Body
@com.aliyun.core.annotation.NameInMap("ClusterId")
@com.aliyun.core.annotation.Validation(required = true)
private String clusterId;
@com.aliyun.core.annotation.Body
@com.aliyun.core.annotation.NameInMap("Description")
@com.aliyun.core.annotation.Validation(maxLength = 300)
private String description;
@com.aliyun.core.annotation.Body
@com.aliyun.core.annotation.NameInMap("ExecutorBlockStrategy")
private Integer executorBlockStrategy;
@com.aliyun.core.annotation.Body
@com.aliyun.core.annotation.NameInMap("JobHandler")
private String jobHandler;
@com.aliyun.core.annotation.Body
@com.aliyun.core.annotation.NameInMap("JobType")
@com.aliyun.core.annotation.Validation(required = true)
private String jobType;
@com.aliyun.core.annotation.Body
@com.aliyun.core.annotation.NameInMap("MaxAttempt")
private Integer maxAttempt;
@com.aliyun.core.annotation.Body
@com.aliyun.core.annotation.NameInMap("MaxConcurrency")
@com.aliyun.core.annotation.Validation(maximum = 200, minimum = 1)
private Integer maxConcurrency;
@com.aliyun.core.annotation.Body
@com.aliyun.core.annotation.NameInMap("Name")
@com.aliyun.core.annotation.Validation(required = true, maxLength = 200, minLength = 1)
private String name;
@com.aliyun.core.annotation.Body
@com.aliyun.core.annotation.NameInMap("NoticeConfig")
private NoticeConfig noticeConfig;
@com.aliyun.core.annotation.Body
@com.aliyun.core.annotation.NameInMap("NoticeContacts")
private java.util.List<NoticeContacts> noticeContacts;
@com.aliyun.core.annotation.Body
@com.aliyun.core.annotation.NameInMap("Parameters")
private String parameters;
@com.aliyun.core.annotation.Body
@com.aliyun.core.annotation.NameInMap("Priority")
private Integer priority;
@com.aliyun.core.annotation.Body
@com.aliyun.core.annotation.NameInMap("RouteStrategy")
@com.aliyun.core.annotation.Validation(maximum = 9, minimum = 1)
private Integer routeStrategy;
@com.aliyun.core.annotation.Body
@com.aliyun.core.annotation.NameInMap("Script")
private String script;
@com.aliyun.core.annotation.Body
@com.aliyun.core.annotation.NameInMap("StartTime")
private Long startTime;
@com.aliyun.core.annotation.Body
@com.aliyun.core.annotation.NameInMap("Status")
private Integer status;
@com.aliyun.core.annotation.Body
@com.aliyun.core.annotation.NameInMap("TimeExpression")
private String timeExpression;
@com.aliyun.core.annotation.Body
@com.aliyun.core.annotation.NameInMap("TimeType")
@com.aliyun.core.annotation.Validation(required = true)
private Integer timeType;
@com.aliyun.core.annotation.Body
@com.aliyun.core.annotation.NameInMap("Timezone")
private String timezone;
@com.aliyun.core.annotation.Body
@com.aliyun.core.annotation.NameInMap("Weight")
private Integer weight;
private CreateJobRequest(Builder builder) {
super(builder);
this.regionId = builder.regionId;
this.appName = builder.appName;
this.attemptInterval = builder.attemptInterval;
this.calendar = builder.calendar;
this.childJobId = builder.childJobId;
this.clusterId = builder.clusterId;
this.description = builder.description;
this.executorBlockStrategy = builder.executorBlockStrategy;
this.jobHandler = builder.jobHandler;
this.jobType = builder.jobType;
this.maxAttempt = builder.maxAttempt;
this.maxConcurrency = builder.maxConcurrency;
this.name = builder.name;
this.noticeConfig = builder.noticeConfig;
this.noticeContacts = builder.noticeContacts;
this.parameters = builder.parameters;
this.priority = builder.priority;
this.routeStrategy = builder.routeStrategy;
this.script = builder.script;
this.startTime = builder.startTime;
this.status = builder.status;
this.timeExpression = builder.timeExpression;
this.timeType = builder.timeType;
this.timezone = builder.timezone;
this.weight = builder.weight;
}
public static Builder builder() {
return new Builder();
}
public static CreateJobRequest create() {
return builder().build();
}
@Override
public Builder toBuilder() {
return new Builder(this);
}
/**
* @return regionId
*/
public String getRegionId() {
return this.regionId;
}
/**
* @return appName
*/
public String getAppName() {
return this.appName;
}
/**
* @return attemptInterval
*/
public Integer getAttemptInterval() {
return this.attemptInterval;
}
/**
* @return calendar
*/
public String getCalendar() {
return this.calendar;
}
/**
* @return childJobId
*/
public String getChildJobId() {
return this.childJobId;
}
/**
* @return clusterId
*/
public String getClusterId() {
return this.clusterId;
}
/**
* @return description
*/
public String getDescription() {
return this.description;
}
/**
* @return executorBlockStrategy
*/
public Integer getExecutorBlockStrategy() {
return this.executorBlockStrategy;
}
/**
* @return jobHandler
*/
public String getJobHandler() {
return this.jobHandler;
}
/**
* @return jobType
*/
public String getJobType() {
return this.jobType;
}
/**
* @return maxAttempt
*/
public Integer getMaxAttempt() {
return this.maxAttempt;
}
/**
* @return maxConcurrency
*/
public Integer getMaxConcurrency() {
return this.maxConcurrency;
}
/**
* @return name
*/
public String getName() {
return this.name;
}
/**
* @return noticeConfig
*/
public NoticeConfig getNoticeConfig() {
return this.noticeConfig;
}
/**
* @return noticeContacts
*/
public java.util.List<NoticeContacts> getNoticeContacts() {
return this.noticeContacts;
}
/**
* @return parameters
*/
public String getParameters() {
return this.parameters;
}
/**
* @return priority
*/
public Integer getPriority() {
return this.priority;
}
/**
* @return routeStrategy
*/
public Integer getRouteStrategy() {
return this.routeStrategy;
}
/**
* @return script
*/
public String getScript() {
return this.script;
}
/**
* @return startTime
*/
public Long getStartTime() {
return this.startTime;
}
/**
* @return status
*/
public Integer getStatus() {
return this.status;
}
/**
* @return timeExpression
*/
public String getTimeExpression() {
return this.timeExpression;
}
/**
* @return timeType
*/
public Integer getTimeType() {
return this.timeType;
}
/**
* @return timezone
*/
public String getTimezone() {
return this.timezone;
}
/**
* @return weight
*/
public Integer getWeight() {
return this.weight;
}
public static final class Builder extends Request.Builder<CreateJobRequest, Builder> {
private String regionId;
private String appName;
private Integer attemptInterval;
private String calendar;
private String childJobId;
private String clusterId;
private String description;
private Integer executorBlockStrategy;
private String jobHandler;
private String jobType;
private Integer maxAttempt;
private Integer maxConcurrency;
private String name;
private NoticeConfig noticeConfig;
private java.util.List<NoticeContacts> noticeContacts;
private String parameters;
private Integer priority;
private Integer routeStrategy;
private String script;
private Long startTime;
private Integer status;
private String timeExpression;
private Integer timeType;
private String timezone;
private Integer weight;
private Builder() {
super();
}
private Builder(CreateJobRequest request) {
super(request);
this.regionId = request.regionId;
this.appName = request.appName;
this.attemptInterval = request.attemptInterval;
this.calendar = request.calendar;
this.childJobId = request.childJobId;
this.clusterId = request.clusterId;
this.description = request.description;
this.executorBlockStrategy = request.executorBlockStrategy;
this.jobHandler = request.jobHandler;
this.jobType = request.jobType;
this.maxAttempt = request.maxAttempt;
this.maxConcurrency = request.maxConcurrency;
this.name = request.name;
this.noticeConfig = request.noticeConfig;
this.noticeContacts = request.noticeContacts;
this.parameters = request.parameters;
this.priority = request.priority;
this.routeStrategy = request.routeStrategy;
this.script = request.script;
this.startTime = request.startTime;
this.status = request.status;
this.timeExpression = request.timeExpression;
this.timeType = request.timeType;
this.timezone = request.timezone;
this.weight = request.weight;
}
/**
* RegionId.
*/
public Builder regionId(String regionId) {
this.putHostParameter("RegionId", regionId);
this.regionId = regionId;
return this;
}
/**
* <p>This parameter is required.</p>
*
* <strong>example:</strong>
* <p>test-app</p>
*/
public Builder appName(String appName) {
this.putBodyParameter("AppName", appName);
this.appName = appName;
return this;
}
/**
* AttemptInterval.
*/
public Builder attemptInterval(Integer attemptInterval) {
this.putBodyParameter("AttemptInterval", attemptInterval);
this.attemptInterval = attemptInterval;
return this;
}
/**
* Calendar.
*/
public Builder calendar(String calendar) {
this.putBodyParameter("Calendar", calendar);
this.calendar = calendar;
return this;
}
/**
* ChildJobId.
*/
public Builder childJobId(String childJobId) {
this.putBodyParameter("ChildJobId", childJobId);
this.childJobId = childJobId;
return this;
}
/**
* <p>This parameter is required.</p>
*
* <strong>example:</strong>
* <p>xxljob-b6ec1xxxx</p>
*/
public Builder clusterId(String clusterId) {
this.putBodyParameter("ClusterId", clusterId);
this.clusterId = clusterId;
return this;
}
/**
* Description.
*/
public Builder description(String description) {
this.putBodyParameter("Description", description);
this.description = description;
return this;
}
/**
* ExecutorBlockStrategy.
*/
public Builder executorBlockStrategy(Integer executorBlockStrategy) {
this.putBodyParameter("ExecutorBlockStrategy", executorBlockStrategy);
this.executorBlockStrategy = executorBlockStrategy;
return this;
}
/**
* JobHandler.
*/
public Builder jobHandler(String jobHandler) {
this.putBodyParameter("JobHandler", jobHandler);
this.jobHandler = jobHandler;
return this;
}
/**
* <p>This parameter is required.</p>
*
* <strong>example:</strong>
* <p>xxljob</p>
*/
public Builder jobType(String jobType) {
this.putBodyParameter("JobType", jobType);
this.jobType = jobType;
return this;
}
/**
* MaxAttempt.
*/
public Builder maxAttempt(Integer maxAttempt) {
this.putBodyParameter("MaxAttempt", maxAttempt);
this.maxAttempt = maxAttempt;
return this;
}
/**
* MaxConcurrency.
*/
public Builder maxConcurrency(Integer maxConcurrency) {
this.putBodyParameter("MaxConcurrency", maxConcurrency);
this.maxConcurrency = maxConcurrency;
return this;
}
/**
* <p>This parameter is required.</p>
*
* <strong>example:</strong>
* <p>test-job</p>
*/
public Builder name(String name) {
this.putBodyParameter("Name", name);
this.name = name;
return this;
}
/**
* NoticeConfig.
*/
public Builder noticeConfig(NoticeConfig noticeConfig) {
String noticeConfigShrink = shrink(noticeConfig, "NoticeConfig", "json");
this.putBodyParameter("NoticeConfig", noticeConfigShrink);
this.noticeConfig = noticeConfig;
return this;
}
/**
* NoticeContacts.
*/
public Builder noticeContacts(java.util.List<NoticeContacts> noticeContacts) {
String noticeContactsShrink = shrink(noticeContacts, "NoticeContacts", "json");
this.putBodyParameter("NoticeContacts", noticeContactsShrink);
this.noticeContacts = noticeContacts;
return this;
}
/**
* Parameters.
*/
public Builder parameters(String parameters) {
this.putBodyParameter("Parameters", parameters);
this.parameters = parameters;
return this;
}
/**
* Priority.
*/
public Builder priority(Integer priority) {
this.putBodyParameter("Priority", priority);
this.priority = priority;
return this;
}
/**
* RouteStrategy.
*/
public Builder routeStrategy(Integer routeStrategy) {
this.putBodyParameter("RouteStrategy", routeStrategy);
this.routeStrategy = routeStrategy;
return this;
}
/**
* Script.
*/
public Builder script(String script) {
this.putBodyParameter("Script", script);
this.script = script;
return this;
}
/**
* StartTime.
*/
public Builder startTime(Long startTime) {
this.putBodyParameter("StartTime", startTime);
this.startTime = startTime;
return this;
}
/**
* Status.
*/
public Builder status(Integer status) {
this.putBodyParameter("Status", status);
this.status = status;
return this;
}
/**
* TimeExpression.
*/
public Builder timeExpression(String timeExpression) {
this.putBodyParameter("TimeExpression", timeExpression);
this.timeExpression = timeExpression;
return this;
}
/**
* <p>This parameter is required.</p>
*
* <strong>example:</strong>
* <p>-1</p>
*/
public Builder timeType(Integer timeType) {
this.putBodyParameter("TimeType", timeType);
this.timeType = timeType;
return this;
}
/**
* Timezone.
*/
public Builder timezone(String timezone) {
this.putBodyParameter("Timezone", timezone);
this.timezone = timezone;
return this;
}
/**
* Weight.
*/
public Builder weight(Integer weight) {
this.putBodyParameter("Weight", weight);
this.weight = weight;
return this;
}
@Override
public CreateJobRequest build() {
return new CreateJobRequest(this);
}
}
/**
*
* {@link CreateJobRequest} extends {@link TeaModel}
*
* <p>CreateJobRequest</p>
*/
public static class NoticeConfig extends TeaModel {
@com.aliyun.core.annotation.NameInMap("FailEnable")
private Boolean failEnable;
@com.aliyun.core.annotation.NameInMap("FailLimitTimes")
private Integer failLimitTimes;
@com.aliyun.core.annotation.NameInMap("MissWorkerEnable")
private Boolean missWorkerEnable;
@com.aliyun.core.annotation.NameInMap("SendChannel")
private String sendChannel;
@com.aliyun.core.annotation.NameInMap("SuccessNotice")
private Boolean successNotice;
@com.aliyun.core.annotation.NameInMap("Timeout")
private Long timeout;
@com.aliyun.core.annotation.NameInMap("TimeoutEnable")
private Boolean timeoutEnable;
@com.aliyun.core.annotation.NameInMap("TimeoutKillEnable")
private Boolean timeoutKillEnable;
private NoticeConfig(Builder builder) {
this.failEnable = builder.failEnable;
this.failLimitTimes = builder.failLimitTimes;
this.missWorkerEnable = builder.missWorkerEnable;
this.sendChannel = builder.sendChannel;
this.successNotice = builder.successNotice;
this.timeout = builder.timeout;
this.timeoutEnable = builder.timeoutEnable;
this.timeoutKillEnable = builder.timeoutKillEnable;
}
public static Builder builder() {
return new Builder();
}
public static NoticeConfig create() {
return builder().build();
}
/**
* @return failEnable
*/
public Boolean getFailEnable() {
return this.failEnable;
}
/**
* @return failLimitTimes
*/
public Integer getFailLimitTimes() {
return this.failLimitTimes;
}
/**
* @return missWorkerEnable
*/
public Boolean getMissWorkerEnable() {
return this.missWorkerEnable;
}
/**
* @return sendChannel
*/
public String getSendChannel() {
return this.sendChannel;
}
/**
* @return successNotice
*/
public Boolean getSuccessNotice() {
return this.successNotice;
}
/**
* @return timeout
*/
public Long getTimeout() {
return this.timeout;
}
/**
* @return timeoutEnable
*/
public Boolean getTimeoutEnable() {
return this.timeoutEnable;
}
/**
* @return timeoutKillEnable
*/
public Boolean getTimeoutKillEnable() {
return this.timeoutKillEnable;
}
public static final class Builder {
private Boolean failEnable;
private Integer failLimitTimes;
private Boolean missWorkerEnable;
private String sendChannel;
private Boolean successNotice;
private Long timeout;
private Boolean timeoutEnable;
private Boolean timeoutKillEnable;
private Builder() {
}
private Builder(NoticeConfig model) {
this.failEnable = model.failEnable;
this.failLimitTimes = model.failLimitTimes;
this.missWorkerEnable = model.missWorkerEnable;
this.sendChannel = model.sendChannel;
this.successNotice = model.successNotice;
this.timeout = model.timeout;
this.timeoutEnable = model.timeoutEnable;
this.timeoutKillEnable = model.timeoutKillEnable;
}
/**
* FailEnable.
*/
public Builder failEnable(Boolean failEnable) {
this.failEnable = failEnable;
return this;
}
/**
* FailLimitTimes.
*/
public Builder failLimitTimes(Integer failLimitTimes) {
this.failLimitTimes = failLimitTimes;
return this;
}
/**
* MissWorkerEnable.
*/
public Builder missWorkerEnable(Boolean missWorkerEnable) {
this.missWorkerEnable = missWorkerEnable;
return this;
}
/**
* SendChannel.
*/
public Builder sendChannel(String sendChannel) {
this.sendChannel = sendChannel;
return this;
}
/**
* SuccessNotice.
*/
public Builder successNotice(Boolean successNotice) {
this.successNotice = successNotice;
return this;
}
/**
* Timeout.
*/
public Builder timeout(Long timeout) {
this.timeout = timeout;
return this;
}
/**
* TimeoutEnable.
*/
public Builder timeoutEnable(Boolean timeoutEnable) {
this.timeoutEnable = timeoutEnable;
return this;
}
/**
* TimeoutKillEnable.
*/
public Builder timeoutKillEnable(Boolean timeoutKillEnable) {
this.timeoutKillEnable = timeoutKillEnable;
return this;
}
public NoticeConfig build() {
return new NoticeConfig(this);
}
}
}
/**
*
* {@link CreateJobRequest} extends {@link TeaModel}
*
* <p>CreateJobRequest</p>
*/
public static class NoticeContacts extends TeaModel {
@com.aliyun.core.annotation.NameInMap("ContactType")
private Integer contactType;
@com.aliyun.core.annotation.NameInMap("Name")
private String name;
private NoticeContacts(Builder builder) {
this.contactType = builder.contactType;
this.name = builder.name;
}
public static Builder builder() {
return new Builder();
}
public static NoticeContacts create() {
return builder().build();
}
/**
* @return contactType
*/
public Integer getContactType() {
return this.contactType;
}
/**
* @return name
*/
public String getName() {
return this.name;
}
public static final class Builder {
private Integer contactType;
private String name;
private Builder() {
}
private Builder(NoticeContacts model) {
this.contactType = model.contactType;
this.name = model.name;
}
/**
* ContactType.
*/
public Builder contactType(Integer contactType) {
this.contactType = contactType;
return this;
}
/**
* <p>This parameter is required.</p>
*
* <strong>example:</strong>
* <p>test-job</p>
*/
public Builder name(String name) {
this.name = name;
return this;
}
public NoticeContacts build() {
return new NoticeContacts(this);
}
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-schedulerx320240624/1.0.10/com/aliyun/sdk/service/schedulerx320240624 | java-sources/com/aliyun/alibabacloud-schedulerx320240624/1.0.10/com/aliyun/sdk/service/schedulerx320240624/models/CreateJobResponse.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.schedulerx320240624.models;
import com.aliyun.sdk.gateway.pop.*;
import darabonba.core.*;
import darabonba.core.async.*;
import darabonba.core.sync.*;
import darabonba.core.client.*;
import darabonba.core.RequestModel;
import darabonba.core.TeaModel;
import com.aliyun.sdk.gateway.pop.models.*;
/**
*
* {@link CreateJobResponse} extends {@link TeaModel}
*
* <p>CreateJobResponse</p>
*/
public class CreateJobResponse extends Response {
@com.aliyun.core.annotation.NameInMap("headers")
private java.util.Map<String, String> headers;
@com.aliyun.core.annotation.NameInMap("statusCode")
private Integer statusCode;
@com.aliyun.core.annotation.NameInMap("body")
private CreateJobResponseBody body;
private CreateJobResponse(BuilderImpl builder) {
super(builder);
this.headers = builder.headers;
this.statusCode = builder.statusCode;
this.body = builder.body;
}
public static CreateJobResponse create() {
return new BuilderImpl().build();
}
@Override
public Builder toBuilder() {
return new BuilderImpl(this);
}
/**
* @return headers
*/
public java.util.Map<String, String> getHeaders() {
return this.headers;
}
/**
* @return statusCode
*/
public Integer getStatusCode() {
return this.statusCode;
}
/**
* @return body
*/
public CreateJobResponseBody getBody() {
return this.body;
}
public interface Builder extends Response.Builder<CreateJobResponse, Builder> {
Builder headers(java.util.Map<String, String> headers);
Builder statusCode(Integer statusCode);
Builder body(CreateJobResponseBody body);
@Override
CreateJobResponse build();
}
private static final class BuilderImpl
extends Response.BuilderImpl<CreateJobResponse, Builder>
implements Builder {
private java.util.Map<String, String> headers;
private Integer statusCode;
private CreateJobResponseBody body;
private BuilderImpl() {
super();
}
private BuilderImpl(CreateJobResponse response) {
super(response);
this.headers = response.headers;
this.statusCode = response.statusCode;
this.body = response.body;
}
/**
* headers.
*/
@Override
public Builder headers(java.util.Map<String, String> headers) {
this.headers = headers;
return this;
}
/**
* statusCode.
*/
@Override
public Builder statusCode(Integer statusCode) {
this.statusCode = statusCode;
return this;
}
/**
* body.
*/
@Override
public Builder body(CreateJobResponseBody body) {
this.body = body;
return this;
}
@Override
public CreateJobResponse build() {
return new CreateJobResponse(this);
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-schedulerx320240624/1.0.10/com/aliyun/sdk/service/schedulerx320240624 | java-sources/com/aliyun/alibabacloud-schedulerx320240624/1.0.10/com/aliyun/sdk/service/schedulerx320240624/models/CreateJobResponseBody.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.schedulerx320240624.models;
import com.aliyun.sdk.gateway.pop.*;
import darabonba.core.*;
import darabonba.core.async.*;
import darabonba.core.sync.*;
import darabonba.core.client.*;
import darabonba.core.RequestModel;
import darabonba.core.TeaModel;
import com.aliyun.sdk.gateway.pop.models.*;
/**
*
* {@link CreateJobResponseBody} extends {@link TeaModel}
*
* <p>CreateJobResponseBody</p>
*/
public class CreateJobResponseBody extends TeaModel {
@com.aliyun.core.annotation.NameInMap("Code")
private Integer code;
@com.aliyun.core.annotation.NameInMap("Data")
private Data data;
@com.aliyun.core.annotation.NameInMap("Message")
private String message;
@com.aliyun.core.annotation.NameInMap("RequestId")
private String requestId;
@com.aliyun.core.annotation.NameInMap("Success")
private Boolean success;
private CreateJobResponseBody(Builder builder) {
this.code = builder.code;
this.data = builder.data;
this.message = builder.message;
this.requestId = builder.requestId;
this.success = builder.success;
}
public static Builder builder() {
return new Builder();
}
public static CreateJobResponseBody create() {
return builder().build();
}
public Builder toBuilder() {
return new Builder(this);
}
/**
* @return code
*/
public Integer getCode() {
return this.code;
}
/**
* @return data
*/
public Data getData() {
return this.data;
}
/**
* @return message
*/
public String getMessage() {
return this.message;
}
/**
* @return requestId
*/
public String getRequestId() {
return this.requestId;
}
/**
* @return success
*/
public Boolean getSuccess() {
return this.success;
}
public static final class Builder {
private Integer code;
private Data data;
private String message;
private String requestId;
private Boolean success;
private Builder() {
}
private Builder(CreateJobResponseBody model) {
this.code = model.code;
this.data = model.data;
this.message = model.message;
this.requestId = model.requestId;
this.success = model.success;
}
/**
* Code.
*/
public Builder code(Integer code) {
this.code = code;
return this;
}
/**
* <ul>
* <li></li>
* </ul>
*/
public Builder data(Data data) {
this.data = data;
return this;
}
/**
* Message.
*/
public Builder message(String message) {
this.message = message;
return this;
}
/**
* RequestId.
*/
public Builder requestId(String requestId) {
this.requestId = requestId;
return this;
}
/**
* Success.
*/
public Builder success(Boolean success) {
this.success = success;
return this;
}
public CreateJobResponseBody build() {
return new CreateJobResponseBody(this);
}
}
/**
*
* {@link CreateJobResponseBody} extends {@link TeaModel}
*
* <p>CreateJobResponseBody</p>
*/
public static class Data extends TeaModel {
@com.aliyun.core.annotation.NameInMap("JobId")
private Long jobId;
private Data(Builder builder) {
this.jobId = builder.jobId;
}
public static Builder builder() {
return new Builder();
}
public static Data create() {
return builder().build();
}
/**
* @return jobId
*/
public Long getJobId() {
return this.jobId;
}
public static final class Builder {
private Long jobId;
private Builder() {
}
private Builder(Data model) {
this.jobId = model.jobId;
}
/**
* JobId.
*/
public Builder jobId(Long jobId) {
this.jobId = jobId;
return this;
}
public Data build() {
return new Data(this);
}
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-schedulerx320240624/1.0.10/com/aliyun/sdk/service/schedulerx320240624 | java-sources/com/aliyun/alibabacloud-schedulerx320240624/1.0.10/com/aliyun/sdk/service/schedulerx320240624/models/DeleteAppRequest.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.schedulerx320240624.models;
import com.aliyun.sdk.gateway.pop.*;
import darabonba.core.*;
import darabonba.core.async.*;
import darabonba.core.sync.*;
import darabonba.core.client.*;
import darabonba.core.RequestModel;
import darabonba.core.TeaModel;
import com.aliyun.sdk.gateway.pop.models.*;
/**
*
* {@link DeleteAppRequest} extends {@link RequestModel}
*
* <p>DeleteAppRequest</p>
*/
public class DeleteAppRequest extends Request {
@com.aliyun.core.annotation.Host
@com.aliyun.core.annotation.NameInMap("RegionId")
private String regionId;
@com.aliyun.core.annotation.Body
@com.aliyun.core.annotation.NameInMap("AppName")
@com.aliyun.core.annotation.Validation(required = true)
private String appName;
@com.aliyun.core.annotation.Body
@com.aliyun.core.annotation.NameInMap("ClusterId")
@com.aliyun.core.annotation.Validation(required = true)
private String clusterId;
private DeleteAppRequest(Builder builder) {
super(builder);
this.regionId = builder.regionId;
this.appName = builder.appName;
this.clusterId = builder.clusterId;
}
public static Builder builder() {
return new Builder();
}
public static DeleteAppRequest create() {
return builder().build();
}
@Override
public Builder toBuilder() {
return new Builder(this);
}
/**
* @return regionId
*/
public String getRegionId() {
return this.regionId;
}
/**
* @return appName
*/
public String getAppName() {
return this.appName;
}
/**
* @return clusterId
*/
public String getClusterId() {
return this.clusterId;
}
public static final class Builder extends Request.Builder<DeleteAppRequest, Builder> {
private String regionId;
private String appName;
private String clusterId;
private Builder() {
super();
}
private Builder(DeleteAppRequest request) {
super(request);
this.regionId = request.regionId;
this.appName = request.appName;
this.clusterId = request.clusterId;
}
/**
* RegionId.
*/
public Builder regionId(String regionId) {
this.putHostParameter("RegionId", regionId);
this.regionId = regionId;
return this;
}
/**
* <p>This parameter is required.</p>
*
* <strong>example:</strong>
* <p>test-app</p>
*/
public Builder appName(String appName) {
this.putBodyParameter("AppName", appName);
this.appName = appName;
return this;
}
/**
* <p>This parameter is required.</p>
*
* <strong>example:</strong>
* <p>xxljob-b6ec1xxxx</p>
*/
public Builder clusterId(String clusterId) {
this.putBodyParameter("ClusterId", clusterId);
this.clusterId = clusterId;
return this;
}
@Override
public DeleteAppRequest build() {
return new DeleteAppRequest(this);
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-schedulerx320240624/1.0.10/com/aliyun/sdk/service/schedulerx320240624 | java-sources/com/aliyun/alibabacloud-schedulerx320240624/1.0.10/com/aliyun/sdk/service/schedulerx320240624/models/DeleteAppResponse.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.schedulerx320240624.models;
import com.aliyun.sdk.gateway.pop.*;
import darabonba.core.*;
import darabonba.core.async.*;
import darabonba.core.sync.*;
import darabonba.core.client.*;
import darabonba.core.RequestModel;
import darabonba.core.TeaModel;
import com.aliyun.sdk.gateway.pop.models.*;
/**
*
* {@link DeleteAppResponse} extends {@link TeaModel}
*
* <p>DeleteAppResponse</p>
*/
public class DeleteAppResponse extends Response {
@com.aliyun.core.annotation.NameInMap("headers")
private java.util.Map<String, String> headers;
@com.aliyun.core.annotation.NameInMap("statusCode")
private Integer statusCode;
@com.aliyun.core.annotation.NameInMap("body")
private DeleteAppResponseBody body;
private DeleteAppResponse(BuilderImpl builder) {
super(builder);
this.headers = builder.headers;
this.statusCode = builder.statusCode;
this.body = builder.body;
}
public static DeleteAppResponse create() {
return new BuilderImpl().build();
}
@Override
public Builder toBuilder() {
return new BuilderImpl(this);
}
/**
* @return headers
*/
public java.util.Map<String, String> getHeaders() {
return this.headers;
}
/**
* @return statusCode
*/
public Integer getStatusCode() {
return this.statusCode;
}
/**
* @return body
*/
public DeleteAppResponseBody getBody() {
return this.body;
}
public interface Builder extends Response.Builder<DeleteAppResponse, Builder> {
Builder headers(java.util.Map<String, String> headers);
Builder statusCode(Integer statusCode);
Builder body(DeleteAppResponseBody body);
@Override
DeleteAppResponse build();
}
private static final class BuilderImpl
extends Response.BuilderImpl<DeleteAppResponse, Builder>
implements Builder {
private java.util.Map<String, String> headers;
private Integer statusCode;
private DeleteAppResponseBody body;
private BuilderImpl() {
super();
}
private BuilderImpl(DeleteAppResponse response) {
super(response);
this.headers = response.headers;
this.statusCode = response.statusCode;
this.body = response.body;
}
/**
* headers.
*/
@Override
public Builder headers(java.util.Map<String, String> headers) {
this.headers = headers;
return this;
}
/**
* statusCode.
*/
@Override
public Builder statusCode(Integer statusCode) {
this.statusCode = statusCode;
return this;
}
/**
* body.
*/
@Override
public Builder body(DeleteAppResponseBody body) {
this.body = body;
return this;
}
@Override
public DeleteAppResponse build() {
return new DeleteAppResponse(this);
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-schedulerx320240624/1.0.10/com/aliyun/sdk/service/schedulerx320240624 | java-sources/com/aliyun/alibabacloud-schedulerx320240624/1.0.10/com/aliyun/sdk/service/schedulerx320240624/models/DeleteAppResponseBody.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.schedulerx320240624.models;
import com.aliyun.sdk.gateway.pop.*;
import darabonba.core.*;
import darabonba.core.async.*;
import darabonba.core.sync.*;
import darabonba.core.client.*;
import darabonba.core.RequestModel;
import darabonba.core.TeaModel;
import com.aliyun.sdk.gateway.pop.models.*;
/**
*
* {@link DeleteAppResponseBody} extends {@link TeaModel}
*
* <p>DeleteAppResponseBody</p>
*/
public class DeleteAppResponseBody extends TeaModel {
@com.aliyun.core.annotation.NameInMap("Code")
private Integer code;
@com.aliyun.core.annotation.NameInMap("Message")
private String message;
@com.aliyun.core.annotation.NameInMap("RequestId")
private String requestId;
@com.aliyun.core.annotation.NameInMap("Success")
private Boolean success;
private DeleteAppResponseBody(Builder builder) {
this.code = builder.code;
this.message = builder.message;
this.requestId = builder.requestId;
this.success = builder.success;
}
public static Builder builder() {
return new Builder();
}
public static DeleteAppResponseBody create() {
return builder().build();
}
public Builder toBuilder() {
return new Builder(this);
}
/**
* @return code
*/
public Integer getCode() {
return this.code;
}
/**
* @return message
*/
public String getMessage() {
return this.message;
}
/**
* @return requestId
*/
public String getRequestId() {
return this.requestId;
}
/**
* @return success
*/
public Boolean getSuccess() {
return this.success;
}
public static final class Builder {
private Integer code;
private String message;
private String requestId;
private Boolean success;
private Builder() {
}
private Builder(DeleteAppResponseBody model) {
this.code = model.code;
this.message = model.message;
this.requestId = model.requestId;
this.success = model.success;
}
/**
* Code.
*/
public Builder code(Integer code) {
this.code = code;
return this;
}
/**
* Message.
*/
public Builder message(String message) {
this.message = message;
return this;
}
/**
* RequestId.
*/
public Builder requestId(String requestId) {
this.requestId = requestId;
return this;
}
/**
* Success.
*/
public Builder success(Boolean success) {
this.success = success;
return this;
}
public DeleteAppResponseBody build() {
return new DeleteAppResponseBody(this);
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-schedulerx320240624/1.0.10/com/aliyun/sdk/service/schedulerx320240624 | java-sources/com/aliyun/alibabacloud-schedulerx320240624/1.0.10/com/aliyun/sdk/service/schedulerx320240624/models/DeleteClusterRequest.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.schedulerx320240624.models;
import com.aliyun.sdk.gateway.pop.*;
import darabonba.core.*;
import darabonba.core.async.*;
import darabonba.core.sync.*;
import darabonba.core.client.*;
import darabonba.core.RequestModel;
import darabonba.core.TeaModel;
import com.aliyun.sdk.gateway.pop.models.*;
/**
*
* {@link DeleteClusterRequest} extends {@link RequestModel}
*
* <p>DeleteClusterRequest</p>
*/
public class DeleteClusterRequest extends Request {
@com.aliyun.core.annotation.Host
@com.aliyun.core.annotation.NameInMap("RegionId")
private String regionId;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("ClusterId")
@com.aliyun.core.annotation.Validation(required = true)
private String clusterId;
private DeleteClusterRequest(Builder builder) {
super(builder);
this.regionId = builder.regionId;
this.clusterId = builder.clusterId;
}
public static Builder builder() {
return new Builder();
}
public static DeleteClusterRequest create() {
return builder().build();
}
@Override
public Builder toBuilder() {
return new Builder(this);
}
/**
* @return regionId
*/
public String getRegionId() {
return this.regionId;
}
/**
* @return clusterId
*/
public String getClusterId() {
return this.clusterId;
}
public static final class Builder extends Request.Builder<DeleteClusterRequest, Builder> {
private String regionId;
private String clusterId;
private Builder() {
super();
}
private Builder(DeleteClusterRequest request) {
super(request);
this.regionId = request.regionId;
this.clusterId = request.clusterId;
}
/**
* RegionId.
*/
public Builder regionId(String regionId) {
this.putHostParameter("RegionId", regionId);
this.regionId = regionId;
return this;
}
/**
* <p>This parameter is required.</p>
*
* <strong>example:</strong>
* <p>xxljob-a1804a3226d</p>
*/
public Builder clusterId(String clusterId) {
this.putQueryParameter("ClusterId", clusterId);
this.clusterId = clusterId;
return this;
}
@Override
public DeleteClusterRequest build() {
return new DeleteClusterRequest(this);
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-schedulerx320240624/1.0.10/com/aliyun/sdk/service/schedulerx320240624 | java-sources/com/aliyun/alibabacloud-schedulerx320240624/1.0.10/com/aliyun/sdk/service/schedulerx320240624/models/DeleteClusterResponse.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.schedulerx320240624.models;
import com.aliyun.sdk.gateway.pop.*;
import darabonba.core.*;
import darabonba.core.async.*;
import darabonba.core.sync.*;
import darabonba.core.client.*;
import darabonba.core.RequestModel;
import darabonba.core.TeaModel;
import com.aliyun.sdk.gateway.pop.models.*;
/**
*
* {@link DeleteClusterResponse} extends {@link TeaModel}
*
* <p>DeleteClusterResponse</p>
*/
public class DeleteClusterResponse extends Response {
@com.aliyun.core.annotation.NameInMap("headers")
private java.util.Map<String, String> headers;
@com.aliyun.core.annotation.NameInMap("statusCode")
private Integer statusCode;
@com.aliyun.core.annotation.NameInMap("body")
private DeleteClusterResponseBody body;
private DeleteClusterResponse(BuilderImpl builder) {
super(builder);
this.headers = builder.headers;
this.statusCode = builder.statusCode;
this.body = builder.body;
}
public static DeleteClusterResponse create() {
return new BuilderImpl().build();
}
@Override
public Builder toBuilder() {
return new BuilderImpl(this);
}
/**
* @return headers
*/
public java.util.Map<String, String> getHeaders() {
return this.headers;
}
/**
* @return statusCode
*/
public Integer getStatusCode() {
return this.statusCode;
}
/**
* @return body
*/
public DeleteClusterResponseBody getBody() {
return this.body;
}
public interface Builder extends Response.Builder<DeleteClusterResponse, Builder> {
Builder headers(java.util.Map<String, String> headers);
Builder statusCode(Integer statusCode);
Builder body(DeleteClusterResponseBody body);
@Override
DeleteClusterResponse build();
}
private static final class BuilderImpl
extends Response.BuilderImpl<DeleteClusterResponse, Builder>
implements Builder {
private java.util.Map<String, String> headers;
private Integer statusCode;
private DeleteClusterResponseBody body;
private BuilderImpl() {
super();
}
private BuilderImpl(DeleteClusterResponse response) {
super(response);
this.headers = response.headers;
this.statusCode = response.statusCode;
this.body = response.body;
}
/**
* headers.
*/
@Override
public Builder headers(java.util.Map<String, String> headers) {
this.headers = headers;
return this;
}
/**
* statusCode.
*/
@Override
public Builder statusCode(Integer statusCode) {
this.statusCode = statusCode;
return this;
}
/**
* body.
*/
@Override
public Builder body(DeleteClusterResponseBody body) {
this.body = body;
return this;
}
@Override
public DeleteClusterResponse build() {
return new DeleteClusterResponse(this);
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-schedulerx320240624/1.0.10/com/aliyun/sdk/service/schedulerx320240624 | java-sources/com/aliyun/alibabacloud-schedulerx320240624/1.0.10/com/aliyun/sdk/service/schedulerx320240624/models/DeleteClusterResponseBody.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.schedulerx320240624.models;
import com.aliyun.sdk.gateway.pop.*;
import darabonba.core.*;
import darabonba.core.async.*;
import darabonba.core.sync.*;
import darabonba.core.client.*;
import darabonba.core.RequestModel;
import darabonba.core.TeaModel;
import com.aliyun.sdk.gateway.pop.models.*;
/**
*
* {@link DeleteClusterResponseBody} extends {@link TeaModel}
*
* <p>DeleteClusterResponseBody</p>
*/
public class DeleteClusterResponseBody extends TeaModel {
@com.aliyun.core.annotation.NameInMap("Code")
private Integer code;
@com.aliyun.core.annotation.NameInMap("Message")
private String message;
@com.aliyun.core.annotation.NameInMap("RequestId")
private String requestId;
@com.aliyun.core.annotation.NameInMap("Success")
private Boolean success;
private DeleteClusterResponseBody(Builder builder) {
this.code = builder.code;
this.message = builder.message;
this.requestId = builder.requestId;
this.success = builder.success;
}
public static Builder builder() {
return new Builder();
}
public static DeleteClusterResponseBody create() {
return builder().build();
}
public Builder toBuilder() {
return new Builder(this);
}
/**
* @return code
*/
public Integer getCode() {
return this.code;
}
/**
* @return message
*/
public String getMessage() {
return this.message;
}
/**
* @return requestId
*/
public String getRequestId() {
return this.requestId;
}
/**
* @return success
*/
public Boolean getSuccess() {
return this.success;
}
public static final class Builder {
private Integer code;
private String message;
private String requestId;
private Boolean success;
private Builder() {
}
private Builder(DeleteClusterResponseBody model) {
this.code = model.code;
this.message = model.message;
this.requestId = model.requestId;
this.success = model.success;
}
/**
* Code.
*/
public Builder code(Integer code) {
this.code = code;
return this;
}
/**
* Message.
*/
public Builder message(String message) {
this.message = message;
return this;
}
/**
* RequestId.
*/
public Builder requestId(String requestId) {
this.requestId = requestId;
return this;
}
/**
* Success.
*/
public Builder success(Boolean success) {
this.success = success;
return this;
}
public DeleteClusterResponseBody build() {
return new DeleteClusterResponseBody(this);
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-schedulerx320240624/1.0.10/com/aliyun/sdk/service/schedulerx320240624 | java-sources/com/aliyun/alibabacloud-schedulerx320240624/1.0.10/com/aliyun/sdk/service/schedulerx320240624/models/DeleteJobsRequest.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.schedulerx320240624.models;
import com.aliyun.sdk.gateway.pop.*;
import darabonba.core.*;
import darabonba.core.async.*;
import darabonba.core.sync.*;
import darabonba.core.client.*;
import darabonba.core.RequestModel;
import darabonba.core.TeaModel;
import com.aliyun.sdk.gateway.pop.models.*;
/**
*
* {@link DeleteJobsRequest} extends {@link RequestModel}
*
* <p>DeleteJobsRequest</p>
*/
public class DeleteJobsRequest extends Request {
@com.aliyun.core.annotation.Host
@com.aliyun.core.annotation.NameInMap("RegionId")
private String regionId;
@com.aliyun.core.annotation.Body
@com.aliyun.core.annotation.NameInMap("AppName")
@com.aliyun.core.annotation.Validation(required = true)
private String appName;
@com.aliyun.core.annotation.Body
@com.aliyun.core.annotation.NameInMap("ClusterId")
@com.aliyun.core.annotation.Validation(required = true)
private String clusterId;
@com.aliyun.core.annotation.Body
@com.aliyun.core.annotation.NameInMap("JobIds")
private java.util.List<Long> jobIds;
private DeleteJobsRequest(Builder builder) {
super(builder);
this.regionId = builder.regionId;
this.appName = builder.appName;
this.clusterId = builder.clusterId;
this.jobIds = builder.jobIds;
}
public static Builder builder() {
return new Builder();
}
public static DeleteJobsRequest create() {
return builder().build();
}
@Override
public Builder toBuilder() {
return new Builder(this);
}
/**
* @return regionId
*/
public String getRegionId() {
return this.regionId;
}
/**
* @return appName
*/
public String getAppName() {
return this.appName;
}
/**
* @return clusterId
*/
public String getClusterId() {
return this.clusterId;
}
/**
* @return jobIds
*/
public java.util.List<Long> getJobIds() {
return this.jobIds;
}
public static final class Builder extends Request.Builder<DeleteJobsRequest, Builder> {
private String regionId;
private String appName;
private String clusterId;
private java.util.List<Long> jobIds;
private Builder() {
super();
}
private Builder(DeleteJobsRequest request) {
super(request);
this.regionId = request.regionId;
this.appName = request.appName;
this.clusterId = request.clusterId;
this.jobIds = request.jobIds;
}
/**
* RegionId.
*/
public Builder regionId(String regionId) {
this.putHostParameter("RegionId", regionId);
this.regionId = regionId;
return this;
}
/**
* <p>This parameter is required.</p>
*
* <strong>example:</strong>
* <p>test-app</p>
*/
public Builder appName(String appName) {
this.putBodyParameter("AppName", appName);
this.appName = appName;
return this;
}
/**
* <p>This parameter is required.</p>
*
* <strong>example:</strong>
* <p>xxljob-b6ec1xxxx</p>
*/
public Builder clusterId(String clusterId) {
this.putBodyParameter("ClusterId", clusterId);
this.clusterId = clusterId;
return this;
}
/**
* <ul>
* <li></li>
* </ul>
*/
public Builder jobIds(java.util.List<Long> jobIds) {
String jobIdsShrink = shrink(jobIds, "JobIds", "json");
this.putBodyParameter("JobIds", jobIdsShrink);
this.jobIds = jobIds;
return this;
}
@Override
public DeleteJobsRequest build() {
return new DeleteJobsRequest(this);
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-schedulerx320240624/1.0.10/com/aliyun/sdk/service/schedulerx320240624 | java-sources/com/aliyun/alibabacloud-schedulerx320240624/1.0.10/com/aliyun/sdk/service/schedulerx320240624/models/DeleteJobsResponse.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.schedulerx320240624.models;
import com.aliyun.sdk.gateway.pop.*;
import darabonba.core.*;
import darabonba.core.async.*;
import darabonba.core.sync.*;
import darabonba.core.client.*;
import darabonba.core.RequestModel;
import darabonba.core.TeaModel;
import com.aliyun.sdk.gateway.pop.models.*;
/**
*
* {@link DeleteJobsResponse} extends {@link TeaModel}
*
* <p>DeleteJobsResponse</p>
*/
public class DeleteJobsResponse extends Response {
@com.aliyun.core.annotation.NameInMap("headers")
private java.util.Map<String, String> headers;
@com.aliyun.core.annotation.NameInMap("statusCode")
private Integer statusCode;
@com.aliyun.core.annotation.NameInMap("body")
private DeleteJobsResponseBody body;
private DeleteJobsResponse(BuilderImpl builder) {
super(builder);
this.headers = builder.headers;
this.statusCode = builder.statusCode;
this.body = builder.body;
}
public static DeleteJobsResponse create() {
return new BuilderImpl().build();
}
@Override
public Builder toBuilder() {
return new BuilderImpl(this);
}
/**
* @return headers
*/
public java.util.Map<String, String> getHeaders() {
return this.headers;
}
/**
* @return statusCode
*/
public Integer getStatusCode() {
return this.statusCode;
}
/**
* @return body
*/
public DeleteJobsResponseBody getBody() {
return this.body;
}
public interface Builder extends Response.Builder<DeleteJobsResponse, Builder> {
Builder headers(java.util.Map<String, String> headers);
Builder statusCode(Integer statusCode);
Builder body(DeleteJobsResponseBody body);
@Override
DeleteJobsResponse build();
}
private static final class BuilderImpl
extends Response.BuilderImpl<DeleteJobsResponse, Builder>
implements Builder {
private java.util.Map<String, String> headers;
private Integer statusCode;
private DeleteJobsResponseBody body;
private BuilderImpl() {
super();
}
private BuilderImpl(DeleteJobsResponse response) {
super(response);
this.headers = response.headers;
this.statusCode = response.statusCode;
this.body = response.body;
}
/**
* headers.
*/
@Override
public Builder headers(java.util.Map<String, String> headers) {
this.headers = headers;
return this;
}
/**
* statusCode.
*/
@Override
public Builder statusCode(Integer statusCode) {
this.statusCode = statusCode;
return this;
}
/**
* body.
*/
@Override
public Builder body(DeleteJobsResponseBody body) {
this.body = body;
return this;
}
@Override
public DeleteJobsResponse build() {
return new DeleteJobsResponse(this);
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-schedulerx320240624/1.0.10/com/aliyun/sdk/service/schedulerx320240624 | java-sources/com/aliyun/alibabacloud-schedulerx320240624/1.0.10/com/aliyun/sdk/service/schedulerx320240624/models/DeleteJobsResponseBody.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.schedulerx320240624.models;
import com.aliyun.sdk.gateway.pop.*;
import darabonba.core.*;
import darabonba.core.async.*;
import darabonba.core.sync.*;
import darabonba.core.client.*;
import darabonba.core.RequestModel;
import darabonba.core.TeaModel;
import com.aliyun.sdk.gateway.pop.models.*;
/**
*
* {@link DeleteJobsResponseBody} extends {@link TeaModel}
*
* <p>DeleteJobsResponseBody</p>
*/
public class DeleteJobsResponseBody extends TeaModel {
@com.aliyun.core.annotation.NameInMap("Code")
private Integer code;
@com.aliyun.core.annotation.NameInMap("Message")
private String message;
@com.aliyun.core.annotation.NameInMap("RequestId")
private String requestId;
@com.aliyun.core.annotation.NameInMap("Success")
private Boolean success;
private DeleteJobsResponseBody(Builder builder) {
this.code = builder.code;
this.message = builder.message;
this.requestId = builder.requestId;
this.success = builder.success;
}
public static Builder builder() {
return new Builder();
}
public static DeleteJobsResponseBody create() {
return builder().build();
}
public Builder toBuilder() {
return new Builder(this);
}
/**
* @return code
*/
public Integer getCode() {
return this.code;
}
/**
* @return message
*/
public String getMessage() {
return this.message;
}
/**
* @return requestId
*/
public String getRequestId() {
return this.requestId;
}
/**
* @return success
*/
public Boolean getSuccess() {
return this.success;
}
public static final class Builder {
private Integer code;
private String message;
private String requestId;
private Boolean success;
private Builder() {
}
private Builder(DeleteJobsResponseBody model) {
this.code = model.code;
this.message = model.message;
this.requestId = model.requestId;
this.success = model.success;
}
/**
* Code.
*/
public Builder code(Integer code) {
this.code = code;
return this;
}
/**
* Message.
*/
public Builder message(String message) {
this.message = message;
return this;
}
/**
* RequestId.
*/
public Builder requestId(String requestId) {
this.requestId = requestId;
return this;
}
/**
* Success.
*/
public Builder success(Boolean success) {
this.success = success;
return this;
}
public DeleteJobsResponseBody build() {
return new DeleteJobsResponseBody(this);
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-schedulerx320240624/1.0.10/com/aliyun/sdk/service/schedulerx320240624 | java-sources/com/aliyun/alibabacloud-schedulerx320240624/1.0.10/com/aliyun/sdk/service/schedulerx320240624/models/ExportJobsRequest.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.schedulerx320240624.models;
import com.aliyun.sdk.gateway.pop.*;
import darabonba.core.*;
import darabonba.core.async.*;
import darabonba.core.sync.*;
import darabonba.core.client.*;
import darabonba.core.RequestModel;
import darabonba.core.TeaModel;
import com.aliyun.sdk.gateway.pop.models.*;
/**
*
* {@link ExportJobsRequest} extends {@link RequestModel}
*
* <p>ExportJobsRequest</p>
*/
public class ExportJobsRequest extends Request {
@com.aliyun.core.annotation.Host
@com.aliyun.core.annotation.NameInMap("RegionId")
private String regionId;
@com.aliyun.core.annotation.Body
@com.aliyun.core.annotation.NameInMap("AppName")
@com.aliyun.core.annotation.Validation(required = true)
private String appName;
@com.aliyun.core.annotation.Body
@com.aliyun.core.annotation.NameInMap("ClusterId")
@com.aliyun.core.annotation.Validation(required = true)
private String clusterId;
@com.aliyun.core.annotation.Body
@com.aliyun.core.annotation.NameInMap("ExportJobType")
private Integer exportJobType;
@com.aliyun.core.annotation.Body
@com.aliyun.core.annotation.NameInMap("JobIds")
private java.util.List<Long> jobIds;
private ExportJobsRequest(Builder builder) {
super(builder);
this.regionId = builder.regionId;
this.appName = builder.appName;
this.clusterId = builder.clusterId;
this.exportJobType = builder.exportJobType;
this.jobIds = builder.jobIds;
}
public static Builder builder() {
return new Builder();
}
public static ExportJobsRequest create() {
return builder().build();
}
@Override
public Builder toBuilder() {
return new Builder(this);
}
/**
* @return regionId
*/
public String getRegionId() {
return this.regionId;
}
/**
* @return appName
*/
public String getAppName() {
return this.appName;
}
/**
* @return clusterId
*/
public String getClusterId() {
return this.clusterId;
}
/**
* @return exportJobType
*/
public Integer getExportJobType() {
return this.exportJobType;
}
/**
* @return jobIds
*/
public java.util.List<Long> getJobIds() {
return this.jobIds;
}
public static final class Builder extends Request.Builder<ExportJobsRequest, Builder> {
private String regionId;
private String appName;
private String clusterId;
private Integer exportJobType;
private java.util.List<Long> jobIds;
private Builder() {
super();
}
private Builder(ExportJobsRequest request) {
super(request);
this.regionId = request.regionId;
this.appName = request.appName;
this.clusterId = request.clusterId;
this.exportJobType = request.exportJobType;
this.jobIds = request.jobIds;
}
/**
* RegionId.
*/
public Builder regionId(String regionId) {
this.putHostParameter("RegionId", regionId);
this.regionId = regionId;
return this;
}
/**
* <p>This parameter is required.</p>
*
* <strong>example:</strong>
* <p>test-app</p>
*/
public Builder appName(String appName) {
this.putBodyParameter("AppName", appName);
this.appName = appName;
return this;
}
/**
* <p>This parameter is required.</p>
*
* <strong>example:</strong>
* <p>xxljob-b6ec1xxxx</p>
*/
public Builder clusterId(String clusterId) {
this.putBodyParameter("ClusterId", clusterId);
this.clusterId = clusterId;
return this;
}
/**
* ExportJobType.
*/
public Builder exportJobType(Integer exportJobType) {
this.putBodyParameter("ExportJobType", exportJobType);
this.exportJobType = exportJobType;
return this;
}
/**
* <ul>
* <li></li>
* </ul>
*/
public Builder jobIds(java.util.List<Long> jobIds) {
String jobIdsShrink = shrink(jobIds, "JobIds", "json");
this.putBodyParameter("JobIds", jobIdsShrink);
this.jobIds = jobIds;
return this;
}
@Override
public ExportJobsRequest build() {
return new ExportJobsRequest(this);
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-schedulerx320240624/1.0.10/com/aliyun/sdk/service/schedulerx320240624 | java-sources/com/aliyun/alibabacloud-schedulerx320240624/1.0.10/com/aliyun/sdk/service/schedulerx320240624/models/ExportJobsResponse.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.schedulerx320240624.models;
import com.aliyun.sdk.gateway.pop.*;
import darabonba.core.*;
import darabonba.core.async.*;
import darabonba.core.sync.*;
import darabonba.core.client.*;
import darabonba.core.RequestModel;
import darabonba.core.TeaModel;
import com.aliyun.sdk.gateway.pop.models.*;
/**
*
* {@link ExportJobsResponse} extends {@link TeaModel}
*
* <p>ExportJobsResponse</p>
*/
public class ExportJobsResponse extends Response {
@com.aliyun.core.annotation.NameInMap("headers")
private java.util.Map<String, String> headers;
@com.aliyun.core.annotation.NameInMap("statusCode")
private Integer statusCode;
@com.aliyun.core.annotation.NameInMap("body")
private byte[] body;
private ExportJobsResponse(BuilderImpl builder) {
super(builder);
this.headers = builder.headers;
this.statusCode = builder.statusCode;
this.body = builder.body;
}
public static ExportJobsResponse create() {
return new BuilderImpl().build();
}
@Override
public Builder toBuilder() {
return new BuilderImpl(this);
}
/**
* @return headers
*/
public java.util.Map<String, String> getHeaders() {
return this.headers;
}
/**
* @return statusCode
*/
public Integer getStatusCode() {
return this.statusCode;
}
/**
* @return body
*/
public byte[] getBody() {
return this.body;
}
public interface Builder extends Response.Builder<ExportJobsResponse, Builder> {
Builder headers(java.util.Map<String, String> headers);
Builder statusCode(Integer statusCode);
Builder body(byte[] body);
@Override
ExportJobsResponse build();
}
private static final class BuilderImpl
extends Response.BuilderImpl<ExportJobsResponse, Builder>
implements Builder {
private java.util.Map<String, String> headers;
private Integer statusCode;
private byte[] body;
private BuilderImpl() {
super();
}
private BuilderImpl(ExportJobsResponse response) {
super(response);
this.headers = response.headers;
this.statusCode = response.statusCode;
this.body = response.body;
}
/**
* headers.
*/
@Override
public Builder headers(java.util.Map<String, String> headers) {
this.headers = headers;
return this;
}
/**
* statusCode.
*/
@Override
public Builder statusCode(Integer statusCode) {
this.statusCode = statusCode;
return this;
}
/**
* body.
*/
@Override
public Builder body(byte[] body) {
this.body = body;
return this;
}
@Override
public ExportJobsResponse build() {
return new ExportJobsResponse(this);
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-schedulerx320240624/1.0.10/com/aliyun/sdk/service/schedulerx320240624 | java-sources/com/aliyun/alibabacloud-schedulerx320240624/1.0.10/com/aliyun/sdk/service/schedulerx320240624/models/GetAppRequest.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.schedulerx320240624.models;
import com.aliyun.sdk.gateway.pop.*;
import darabonba.core.*;
import darabonba.core.async.*;
import darabonba.core.sync.*;
import darabonba.core.client.*;
import darabonba.core.RequestModel;
import darabonba.core.TeaModel;
import com.aliyun.sdk.gateway.pop.models.*;
/**
*
* {@link GetAppRequest} extends {@link RequestModel}
*
* <p>GetAppRequest</p>
*/
public class GetAppRequest extends Request {
@com.aliyun.core.annotation.Host
@com.aliyun.core.annotation.NameInMap("RegionId")
private String regionId;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("AppName")
@com.aliyun.core.annotation.Validation(required = true)
private String appName;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("ClusterId")
@com.aliyun.core.annotation.Validation(required = true)
private String clusterId;
private GetAppRequest(Builder builder) {
super(builder);
this.regionId = builder.regionId;
this.appName = builder.appName;
this.clusterId = builder.clusterId;
}
public static Builder builder() {
return new Builder();
}
public static GetAppRequest create() {
return builder().build();
}
@Override
public Builder toBuilder() {
return new Builder(this);
}
/**
* @return regionId
*/
public String getRegionId() {
return this.regionId;
}
/**
* @return appName
*/
public String getAppName() {
return this.appName;
}
/**
* @return clusterId
*/
public String getClusterId() {
return this.clusterId;
}
public static final class Builder extends Request.Builder<GetAppRequest, Builder> {
private String regionId;
private String appName;
private String clusterId;
private Builder() {
super();
}
private Builder(GetAppRequest request) {
super(request);
this.regionId = request.regionId;
this.appName = request.appName;
this.clusterId = request.clusterId;
}
/**
* RegionId.
*/
public Builder regionId(String regionId) {
this.putHostParameter("RegionId", regionId);
this.regionId = regionId;
return this;
}
/**
* <p>This parameter is required.</p>
*
* <strong>example:</strong>
* <p>test-app</p>
*/
public Builder appName(String appName) {
this.putQueryParameter("AppName", appName);
this.appName = appName;
return this;
}
/**
* <p>This parameter is required.</p>
*
* <strong>example:</strong>
* <p>xxljob-d6a5243b6fa</p>
*/
public Builder clusterId(String clusterId) {
this.putQueryParameter("ClusterId", clusterId);
this.clusterId = clusterId;
return this;
}
@Override
public GetAppRequest build() {
return new GetAppRequest(this);
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-schedulerx320240624/1.0.10/com/aliyun/sdk/service/schedulerx320240624 | java-sources/com/aliyun/alibabacloud-schedulerx320240624/1.0.10/com/aliyun/sdk/service/schedulerx320240624/models/GetAppResponse.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.schedulerx320240624.models;
import com.aliyun.sdk.gateway.pop.*;
import darabonba.core.*;
import darabonba.core.async.*;
import darabonba.core.sync.*;
import darabonba.core.client.*;
import darabonba.core.RequestModel;
import darabonba.core.TeaModel;
import com.aliyun.sdk.gateway.pop.models.*;
/**
*
* {@link GetAppResponse} extends {@link TeaModel}
*
* <p>GetAppResponse</p>
*/
public class GetAppResponse extends Response {
@com.aliyun.core.annotation.NameInMap("headers")
private java.util.Map<String, String> headers;
@com.aliyun.core.annotation.NameInMap("statusCode")
private Integer statusCode;
@com.aliyun.core.annotation.NameInMap("body")
private GetAppResponseBody body;
private GetAppResponse(BuilderImpl builder) {
super(builder);
this.headers = builder.headers;
this.statusCode = builder.statusCode;
this.body = builder.body;
}
public static GetAppResponse create() {
return new BuilderImpl().build();
}
@Override
public Builder toBuilder() {
return new BuilderImpl(this);
}
/**
* @return headers
*/
public java.util.Map<String, String> getHeaders() {
return this.headers;
}
/**
* @return statusCode
*/
public Integer getStatusCode() {
return this.statusCode;
}
/**
* @return body
*/
public GetAppResponseBody getBody() {
return this.body;
}
public interface Builder extends Response.Builder<GetAppResponse, Builder> {
Builder headers(java.util.Map<String, String> headers);
Builder statusCode(Integer statusCode);
Builder body(GetAppResponseBody body);
@Override
GetAppResponse build();
}
private static final class BuilderImpl
extends Response.BuilderImpl<GetAppResponse, Builder>
implements Builder {
private java.util.Map<String, String> headers;
private Integer statusCode;
private GetAppResponseBody body;
private BuilderImpl() {
super();
}
private BuilderImpl(GetAppResponse response) {
super(response);
this.headers = response.headers;
this.statusCode = response.statusCode;
this.body = response.body;
}
/**
* headers.
*/
@Override
public Builder headers(java.util.Map<String, String> headers) {
this.headers = headers;
return this;
}
/**
* statusCode.
*/
@Override
public Builder statusCode(Integer statusCode) {
this.statusCode = statusCode;
return this;
}
/**
* body.
*/
@Override
public Builder body(GetAppResponseBody body) {
this.body = body;
return this;
}
@Override
public GetAppResponse build() {
return new GetAppResponse(this);
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-schedulerx320240624/1.0.10/com/aliyun/sdk/service/schedulerx320240624 | java-sources/com/aliyun/alibabacloud-schedulerx320240624/1.0.10/com/aliyun/sdk/service/schedulerx320240624/models/GetAppResponseBody.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.schedulerx320240624.models;
import com.aliyun.sdk.gateway.pop.*;
import darabonba.core.*;
import darabonba.core.async.*;
import darabonba.core.sync.*;
import darabonba.core.client.*;
import darabonba.core.RequestModel;
import darabonba.core.TeaModel;
import com.aliyun.sdk.gateway.pop.models.*;
/**
*
* {@link GetAppResponseBody} extends {@link TeaModel}
*
* <p>GetAppResponseBody</p>
*/
public class GetAppResponseBody extends TeaModel {
@com.aliyun.core.annotation.NameInMap("Code")
private Integer code;
@com.aliyun.core.annotation.NameInMap("Data")
private Data data;
@com.aliyun.core.annotation.NameInMap("Message")
private String message;
@com.aliyun.core.annotation.NameInMap("RequestId")
private String requestId;
@com.aliyun.core.annotation.NameInMap("Success")
private Boolean success;
private GetAppResponseBody(Builder builder) {
this.code = builder.code;
this.data = builder.data;
this.message = builder.message;
this.requestId = builder.requestId;
this.success = builder.success;
}
public static Builder builder() {
return new Builder();
}
public static GetAppResponseBody create() {
return builder().build();
}
public Builder toBuilder() {
return new Builder(this);
}
/**
* @return code
*/
public Integer getCode() {
return this.code;
}
/**
* @return data
*/
public Data getData() {
return this.data;
}
/**
* @return message
*/
public String getMessage() {
return this.message;
}
/**
* @return requestId
*/
public String getRequestId() {
return this.requestId;
}
/**
* @return success
*/
public Boolean getSuccess() {
return this.success;
}
public static final class Builder {
private Integer code;
private Data data;
private String message;
private String requestId;
private Boolean success;
private Builder() {
}
private Builder(GetAppResponseBody model) {
this.code = model.code;
this.data = model.data;
this.message = model.message;
this.requestId = model.requestId;
this.success = model.success;
}
/**
* Code.
*/
public Builder code(Integer code) {
this.code = code;
return this;
}
/**
* <ul>
* <li></li>
* </ul>
*/
public Builder data(Data data) {
this.data = data;
return this;
}
/**
* Message.
*/
public Builder message(String message) {
this.message = message;
return this;
}
/**
* RequestId.
*/
public Builder requestId(String requestId) {
this.requestId = requestId;
return this;
}
/**
* Success.
*/
public Builder success(Boolean success) {
this.success = success;
return this;
}
public GetAppResponseBody build() {
return new GetAppResponseBody(this);
}
}
/**
*
* {@link GetAppResponseBody} extends {@link TeaModel}
*
* <p>GetAppResponseBody</p>
*/
public static class Data extends TeaModel {
@com.aliyun.core.annotation.NameInMap("AccessToken")
private String accessToken;
@com.aliyun.core.annotation.NameInMap("AppName")
private String appName;
@com.aliyun.core.annotation.NameInMap("AppType")
private Integer appType;
@com.aliyun.core.annotation.NameInMap("Creator")
private String creator;
@com.aliyun.core.annotation.NameInMap("EnableLog")
private Boolean enableLog;
@com.aliyun.core.annotation.NameInMap("ExecutorNum")
private Long executorNum;
@com.aliyun.core.annotation.NameInMap("Id")
private Long id;
@com.aliyun.core.annotation.NameInMap("JobNum")
private Integer jobNum;
@com.aliyun.core.annotation.NameInMap("LabelRouteStrategy")
private Integer labelRouteStrategy;
@com.aliyun.core.annotation.NameInMap("Leader")
private String leader;
@com.aliyun.core.annotation.NameInMap("MaxConcurrency")
private Integer maxConcurrency;
@com.aliyun.core.annotation.NameInMap("MaxJobs")
private Integer maxJobs;
@com.aliyun.core.annotation.NameInMap("Title")
private String title;
@com.aliyun.core.annotation.NameInMap("Updater")
private String updater;
private Data(Builder builder) {
this.accessToken = builder.accessToken;
this.appName = builder.appName;
this.appType = builder.appType;
this.creator = builder.creator;
this.enableLog = builder.enableLog;
this.executorNum = builder.executorNum;
this.id = builder.id;
this.jobNum = builder.jobNum;
this.labelRouteStrategy = builder.labelRouteStrategy;
this.leader = builder.leader;
this.maxConcurrency = builder.maxConcurrency;
this.maxJobs = builder.maxJobs;
this.title = builder.title;
this.updater = builder.updater;
}
public static Builder builder() {
return new Builder();
}
public static Data create() {
return builder().build();
}
/**
* @return accessToken
*/
public String getAccessToken() {
return this.accessToken;
}
/**
* @return appName
*/
public String getAppName() {
return this.appName;
}
/**
* @return appType
*/
public Integer getAppType() {
return this.appType;
}
/**
* @return creator
*/
public String getCreator() {
return this.creator;
}
/**
* @return enableLog
*/
public Boolean getEnableLog() {
return this.enableLog;
}
/**
* @return executorNum
*/
public Long getExecutorNum() {
return this.executorNum;
}
/**
* @return id
*/
public Long getId() {
return this.id;
}
/**
* @return jobNum
*/
public Integer getJobNum() {
return this.jobNum;
}
/**
* @return labelRouteStrategy
*/
public Integer getLabelRouteStrategy() {
return this.labelRouteStrategy;
}
/**
* @return leader
*/
public String getLeader() {
return this.leader;
}
/**
* @return maxConcurrency
*/
public Integer getMaxConcurrency() {
return this.maxConcurrency;
}
/**
* @return maxJobs
*/
public Integer getMaxJobs() {
return this.maxJobs;
}
/**
* @return title
*/
public String getTitle() {
return this.title;
}
/**
* @return updater
*/
public String getUpdater() {
return this.updater;
}
public static final class Builder {
private String accessToken;
private String appName;
private Integer appType;
private String creator;
private Boolean enableLog;
private Long executorNum;
private Long id;
private Integer jobNum;
private Integer labelRouteStrategy;
private String leader;
private Integer maxConcurrency;
private Integer maxJobs;
private String title;
private String updater;
private Builder() {
}
private Builder(Data model) {
this.accessToken = model.accessToken;
this.appName = model.appName;
this.appType = model.appType;
this.creator = model.creator;
this.enableLog = model.enableLog;
this.executorNum = model.executorNum;
this.id = model.id;
this.jobNum = model.jobNum;
this.labelRouteStrategy = model.labelRouteStrategy;
this.leader = model.leader;
this.maxConcurrency = model.maxConcurrency;
this.maxJobs = model.maxJobs;
this.title = model.title;
this.updater = model.updater;
}
/**
* <p>AccessToken。</p>
*
* <strong>example:</strong>
* <p>2f4ddeab8e344ed68e0402cf9b8502ffv3</p>
*/
public Builder accessToken(String accessToken) {
this.accessToken = accessToken;
return this;
}
/**
* AppName.
*/
public Builder appName(String appName) {
this.appName = appName;
return this;
}
/**
* AppType.
*/
public Builder appType(Integer appType) {
this.appType = appType;
return this;
}
/**
* Creator.
*/
public Builder creator(String creator) {
this.creator = creator;
return this;
}
/**
* EnableLog.
*/
public Builder enableLog(Boolean enableLog) {
this.enableLog = enableLog;
return this;
}
/**
* ExecutorNum.
*/
public Builder executorNum(Long executorNum) {
this.executorNum = executorNum;
return this;
}
/**
* Id.
*/
public Builder id(Long id) {
this.id = id;
return this;
}
/**
* JobNum.
*/
public Builder jobNum(Integer jobNum) {
this.jobNum = jobNum;
return this;
}
/**
* LabelRouteStrategy.
*/
public Builder labelRouteStrategy(Integer labelRouteStrategy) {
this.labelRouteStrategy = labelRouteStrategy;
return this;
}
/**
* Leader.
*/
public Builder leader(String leader) {
this.leader = leader;
return this;
}
/**
* MaxConcurrency.
*/
public Builder maxConcurrency(Integer maxConcurrency) {
this.maxConcurrency = maxConcurrency;
return this;
}
/**
* MaxJobs.
*/
public Builder maxJobs(Integer maxJobs) {
this.maxJobs = maxJobs;
return this;
}
/**
* Title.
*/
public Builder title(String title) {
this.title = title;
return this;
}
/**
* Updater.
*/
public Builder updater(String updater) {
this.updater = updater;
return this;
}
public Data build() {
return new Data(this);
}
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-schedulerx320240624/1.0.10/com/aliyun/sdk/service/schedulerx320240624 | java-sources/com/aliyun/alibabacloud-schedulerx320240624/1.0.10/com/aliyun/sdk/service/schedulerx320240624/models/GetClusterRequest.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.schedulerx320240624.models;
import com.aliyun.sdk.gateway.pop.*;
import darabonba.core.*;
import darabonba.core.async.*;
import darabonba.core.sync.*;
import darabonba.core.client.*;
import darabonba.core.RequestModel;
import darabonba.core.TeaModel;
import com.aliyun.sdk.gateway.pop.models.*;
/**
*
* {@link GetClusterRequest} extends {@link RequestModel}
*
* <p>GetClusterRequest</p>
*/
public class GetClusterRequest extends Request {
@com.aliyun.core.annotation.Host
@com.aliyun.core.annotation.NameInMap("RegionId")
private String regionId;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("ClusterId")
@com.aliyun.core.annotation.Validation(required = true)
private String clusterId;
private GetClusterRequest(Builder builder) {
super(builder);
this.regionId = builder.regionId;
this.clusterId = builder.clusterId;
}
public static Builder builder() {
return new Builder();
}
public static GetClusterRequest create() {
return builder().build();
}
@Override
public Builder toBuilder() {
return new Builder(this);
}
/**
* @return regionId
*/
public String getRegionId() {
return this.regionId;
}
/**
* @return clusterId
*/
public String getClusterId() {
return this.clusterId;
}
public static final class Builder extends Request.Builder<GetClusterRequest, Builder> {
private String regionId;
private String clusterId;
private Builder() {
super();
}
private Builder(GetClusterRequest request) {
super(request);
this.regionId = request.regionId;
this.clusterId = request.clusterId;
}
/**
* RegionId.
*/
public Builder regionId(String regionId) {
this.putHostParameter("RegionId", regionId);
this.regionId = regionId;
return this;
}
/**
* <p>This parameter is required.</p>
*
* <strong>example:</strong>
* <p>xxljob-d6a5243b6fa</p>
*/
public Builder clusterId(String clusterId) {
this.putQueryParameter("ClusterId", clusterId);
this.clusterId = clusterId;
return this;
}
@Override
public GetClusterRequest build() {
return new GetClusterRequest(this);
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-schedulerx320240624/1.0.10/com/aliyun/sdk/service/schedulerx320240624 | java-sources/com/aliyun/alibabacloud-schedulerx320240624/1.0.10/com/aliyun/sdk/service/schedulerx320240624/models/GetClusterResponse.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.schedulerx320240624.models;
import com.aliyun.sdk.gateway.pop.*;
import darabonba.core.*;
import darabonba.core.async.*;
import darabonba.core.sync.*;
import darabonba.core.client.*;
import darabonba.core.RequestModel;
import darabonba.core.TeaModel;
import com.aliyun.sdk.gateway.pop.models.*;
/**
*
* {@link GetClusterResponse} extends {@link TeaModel}
*
* <p>GetClusterResponse</p>
*/
public class GetClusterResponse extends Response {
@com.aliyun.core.annotation.NameInMap("headers")
private java.util.Map<String, String> headers;
@com.aliyun.core.annotation.NameInMap("statusCode")
private Integer statusCode;
@com.aliyun.core.annotation.NameInMap("body")
private GetClusterResponseBody body;
private GetClusterResponse(BuilderImpl builder) {
super(builder);
this.headers = builder.headers;
this.statusCode = builder.statusCode;
this.body = builder.body;
}
public static GetClusterResponse create() {
return new BuilderImpl().build();
}
@Override
public Builder toBuilder() {
return new BuilderImpl(this);
}
/**
* @return headers
*/
public java.util.Map<String, String> getHeaders() {
return this.headers;
}
/**
* @return statusCode
*/
public Integer getStatusCode() {
return this.statusCode;
}
/**
* @return body
*/
public GetClusterResponseBody getBody() {
return this.body;
}
public interface Builder extends Response.Builder<GetClusterResponse, Builder> {
Builder headers(java.util.Map<String, String> headers);
Builder statusCode(Integer statusCode);
Builder body(GetClusterResponseBody body);
@Override
GetClusterResponse build();
}
private static final class BuilderImpl
extends Response.BuilderImpl<GetClusterResponse, Builder>
implements Builder {
private java.util.Map<String, String> headers;
private Integer statusCode;
private GetClusterResponseBody body;
private BuilderImpl() {
super();
}
private BuilderImpl(GetClusterResponse response) {
super(response);
this.headers = response.headers;
this.statusCode = response.statusCode;
this.body = response.body;
}
/**
* headers.
*/
@Override
public Builder headers(java.util.Map<String, String> headers) {
this.headers = headers;
return this;
}
/**
* statusCode.
*/
@Override
public Builder statusCode(Integer statusCode) {
this.statusCode = statusCode;
return this;
}
/**
* body.
*/
@Override
public Builder body(GetClusterResponseBody body) {
this.body = body;
return this;
}
@Override
public GetClusterResponse build() {
return new GetClusterResponse(this);
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-schedulerx320240624/1.0.10/com/aliyun/sdk/service/schedulerx320240624 | java-sources/com/aliyun/alibabacloud-schedulerx320240624/1.0.10/com/aliyun/sdk/service/schedulerx320240624/models/GetClusterResponseBody.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.schedulerx320240624.models;
import com.aliyun.sdk.gateway.pop.*;
import darabonba.core.*;
import darabonba.core.async.*;
import darabonba.core.sync.*;
import darabonba.core.client.*;
import darabonba.core.RequestModel;
import darabonba.core.TeaModel;
import com.aliyun.sdk.gateway.pop.models.*;
/**
*
* {@link GetClusterResponseBody} extends {@link TeaModel}
*
* <p>GetClusterResponseBody</p>
*/
public class GetClusterResponseBody extends TeaModel {
@com.aliyun.core.annotation.NameInMap("Code")
private Integer code;
@com.aliyun.core.annotation.NameInMap("Data")
private Data data;
@com.aliyun.core.annotation.NameInMap("Message")
private String message;
@com.aliyun.core.annotation.NameInMap("RequestId")
private String requestId;
@com.aliyun.core.annotation.NameInMap("Success")
private Boolean success;
private GetClusterResponseBody(Builder builder) {
this.code = builder.code;
this.data = builder.data;
this.message = builder.message;
this.requestId = builder.requestId;
this.success = builder.success;
}
public static Builder builder() {
return new Builder();
}
public static GetClusterResponseBody create() {
return builder().build();
}
public Builder toBuilder() {
return new Builder(this);
}
/**
* @return code
*/
public Integer getCode() {
return this.code;
}
/**
* @return data
*/
public Data getData() {
return this.data;
}
/**
* @return message
*/
public String getMessage() {
return this.message;
}
/**
* @return requestId
*/
public String getRequestId() {
return this.requestId;
}
/**
* @return success
*/
public Boolean getSuccess() {
return this.success;
}
public static final class Builder {
private Integer code;
private Data data;
private String message;
private String requestId;
private Boolean success;
private Builder() {
}
private Builder(GetClusterResponseBody model) {
this.code = model.code;
this.data = model.data;
this.message = model.message;
this.requestId = model.requestId;
this.success = model.success;
}
/**
* Code.
*/
public Builder code(Integer code) {
this.code = code;
return this;
}
/**
* <ul>
* <li></li>
* </ul>
*/
public Builder data(Data data) {
this.data = data;
return this;
}
/**
* Message.
*/
public Builder message(String message) {
this.message = message;
return this;
}
/**
* RequestId.
*/
public Builder requestId(String requestId) {
this.requestId = requestId;
return this;
}
/**
* Success.
*/
public Builder success(Boolean success) {
this.success = success;
return this;
}
public GetClusterResponseBody build() {
return new GetClusterResponseBody(this);
}
}
/**
*
* {@link GetClusterResponseBody} extends {@link TeaModel}
*
* <p>GetClusterResponseBody</p>
*/
public static class VSwitches extends TeaModel {
@com.aliyun.core.annotation.NameInMap("VSwitchId")
private String vSwitchId;
@com.aliyun.core.annotation.NameInMap("ZoneId")
private String zoneId;
private VSwitches(Builder builder) {
this.vSwitchId = builder.vSwitchId;
this.zoneId = builder.zoneId;
}
public static Builder builder() {
return new Builder();
}
public static VSwitches create() {
return builder().build();
}
/**
* @return vSwitchId
*/
public String getVSwitchId() {
return this.vSwitchId;
}
/**
* @return zoneId
*/
public String getZoneId() {
return this.zoneId;
}
public static final class Builder {
private String vSwitchId;
private String zoneId;
private Builder() {
}
private Builder(VSwitches model) {
this.vSwitchId = model.vSwitchId;
this.zoneId = model.zoneId;
}
/**
* VSwitchId.
*/
public Builder vSwitchId(String vSwitchId) {
this.vSwitchId = vSwitchId;
return this;
}
/**
* ZoneId.
*/
public Builder zoneId(String zoneId) {
this.zoneId = zoneId;
return this;
}
public VSwitches build() {
return new VSwitches(this);
}
}
}
/**
*
* {@link GetClusterResponseBody} extends {@link TeaModel}
*
* <p>GetClusterResponseBody</p>
*/
public static class Data extends TeaModel {
@com.aliyun.core.annotation.NameInMap("ChargeType")
private String chargeType;
@com.aliyun.core.annotation.NameInMap("ClusterId")
private String clusterId;
@com.aliyun.core.annotation.NameInMap("ClusterName")
private String clusterName;
@com.aliyun.core.annotation.NameInMap("ClusterSpec")
private String clusterSpec;
@com.aliyun.core.annotation.NameInMap("CreateTime")
private String createTime;
@com.aliyun.core.annotation.NameInMap("EndTime")
private String endTime;
@com.aliyun.core.annotation.NameInMap("EngineType")
private String engineType;
@com.aliyun.core.annotation.NameInMap("EngineVersion")
private String engineVersion;
@com.aliyun.core.annotation.NameInMap("InternetDomain")
private String internetDomain;
@com.aliyun.core.annotation.NameInMap("IntranetDomain")
private String intranetDomain;
@com.aliyun.core.annotation.NameInMap("JobNum")
private Integer jobNum;
@com.aliyun.core.annotation.NameInMap("KubeConfig")
private String kubeConfig;
@com.aliyun.core.annotation.NameInMap("MaxJobNum")
private Integer maxJobNum;
@com.aliyun.core.annotation.NameInMap("ProductType")
private Integer productType;
@com.aliyun.core.annotation.NameInMap("Spm")
private Integer spm;
@com.aliyun.core.annotation.NameInMap("Status")
private Integer status;
@com.aliyun.core.annotation.NameInMap("Tags")
private java.util.Map<String, ?> tags;
@com.aliyun.core.annotation.NameInMap("VSwitches")
private java.util.List<VSwitches> vSwitches;
@com.aliyun.core.annotation.NameInMap("VersionLifecycle")
private String versionLifecycle;
@com.aliyun.core.annotation.NameInMap("VpcId")
private String vpcId;
@com.aliyun.core.annotation.NameInMap("WorkerNum")
private Integer workerNum;
@com.aliyun.core.annotation.NameInMap("Zones")
private java.util.List<String> zones;
private Data(Builder builder) {
this.chargeType = builder.chargeType;
this.clusterId = builder.clusterId;
this.clusterName = builder.clusterName;
this.clusterSpec = builder.clusterSpec;
this.createTime = builder.createTime;
this.endTime = builder.endTime;
this.engineType = builder.engineType;
this.engineVersion = builder.engineVersion;
this.internetDomain = builder.internetDomain;
this.intranetDomain = builder.intranetDomain;
this.jobNum = builder.jobNum;
this.kubeConfig = builder.kubeConfig;
this.maxJobNum = builder.maxJobNum;
this.productType = builder.productType;
this.spm = builder.spm;
this.status = builder.status;
this.tags = builder.tags;
this.vSwitches = builder.vSwitches;
this.versionLifecycle = builder.versionLifecycle;
this.vpcId = builder.vpcId;
this.workerNum = builder.workerNum;
this.zones = builder.zones;
}
public static Builder builder() {
return new Builder();
}
public static Data create() {
return builder().build();
}
/**
* @return chargeType
*/
public String getChargeType() {
return this.chargeType;
}
/**
* @return clusterId
*/
public String getClusterId() {
return this.clusterId;
}
/**
* @return clusterName
*/
public String getClusterName() {
return this.clusterName;
}
/**
* @return clusterSpec
*/
public String getClusterSpec() {
return this.clusterSpec;
}
/**
* @return createTime
*/
public String getCreateTime() {
return this.createTime;
}
/**
* @return endTime
*/
public String getEndTime() {
return this.endTime;
}
/**
* @return engineType
*/
public String getEngineType() {
return this.engineType;
}
/**
* @return engineVersion
*/
public String getEngineVersion() {
return this.engineVersion;
}
/**
* @return internetDomain
*/
public String getInternetDomain() {
return this.internetDomain;
}
/**
* @return intranetDomain
*/
public String getIntranetDomain() {
return this.intranetDomain;
}
/**
* @return jobNum
*/
public Integer getJobNum() {
return this.jobNum;
}
/**
* @return kubeConfig
*/
public String getKubeConfig() {
return this.kubeConfig;
}
/**
* @return maxJobNum
*/
public Integer getMaxJobNum() {
return this.maxJobNum;
}
/**
* @return productType
*/
public Integer getProductType() {
return this.productType;
}
/**
* @return spm
*/
public Integer getSpm() {
return this.spm;
}
/**
* @return status
*/
public Integer getStatus() {
return this.status;
}
/**
* @return tags
*/
public java.util.Map<String, ?> getTags() {
return this.tags;
}
/**
* @return vSwitches
*/
public java.util.List<VSwitches> getVSwitches() {
return this.vSwitches;
}
/**
* @return versionLifecycle
*/
public String getVersionLifecycle() {
return this.versionLifecycle;
}
/**
* @return vpcId
*/
public String getVpcId() {
return this.vpcId;
}
/**
* @return workerNum
*/
public Integer getWorkerNum() {
return this.workerNum;
}
/**
* @return zones
*/
public java.util.List<String> getZones() {
return this.zones;
}
public static final class Builder {
private String chargeType;
private String clusterId;
private String clusterName;
private String clusterSpec;
private String createTime;
private String endTime;
private String engineType;
private String engineVersion;
private String internetDomain;
private String intranetDomain;
private Integer jobNum;
private String kubeConfig;
private Integer maxJobNum;
private Integer productType;
private Integer spm;
private Integer status;
private java.util.Map<String, ?> tags;
private java.util.List<VSwitches> vSwitches;
private String versionLifecycle;
private String vpcId;
private Integer workerNum;
private java.util.List<String> zones;
private Builder() {
}
private Builder(Data model) {
this.chargeType = model.chargeType;
this.clusterId = model.clusterId;
this.clusterName = model.clusterName;
this.clusterSpec = model.clusterSpec;
this.createTime = model.createTime;
this.endTime = model.endTime;
this.engineType = model.engineType;
this.engineVersion = model.engineVersion;
this.internetDomain = model.internetDomain;
this.intranetDomain = model.intranetDomain;
this.jobNum = model.jobNum;
this.kubeConfig = model.kubeConfig;
this.maxJobNum = model.maxJobNum;
this.productType = model.productType;
this.spm = model.spm;
this.status = model.status;
this.tags = model.tags;
this.vSwitches = model.vSwitches;
this.versionLifecycle = model.versionLifecycle;
this.vpcId = model.vpcId;
this.workerNum = model.workerNum;
this.zones = model.zones;
}
/**
* ChargeType.
*/
public Builder chargeType(String chargeType) {
this.chargeType = chargeType;
return this;
}
/**
* ClusterId.
*/
public Builder clusterId(String clusterId) {
this.clusterId = clusterId;
return this;
}
/**
* ClusterName.
*/
public Builder clusterName(String clusterName) {
this.clusterName = clusterName;
return this;
}
/**
* ClusterSpec.
*/
public Builder clusterSpec(String clusterSpec) {
this.clusterSpec = clusterSpec;
return this;
}
/**
* CreateTime.
*/
public Builder createTime(String createTime) {
this.createTime = createTime;
return this;
}
/**
* EndTime.
*/
public Builder endTime(String endTime) {
this.endTime = endTime;
return this;
}
/**
* EngineType.
*/
public Builder engineType(String engineType) {
this.engineType = engineType;
return this;
}
/**
* EngineVersion.
*/
public Builder engineVersion(String engineVersion) {
this.engineVersion = engineVersion;
return this;
}
/**
* InternetDomain.
*/
public Builder internetDomain(String internetDomain) {
this.internetDomain = internetDomain;
return this;
}
/**
* IntranetDomain.
*/
public Builder intranetDomain(String intranetDomain) {
this.intranetDomain = intranetDomain;
return this;
}
/**
* JobNum.
*/
public Builder jobNum(Integer jobNum) {
this.jobNum = jobNum;
return this;
}
/**
* KubeConfig.
*/
public Builder kubeConfig(String kubeConfig) {
this.kubeConfig = kubeConfig;
return this;
}
/**
* MaxJobNum.
*/
public Builder maxJobNum(Integer maxJobNum) {
this.maxJobNum = maxJobNum;
return this;
}
/**
* ProductType.
*/
public Builder productType(Integer productType) {
this.productType = productType;
return this;
}
/**
* Spm.
*/
public Builder spm(Integer spm) {
this.spm = spm;
return this;
}
/**
* Status.
*/
public Builder status(Integer status) {
this.status = status;
return this;
}
/**
* Tags.
*/
public Builder tags(java.util.Map<String, ?> tags) {
this.tags = tags;
return this;
}
/**
* VSwitches.
*/
public Builder vSwitches(java.util.List<VSwitches> vSwitches) {
this.vSwitches = vSwitches;
return this;
}
/**
* VersionLifecycle.
*/
public Builder versionLifecycle(String versionLifecycle) {
this.versionLifecycle = versionLifecycle;
return this;
}
/**
* <p>VPC ID</p>
*
* <strong>example:</strong>
* <p>vpc-bp1fiz967u39lt8yuxcs0</p>
*/
public Builder vpcId(String vpcId) {
this.vpcId = vpcId;
return this;
}
/**
* WorkerNum.
*/
public Builder workerNum(Integer workerNum) {
this.workerNum = workerNum;
return this;
}
/**
* Zones.
*/
public Builder zones(java.util.List<String> zones) {
this.zones = zones;
return this;
}
public Data build() {
return new Data(this);
}
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-schedulerx320240624/1.0.10/com/aliyun/sdk/service/schedulerx320240624 | java-sources/com/aliyun/alibabacloud-schedulerx320240624/1.0.10/com/aliyun/sdk/service/schedulerx320240624/models/GetDesigateInfoRequest.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.schedulerx320240624.models;
import com.aliyun.sdk.gateway.pop.*;
import darabonba.core.*;
import darabonba.core.async.*;
import darabonba.core.sync.*;
import darabonba.core.client.*;
import darabonba.core.RequestModel;
import darabonba.core.TeaModel;
import com.aliyun.sdk.gateway.pop.models.*;
/**
*
* {@link GetDesigateInfoRequest} extends {@link RequestModel}
*
* <p>GetDesigateInfoRequest</p>
*/
public class GetDesigateInfoRequest extends Request {
@com.aliyun.core.annotation.Host
@com.aliyun.core.annotation.NameInMap("RegionId")
private String regionId;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("AppName")
@com.aliyun.core.annotation.Validation(required = true)
private String appName;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("ClusterId")
@com.aliyun.core.annotation.Validation(required = true)
private String clusterId;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("JobId")
@com.aliyun.core.annotation.Validation(required = true)
private Long jobId;
private GetDesigateInfoRequest(Builder builder) {
super(builder);
this.regionId = builder.regionId;
this.appName = builder.appName;
this.clusterId = builder.clusterId;
this.jobId = builder.jobId;
}
public static Builder builder() {
return new Builder();
}
public static GetDesigateInfoRequest create() {
return builder().build();
}
@Override
public Builder toBuilder() {
return new Builder(this);
}
/**
* @return regionId
*/
public String getRegionId() {
return this.regionId;
}
/**
* @return appName
*/
public String getAppName() {
return this.appName;
}
/**
* @return clusterId
*/
public String getClusterId() {
return this.clusterId;
}
/**
* @return jobId
*/
public Long getJobId() {
return this.jobId;
}
public static final class Builder extends Request.Builder<GetDesigateInfoRequest, Builder> {
private String regionId;
private String appName;
private String clusterId;
private Long jobId;
private Builder() {
super();
}
private Builder(GetDesigateInfoRequest request) {
super(request);
this.regionId = request.regionId;
this.appName = request.appName;
this.clusterId = request.clusterId;
this.jobId = request.jobId;
}
/**
* RegionId.
*/
public Builder regionId(String regionId) {
this.putHostParameter("RegionId", regionId);
this.regionId = regionId;
return this;
}
/**
* <p>This parameter is required.</p>
*
* <strong>example:</strong>
* <p>test-app</p>
*/
public Builder appName(String appName) {
this.putQueryParameter("AppName", appName);
this.appName = appName;
return this;
}
/**
* <p>This parameter is required.</p>
*
* <strong>example:</strong>
* <p>xxljob-b6ec1xxxx</p>
*/
public Builder clusterId(String clusterId) {
this.putQueryParameter("ClusterId", clusterId);
this.clusterId = clusterId;
return this;
}
/**
* <p>This parameter is required.</p>
*
* <strong>example:</strong>
* <p>74</p>
*/
public Builder jobId(Long jobId) {
this.putQueryParameter("JobId", jobId);
this.jobId = jobId;
return this;
}
@Override
public GetDesigateInfoRequest build() {
return new GetDesigateInfoRequest(this);
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-schedulerx320240624/1.0.10/com/aliyun/sdk/service/schedulerx320240624 | java-sources/com/aliyun/alibabacloud-schedulerx320240624/1.0.10/com/aliyun/sdk/service/schedulerx320240624/models/GetDesigateInfoResponse.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.schedulerx320240624.models;
import com.aliyun.sdk.gateway.pop.*;
import darabonba.core.*;
import darabonba.core.async.*;
import darabonba.core.sync.*;
import darabonba.core.client.*;
import darabonba.core.RequestModel;
import darabonba.core.TeaModel;
import com.aliyun.sdk.gateway.pop.models.*;
/**
*
* {@link GetDesigateInfoResponse} extends {@link TeaModel}
*
* <p>GetDesigateInfoResponse</p>
*/
public class GetDesigateInfoResponse extends Response {
@com.aliyun.core.annotation.NameInMap("headers")
private java.util.Map<String, String> headers;
@com.aliyun.core.annotation.NameInMap("statusCode")
private Integer statusCode;
@com.aliyun.core.annotation.NameInMap("body")
private GetDesigateInfoResponseBody body;
private GetDesigateInfoResponse(BuilderImpl builder) {
super(builder);
this.headers = builder.headers;
this.statusCode = builder.statusCode;
this.body = builder.body;
}
public static GetDesigateInfoResponse create() {
return new BuilderImpl().build();
}
@Override
public Builder toBuilder() {
return new BuilderImpl(this);
}
/**
* @return headers
*/
public java.util.Map<String, String> getHeaders() {
return this.headers;
}
/**
* @return statusCode
*/
public Integer getStatusCode() {
return this.statusCode;
}
/**
* @return body
*/
public GetDesigateInfoResponseBody getBody() {
return this.body;
}
public interface Builder extends Response.Builder<GetDesigateInfoResponse, Builder> {
Builder headers(java.util.Map<String, String> headers);
Builder statusCode(Integer statusCode);
Builder body(GetDesigateInfoResponseBody body);
@Override
GetDesigateInfoResponse build();
}
private static final class BuilderImpl
extends Response.BuilderImpl<GetDesigateInfoResponse, Builder>
implements Builder {
private java.util.Map<String, String> headers;
private Integer statusCode;
private GetDesigateInfoResponseBody body;
private BuilderImpl() {
super();
}
private BuilderImpl(GetDesigateInfoResponse response) {
super(response);
this.headers = response.headers;
this.statusCode = response.statusCode;
this.body = response.body;
}
/**
* headers.
*/
@Override
public Builder headers(java.util.Map<String, String> headers) {
this.headers = headers;
return this;
}
/**
* statusCode.
*/
@Override
public Builder statusCode(Integer statusCode) {
this.statusCode = statusCode;
return this;
}
/**
* body.
*/
@Override
public Builder body(GetDesigateInfoResponseBody body) {
this.body = body;
return this;
}
@Override
public GetDesigateInfoResponse build() {
return new GetDesigateInfoResponse(this);
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-schedulerx320240624/1.0.10/com/aliyun/sdk/service/schedulerx320240624 | java-sources/com/aliyun/alibabacloud-schedulerx320240624/1.0.10/com/aliyun/sdk/service/schedulerx320240624/models/GetDesigateInfoResponseBody.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.schedulerx320240624.models;
import com.aliyun.sdk.gateway.pop.*;
import darabonba.core.*;
import darabonba.core.async.*;
import darabonba.core.sync.*;
import darabonba.core.client.*;
import darabonba.core.RequestModel;
import darabonba.core.TeaModel;
import com.aliyun.sdk.gateway.pop.models.*;
/**
*
* {@link GetDesigateInfoResponseBody} extends {@link TeaModel}
*
* <p>GetDesigateInfoResponseBody</p>
*/
public class GetDesigateInfoResponseBody extends TeaModel {
@com.aliyun.core.annotation.NameInMap("Code")
private Integer code;
@com.aliyun.core.annotation.NameInMap("Data")
private Data data;
@com.aliyun.core.annotation.NameInMap("Message")
private String message;
@com.aliyun.core.annotation.NameInMap("RequestId")
private String requestId;
@com.aliyun.core.annotation.NameInMap("Success")
private Boolean success;
private GetDesigateInfoResponseBody(Builder builder) {
this.code = builder.code;
this.data = builder.data;
this.message = builder.message;
this.requestId = builder.requestId;
this.success = builder.success;
}
public static Builder builder() {
return new Builder();
}
public static GetDesigateInfoResponseBody create() {
return builder().build();
}
public Builder toBuilder() {
return new Builder(this);
}
/**
* @return code
*/
public Integer getCode() {
return this.code;
}
/**
* @return data
*/
public Data getData() {
return this.data;
}
/**
* @return message
*/
public String getMessage() {
return this.message;
}
/**
* @return requestId
*/
public String getRequestId() {
return this.requestId;
}
/**
* @return success
*/
public Boolean getSuccess() {
return this.success;
}
public static final class Builder {
private Integer code;
private Data data;
private String message;
private String requestId;
private Boolean success;
private Builder() {
}
private Builder(GetDesigateInfoResponseBody model) {
this.code = model.code;
this.data = model.data;
this.message = model.message;
this.requestId = model.requestId;
this.success = model.success;
}
/**
* Code.
*/
public Builder code(Integer code) {
this.code = code;
return this;
}
/**
* <ul>
* <li></li>
* </ul>
*/
public Builder data(Data data) {
this.data = data;
return this;
}
/**
* Message.
*/
public Builder message(String message) {
this.message = message;
return this;
}
/**
* RequestId.
*/
public Builder requestId(String requestId) {
this.requestId = requestId;
return this;
}
/**
* Success.
*/
public Builder success(Boolean success) {
this.success = success;
return this;
}
public GetDesigateInfoResponseBody build() {
return new GetDesigateInfoResponseBody(this);
}
}
/**
*
* {@link GetDesigateInfoResponseBody} extends {@link TeaModel}
*
* <p>GetDesigateInfoResponseBody</p>
*/
public static class Data extends TeaModel {
@com.aliyun.core.annotation.NameInMap("DesignateType")
private Integer designateType;
@com.aliyun.core.annotation.NameInMap("Transferable")
private Boolean transferable;
private Data(Builder builder) {
this.designateType = builder.designateType;
this.transferable = builder.transferable;
}
public static Builder builder() {
return new Builder();
}
public static Data create() {
return builder().build();
}
/**
* @return designateType
*/
public Integer getDesignateType() {
return this.designateType;
}
/**
* @return transferable
*/
public Boolean getTransferable() {
return this.transferable;
}
public static final class Builder {
private Integer designateType;
private Boolean transferable;
private Builder() {
}
private Builder(Data model) {
this.designateType = model.designateType;
this.transferable = model.transferable;
}
/**
* DesignateType.
*/
public Builder designateType(Integer designateType) {
this.designateType = designateType;
return this;
}
/**
* Transferable.
*/
public Builder transferable(Boolean transferable) {
this.transferable = transferable;
return this;
}
public Data build() {
return new Data(this);
}
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-schedulerx320240624/1.0.10/com/aliyun/sdk/service/schedulerx320240624 | java-sources/com/aliyun/alibabacloud-schedulerx320240624/1.0.10/com/aliyun/sdk/service/schedulerx320240624/models/GetJobExecutionProgressRequest.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.schedulerx320240624.models;
import com.aliyun.sdk.gateway.pop.*;
import darabonba.core.*;
import darabonba.core.async.*;
import darabonba.core.sync.*;
import darabonba.core.client.*;
import darabonba.core.RequestModel;
import darabonba.core.TeaModel;
import com.aliyun.sdk.gateway.pop.models.*;
/**
*
* {@link GetJobExecutionProgressRequest} extends {@link RequestModel}
*
* <p>GetJobExecutionProgressRequest</p>
*/
public class GetJobExecutionProgressRequest extends Request {
@com.aliyun.core.annotation.Host
@com.aliyun.core.annotation.NameInMap("RegionId")
private String regionId;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("AppName")
@com.aliyun.core.annotation.Validation(required = true)
private String appName;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("ClusterId")
@com.aliyun.core.annotation.Validation(required = true)
private String clusterId;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("JobExecutionId")
@com.aliyun.core.annotation.Validation(required = true)
private String jobExecutionId;
private GetJobExecutionProgressRequest(Builder builder) {
super(builder);
this.regionId = builder.regionId;
this.appName = builder.appName;
this.clusterId = builder.clusterId;
this.jobExecutionId = builder.jobExecutionId;
}
public static Builder builder() {
return new Builder();
}
public static GetJobExecutionProgressRequest create() {
return builder().build();
}
@Override
public Builder toBuilder() {
return new Builder(this);
}
/**
* @return regionId
*/
public String getRegionId() {
return this.regionId;
}
/**
* @return appName
*/
public String getAppName() {
return this.appName;
}
/**
* @return clusterId
*/
public String getClusterId() {
return this.clusterId;
}
/**
* @return jobExecutionId
*/
public String getJobExecutionId() {
return this.jobExecutionId;
}
public static final class Builder extends Request.Builder<GetJobExecutionProgressRequest, Builder> {
private String regionId;
private String appName;
private String clusterId;
private String jobExecutionId;
private Builder() {
super();
}
private Builder(GetJobExecutionProgressRequest request) {
super(request);
this.regionId = request.regionId;
this.appName = request.appName;
this.clusterId = request.clusterId;
this.jobExecutionId = request.jobExecutionId;
}
/**
* RegionId.
*/
public Builder regionId(String regionId) {
this.putHostParameter("RegionId", regionId);
this.regionId = regionId;
return this;
}
/**
* <p>This parameter is required.</p>
*
* <strong>example:</strong>
* <p>test-app</p>
*/
public Builder appName(String appName) {
this.putQueryParameter("AppName", appName);
this.appName = appName;
return this;
}
/**
* <p>This parameter is required.</p>
*
* <strong>example:</strong>
* <p>xxljob-b6ec1xxxx</p>
*/
public Builder clusterId(String clusterId) {
this.putQueryParameter("ClusterId", clusterId);
this.clusterId = clusterId;
return this;
}
/**
* <p>This parameter is required.</p>
*
* <strong>example:</strong>
* <p>1310630367761285120</p>
*/
public Builder jobExecutionId(String jobExecutionId) {
this.putQueryParameter("JobExecutionId", jobExecutionId);
this.jobExecutionId = jobExecutionId;
return this;
}
@Override
public GetJobExecutionProgressRequest build() {
return new GetJobExecutionProgressRequest(this);
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-schedulerx320240624/1.0.10/com/aliyun/sdk/service/schedulerx320240624 | java-sources/com/aliyun/alibabacloud-schedulerx320240624/1.0.10/com/aliyun/sdk/service/schedulerx320240624/models/GetJobExecutionProgressResponse.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.schedulerx320240624.models;
import com.aliyun.sdk.gateway.pop.*;
import darabonba.core.*;
import darabonba.core.async.*;
import darabonba.core.sync.*;
import darabonba.core.client.*;
import darabonba.core.RequestModel;
import darabonba.core.TeaModel;
import com.aliyun.sdk.gateway.pop.models.*;
/**
*
* {@link GetJobExecutionProgressResponse} extends {@link TeaModel}
*
* <p>GetJobExecutionProgressResponse</p>
*/
public class GetJobExecutionProgressResponse extends Response {
@com.aliyun.core.annotation.NameInMap("headers")
private java.util.Map<String, String> headers;
@com.aliyun.core.annotation.NameInMap("statusCode")
private Integer statusCode;
@com.aliyun.core.annotation.NameInMap("body")
private GetJobExecutionProgressResponseBody body;
private GetJobExecutionProgressResponse(BuilderImpl builder) {
super(builder);
this.headers = builder.headers;
this.statusCode = builder.statusCode;
this.body = builder.body;
}
public static GetJobExecutionProgressResponse create() {
return new BuilderImpl().build();
}
@Override
public Builder toBuilder() {
return new BuilderImpl(this);
}
/**
* @return headers
*/
public java.util.Map<String, String> getHeaders() {
return this.headers;
}
/**
* @return statusCode
*/
public Integer getStatusCode() {
return this.statusCode;
}
/**
* @return body
*/
public GetJobExecutionProgressResponseBody getBody() {
return this.body;
}
public interface Builder extends Response.Builder<GetJobExecutionProgressResponse, Builder> {
Builder headers(java.util.Map<String, String> headers);
Builder statusCode(Integer statusCode);
Builder body(GetJobExecutionProgressResponseBody body);
@Override
GetJobExecutionProgressResponse build();
}
private static final class BuilderImpl
extends Response.BuilderImpl<GetJobExecutionProgressResponse, Builder>
implements Builder {
private java.util.Map<String, String> headers;
private Integer statusCode;
private GetJobExecutionProgressResponseBody body;
private BuilderImpl() {
super();
}
private BuilderImpl(GetJobExecutionProgressResponse response) {
super(response);
this.headers = response.headers;
this.statusCode = response.statusCode;
this.body = response.body;
}
/**
* headers.
*/
@Override
public Builder headers(java.util.Map<String, String> headers) {
this.headers = headers;
return this;
}
/**
* statusCode.
*/
@Override
public Builder statusCode(Integer statusCode) {
this.statusCode = statusCode;
return this;
}
/**
* body.
*/
@Override
public Builder body(GetJobExecutionProgressResponseBody body) {
this.body = body;
return this;
}
@Override
public GetJobExecutionProgressResponse build() {
return new GetJobExecutionProgressResponse(this);
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-schedulerx320240624/1.0.10/com/aliyun/sdk/service/schedulerx320240624 | java-sources/com/aliyun/alibabacloud-schedulerx320240624/1.0.10/com/aliyun/sdk/service/schedulerx320240624/models/GetJobExecutionProgressResponseBody.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.schedulerx320240624.models;
import com.aliyun.sdk.gateway.pop.*;
import darabonba.core.*;
import darabonba.core.async.*;
import darabonba.core.sync.*;
import darabonba.core.client.*;
import darabonba.core.RequestModel;
import darabonba.core.TeaModel;
import com.aliyun.sdk.gateway.pop.models.*;
/**
*
* {@link GetJobExecutionProgressResponseBody} extends {@link TeaModel}
*
* <p>GetJobExecutionProgressResponseBody</p>
*/
public class GetJobExecutionProgressResponseBody extends TeaModel {
@com.aliyun.core.annotation.NameInMap("Code")
private Integer code;
@com.aliyun.core.annotation.NameInMap("Data")
private Data data;
@com.aliyun.core.annotation.NameInMap("Message")
private String message;
@com.aliyun.core.annotation.NameInMap("RequestId")
private String requestId;
@com.aliyun.core.annotation.NameInMap("Success")
private Boolean success;
private GetJobExecutionProgressResponseBody(Builder builder) {
this.code = builder.code;
this.data = builder.data;
this.message = builder.message;
this.requestId = builder.requestId;
this.success = builder.success;
}
public static Builder builder() {
return new Builder();
}
public static GetJobExecutionProgressResponseBody create() {
return builder().build();
}
public Builder toBuilder() {
return new Builder(this);
}
/**
* @return code
*/
public Integer getCode() {
return this.code;
}
/**
* @return data
*/
public Data getData() {
return this.data;
}
/**
* @return message
*/
public String getMessage() {
return this.message;
}
/**
* @return requestId
*/
public String getRequestId() {
return this.requestId;
}
/**
* @return success
*/
public Boolean getSuccess() {
return this.success;
}
public static final class Builder {
private Integer code;
private Data data;
private String message;
private String requestId;
private Boolean success;
private Builder() {
}
private Builder(GetJobExecutionProgressResponseBody model) {
this.code = model.code;
this.data = model.data;
this.message = model.message;
this.requestId = model.requestId;
this.success = model.success;
}
/**
* Code.
*/
public Builder code(Integer code) {
this.code = code;
return this;
}
/**
* <ul>
* <li></li>
* </ul>
*/
public Builder data(Data data) {
this.data = data;
return this;
}
/**
* Message.
*/
public Builder message(String message) {
this.message = message;
return this;
}
/**
* RequestId.
*/
public Builder requestId(String requestId) {
this.requestId = requestId;
return this;
}
/**
* Success.
*/
public Builder success(Boolean success) {
this.success = success;
return this;
}
public GetJobExecutionProgressResponseBody build() {
return new GetJobExecutionProgressResponseBody(this);
}
}
/**
*
* {@link GetJobExecutionProgressResponseBody} extends {@link TeaModel}
*
* <p>GetJobExecutionProgressResponseBody</p>
*/
public static class RootProgress extends TeaModel {
@com.aliyun.core.annotation.NameInMap("Finished")
private Long finished;
@com.aliyun.core.annotation.NameInMap("Total")
private Long total;
private RootProgress(Builder builder) {
this.finished = builder.finished;
this.total = builder.total;
}
public static Builder builder() {
return new Builder();
}
public static RootProgress create() {
return builder().build();
}
/**
* @return finished
*/
public Long getFinished() {
return this.finished;
}
/**
* @return total
*/
public Long getTotal() {
return this.total;
}
public static final class Builder {
private Long finished;
private Long total;
private Builder() {
}
private Builder(RootProgress model) {
this.finished = model.finished;
this.total = model.total;
}
/**
* Finished.
*/
public Builder finished(Long finished) {
this.finished = finished;
return this;
}
/**
* Total.
*/
public Builder total(Long total) {
this.total = total;
return this;
}
public RootProgress build() {
return new RootProgress(this);
}
}
}
/**
*
* {@link GetJobExecutionProgressResponseBody} extends {@link TeaModel}
*
* <p>GetJobExecutionProgressResponseBody</p>
*/
public static class StatusType extends TeaModel {
@com.aliyun.core.annotation.NameInMap("Code")
private String code;
@com.aliyun.core.annotation.NameInMap("Name")
private String name;
@com.aliyun.core.annotation.NameInMap("Tips")
private java.util.Map<String, String> tips;
private StatusType(Builder builder) {
this.code = builder.code;
this.name = builder.name;
this.tips = builder.tips;
}
public static Builder builder() {
return new Builder();
}
public static StatusType create() {
return builder().build();
}
/**
* @return code
*/
public String getCode() {
return this.code;
}
/**
* @return name
*/
public String getName() {
return this.name;
}
/**
* @return tips
*/
public java.util.Map<String, String> getTips() {
return this.tips;
}
public static final class Builder {
private String code;
private String name;
private java.util.Map<String, String> tips;
private Builder() {
}
private Builder(StatusType model) {
this.code = model.code;
this.name = model.name;
this.tips = model.tips;
}
/**
* Code.
*/
public Builder code(String code) {
this.code = code;
return this;
}
/**
* Name.
*/
public Builder name(String name) {
this.name = name;
return this;
}
/**
* <ul>
* <li></li>
* </ul>
*/
public Builder tips(java.util.Map<String, String> tips) {
this.tips = tips;
return this;
}
public StatusType build() {
return new StatusType(this);
}
}
}
/**
*
* {@link GetJobExecutionProgressResponseBody} extends {@link TeaModel}
*
* <p>GetJobExecutionProgressResponseBody</p>
*/
public static class ShardingProgress extends TeaModel {
@com.aliyun.core.annotation.NameInMap("Id")
private Long id;
@com.aliyun.core.annotation.NameInMap("JobExecutionId")
private String jobExecutionId;
@com.aliyun.core.annotation.NameInMap("Result")
private String result;
@com.aliyun.core.annotation.NameInMap("Status")
private Integer status;
@com.aliyun.core.annotation.NameInMap("StatusType")
private StatusType statusType;
@com.aliyun.core.annotation.NameInMap("WorkerAddr")
private String workerAddr;
private ShardingProgress(Builder builder) {
this.id = builder.id;
this.jobExecutionId = builder.jobExecutionId;
this.result = builder.result;
this.status = builder.status;
this.statusType = builder.statusType;
this.workerAddr = builder.workerAddr;
}
public static Builder builder() {
return new Builder();
}
public static ShardingProgress create() {
return builder().build();
}
/**
* @return id
*/
public Long getId() {
return this.id;
}
/**
* @return jobExecutionId
*/
public String getJobExecutionId() {
return this.jobExecutionId;
}
/**
* @return result
*/
public String getResult() {
return this.result;
}
/**
* @return status
*/
public Integer getStatus() {
return this.status;
}
/**
* @return statusType
*/
public StatusType getStatusType() {
return this.statusType;
}
/**
* @return workerAddr
*/
public String getWorkerAddr() {
return this.workerAddr;
}
public static final class Builder {
private Long id;
private String jobExecutionId;
private String result;
private Integer status;
private StatusType statusType;
private String workerAddr;
private Builder() {
}
private Builder(ShardingProgress model) {
this.id = model.id;
this.jobExecutionId = model.jobExecutionId;
this.result = model.result;
this.status = model.status;
this.statusType = model.statusType;
this.workerAddr = model.workerAddr;
}
/**
* <p>id</p>
*
* <strong>example:</strong>
* <p>1</p>
*/
public Builder id(Long id) {
this.id = id;
return this;
}
/**
* JobExecutionId.
*/
public Builder jobExecutionId(String jobExecutionId) {
this.jobExecutionId = jobExecutionId;
return this;
}
/**
* Result.
*/
public Builder result(String result) {
this.result = result;
return this;
}
/**
* Status.
*/
public Builder status(Integer status) {
this.status = status;
return this;
}
/**
* StatusType.
*/
public Builder statusType(StatusType statusType) {
this.statusType = statusType;
return this;
}
/**
* WorkerAddr.
*/
public Builder workerAddr(String workerAddr) {
this.workerAddr = workerAddr;
return this;
}
public ShardingProgress build() {
return new ShardingProgress(this);
}
}
}
/**
*
* {@link GetJobExecutionProgressResponseBody} extends {@link TeaModel}
*
* <p>GetJobExecutionProgressResponseBody</p>
*/
public static class TaskProgress extends TeaModel {
@com.aliyun.core.annotation.NameInMap("Failed")
private Integer failed;
@com.aliyun.core.annotation.NameInMap("Name")
private String name;
@com.aliyun.core.annotation.NameInMap("Pulled")
private Integer pulled;
@com.aliyun.core.annotation.NameInMap("Queue")
private Integer queue;
@com.aliyun.core.annotation.NameInMap("Running")
private Integer running;
@com.aliyun.core.annotation.NameInMap("Success")
private Integer success;
@com.aliyun.core.annotation.NameInMap("Total")
private Integer total;
private TaskProgress(Builder builder) {
this.failed = builder.failed;
this.name = builder.name;
this.pulled = builder.pulled;
this.queue = builder.queue;
this.running = builder.running;
this.success = builder.success;
this.total = builder.total;
}
public static Builder builder() {
return new Builder();
}
public static TaskProgress create() {
return builder().build();
}
/**
* @return failed
*/
public Integer getFailed() {
return this.failed;
}
/**
* @return name
*/
public String getName() {
return this.name;
}
/**
* @return pulled
*/
public Integer getPulled() {
return this.pulled;
}
/**
* @return queue
*/
public Integer getQueue() {
return this.queue;
}
/**
* @return running
*/
public Integer getRunning() {
return this.running;
}
/**
* @return success
*/
public Integer getSuccess() {
return this.success;
}
/**
* @return total
*/
public Integer getTotal() {
return this.total;
}
public static final class Builder {
private Integer failed;
private String name;
private Integer pulled;
private Integer queue;
private Integer running;
private Integer success;
private Integer total;
private Builder() {
}
private Builder(TaskProgress model) {
this.failed = model.failed;
this.name = model.name;
this.pulled = model.pulled;
this.queue = model.queue;
this.running = model.running;
this.success = model.success;
this.total = model.total;
}
/**
* Failed.
*/
public Builder failed(Integer failed) {
this.failed = failed;
return this;
}
/**
* Name.
*/
public Builder name(String name) {
this.name = name;
return this;
}
/**
* Pulled.
*/
public Builder pulled(Integer pulled) {
this.pulled = pulled;
return this;
}
/**
* Queue.
*/
public Builder queue(Integer queue) {
this.queue = queue;
return this;
}
/**
* Running.
*/
public Builder running(Integer running) {
this.running = running;
return this;
}
/**
* Success.
*/
public Builder success(Integer success) {
this.success = success;
return this;
}
/**
* Total.
*/
public Builder total(Integer total) {
this.total = total;
return this;
}
public TaskProgress build() {
return new TaskProgress(this);
}
}
}
/**
*
* {@link GetJobExecutionProgressResponseBody} extends {@link TeaModel}
*
* <p>GetJobExecutionProgressResponseBody</p>
*/
public static class TotalProgress extends TeaModel {
@com.aliyun.core.annotation.NameInMap("Finished")
private Long finished;
@com.aliyun.core.annotation.NameInMap("Total")
private Long total;
private TotalProgress(Builder builder) {
this.finished = builder.finished;
this.total = builder.total;
}
public static Builder builder() {
return new Builder();
}
public static TotalProgress create() {
return builder().build();
}
/**
* @return finished
*/
public Long getFinished() {
return this.finished;
}
/**
* @return total
*/
public Long getTotal() {
return this.total;
}
public static final class Builder {
private Long finished;
private Long total;
private Builder() {
}
private Builder(TotalProgress model) {
this.finished = model.finished;
this.total = model.total;
}
/**
* Finished.
*/
public Builder finished(Long finished) {
this.finished = finished;
return this;
}
/**
* Total.
*/
public Builder total(Long total) {
this.total = total;
return this;
}
public TotalProgress build() {
return new TotalProgress(this);
}
}
}
/**
*
* {@link GetJobExecutionProgressResponseBody} extends {@link TeaModel}
*
* <p>GetJobExecutionProgressResponseBody</p>
*/
public static class WorkerProgress extends TeaModel {
@com.aliyun.core.annotation.NameInMap("Failed")
private Integer failed;
@com.aliyun.core.annotation.NameInMap("Pulled")
private Integer pulled;
@com.aliyun.core.annotation.NameInMap("Queue")
private Integer queue;
@com.aliyun.core.annotation.NameInMap("Running")
private Integer running;
@com.aliyun.core.annotation.NameInMap("Success")
private Integer success;
@com.aliyun.core.annotation.NameInMap("Total")
private Integer total;
@com.aliyun.core.annotation.NameInMap("TraceId")
private String traceId;
@com.aliyun.core.annotation.NameInMap("WorkerAddr")
private String workerAddr;
private WorkerProgress(Builder builder) {
this.failed = builder.failed;
this.pulled = builder.pulled;
this.queue = builder.queue;
this.running = builder.running;
this.success = builder.success;
this.total = builder.total;
this.traceId = builder.traceId;
this.workerAddr = builder.workerAddr;
}
public static Builder builder() {
return new Builder();
}
public static WorkerProgress create() {
return builder().build();
}
/**
* @return failed
*/
public Integer getFailed() {
return this.failed;
}
/**
* @return pulled
*/
public Integer getPulled() {
return this.pulled;
}
/**
* @return queue
*/
public Integer getQueue() {
return this.queue;
}
/**
* @return running
*/
public Integer getRunning() {
return this.running;
}
/**
* @return success
*/
public Integer getSuccess() {
return this.success;
}
/**
* @return total
*/
public Integer getTotal() {
return this.total;
}
/**
* @return traceId
*/
public String getTraceId() {
return this.traceId;
}
/**
* @return workerAddr
*/
public String getWorkerAddr() {
return this.workerAddr;
}
public static final class Builder {
private Integer failed;
private Integer pulled;
private Integer queue;
private Integer running;
private Integer success;
private Integer total;
private String traceId;
private String workerAddr;
private Builder() {
}
private Builder(WorkerProgress model) {
this.failed = model.failed;
this.pulled = model.pulled;
this.queue = model.queue;
this.running = model.running;
this.success = model.success;
this.total = model.total;
this.traceId = model.traceId;
this.workerAddr = model.workerAddr;
}
/**
* Failed.
*/
public Builder failed(Integer failed) {
this.failed = failed;
return this;
}
/**
* Pulled.
*/
public Builder pulled(Integer pulled) {
this.pulled = pulled;
return this;
}
/**
* Queue.
*/
public Builder queue(Integer queue) {
this.queue = queue;
return this;
}
/**
* Running.
*/
public Builder running(Integer running) {
this.running = running;
return this;
}
/**
* Success.
*/
public Builder success(Integer success) {
this.success = success;
return this;
}
/**
* Total.
*/
public Builder total(Integer total) {
this.total = total;
return this;
}
/**
* TraceId.
*/
public Builder traceId(String traceId) {
this.traceId = traceId;
return this;
}
/**
* WorkerAddr.
*/
public Builder workerAddr(String workerAddr) {
this.workerAddr = workerAddr;
return this;
}
public WorkerProgress build() {
return new WorkerProgress(this);
}
}
}
/**
*
* {@link GetJobExecutionProgressResponseBody} extends {@link TeaModel}
*
* <p>GetJobExecutionProgressResponseBody</p>
*/
public static class Data extends TeaModel {
@com.aliyun.core.annotation.NameInMap("EndTime")
private String endTime;
@com.aliyun.core.annotation.NameInMap("JobDescription")
private String jobDescription;
@com.aliyun.core.annotation.NameInMap("RootProgress")
private RootProgress rootProgress;
@com.aliyun.core.annotation.NameInMap("ShardingProgress")
private java.util.List<ShardingProgress> shardingProgress;
@com.aliyun.core.annotation.NameInMap("StartTime")
private String startTime;
@com.aliyun.core.annotation.NameInMap("TaskProgress")
private java.util.List<TaskProgress> taskProgress;
@com.aliyun.core.annotation.NameInMap("TotalProgress")
private TotalProgress totalProgress;
@com.aliyun.core.annotation.NameInMap("WorkerProgress")
private java.util.List<WorkerProgress> workerProgress;
private Data(Builder builder) {
this.endTime = builder.endTime;
this.jobDescription = builder.jobDescription;
this.rootProgress = builder.rootProgress;
this.shardingProgress = builder.shardingProgress;
this.startTime = builder.startTime;
this.taskProgress = builder.taskProgress;
this.totalProgress = builder.totalProgress;
this.workerProgress = builder.workerProgress;
}
public static Builder builder() {
return new Builder();
}
public static Data create() {
return builder().build();
}
/**
* @return endTime
*/
public String getEndTime() {
return this.endTime;
}
/**
* @return jobDescription
*/
public String getJobDescription() {
return this.jobDescription;
}
/**
* @return rootProgress
*/
public RootProgress getRootProgress() {
return this.rootProgress;
}
/**
* @return shardingProgress
*/
public java.util.List<ShardingProgress> getShardingProgress() {
return this.shardingProgress;
}
/**
* @return startTime
*/
public String getStartTime() {
return this.startTime;
}
/**
* @return taskProgress
*/
public java.util.List<TaskProgress> getTaskProgress() {
return this.taskProgress;
}
/**
* @return totalProgress
*/
public TotalProgress getTotalProgress() {
return this.totalProgress;
}
/**
* @return workerProgress
*/
public java.util.List<WorkerProgress> getWorkerProgress() {
return this.workerProgress;
}
public static final class Builder {
private String endTime;
private String jobDescription;
private RootProgress rootProgress;
private java.util.List<ShardingProgress> shardingProgress;
private String startTime;
private java.util.List<TaskProgress> taskProgress;
private TotalProgress totalProgress;
private java.util.List<WorkerProgress> workerProgress;
private Builder() {
}
private Builder(Data model) {
this.endTime = model.endTime;
this.jobDescription = model.jobDescription;
this.rootProgress = model.rootProgress;
this.shardingProgress = model.shardingProgress;
this.startTime = model.startTime;
this.taskProgress = model.taskProgress;
this.totalProgress = model.totalProgress;
this.workerProgress = model.workerProgress;
}
/**
* EndTime.
*/
public Builder endTime(String endTime) {
this.endTime = endTime;
return this;
}
/**
* JobDescription.
*/
public Builder jobDescription(String jobDescription) {
this.jobDescription = jobDescription;
return this;
}
/**
* RootProgress.
*/
public Builder rootProgress(RootProgress rootProgress) {
this.rootProgress = rootProgress;
return this;
}
/**
* ShardingProgress.
*/
public Builder shardingProgress(java.util.List<ShardingProgress> shardingProgress) {
this.shardingProgress = shardingProgress;
return this;
}
/**
* StartTime.
*/
public Builder startTime(String startTime) {
this.startTime = startTime;
return this;
}
/**
* TaskProgress.
*/
public Builder taskProgress(java.util.List<TaskProgress> taskProgress) {
this.taskProgress = taskProgress;
return this;
}
/**
* TotalProgress.
*/
public Builder totalProgress(TotalProgress totalProgress) {
this.totalProgress = totalProgress;
return this;
}
/**
* WorkerProgress.
*/
public Builder workerProgress(java.util.List<WorkerProgress> workerProgress) {
this.workerProgress = workerProgress;
return this;
}
public Data build() {
return new Data(this);
}
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-schedulerx320240624/1.0.10/com/aliyun/sdk/service/schedulerx320240624 | java-sources/com/aliyun/alibabacloud-schedulerx320240624/1.0.10/com/aliyun/sdk/service/schedulerx320240624/models/GetJobExecutionRequest.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.schedulerx320240624.models;
import com.aliyun.sdk.gateway.pop.*;
import darabonba.core.*;
import darabonba.core.async.*;
import darabonba.core.sync.*;
import darabonba.core.client.*;
import darabonba.core.RequestModel;
import darabonba.core.TeaModel;
import com.aliyun.sdk.gateway.pop.models.*;
/**
*
* {@link GetJobExecutionRequest} extends {@link RequestModel}
*
* <p>GetJobExecutionRequest</p>
*/
public class GetJobExecutionRequest extends Request {
@com.aliyun.core.annotation.Host
@com.aliyun.core.annotation.NameInMap("RegionId")
private String regionId;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("AppName")
@com.aliyun.core.annotation.Validation(required = true)
private String appName;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("ClusterId")
@com.aliyun.core.annotation.Validation(required = true)
private String clusterId;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("JobExecutionId")
@com.aliyun.core.annotation.Validation(required = true)
private String jobExecutionId;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("MseSessionId")
private String mseSessionId;
private GetJobExecutionRequest(Builder builder) {
super(builder);
this.regionId = builder.regionId;
this.appName = builder.appName;
this.clusterId = builder.clusterId;
this.jobExecutionId = builder.jobExecutionId;
this.mseSessionId = builder.mseSessionId;
}
public static Builder builder() {
return new Builder();
}
public static GetJobExecutionRequest create() {
return builder().build();
}
@Override
public Builder toBuilder() {
return new Builder(this);
}
/**
* @return regionId
*/
public String getRegionId() {
return this.regionId;
}
/**
* @return appName
*/
public String getAppName() {
return this.appName;
}
/**
* @return clusterId
*/
public String getClusterId() {
return this.clusterId;
}
/**
* @return jobExecutionId
*/
public String getJobExecutionId() {
return this.jobExecutionId;
}
/**
* @return mseSessionId
*/
public String getMseSessionId() {
return this.mseSessionId;
}
public static final class Builder extends Request.Builder<GetJobExecutionRequest, Builder> {
private String regionId;
private String appName;
private String clusterId;
private String jobExecutionId;
private String mseSessionId;
private Builder() {
super();
}
private Builder(GetJobExecutionRequest request) {
super(request);
this.regionId = request.regionId;
this.appName = request.appName;
this.clusterId = request.clusterId;
this.jobExecutionId = request.jobExecutionId;
this.mseSessionId = request.mseSessionId;
}
/**
* RegionId.
*/
public Builder regionId(String regionId) {
this.putHostParameter("RegionId", regionId);
this.regionId = regionId;
return this;
}
/**
* <p>This parameter is required.</p>
*
* <strong>example:</strong>
* <p>test-app</p>
*/
public Builder appName(String appName) {
this.putQueryParameter("AppName", appName);
this.appName = appName;
return this;
}
/**
* <p>This parameter is required.</p>
*
* <strong>example:</strong>
* <p>xxljob-b6ec1xxxx</p>
*/
public Builder clusterId(String clusterId) {
this.putQueryParameter("ClusterId", clusterId);
this.clusterId = clusterId;
return this;
}
/**
* <p>This parameter is required.</p>
*
* <strong>example:</strong>
* <p>1310630367761285120</p>
*/
public Builder jobExecutionId(String jobExecutionId) {
this.putQueryParameter("JobExecutionId", jobExecutionId);
this.jobExecutionId = jobExecutionId;
return this;
}
/**
* MseSessionId.
*/
public Builder mseSessionId(String mseSessionId) {
this.putQueryParameter("MseSessionId", mseSessionId);
this.mseSessionId = mseSessionId;
return this;
}
@Override
public GetJobExecutionRequest build() {
return new GetJobExecutionRequest(this);
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-schedulerx320240624/1.0.10/com/aliyun/sdk/service/schedulerx320240624 | java-sources/com/aliyun/alibabacloud-schedulerx320240624/1.0.10/com/aliyun/sdk/service/schedulerx320240624/models/GetJobExecutionResponse.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.schedulerx320240624.models;
import com.aliyun.sdk.gateway.pop.*;
import darabonba.core.*;
import darabonba.core.async.*;
import darabonba.core.sync.*;
import darabonba.core.client.*;
import darabonba.core.RequestModel;
import darabonba.core.TeaModel;
import com.aliyun.sdk.gateway.pop.models.*;
/**
*
* {@link GetJobExecutionResponse} extends {@link TeaModel}
*
* <p>GetJobExecutionResponse</p>
*/
public class GetJobExecutionResponse extends Response {
@com.aliyun.core.annotation.NameInMap("headers")
private java.util.Map<String, String> headers;
@com.aliyun.core.annotation.NameInMap("statusCode")
private Integer statusCode;
@com.aliyun.core.annotation.NameInMap("body")
private GetJobExecutionResponseBody body;
private GetJobExecutionResponse(BuilderImpl builder) {
super(builder);
this.headers = builder.headers;
this.statusCode = builder.statusCode;
this.body = builder.body;
}
public static GetJobExecutionResponse create() {
return new BuilderImpl().build();
}
@Override
public Builder toBuilder() {
return new BuilderImpl(this);
}
/**
* @return headers
*/
public java.util.Map<String, String> getHeaders() {
return this.headers;
}
/**
* @return statusCode
*/
public Integer getStatusCode() {
return this.statusCode;
}
/**
* @return body
*/
public GetJobExecutionResponseBody getBody() {
return this.body;
}
public interface Builder extends Response.Builder<GetJobExecutionResponse, Builder> {
Builder headers(java.util.Map<String, String> headers);
Builder statusCode(Integer statusCode);
Builder body(GetJobExecutionResponseBody body);
@Override
GetJobExecutionResponse build();
}
private static final class BuilderImpl
extends Response.BuilderImpl<GetJobExecutionResponse, Builder>
implements Builder {
private java.util.Map<String, String> headers;
private Integer statusCode;
private GetJobExecutionResponseBody body;
private BuilderImpl() {
super();
}
private BuilderImpl(GetJobExecutionResponse response) {
super(response);
this.headers = response.headers;
this.statusCode = response.statusCode;
this.body = response.body;
}
/**
* headers.
*/
@Override
public Builder headers(java.util.Map<String, String> headers) {
this.headers = headers;
return this;
}
/**
* statusCode.
*/
@Override
public Builder statusCode(Integer statusCode) {
this.statusCode = statusCode;
return this;
}
/**
* body.
*/
@Override
public Builder body(GetJobExecutionResponseBody body) {
this.body = body;
return this;
}
@Override
public GetJobExecutionResponse build() {
return new GetJobExecutionResponse(this);
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-schedulerx320240624/1.0.10/com/aliyun/sdk/service/schedulerx320240624 | java-sources/com/aliyun/alibabacloud-schedulerx320240624/1.0.10/com/aliyun/sdk/service/schedulerx320240624/models/GetJobExecutionResponseBody.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.schedulerx320240624.models;
import com.aliyun.sdk.gateway.pop.*;
import darabonba.core.*;
import darabonba.core.async.*;
import darabonba.core.sync.*;
import darabonba.core.client.*;
import darabonba.core.RequestModel;
import darabonba.core.TeaModel;
import com.aliyun.sdk.gateway.pop.models.*;
/**
*
* {@link GetJobExecutionResponseBody} extends {@link TeaModel}
*
* <p>GetJobExecutionResponseBody</p>
*/
public class GetJobExecutionResponseBody extends TeaModel {
@com.aliyun.core.annotation.NameInMap("Code")
private Integer code;
@com.aliyun.core.annotation.NameInMap("Data")
private Data data;
@com.aliyun.core.annotation.NameInMap("Message")
private String message;
@com.aliyun.core.annotation.NameInMap("RequestId")
private String requestId;
@com.aliyun.core.annotation.NameInMap("Success")
private Boolean success;
private GetJobExecutionResponseBody(Builder builder) {
this.code = builder.code;
this.data = builder.data;
this.message = builder.message;
this.requestId = builder.requestId;
this.success = builder.success;
}
public static Builder builder() {
return new Builder();
}
public static GetJobExecutionResponseBody create() {
return builder().build();
}
public Builder toBuilder() {
return new Builder(this);
}
/**
* @return code
*/
public Integer getCode() {
return this.code;
}
/**
* @return data
*/
public Data getData() {
return this.data;
}
/**
* @return message
*/
public String getMessage() {
return this.message;
}
/**
* @return requestId
*/
public String getRequestId() {
return this.requestId;
}
/**
* @return success
*/
public Boolean getSuccess() {
return this.success;
}
public static final class Builder {
private Integer code;
private Data data;
private String message;
private String requestId;
private Boolean success;
private Builder() {
}
private Builder(GetJobExecutionResponseBody model) {
this.code = model.code;
this.data = model.data;
this.message = model.message;
this.requestId = model.requestId;
this.success = model.success;
}
/**
* Code.
*/
public Builder code(Integer code) {
this.code = code;
return this;
}
/**
* <ul>
* <li></li>
* </ul>
*/
public Builder data(Data data) {
this.data = data;
return this;
}
/**
* Message.
*/
public Builder message(String message) {
this.message = message;
return this;
}
/**
* <p>Id of the request</p>
*
* <strong>example:</strong>
* <p>39938688-0BAB-5AD8-BF02-F4910FAC7589</p>
*/
public Builder requestId(String requestId) {
this.requestId = requestId;
return this;
}
/**
* Success.
*/
public Builder success(Boolean success) {
this.success = success;
return this;
}
public GetJobExecutionResponseBody build() {
return new GetJobExecutionResponseBody(this);
}
}
/**
*
* {@link GetJobExecutionResponseBody} extends {@link TeaModel}
*
* <p>GetJobExecutionResponseBody</p>
*/
public static class Data extends TeaModel {
@com.aliyun.core.annotation.NameInMap("AppName")
private String appName;
@com.aliyun.core.annotation.NameInMap("Attempt")
private Integer attempt;
@com.aliyun.core.annotation.NameInMap("DataTime")
private String dataTime;
@com.aliyun.core.annotation.NameInMap("Duration")
private Long duration;
@com.aliyun.core.annotation.NameInMap("EndTime")
private String endTime;
@com.aliyun.core.annotation.NameInMap("Executor")
private String executor;
@com.aliyun.core.annotation.NameInMap("JobExecutionId")
private String jobExecutionId;
@com.aliyun.core.annotation.NameInMap("JobId")
private Long jobId;
@com.aliyun.core.annotation.NameInMap("JobName")
private String jobName;
@com.aliyun.core.annotation.NameInMap("JobType")
private String jobType;
@com.aliyun.core.annotation.NameInMap("Parameters")
private String parameters;
@com.aliyun.core.annotation.NameInMap("Result")
private String result;
@com.aliyun.core.annotation.NameInMap("RouteStrategy")
private Integer routeStrategy;
@com.aliyun.core.annotation.NameInMap("ScheduleTime")
private String scheduleTime;
@com.aliyun.core.annotation.NameInMap("ServerIp")
private String serverIp;
@com.aliyun.core.annotation.NameInMap("StartTime")
private String startTime;
@com.aliyun.core.annotation.NameInMap("Status")
private Integer status;
@com.aliyun.core.annotation.NameInMap("TimeType")
private Integer timeType;
@com.aliyun.core.annotation.NameInMap("TriggerType")
private Integer triggerType;
private Data(Builder builder) {
this.appName = builder.appName;
this.attempt = builder.attempt;
this.dataTime = builder.dataTime;
this.duration = builder.duration;
this.endTime = builder.endTime;
this.executor = builder.executor;
this.jobExecutionId = builder.jobExecutionId;
this.jobId = builder.jobId;
this.jobName = builder.jobName;
this.jobType = builder.jobType;
this.parameters = builder.parameters;
this.result = builder.result;
this.routeStrategy = builder.routeStrategy;
this.scheduleTime = builder.scheduleTime;
this.serverIp = builder.serverIp;
this.startTime = builder.startTime;
this.status = builder.status;
this.timeType = builder.timeType;
this.triggerType = builder.triggerType;
}
public static Builder builder() {
return new Builder();
}
public static Data create() {
return builder().build();
}
/**
* @return appName
*/
public String getAppName() {
return this.appName;
}
/**
* @return attempt
*/
public Integer getAttempt() {
return this.attempt;
}
/**
* @return dataTime
*/
public String getDataTime() {
return this.dataTime;
}
/**
* @return duration
*/
public Long getDuration() {
return this.duration;
}
/**
* @return endTime
*/
public String getEndTime() {
return this.endTime;
}
/**
* @return executor
*/
public String getExecutor() {
return this.executor;
}
/**
* @return jobExecutionId
*/
public String getJobExecutionId() {
return this.jobExecutionId;
}
/**
* @return jobId
*/
public Long getJobId() {
return this.jobId;
}
/**
* @return jobName
*/
public String getJobName() {
return this.jobName;
}
/**
* @return jobType
*/
public String getJobType() {
return this.jobType;
}
/**
* @return parameters
*/
public String getParameters() {
return this.parameters;
}
/**
* @return result
*/
public String getResult() {
return this.result;
}
/**
* @return routeStrategy
*/
public Integer getRouteStrategy() {
return this.routeStrategy;
}
/**
* @return scheduleTime
*/
public String getScheduleTime() {
return this.scheduleTime;
}
/**
* @return serverIp
*/
public String getServerIp() {
return this.serverIp;
}
/**
* @return startTime
*/
public String getStartTime() {
return this.startTime;
}
/**
* @return status
*/
public Integer getStatus() {
return this.status;
}
/**
* @return timeType
*/
public Integer getTimeType() {
return this.timeType;
}
/**
* @return triggerType
*/
public Integer getTriggerType() {
return this.triggerType;
}
public static final class Builder {
private String appName;
private Integer attempt;
private String dataTime;
private Long duration;
private String endTime;
private String executor;
private String jobExecutionId;
private Long jobId;
private String jobName;
private String jobType;
private String parameters;
private String result;
private Integer routeStrategy;
private String scheduleTime;
private String serverIp;
private String startTime;
private Integer status;
private Integer timeType;
private Integer triggerType;
private Builder() {
}
private Builder(Data model) {
this.appName = model.appName;
this.attempt = model.attempt;
this.dataTime = model.dataTime;
this.duration = model.duration;
this.endTime = model.endTime;
this.executor = model.executor;
this.jobExecutionId = model.jobExecutionId;
this.jobId = model.jobId;
this.jobName = model.jobName;
this.jobType = model.jobType;
this.parameters = model.parameters;
this.result = model.result;
this.routeStrategy = model.routeStrategy;
this.scheduleTime = model.scheduleTime;
this.serverIp = model.serverIp;
this.startTime = model.startTime;
this.status = model.status;
this.timeType = model.timeType;
this.triggerType = model.triggerType;
}
/**
* AppName.
*/
public Builder appName(String appName) {
this.appName = appName;
return this;
}
/**
* Attempt.
*/
public Builder attempt(Integer attempt) {
this.attempt = attempt;
return this;
}
/**
* DataTime.
*/
public Builder dataTime(String dataTime) {
this.dataTime = dataTime;
return this;
}
/**
* Duration.
*/
public Builder duration(Long duration) {
this.duration = duration;
return this;
}
/**
* EndTime.
*/
public Builder endTime(String endTime) {
this.endTime = endTime;
return this;
}
/**
* Executor.
*/
public Builder executor(String executor) {
this.executor = executor;
return this;
}
/**
* JobExecutionId.
*/
public Builder jobExecutionId(String jobExecutionId) {
this.jobExecutionId = jobExecutionId;
return this;
}
/**
* JobId.
*/
public Builder jobId(Long jobId) {
this.jobId = jobId;
return this;
}
/**
* JobName.
*/
public Builder jobName(String jobName) {
this.jobName = jobName;
return this;
}
/**
* JobType.
*/
public Builder jobType(String jobType) {
this.jobType = jobType;
return this;
}
/**
* Parameters.
*/
public Builder parameters(String parameters) {
this.parameters = parameters;
return this;
}
/**
* Result.
*/
public Builder result(String result) {
this.result = result;
return this;
}
/**
* RouteStrategy.
*/
public Builder routeStrategy(Integer routeStrategy) {
this.routeStrategy = routeStrategy;
return this;
}
/**
* ScheduleTime.
*/
public Builder scheduleTime(String scheduleTime) {
this.scheduleTime = scheduleTime;
return this;
}
/**
* ServerIp.
*/
public Builder serverIp(String serverIp) {
this.serverIp = serverIp;
return this;
}
/**
* StartTime.
*/
public Builder startTime(String startTime) {
this.startTime = startTime;
return this;
}
/**
* Status.
*/
public Builder status(Integer status) {
this.status = status;
return this;
}
/**
* TimeType.
*/
public Builder timeType(Integer timeType) {
this.timeType = timeType;
return this;
}
/**
* TriggerType.
*/
public Builder triggerType(Integer triggerType) {
this.triggerType = triggerType;
return this;
}
public Data build() {
return new Data(this);
}
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-schedulerx320240624/1.0.10/com/aliyun/sdk/service/schedulerx320240624 | java-sources/com/aliyun/alibabacloud-schedulerx320240624/1.0.10/com/aliyun/sdk/service/schedulerx320240624/models/GetJobExecutionThreadDumpRequest.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.schedulerx320240624.models;
import com.aliyun.sdk.gateway.pop.*;
import darabonba.core.*;
import darabonba.core.async.*;
import darabonba.core.sync.*;
import darabonba.core.client.*;
import darabonba.core.RequestModel;
import darabonba.core.TeaModel;
import com.aliyun.sdk.gateway.pop.models.*;
/**
*
* {@link GetJobExecutionThreadDumpRequest} extends {@link RequestModel}
*
* <p>GetJobExecutionThreadDumpRequest</p>
*/
public class GetJobExecutionThreadDumpRequest extends Request {
@com.aliyun.core.annotation.Host
@com.aliyun.core.annotation.NameInMap("RegionId")
private String regionId;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("AppName")
private String appName;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("ClusterId")
private String clusterId;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("ExecutorAddr")
private String executorAddr;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("JobExecutionId")
private String jobExecutionId;
private GetJobExecutionThreadDumpRequest(Builder builder) {
super(builder);
this.regionId = builder.regionId;
this.appName = builder.appName;
this.clusterId = builder.clusterId;
this.executorAddr = builder.executorAddr;
this.jobExecutionId = builder.jobExecutionId;
}
public static Builder builder() {
return new Builder();
}
public static GetJobExecutionThreadDumpRequest create() {
return builder().build();
}
@Override
public Builder toBuilder() {
return new Builder(this);
}
/**
* @return regionId
*/
public String getRegionId() {
return this.regionId;
}
/**
* @return appName
*/
public String getAppName() {
return this.appName;
}
/**
* @return clusterId
*/
public String getClusterId() {
return this.clusterId;
}
/**
* @return executorAddr
*/
public String getExecutorAddr() {
return this.executorAddr;
}
/**
* @return jobExecutionId
*/
public String getJobExecutionId() {
return this.jobExecutionId;
}
public static final class Builder extends Request.Builder<GetJobExecutionThreadDumpRequest, Builder> {
private String regionId;
private String appName;
private String clusterId;
private String executorAddr;
private String jobExecutionId;
private Builder() {
super();
}
private Builder(GetJobExecutionThreadDumpRequest request) {
super(request);
this.regionId = request.regionId;
this.appName = request.appName;
this.clusterId = request.clusterId;
this.executorAddr = request.executorAddr;
this.jobExecutionId = request.jobExecutionId;
}
/**
* RegionId.
*/
public Builder regionId(String regionId) {
this.putHostParameter("RegionId", regionId);
this.regionId = regionId;
return this;
}
/**
* AppName.
*/
public Builder appName(String appName) {
this.putQueryParameter("AppName", appName);
this.appName = appName;
return this;
}
/**
* ClusterId.
*/
public Builder clusterId(String clusterId) {
this.putQueryParameter("ClusterId", clusterId);
this.clusterId = clusterId;
return this;
}
/**
* ExecutorAddr.
*/
public Builder executorAddr(String executorAddr) {
this.putQueryParameter("ExecutorAddr", executorAddr);
this.executorAddr = executorAddr;
return this;
}
/**
* JobExecutionId.
*/
public Builder jobExecutionId(String jobExecutionId) {
this.putQueryParameter("JobExecutionId", jobExecutionId);
this.jobExecutionId = jobExecutionId;
return this;
}
@Override
public GetJobExecutionThreadDumpRequest build() {
return new GetJobExecutionThreadDumpRequest(this);
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-schedulerx320240624/1.0.10/com/aliyun/sdk/service/schedulerx320240624 | java-sources/com/aliyun/alibabacloud-schedulerx320240624/1.0.10/com/aliyun/sdk/service/schedulerx320240624/models/GetJobExecutionThreadDumpResponse.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.schedulerx320240624.models;
import com.aliyun.sdk.gateway.pop.*;
import darabonba.core.*;
import darabonba.core.async.*;
import darabonba.core.sync.*;
import darabonba.core.client.*;
import darabonba.core.RequestModel;
import darabonba.core.TeaModel;
import com.aliyun.sdk.gateway.pop.models.*;
/**
*
* {@link GetJobExecutionThreadDumpResponse} extends {@link TeaModel}
*
* <p>GetJobExecutionThreadDumpResponse</p>
*/
public class GetJobExecutionThreadDumpResponse extends Response {
@com.aliyun.core.annotation.NameInMap("headers")
private java.util.Map<String, String> headers;
@com.aliyun.core.annotation.NameInMap("statusCode")
private Integer statusCode;
@com.aliyun.core.annotation.NameInMap("body")
private GetJobExecutionThreadDumpResponseBody body;
private GetJobExecutionThreadDumpResponse(BuilderImpl builder) {
super(builder);
this.headers = builder.headers;
this.statusCode = builder.statusCode;
this.body = builder.body;
}
public static GetJobExecutionThreadDumpResponse create() {
return new BuilderImpl().build();
}
@Override
public Builder toBuilder() {
return new BuilderImpl(this);
}
/**
* @return headers
*/
public java.util.Map<String, String> getHeaders() {
return this.headers;
}
/**
* @return statusCode
*/
public Integer getStatusCode() {
return this.statusCode;
}
/**
* @return body
*/
public GetJobExecutionThreadDumpResponseBody getBody() {
return this.body;
}
public interface Builder extends Response.Builder<GetJobExecutionThreadDumpResponse, Builder> {
Builder headers(java.util.Map<String, String> headers);
Builder statusCode(Integer statusCode);
Builder body(GetJobExecutionThreadDumpResponseBody body);
@Override
GetJobExecutionThreadDumpResponse build();
}
private static final class BuilderImpl
extends Response.BuilderImpl<GetJobExecutionThreadDumpResponse, Builder>
implements Builder {
private java.util.Map<String, String> headers;
private Integer statusCode;
private GetJobExecutionThreadDumpResponseBody body;
private BuilderImpl() {
super();
}
private BuilderImpl(GetJobExecutionThreadDumpResponse response) {
super(response);
this.headers = response.headers;
this.statusCode = response.statusCode;
this.body = response.body;
}
/**
* headers.
*/
@Override
public Builder headers(java.util.Map<String, String> headers) {
this.headers = headers;
return this;
}
/**
* statusCode.
*/
@Override
public Builder statusCode(Integer statusCode) {
this.statusCode = statusCode;
return this;
}
/**
* body.
*/
@Override
public Builder body(GetJobExecutionThreadDumpResponseBody body) {
this.body = body;
return this;
}
@Override
public GetJobExecutionThreadDumpResponse build() {
return new GetJobExecutionThreadDumpResponse(this);
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-schedulerx320240624/1.0.10/com/aliyun/sdk/service/schedulerx320240624 | java-sources/com/aliyun/alibabacloud-schedulerx320240624/1.0.10/com/aliyun/sdk/service/schedulerx320240624/models/GetJobExecutionThreadDumpResponseBody.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.schedulerx320240624.models;
import com.aliyun.sdk.gateway.pop.*;
import darabonba.core.*;
import darabonba.core.async.*;
import darabonba.core.sync.*;
import darabonba.core.client.*;
import darabonba.core.RequestModel;
import darabonba.core.TeaModel;
import com.aliyun.sdk.gateway.pop.models.*;
/**
*
* {@link GetJobExecutionThreadDumpResponseBody} extends {@link TeaModel}
*
* <p>GetJobExecutionThreadDumpResponseBody</p>
*/
public class GetJobExecutionThreadDumpResponseBody extends TeaModel {
@com.aliyun.core.annotation.NameInMap("Code")
private Integer code;
@com.aliyun.core.annotation.NameInMap("Data")
private Data data;
@com.aliyun.core.annotation.NameInMap("Message")
private String message;
@com.aliyun.core.annotation.NameInMap("RequestId")
private String requestId;
@com.aliyun.core.annotation.NameInMap("Success")
private Boolean success;
private GetJobExecutionThreadDumpResponseBody(Builder builder) {
this.code = builder.code;
this.data = builder.data;
this.message = builder.message;
this.requestId = builder.requestId;
this.success = builder.success;
}
public static Builder builder() {
return new Builder();
}
public static GetJobExecutionThreadDumpResponseBody create() {
return builder().build();
}
public Builder toBuilder() {
return new Builder(this);
}
/**
* @return code
*/
public Integer getCode() {
return this.code;
}
/**
* @return data
*/
public Data getData() {
return this.data;
}
/**
* @return message
*/
public String getMessage() {
return this.message;
}
/**
* @return requestId
*/
public String getRequestId() {
return this.requestId;
}
/**
* @return success
*/
public Boolean getSuccess() {
return this.success;
}
public static final class Builder {
private Integer code;
private Data data;
private String message;
private String requestId;
private Boolean success;
private Builder() {
}
private Builder(GetJobExecutionThreadDumpResponseBody model) {
this.code = model.code;
this.data = model.data;
this.message = model.message;
this.requestId = model.requestId;
this.success = model.success;
}
/**
* Code.
*/
public Builder code(Integer code) {
this.code = code;
return this;
}
/**
* <ul>
* <li></li>
* </ul>
*/
public Builder data(Data data) {
this.data = data;
return this;
}
/**
* Message.
*/
public Builder message(String message) {
this.message = message;
return this;
}
/**
* RequestId.
*/
public Builder requestId(String requestId) {
this.requestId = requestId;
return this;
}
/**
* Success.
*/
public Builder success(Boolean success) {
this.success = success;
return this;
}
public GetJobExecutionThreadDumpResponseBody build() {
return new GetJobExecutionThreadDumpResponseBody(this);
}
}
/**
*
* {@link GetJobExecutionThreadDumpResponseBody} extends {@link TeaModel}
*
* <p>GetJobExecutionThreadDumpResponseBody</p>
*/
public static class Data extends TeaModel {
@com.aliyun.core.annotation.NameInMap("Dump")
private String dump;
private Data(Builder builder) {
this.dump = builder.dump;
}
public static Builder builder() {
return new Builder();
}
public static Data create() {
return builder().build();
}
/**
* @return dump
*/
public String getDump() {
return this.dump;
}
public static final class Builder {
private String dump;
private Builder() {
}
private Builder(Data model) {
this.dump = model.dump;
}
/**
* Dump.
*/
public Builder dump(String dump) {
this.dump = dump;
return this;
}
public Data build() {
return new Data(this);
}
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-schedulerx320240624/1.0.10/com/aliyun/sdk/service/schedulerx320240624 | java-sources/com/aliyun/alibabacloud-schedulerx320240624/1.0.10/com/aliyun/sdk/service/schedulerx320240624/models/GetLogEventRequest.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.schedulerx320240624.models;
import com.aliyun.sdk.gateway.pop.*;
import darabonba.core.*;
import darabonba.core.async.*;
import darabonba.core.sync.*;
import darabonba.core.client.*;
import darabonba.core.RequestModel;
import darabonba.core.TeaModel;
import com.aliyun.sdk.gateway.pop.models.*;
/**
*
* {@link GetLogEventRequest} extends {@link RequestModel}
*
* <p>GetLogEventRequest</p>
*/
public class GetLogEventRequest extends Request {
@com.aliyun.core.annotation.Host
@com.aliyun.core.annotation.NameInMap("RegionId")
private String regionId;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("AppName")
private String appName;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("ClusterId")
@com.aliyun.core.annotation.Validation(required = true)
private String clusterId;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("EndTime")
private Long endTime;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("Event")
private String event;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("JobExecutionId")
private Long jobExecutionId;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("JobName")
private String jobName;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("Keyword")
private String keyword;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("PageNum")
private Integer pageNum;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("PageSize")
private Integer pageSize;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("Reverse")
private Boolean reverse;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("StartTime")
private Long startTime;
private GetLogEventRequest(Builder builder) {
super(builder);
this.regionId = builder.regionId;
this.appName = builder.appName;
this.clusterId = builder.clusterId;
this.endTime = builder.endTime;
this.event = builder.event;
this.jobExecutionId = builder.jobExecutionId;
this.jobName = builder.jobName;
this.keyword = builder.keyword;
this.pageNum = builder.pageNum;
this.pageSize = builder.pageSize;
this.reverse = builder.reverse;
this.startTime = builder.startTime;
}
public static Builder builder() {
return new Builder();
}
public static GetLogEventRequest create() {
return builder().build();
}
@Override
public Builder toBuilder() {
return new Builder(this);
}
/**
* @return regionId
*/
public String getRegionId() {
return this.regionId;
}
/**
* @return appName
*/
public String getAppName() {
return this.appName;
}
/**
* @return clusterId
*/
public String getClusterId() {
return this.clusterId;
}
/**
* @return endTime
*/
public Long getEndTime() {
return this.endTime;
}
/**
* @return event
*/
public String getEvent() {
return this.event;
}
/**
* @return jobExecutionId
*/
public Long getJobExecutionId() {
return this.jobExecutionId;
}
/**
* @return jobName
*/
public String getJobName() {
return this.jobName;
}
/**
* @return keyword
*/
public String getKeyword() {
return this.keyword;
}
/**
* @return pageNum
*/
public Integer getPageNum() {
return this.pageNum;
}
/**
* @return pageSize
*/
public Integer getPageSize() {
return this.pageSize;
}
/**
* @return reverse
*/
public Boolean getReverse() {
return this.reverse;
}
/**
* @return startTime
*/
public Long getStartTime() {
return this.startTime;
}
public static final class Builder extends Request.Builder<GetLogEventRequest, Builder> {
private String regionId;
private String appName;
private String clusterId;
private Long endTime;
private String event;
private Long jobExecutionId;
private String jobName;
private String keyword;
private Integer pageNum;
private Integer pageSize;
private Boolean reverse;
private Long startTime;
private Builder() {
super();
}
private Builder(GetLogEventRequest request) {
super(request);
this.regionId = request.regionId;
this.appName = request.appName;
this.clusterId = request.clusterId;
this.endTime = request.endTime;
this.event = request.event;
this.jobExecutionId = request.jobExecutionId;
this.jobName = request.jobName;
this.keyword = request.keyword;
this.pageNum = request.pageNum;
this.pageSize = request.pageSize;
this.reverse = request.reverse;
this.startTime = request.startTime;
}
/**
* RegionId.
*/
public Builder regionId(String regionId) {
this.putHostParameter("RegionId", regionId);
this.regionId = regionId;
return this;
}
/**
* AppName.
*/
public Builder appName(String appName) {
this.putQueryParameter("AppName", appName);
this.appName = appName;
return this;
}
/**
* <p>This parameter is required.</p>
*
* <strong>example:</strong>
* <p>xxljob-684d02ee5a6</p>
*/
public Builder clusterId(String clusterId) {
this.putQueryParameter("ClusterId", clusterId);
this.clusterId = clusterId;
return this;
}
/**
* EndTime.
*/
public Builder endTime(Long endTime) {
this.putQueryParameter("EndTime", endTime);
this.endTime = endTime;
return this;
}
/**
* Event.
*/
public Builder event(String event) {
this.putQueryParameter("Event", event);
this.event = event;
return this;
}
/**
* JobExecutionId.
*/
public Builder jobExecutionId(Long jobExecutionId) {
this.putQueryParameter("JobExecutionId", jobExecutionId);
this.jobExecutionId = jobExecutionId;
return this;
}
/**
* JobName.
*/
public Builder jobName(String jobName) {
this.putQueryParameter("JobName", jobName);
this.jobName = jobName;
return this;
}
/**
* Keyword.
*/
public Builder keyword(String keyword) {
this.putQueryParameter("Keyword", keyword);
this.keyword = keyword;
return this;
}
/**
* PageNum.
*/
public Builder pageNum(Integer pageNum) {
this.putQueryParameter("PageNum", pageNum);
this.pageNum = pageNum;
return this;
}
/**
* PageSize.
*/
public Builder pageSize(Integer pageSize) {
this.putQueryParameter("PageSize", pageSize);
this.pageSize = pageSize;
return this;
}
/**
* Reverse.
*/
public Builder reverse(Boolean reverse) {
this.putQueryParameter("Reverse", reverse);
this.reverse = reverse;
return this;
}
/**
* StartTime.
*/
public Builder startTime(Long startTime) {
this.putQueryParameter("StartTime", startTime);
this.startTime = startTime;
return this;
}
@Override
public GetLogEventRequest build() {
return new GetLogEventRequest(this);
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-schedulerx320240624/1.0.10/com/aliyun/sdk/service/schedulerx320240624 | java-sources/com/aliyun/alibabacloud-schedulerx320240624/1.0.10/com/aliyun/sdk/service/schedulerx320240624/models/GetLogEventResponse.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.schedulerx320240624.models;
import com.aliyun.sdk.gateway.pop.*;
import darabonba.core.*;
import darabonba.core.async.*;
import darabonba.core.sync.*;
import darabonba.core.client.*;
import darabonba.core.RequestModel;
import darabonba.core.TeaModel;
import com.aliyun.sdk.gateway.pop.models.*;
/**
*
* {@link GetLogEventResponse} extends {@link TeaModel}
*
* <p>GetLogEventResponse</p>
*/
public class GetLogEventResponse extends Response {
@com.aliyun.core.annotation.NameInMap("headers")
private java.util.Map<String, String> headers;
@com.aliyun.core.annotation.NameInMap("statusCode")
private Integer statusCode;
@com.aliyun.core.annotation.NameInMap("body")
private GetLogEventResponseBody body;
private GetLogEventResponse(BuilderImpl builder) {
super(builder);
this.headers = builder.headers;
this.statusCode = builder.statusCode;
this.body = builder.body;
}
public static GetLogEventResponse create() {
return new BuilderImpl().build();
}
@Override
public Builder toBuilder() {
return new BuilderImpl(this);
}
/**
* @return headers
*/
public java.util.Map<String, String> getHeaders() {
return this.headers;
}
/**
* @return statusCode
*/
public Integer getStatusCode() {
return this.statusCode;
}
/**
* @return body
*/
public GetLogEventResponseBody getBody() {
return this.body;
}
public interface Builder extends Response.Builder<GetLogEventResponse, Builder> {
Builder headers(java.util.Map<String, String> headers);
Builder statusCode(Integer statusCode);
Builder body(GetLogEventResponseBody body);
@Override
GetLogEventResponse build();
}
private static final class BuilderImpl
extends Response.BuilderImpl<GetLogEventResponse, Builder>
implements Builder {
private java.util.Map<String, String> headers;
private Integer statusCode;
private GetLogEventResponseBody body;
private BuilderImpl() {
super();
}
private BuilderImpl(GetLogEventResponse response) {
super(response);
this.headers = response.headers;
this.statusCode = response.statusCode;
this.body = response.body;
}
/**
* headers.
*/
@Override
public Builder headers(java.util.Map<String, String> headers) {
this.headers = headers;
return this;
}
/**
* statusCode.
*/
@Override
public Builder statusCode(Integer statusCode) {
this.statusCode = statusCode;
return this;
}
/**
* body.
*/
@Override
public Builder body(GetLogEventResponseBody body) {
this.body = body;
return this;
}
@Override
public GetLogEventResponse build() {
return new GetLogEventResponse(this);
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-schedulerx320240624/1.0.10/com/aliyun/sdk/service/schedulerx320240624 | java-sources/com/aliyun/alibabacloud-schedulerx320240624/1.0.10/com/aliyun/sdk/service/schedulerx320240624/models/GetLogEventResponseBody.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.schedulerx320240624.models;
import com.aliyun.sdk.gateway.pop.*;
import darabonba.core.*;
import darabonba.core.async.*;
import darabonba.core.sync.*;
import darabonba.core.client.*;
import darabonba.core.RequestModel;
import darabonba.core.TeaModel;
import com.aliyun.sdk.gateway.pop.models.*;
/**
*
* {@link GetLogEventResponseBody} extends {@link TeaModel}
*
* <p>GetLogEventResponseBody</p>
*/
public class GetLogEventResponseBody extends TeaModel {
@com.aliyun.core.annotation.NameInMap("Code")
private Integer code;
@com.aliyun.core.annotation.NameInMap("Data")
private Data data;
@com.aliyun.core.annotation.NameInMap("Message")
private String message;
@com.aliyun.core.annotation.NameInMap("RequestId")
private String requestId;
@com.aliyun.core.annotation.NameInMap("Success")
private Boolean success;
private GetLogEventResponseBody(Builder builder) {
this.code = builder.code;
this.data = builder.data;
this.message = builder.message;
this.requestId = builder.requestId;
this.success = builder.success;
}
public static Builder builder() {
return new Builder();
}
public static GetLogEventResponseBody create() {
return builder().build();
}
public Builder toBuilder() {
return new Builder(this);
}
/**
* @return code
*/
public Integer getCode() {
return this.code;
}
/**
* @return data
*/
public Data getData() {
return this.data;
}
/**
* @return message
*/
public String getMessage() {
return this.message;
}
/**
* @return requestId
*/
public String getRequestId() {
return this.requestId;
}
/**
* @return success
*/
public Boolean getSuccess() {
return this.success;
}
public static final class Builder {
private Integer code;
private Data data;
private String message;
private String requestId;
private Boolean success;
private Builder() {
}
private Builder(GetLogEventResponseBody model) {
this.code = model.code;
this.data = model.data;
this.message = model.message;
this.requestId = model.requestId;
this.success = model.success;
}
/**
* Code.
*/
public Builder code(Integer code) {
this.code = code;
return this;
}
/**
* <ul>
* <li></li>
* </ul>
*/
public Builder data(Data data) {
this.data = data;
return this;
}
/**
* Message.
*/
public Builder message(String message) {
this.message = message;
return this;
}
/**
* RequestId.
*/
public Builder requestId(String requestId) {
this.requestId = requestId;
return this;
}
/**
* Success.
*/
public Builder success(Boolean success) {
this.success = success;
return this;
}
public GetLogEventResponseBody build() {
return new GetLogEventResponseBody(this);
}
}
/**
*
* {@link GetLogEventResponseBody} extends {@link TeaModel}
*
* <p>GetLogEventResponseBody</p>
*/
public static class Records extends TeaModel {
@com.aliyun.core.annotation.NameInMap("AppName")
private String appName;
@com.aliyun.core.annotation.NameInMap("Content")
private String content;
@com.aliyun.core.annotation.NameInMap("Event")
private String event;
@com.aliyun.core.annotation.NameInMap("JobExecutionId")
private String jobExecutionId;
@com.aliyun.core.annotation.NameInMap("JobName")
private String jobName;
@com.aliyun.core.annotation.NameInMap("Time")
private String time;
@com.aliyun.core.annotation.NameInMap("WorkerAddr")
private String workerAddr;
private Records(Builder builder) {
this.appName = builder.appName;
this.content = builder.content;
this.event = builder.event;
this.jobExecutionId = builder.jobExecutionId;
this.jobName = builder.jobName;
this.time = builder.time;
this.workerAddr = builder.workerAddr;
}
public static Builder builder() {
return new Builder();
}
public static Records create() {
return builder().build();
}
/**
* @return appName
*/
public String getAppName() {
return this.appName;
}
/**
* @return content
*/
public String getContent() {
return this.content;
}
/**
* @return event
*/
public String getEvent() {
return this.event;
}
/**
* @return jobExecutionId
*/
public String getJobExecutionId() {
return this.jobExecutionId;
}
/**
* @return jobName
*/
public String getJobName() {
return this.jobName;
}
/**
* @return time
*/
public String getTime() {
return this.time;
}
/**
* @return workerAddr
*/
public String getWorkerAddr() {
return this.workerAddr;
}
public static final class Builder {
private String appName;
private String content;
private String event;
private String jobExecutionId;
private String jobName;
private String time;
private String workerAddr;
private Builder() {
}
private Builder(Records model) {
this.appName = model.appName;
this.content = model.content;
this.event = model.event;
this.jobExecutionId = model.jobExecutionId;
this.jobName = model.jobName;
this.time = model.time;
this.workerAddr = model.workerAddr;
}
/**
* AppName.
*/
public Builder appName(String appName) {
this.appName = appName;
return this;
}
/**
* Content.
*/
public Builder content(String content) {
this.content = content;
return this;
}
/**
* Event.
*/
public Builder event(String event) {
this.event = event;
return this;
}
/**
* JobExecutionId.
*/
public Builder jobExecutionId(String jobExecutionId) {
this.jobExecutionId = jobExecutionId;
return this;
}
/**
* JobName.
*/
public Builder jobName(String jobName) {
this.jobName = jobName;
return this;
}
/**
* Time.
*/
public Builder time(String time) {
this.time = time;
return this;
}
/**
* WorkerAddr.
*/
public Builder workerAddr(String workerAddr) {
this.workerAddr = workerAddr;
return this;
}
public Records build() {
return new Records(this);
}
}
}
/**
*
* {@link GetLogEventResponseBody} extends {@link TeaModel}
*
* <p>GetLogEventResponseBody</p>
*/
public static class Data extends TeaModel {
@com.aliyun.core.annotation.NameInMap("PageNumber")
private Integer pageNumber;
@com.aliyun.core.annotation.NameInMap("PageSize")
private Integer pageSize;
@com.aliyun.core.annotation.NameInMap("Records")
private java.util.List<Records> records;
@com.aliyun.core.annotation.NameInMap("Total")
private Long total;
private Data(Builder builder) {
this.pageNumber = builder.pageNumber;
this.pageSize = builder.pageSize;
this.records = builder.records;
this.total = builder.total;
}
public static Builder builder() {
return new Builder();
}
public static Data create() {
return builder().build();
}
/**
* @return pageNumber
*/
public Integer getPageNumber() {
return this.pageNumber;
}
/**
* @return pageSize
*/
public Integer getPageSize() {
return this.pageSize;
}
/**
* @return records
*/
public java.util.List<Records> getRecords() {
return this.records;
}
/**
* @return total
*/
public Long getTotal() {
return this.total;
}
public static final class Builder {
private Integer pageNumber;
private Integer pageSize;
private java.util.List<Records> records;
private Long total;
private Builder() {
}
private Builder(Data model) {
this.pageNumber = model.pageNumber;
this.pageSize = model.pageSize;
this.records = model.records;
this.total = model.total;
}
/**
* PageNumber.
*/
public Builder pageNumber(Integer pageNumber) {
this.pageNumber = pageNumber;
return this;
}
/**
* PageSize.
*/
public Builder pageSize(Integer pageSize) {
this.pageSize = pageSize;
return this;
}
/**
* <ul>
* <li></li>
* </ul>
*/
public Builder records(java.util.List<Records> records) {
this.records = records;
return this;
}
/**
* Total.
*/
public Builder total(Long total) {
this.total = total;
return this;
}
public Data build() {
return new Data(this);
}
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-schedulerx320240624/1.0.10/com/aliyun/sdk/service/schedulerx320240624 | java-sources/com/aliyun/alibabacloud-schedulerx320240624/1.0.10/com/aliyun/sdk/service/schedulerx320240624/models/GetLogRequest.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.schedulerx320240624.models;
import com.aliyun.sdk.gateway.pop.*;
import darabonba.core.*;
import darabonba.core.async.*;
import darabonba.core.sync.*;
import darabonba.core.client.*;
import darabonba.core.RequestModel;
import darabonba.core.TeaModel;
import com.aliyun.sdk.gateway.pop.models.*;
/**
*
* {@link GetLogRequest} extends {@link RequestModel}
*
* <p>GetLogRequest</p>
*/
public class GetLogRequest extends Request {
@com.aliyun.core.annotation.Host
@com.aliyun.core.annotation.NameInMap("RegionId")
private String regionId;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("AppName")
private String appName;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("ClusterId")
@com.aliyun.core.annotation.Validation(required = true)
private String clusterId;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("EndTime")
private Long endTime;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("JobExecutionId")
private String jobExecutionId;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("Keyword")
private String keyword;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("Level")
private String level;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("LineNum")
private Integer lineNum;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("LogId")
private Long logId;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("Offset")
private Integer offset;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("Reverse")
private Boolean reverse;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("StartTime")
private Long startTime;
private GetLogRequest(Builder builder) {
super(builder);
this.regionId = builder.regionId;
this.appName = builder.appName;
this.clusterId = builder.clusterId;
this.endTime = builder.endTime;
this.jobExecutionId = builder.jobExecutionId;
this.keyword = builder.keyword;
this.level = builder.level;
this.lineNum = builder.lineNum;
this.logId = builder.logId;
this.offset = builder.offset;
this.reverse = builder.reverse;
this.startTime = builder.startTime;
}
public static Builder builder() {
return new Builder();
}
public static GetLogRequest create() {
return builder().build();
}
@Override
public Builder toBuilder() {
return new Builder(this);
}
/**
* @return regionId
*/
public String getRegionId() {
return this.regionId;
}
/**
* @return appName
*/
public String getAppName() {
return this.appName;
}
/**
* @return clusterId
*/
public String getClusterId() {
return this.clusterId;
}
/**
* @return endTime
*/
public Long getEndTime() {
return this.endTime;
}
/**
* @return jobExecutionId
*/
public String getJobExecutionId() {
return this.jobExecutionId;
}
/**
* @return keyword
*/
public String getKeyword() {
return this.keyword;
}
/**
* @return level
*/
public String getLevel() {
return this.level;
}
/**
* @return lineNum
*/
public Integer getLineNum() {
return this.lineNum;
}
/**
* @return logId
*/
public Long getLogId() {
return this.logId;
}
/**
* @return offset
*/
public Integer getOffset() {
return this.offset;
}
/**
* @return reverse
*/
public Boolean getReverse() {
return this.reverse;
}
/**
* @return startTime
*/
public Long getStartTime() {
return this.startTime;
}
public static final class Builder extends Request.Builder<GetLogRequest, Builder> {
private String regionId;
private String appName;
private String clusterId;
private Long endTime;
private String jobExecutionId;
private String keyword;
private String level;
private Integer lineNum;
private Long logId;
private Integer offset;
private Boolean reverse;
private Long startTime;
private Builder() {
super();
}
private Builder(GetLogRequest request) {
super(request);
this.regionId = request.regionId;
this.appName = request.appName;
this.clusterId = request.clusterId;
this.endTime = request.endTime;
this.jobExecutionId = request.jobExecutionId;
this.keyword = request.keyword;
this.level = request.level;
this.lineNum = request.lineNum;
this.logId = request.logId;
this.offset = request.offset;
this.reverse = request.reverse;
this.startTime = request.startTime;
}
/**
* RegionId.
*/
public Builder regionId(String regionId) {
this.putHostParameter("RegionId", regionId);
this.regionId = regionId;
return this;
}
/**
* AppName.
*/
public Builder appName(String appName) {
this.putQueryParameter("AppName", appName);
this.appName = appName;
return this;
}
/**
* <p>This parameter is required.</p>
*
* <strong>example:</strong>
* <p>xxljob-b6ec1xxxx</p>
*/
public Builder clusterId(String clusterId) {
this.putQueryParameter("ClusterId", clusterId);
this.clusterId = clusterId;
return this;
}
/**
* EndTime.
*/
public Builder endTime(Long endTime) {
this.putQueryParameter("EndTime", endTime);
this.endTime = endTime;
return this;
}
/**
* JobExecutionId.
*/
public Builder jobExecutionId(String jobExecutionId) {
this.putQueryParameter("JobExecutionId", jobExecutionId);
this.jobExecutionId = jobExecutionId;
return this;
}
/**
* Keyword.
*/
public Builder keyword(String keyword) {
this.putQueryParameter("Keyword", keyword);
this.keyword = keyword;
return this;
}
/**
* Level.
*/
public Builder level(String level) {
this.putQueryParameter("Level", level);
this.level = level;
return this;
}
/**
* <p>LineNum</p>
*
* <strong>example:</strong>
* <p>2</p>
*/
public Builder lineNum(Integer lineNum) {
this.putQueryParameter("LineNum", lineNum);
this.lineNum = lineNum;
return this;
}
/**
* LogId.
*/
public Builder logId(Long logId) {
this.putQueryParameter("LogId", logId);
this.logId = logId;
return this;
}
/**
* Offset.
*/
public Builder offset(Integer offset) {
this.putQueryParameter("Offset", offset);
this.offset = offset;
return this;
}
/**
* Reverse.
*/
public Builder reverse(Boolean reverse) {
this.putQueryParameter("Reverse", reverse);
this.reverse = reverse;
return this;
}
/**
* StartTime.
*/
public Builder startTime(Long startTime) {
this.putQueryParameter("StartTime", startTime);
this.startTime = startTime;
return this;
}
@Override
public GetLogRequest build() {
return new GetLogRequest(this);
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-schedulerx320240624/1.0.10/com/aliyun/sdk/service/schedulerx320240624 | java-sources/com/aliyun/alibabacloud-schedulerx320240624/1.0.10/com/aliyun/sdk/service/schedulerx320240624/models/GetLogResponse.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.schedulerx320240624.models;
import com.aliyun.sdk.gateway.pop.*;
import darabonba.core.*;
import darabonba.core.async.*;
import darabonba.core.sync.*;
import darabonba.core.client.*;
import darabonba.core.RequestModel;
import darabonba.core.TeaModel;
import com.aliyun.sdk.gateway.pop.models.*;
/**
*
* {@link GetLogResponse} extends {@link TeaModel}
*
* <p>GetLogResponse</p>
*/
public class GetLogResponse extends Response {
@com.aliyun.core.annotation.NameInMap("headers")
private java.util.Map<String, String> headers;
@com.aliyun.core.annotation.NameInMap("statusCode")
private Integer statusCode;
@com.aliyun.core.annotation.NameInMap("body")
private GetLogResponseBody body;
private GetLogResponse(BuilderImpl builder) {
super(builder);
this.headers = builder.headers;
this.statusCode = builder.statusCode;
this.body = builder.body;
}
public static GetLogResponse create() {
return new BuilderImpl().build();
}
@Override
public Builder toBuilder() {
return new BuilderImpl(this);
}
/**
* @return headers
*/
public java.util.Map<String, String> getHeaders() {
return this.headers;
}
/**
* @return statusCode
*/
public Integer getStatusCode() {
return this.statusCode;
}
/**
* @return body
*/
public GetLogResponseBody getBody() {
return this.body;
}
public interface Builder extends Response.Builder<GetLogResponse, Builder> {
Builder headers(java.util.Map<String, String> headers);
Builder statusCode(Integer statusCode);
Builder body(GetLogResponseBody body);
@Override
GetLogResponse build();
}
private static final class BuilderImpl
extends Response.BuilderImpl<GetLogResponse, Builder>
implements Builder {
private java.util.Map<String, String> headers;
private Integer statusCode;
private GetLogResponseBody body;
private BuilderImpl() {
super();
}
private BuilderImpl(GetLogResponse response) {
super(response);
this.headers = response.headers;
this.statusCode = response.statusCode;
this.body = response.body;
}
/**
* headers.
*/
@Override
public Builder headers(java.util.Map<String, String> headers) {
this.headers = headers;
return this;
}
/**
* statusCode.
*/
@Override
public Builder statusCode(Integer statusCode) {
this.statusCode = statusCode;
return this;
}
/**
* body.
*/
@Override
public Builder body(GetLogResponseBody body) {
this.body = body;
return this;
}
@Override
public GetLogResponse build() {
return new GetLogResponse(this);
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-schedulerx320240624/1.0.10/com/aliyun/sdk/service/schedulerx320240624 | java-sources/com/aliyun/alibabacloud-schedulerx320240624/1.0.10/com/aliyun/sdk/service/schedulerx320240624/models/GetLogResponseBody.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.schedulerx320240624.models;
import com.aliyun.sdk.gateway.pop.*;
import darabonba.core.*;
import darabonba.core.async.*;
import darabonba.core.sync.*;
import darabonba.core.client.*;
import darabonba.core.RequestModel;
import darabonba.core.TeaModel;
import com.aliyun.sdk.gateway.pop.models.*;
/**
*
* {@link GetLogResponseBody} extends {@link TeaModel}
*
* <p>GetLogResponseBody</p>
*/
public class GetLogResponseBody extends TeaModel {
@com.aliyun.core.annotation.NameInMap("Code")
private Integer code;
@com.aliyun.core.annotation.NameInMap("Data")
private java.util.List<String> data;
@com.aliyun.core.annotation.NameInMap("Message")
private String message;
@com.aliyun.core.annotation.NameInMap("RequestId")
private String requestId;
@com.aliyun.core.annotation.NameInMap("Success")
private Boolean success;
private GetLogResponseBody(Builder builder) {
this.code = builder.code;
this.data = builder.data;
this.message = builder.message;
this.requestId = builder.requestId;
this.success = builder.success;
}
public static Builder builder() {
return new Builder();
}
public static GetLogResponseBody create() {
return builder().build();
}
public Builder toBuilder() {
return new Builder(this);
}
/**
* @return code
*/
public Integer getCode() {
return this.code;
}
/**
* @return data
*/
public java.util.List<String> getData() {
return this.data;
}
/**
* @return message
*/
public String getMessage() {
return this.message;
}
/**
* @return requestId
*/
public String getRequestId() {
return this.requestId;
}
/**
* @return success
*/
public Boolean getSuccess() {
return this.success;
}
public static final class Builder {
private Integer code;
private java.util.List<String> data;
private String message;
private String requestId;
private Boolean success;
private Builder() {
}
private Builder(GetLogResponseBody model) {
this.code = model.code;
this.data = model.data;
this.message = model.message;
this.requestId = model.requestId;
this.success = model.success;
}
/**
* Code.
*/
public Builder code(Integer code) {
this.code = code;
return this;
}
/**
* <ul>
* <li></li>
* </ul>
*/
public Builder data(java.util.List<String> data) {
this.data = data;
return this;
}
/**
* Message.
*/
public Builder message(String message) {
this.message = message;
return this;
}
/**
* RequestId.
*/
public Builder requestId(String requestId) {
this.requestId = requestId;
return this;
}
/**
* Success.
*/
public Builder success(Boolean success) {
this.success = success;
return this;
}
public GetLogResponseBody build() {
return new GetLogResponseBody(this);
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-schedulerx320240624/1.0.10/com/aliyun/sdk/service/schedulerx320240624 | java-sources/com/aliyun/alibabacloud-schedulerx320240624/1.0.10/com/aliyun/sdk/service/schedulerx320240624/models/ImportCalendarRequest.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.schedulerx320240624.models;
import com.aliyun.sdk.gateway.pop.*;
import darabonba.core.*;
import darabonba.core.async.*;
import darabonba.core.sync.*;
import darabonba.core.client.*;
import darabonba.core.RequestModel;
import darabonba.core.TeaModel;
import com.aliyun.sdk.gateway.pop.models.*;
/**
*
* {@link ImportCalendarRequest} extends {@link RequestModel}
*
* <p>ImportCalendarRequest</p>
*/
public class ImportCalendarRequest extends Request {
@com.aliyun.core.annotation.Host
@com.aliyun.core.annotation.NameInMap("RegionId")
private String regionId;
@com.aliyun.core.annotation.Body
@com.aliyun.core.annotation.NameInMap("ClusterId")
@com.aliyun.core.annotation.Validation(required = true)
private String clusterId;
@com.aliyun.core.annotation.Body
@com.aliyun.core.annotation.NameInMap("Months")
@com.aliyun.core.annotation.Validation(required = true)
private String months;
@com.aliyun.core.annotation.Body
@com.aliyun.core.annotation.NameInMap("Name")
@com.aliyun.core.annotation.Validation(required = true)
private String name;
@com.aliyun.core.annotation.Body
@com.aliyun.core.annotation.NameInMap("Year")
@com.aliyun.core.annotation.Validation(required = true)
private Integer year;
private ImportCalendarRequest(Builder builder) {
super(builder);
this.regionId = builder.regionId;
this.clusterId = builder.clusterId;
this.months = builder.months;
this.name = builder.name;
this.year = builder.year;
}
public static Builder builder() {
return new Builder();
}
public static ImportCalendarRequest create() {
return builder().build();
}
@Override
public Builder toBuilder() {
return new Builder(this);
}
/**
* @return regionId
*/
public String getRegionId() {
return this.regionId;
}
/**
* @return clusterId
*/
public String getClusterId() {
return this.clusterId;
}
/**
* @return months
*/
public String getMonths() {
return this.months;
}
/**
* @return name
*/
public String getName() {
return this.name;
}
/**
* @return year
*/
public Integer getYear() {
return this.year;
}
public static final class Builder extends Request.Builder<ImportCalendarRequest, Builder> {
private String regionId;
private String clusterId;
private String months;
private String name;
private Integer year;
private Builder() {
super();
}
private Builder(ImportCalendarRequest request) {
super(request);
this.regionId = request.regionId;
this.clusterId = request.clusterId;
this.months = request.months;
this.name = request.name;
this.year = request.year;
}
/**
* RegionId.
*/
public Builder regionId(String regionId) {
this.putHostParameter("RegionId", regionId);
this.regionId = regionId;
return this;
}
/**
* <p>This parameter is required.</p>
*
* <strong>example:</strong>
* <p>xxljob-b6ec1xxxx</p>
*/
public Builder clusterId(String clusterId) {
this.putBodyParameter("ClusterId", clusterId);
this.clusterId = clusterId;
return this;
}
/**
* <p>This parameter is required.</p>
*
* <strong>example:</strong>
* <p>[{"month":1,"days":[3,4,5,6,9,10,11,12,13,16,17,18,19,20,28,29,30,31]},{"month":2,"days":[1,2,3,6,7,8,9,10,13,14,15,16,17,20,21,22,23,24,27,28]},{"month":3,"days":[1,2,3,6,7,8,9,10,13,14,15,16,17,20,21,22,23,24,27,28,29,30,31]},{"month":4,"days":[3,4,6,7,10,11,12,13,14,17,18,19,20,21,23,24,25,26,27,28]},{"month":5,"days":[4,5,6,8,9,10,11,12,15,16,17,18,19,22,23,24,25,26,29,30,31]},{"month":6,"days":[1,2,5,6,7,8,9,12,13,14,15,16,19,20,21,25,26,27,28,29,30]},{"month":7,"days":[3,4,5,6,7,10,11,12,13,14,17,18,19,20,21,24,25,26,27,28,31]},{"month":8,"days":[1,2,3,4,7,8,9,10,11,14,15,16,17,18,21,22,23,24,25,28,29,30,31]},{"month":9,"days":[1,4,5,6,7,8,11,12,13,14,15,18,19,20,21,22,25,26,27,28]},{"month":10,"days":[7,8,9,10,11,12,13,16,17,18,19,20,23,24,25,26,27,30,31]},{"month":11,"days":[1,2,3,6,7,8,9,10,13,14,15,16,17,20,21,22,23,24,27,28,29,30]},{"month":12,"days":[1,4,5,6,7,8,11,12,13,14,15,18,19,20,21,22,25,26,27,28,29]}]</p>
*/
public Builder months(String months) {
this.putBodyParameter("Months", months);
this.months = months;
return this;
}
/**
* <p>This parameter is required.</p>
*
* <strong>example:</strong>
* <p>workday</p>
*/
public Builder name(String name) {
this.putBodyParameter("Name", name);
this.name = name;
return this;
}
/**
* <p>This parameter is required.</p>
*
* <strong>example:</strong>
* <p>2024</p>
*/
public Builder year(Integer year) {
this.putBodyParameter("Year", year);
this.year = year;
return this;
}
@Override
public ImportCalendarRequest build() {
return new ImportCalendarRequest(this);
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-schedulerx320240624/1.0.10/com/aliyun/sdk/service/schedulerx320240624 | java-sources/com/aliyun/alibabacloud-schedulerx320240624/1.0.10/com/aliyun/sdk/service/schedulerx320240624/models/ImportCalendarResponse.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.schedulerx320240624.models;
import com.aliyun.sdk.gateway.pop.*;
import darabonba.core.*;
import darabonba.core.async.*;
import darabonba.core.sync.*;
import darabonba.core.client.*;
import darabonba.core.RequestModel;
import darabonba.core.TeaModel;
import com.aliyun.sdk.gateway.pop.models.*;
/**
*
* {@link ImportCalendarResponse} extends {@link TeaModel}
*
* <p>ImportCalendarResponse</p>
*/
public class ImportCalendarResponse extends Response {
@com.aliyun.core.annotation.NameInMap("headers")
private java.util.Map<String, String> headers;
@com.aliyun.core.annotation.NameInMap("statusCode")
private Integer statusCode;
@com.aliyun.core.annotation.NameInMap("body")
private ImportCalendarResponseBody body;
private ImportCalendarResponse(BuilderImpl builder) {
super(builder);
this.headers = builder.headers;
this.statusCode = builder.statusCode;
this.body = builder.body;
}
public static ImportCalendarResponse create() {
return new BuilderImpl().build();
}
@Override
public Builder toBuilder() {
return new BuilderImpl(this);
}
/**
* @return headers
*/
public java.util.Map<String, String> getHeaders() {
return this.headers;
}
/**
* @return statusCode
*/
public Integer getStatusCode() {
return this.statusCode;
}
/**
* @return body
*/
public ImportCalendarResponseBody getBody() {
return this.body;
}
public interface Builder extends Response.Builder<ImportCalendarResponse, Builder> {
Builder headers(java.util.Map<String, String> headers);
Builder statusCode(Integer statusCode);
Builder body(ImportCalendarResponseBody body);
@Override
ImportCalendarResponse build();
}
private static final class BuilderImpl
extends Response.BuilderImpl<ImportCalendarResponse, Builder>
implements Builder {
private java.util.Map<String, String> headers;
private Integer statusCode;
private ImportCalendarResponseBody body;
private BuilderImpl() {
super();
}
private BuilderImpl(ImportCalendarResponse response) {
super(response);
this.headers = response.headers;
this.statusCode = response.statusCode;
this.body = response.body;
}
/**
* headers.
*/
@Override
public Builder headers(java.util.Map<String, String> headers) {
this.headers = headers;
return this;
}
/**
* statusCode.
*/
@Override
public Builder statusCode(Integer statusCode) {
this.statusCode = statusCode;
return this;
}
/**
* body.
*/
@Override
public Builder body(ImportCalendarResponseBody body) {
this.body = body;
return this;
}
@Override
public ImportCalendarResponse build() {
return new ImportCalendarResponse(this);
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-schedulerx320240624/1.0.10/com/aliyun/sdk/service/schedulerx320240624 | java-sources/com/aliyun/alibabacloud-schedulerx320240624/1.0.10/com/aliyun/sdk/service/schedulerx320240624/models/ImportCalendarResponseBody.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.schedulerx320240624.models;
import com.aliyun.sdk.gateway.pop.*;
import darabonba.core.*;
import darabonba.core.async.*;
import darabonba.core.sync.*;
import darabonba.core.client.*;
import darabonba.core.RequestModel;
import darabonba.core.TeaModel;
import com.aliyun.sdk.gateway.pop.models.*;
/**
*
* {@link ImportCalendarResponseBody} extends {@link TeaModel}
*
* <p>ImportCalendarResponseBody</p>
*/
public class ImportCalendarResponseBody extends TeaModel {
@com.aliyun.core.annotation.NameInMap("Code")
private Integer code;
@com.aliyun.core.annotation.NameInMap("Data")
private java.util.List<String> data;
@com.aliyun.core.annotation.NameInMap("Message")
private String message;
@com.aliyun.core.annotation.NameInMap("RequestId")
private String requestId;
@com.aliyun.core.annotation.NameInMap("Success")
private Boolean success;
private ImportCalendarResponseBody(Builder builder) {
this.code = builder.code;
this.data = builder.data;
this.message = builder.message;
this.requestId = builder.requestId;
this.success = builder.success;
}
public static Builder builder() {
return new Builder();
}
public static ImportCalendarResponseBody create() {
return builder().build();
}
public Builder toBuilder() {
return new Builder(this);
}
/**
* @return code
*/
public Integer getCode() {
return this.code;
}
/**
* @return data
*/
public java.util.List<String> getData() {
return this.data;
}
/**
* @return message
*/
public String getMessage() {
return this.message;
}
/**
* @return requestId
*/
public String getRequestId() {
return this.requestId;
}
/**
* @return success
*/
public Boolean getSuccess() {
return this.success;
}
public static final class Builder {
private Integer code;
private java.util.List<String> data;
private String message;
private String requestId;
private Boolean success;
private Builder() {
}
private Builder(ImportCalendarResponseBody model) {
this.code = model.code;
this.data = model.data;
this.message = model.message;
this.requestId = model.requestId;
this.success = model.success;
}
/**
* Code.
*/
public Builder code(Integer code) {
this.code = code;
return this;
}
/**
* <ul>
* <li></li>
* </ul>
*/
public Builder data(java.util.List<String> data) {
this.data = data;
return this;
}
/**
* Message.
*/
public Builder message(String message) {
this.message = message;
return this;
}
/**
* RequestId.
*/
public Builder requestId(String requestId) {
this.requestId = requestId;
return this;
}
/**
* Success.
*/
public Builder success(Boolean success) {
this.success = success;
return this;
}
public ImportCalendarResponseBody build() {
return new ImportCalendarResponseBody(this);
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-schedulerx320240624/1.0.10/com/aliyun/sdk/service/schedulerx320240624 | java-sources/com/aliyun/alibabacloud-schedulerx320240624/1.0.10/com/aliyun/sdk/service/schedulerx320240624/models/ImportJobsRequest.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.schedulerx320240624.models;
import com.aliyun.sdk.gateway.pop.*;
import darabonba.core.*;
import darabonba.core.async.*;
import darabonba.core.sync.*;
import darabonba.core.client.*;
import darabonba.core.RequestModel;
import darabonba.core.TeaModel;
import com.aliyun.sdk.gateway.pop.models.*;
/**
*
* {@link ImportJobsRequest} extends {@link RequestModel}
*
* <p>ImportJobsRequest</p>
*/
public class ImportJobsRequest extends Request {
@com.aliyun.core.annotation.Host
@com.aliyun.core.annotation.NameInMap("RegionId")
private String regionId;
@com.aliyun.core.annotation.Body
@com.aliyun.core.annotation.NameInMap("AutoCreateApp")
private Boolean autoCreateApp;
@com.aliyun.core.annotation.Body
@com.aliyun.core.annotation.NameInMap("ClusterId")
@com.aliyun.core.annotation.Validation(required = true)
private String clusterId;
@com.aliyun.core.annotation.Body
@com.aliyun.core.annotation.NameInMap("Content")
private String content;
@com.aliyun.core.annotation.Body
@com.aliyun.core.annotation.NameInMap("Overwrite")
private Boolean overwrite;
private ImportJobsRequest(Builder builder) {
super(builder);
this.regionId = builder.regionId;
this.autoCreateApp = builder.autoCreateApp;
this.clusterId = builder.clusterId;
this.content = builder.content;
this.overwrite = builder.overwrite;
}
public static Builder builder() {
return new Builder();
}
public static ImportJobsRequest create() {
return builder().build();
}
@Override
public Builder toBuilder() {
return new Builder(this);
}
/**
* @return regionId
*/
public String getRegionId() {
return this.regionId;
}
/**
* @return autoCreateApp
*/
public Boolean getAutoCreateApp() {
return this.autoCreateApp;
}
/**
* @return clusterId
*/
public String getClusterId() {
return this.clusterId;
}
/**
* @return content
*/
public String getContent() {
return this.content;
}
/**
* @return overwrite
*/
public Boolean getOverwrite() {
return this.overwrite;
}
public static final class Builder extends Request.Builder<ImportJobsRequest, Builder> {
private String regionId;
private Boolean autoCreateApp;
private String clusterId;
private String content;
private Boolean overwrite;
private Builder() {
super();
}
private Builder(ImportJobsRequest request) {
super(request);
this.regionId = request.regionId;
this.autoCreateApp = request.autoCreateApp;
this.clusterId = request.clusterId;
this.content = request.content;
this.overwrite = request.overwrite;
}
/**
* RegionId.
*/
public Builder regionId(String regionId) {
this.putHostParameter("RegionId", regionId);
this.regionId = regionId;
return this;
}
/**
* AutoCreateApp.
*/
public Builder autoCreateApp(Boolean autoCreateApp) {
this.putBodyParameter("AutoCreateApp", autoCreateApp);
this.autoCreateApp = autoCreateApp;
return this;
}
/**
* <p>This parameter is required.</p>
*
* <strong>example:</strong>
* <p>xxljob-b6ec1xxxx</p>
*/
public Builder clusterId(String clusterId) {
this.putBodyParameter("ClusterId", clusterId);
this.clusterId = clusterId;
return this;
}
/**
* Content.
*/
public Builder content(String content) {
this.putBodyParameter("Content", content);
this.content = content;
return this;
}
/**
* Overwrite.
*/
public Builder overwrite(Boolean overwrite) {
this.putBodyParameter("Overwrite", overwrite);
this.overwrite = overwrite;
return this;
}
@Override
public ImportJobsRequest build() {
return new ImportJobsRequest(this);
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-schedulerx320240624/1.0.10/com/aliyun/sdk/service/schedulerx320240624 | java-sources/com/aliyun/alibabacloud-schedulerx320240624/1.0.10/com/aliyun/sdk/service/schedulerx320240624/models/ImportJobsResponse.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.schedulerx320240624.models;
import com.aliyun.sdk.gateway.pop.*;
import darabonba.core.*;
import darabonba.core.async.*;
import darabonba.core.sync.*;
import darabonba.core.client.*;
import darabonba.core.RequestModel;
import darabonba.core.TeaModel;
import com.aliyun.sdk.gateway.pop.models.*;
/**
*
* {@link ImportJobsResponse} extends {@link TeaModel}
*
* <p>ImportJobsResponse</p>
*/
public class ImportJobsResponse extends Response {
@com.aliyun.core.annotation.NameInMap("headers")
private java.util.Map<String, String> headers;
@com.aliyun.core.annotation.NameInMap("statusCode")
private Integer statusCode;
@com.aliyun.core.annotation.NameInMap("body")
private ImportJobsResponseBody body;
private ImportJobsResponse(BuilderImpl builder) {
super(builder);
this.headers = builder.headers;
this.statusCode = builder.statusCode;
this.body = builder.body;
}
public static ImportJobsResponse create() {
return new BuilderImpl().build();
}
@Override
public Builder toBuilder() {
return new BuilderImpl(this);
}
/**
* @return headers
*/
public java.util.Map<String, String> getHeaders() {
return this.headers;
}
/**
* @return statusCode
*/
public Integer getStatusCode() {
return this.statusCode;
}
/**
* @return body
*/
public ImportJobsResponseBody getBody() {
return this.body;
}
public interface Builder extends Response.Builder<ImportJobsResponse, Builder> {
Builder headers(java.util.Map<String, String> headers);
Builder statusCode(Integer statusCode);
Builder body(ImportJobsResponseBody body);
@Override
ImportJobsResponse build();
}
private static final class BuilderImpl
extends Response.BuilderImpl<ImportJobsResponse, Builder>
implements Builder {
private java.util.Map<String, String> headers;
private Integer statusCode;
private ImportJobsResponseBody body;
private BuilderImpl() {
super();
}
private BuilderImpl(ImportJobsResponse response) {
super(response);
this.headers = response.headers;
this.statusCode = response.statusCode;
this.body = response.body;
}
/**
* headers.
*/
@Override
public Builder headers(java.util.Map<String, String> headers) {
this.headers = headers;
return this;
}
/**
* statusCode.
*/
@Override
public Builder statusCode(Integer statusCode) {
this.statusCode = statusCode;
return this;
}
/**
* body.
*/
@Override
public Builder body(ImportJobsResponseBody body) {
this.body = body;
return this;
}
@Override
public ImportJobsResponse build() {
return new ImportJobsResponse(this);
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-schedulerx320240624/1.0.10/com/aliyun/sdk/service/schedulerx320240624 | java-sources/com/aliyun/alibabacloud-schedulerx320240624/1.0.10/com/aliyun/sdk/service/schedulerx320240624/models/ImportJobsResponseBody.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.schedulerx320240624.models;
import com.aliyun.sdk.gateway.pop.*;
import darabonba.core.*;
import darabonba.core.async.*;
import darabonba.core.sync.*;
import darabonba.core.client.*;
import darabonba.core.RequestModel;
import darabonba.core.TeaModel;
import com.aliyun.sdk.gateway.pop.models.*;
/**
*
* {@link ImportJobsResponseBody} extends {@link TeaModel}
*
* <p>ImportJobsResponseBody</p>
*/
public class ImportJobsResponseBody extends TeaModel {
@com.aliyun.core.annotation.NameInMap("Code")
private Integer code;
@com.aliyun.core.annotation.NameInMap("Message")
private String message;
@com.aliyun.core.annotation.NameInMap("RequestId")
private String requestId;
@com.aliyun.core.annotation.NameInMap("Success")
private Boolean success;
private ImportJobsResponseBody(Builder builder) {
this.code = builder.code;
this.message = builder.message;
this.requestId = builder.requestId;
this.success = builder.success;
}
public static Builder builder() {
return new Builder();
}
public static ImportJobsResponseBody create() {
return builder().build();
}
public Builder toBuilder() {
return new Builder(this);
}
/**
* @return code
*/
public Integer getCode() {
return this.code;
}
/**
* @return message
*/
public String getMessage() {
return this.message;
}
/**
* @return requestId
*/
public String getRequestId() {
return this.requestId;
}
/**
* @return success
*/
public Boolean getSuccess() {
return this.success;
}
public static final class Builder {
private Integer code;
private String message;
private String requestId;
private Boolean success;
private Builder() {
}
private Builder(ImportJobsResponseBody model) {
this.code = model.code;
this.message = model.message;
this.requestId = model.requestId;
this.success = model.success;
}
/**
* Code.
*/
public Builder code(Integer code) {
this.code = code;
return this;
}
/**
* Message.
*/
public Builder message(String message) {
this.message = message;
return this;
}
/**
* RequestId.
*/
public Builder requestId(String requestId) {
this.requestId = requestId;
return this;
}
/**
* Success.
*/
public Builder success(Boolean success) {
this.success = success;
return this;
}
public ImportJobsResponseBody build() {
return new ImportJobsResponseBody(this);
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-schedulerx320240624/1.0.10/com/aliyun/sdk/service/schedulerx320240624 | java-sources/com/aliyun/alibabacloud-schedulerx320240624/1.0.10/com/aliyun/sdk/service/schedulerx320240624/models/ListAlarmEventRequest.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.schedulerx320240624.models;
import com.aliyun.sdk.gateway.pop.*;
import darabonba.core.*;
import darabonba.core.async.*;
import darabonba.core.sync.*;
import darabonba.core.client.*;
import darabonba.core.RequestModel;
import darabonba.core.TeaModel;
import com.aliyun.sdk.gateway.pop.models.*;
/**
*
* {@link ListAlarmEventRequest} extends {@link RequestModel}
*
* <p>ListAlarmEventRequest</p>
*/
public class ListAlarmEventRequest extends Request {
@com.aliyun.core.annotation.Host
@com.aliyun.core.annotation.NameInMap("RegionId")
private String regionId;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("AlarmChannel")
private String alarmChannel;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("AlarmStatus")
private String alarmStatus;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("AlarmType")
private String alarmType;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("AppName")
private String appName;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("ClusterId")
@com.aliyun.core.annotation.Validation(required = true)
private String clusterId;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("EndTime")
private Long endTime;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("JobName")
private String jobName;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("PageNum")
private String pageNum;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("PageSize")
private String pageSize;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("Reverse")
private Boolean reverse;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("StartTime")
private Long startTime;
private ListAlarmEventRequest(Builder builder) {
super(builder);
this.regionId = builder.regionId;
this.alarmChannel = builder.alarmChannel;
this.alarmStatus = builder.alarmStatus;
this.alarmType = builder.alarmType;
this.appName = builder.appName;
this.clusterId = builder.clusterId;
this.endTime = builder.endTime;
this.jobName = builder.jobName;
this.pageNum = builder.pageNum;
this.pageSize = builder.pageSize;
this.reverse = builder.reverse;
this.startTime = builder.startTime;
}
public static Builder builder() {
return new Builder();
}
public static ListAlarmEventRequest create() {
return builder().build();
}
@Override
public Builder toBuilder() {
return new Builder(this);
}
/**
* @return regionId
*/
public String getRegionId() {
return this.regionId;
}
/**
* @return alarmChannel
*/
public String getAlarmChannel() {
return this.alarmChannel;
}
/**
* @return alarmStatus
*/
public String getAlarmStatus() {
return this.alarmStatus;
}
/**
* @return alarmType
*/
public String getAlarmType() {
return this.alarmType;
}
/**
* @return appName
*/
public String getAppName() {
return this.appName;
}
/**
* @return clusterId
*/
public String getClusterId() {
return this.clusterId;
}
/**
* @return endTime
*/
public Long getEndTime() {
return this.endTime;
}
/**
* @return jobName
*/
public String getJobName() {
return this.jobName;
}
/**
* @return pageNum
*/
public String getPageNum() {
return this.pageNum;
}
/**
* @return pageSize
*/
public String getPageSize() {
return this.pageSize;
}
/**
* @return reverse
*/
public Boolean getReverse() {
return this.reverse;
}
/**
* @return startTime
*/
public Long getStartTime() {
return this.startTime;
}
public static final class Builder extends Request.Builder<ListAlarmEventRequest, Builder> {
private String regionId;
private String alarmChannel;
private String alarmStatus;
private String alarmType;
private String appName;
private String clusterId;
private Long endTime;
private String jobName;
private String pageNum;
private String pageSize;
private Boolean reverse;
private Long startTime;
private Builder() {
super();
}
private Builder(ListAlarmEventRequest request) {
super(request);
this.regionId = request.regionId;
this.alarmChannel = request.alarmChannel;
this.alarmStatus = request.alarmStatus;
this.alarmType = request.alarmType;
this.appName = request.appName;
this.clusterId = request.clusterId;
this.endTime = request.endTime;
this.jobName = request.jobName;
this.pageNum = request.pageNum;
this.pageSize = request.pageSize;
this.reverse = request.reverse;
this.startTime = request.startTime;
}
/**
* RegionId.
*/
public Builder regionId(String regionId) {
this.putHostParameter("RegionId", regionId);
this.regionId = regionId;
return this;
}
/**
* AlarmChannel.
*/
public Builder alarmChannel(String alarmChannel) {
this.putQueryParameter("AlarmChannel", alarmChannel);
this.alarmChannel = alarmChannel;
return this;
}
/**
* AlarmStatus.
*/
public Builder alarmStatus(String alarmStatus) {
this.putQueryParameter("AlarmStatus", alarmStatus);
this.alarmStatus = alarmStatus;
return this;
}
/**
* AlarmType.
*/
public Builder alarmType(String alarmType) {
this.putQueryParameter("AlarmType", alarmType);
this.alarmType = alarmType;
return this;
}
/**
* AppName.
*/
public Builder appName(String appName) {
this.putQueryParameter("AppName", appName);
this.appName = appName;
return this;
}
/**
* <p>This parameter is required.</p>
*
* <strong>example:</strong>
* <p>xxljob-b6ec1xxxx</p>
*/
public Builder clusterId(String clusterId) {
this.putQueryParameter("ClusterId", clusterId);
this.clusterId = clusterId;
return this;
}
/**
* EndTime.
*/
public Builder endTime(Long endTime) {
this.putQueryParameter("EndTime", endTime);
this.endTime = endTime;
return this;
}
/**
* JobName.
*/
public Builder jobName(String jobName) {
this.putQueryParameter("JobName", jobName);
this.jobName = jobName;
return this;
}
/**
* PageNum.
*/
public Builder pageNum(String pageNum) {
this.putQueryParameter("PageNum", pageNum);
this.pageNum = pageNum;
return this;
}
/**
* PageSize.
*/
public Builder pageSize(String pageSize) {
this.putQueryParameter("PageSize", pageSize);
this.pageSize = pageSize;
return this;
}
/**
* Reverse.
*/
public Builder reverse(Boolean reverse) {
this.putQueryParameter("Reverse", reverse);
this.reverse = reverse;
return this;
}
/**
* StartTime.
*/
public Builder startTime(Long startTime) {
this.putQueryParameter("StartTime", startTime);
this.startTime = startTime;
return this;
}
@Override
public ListAlarmEventRequest build() {
return new ListAlarmEventRequest(this);
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-schedulerx320240624/1.0.10/com/aliyun/sdk/service/schedulerx320240624 | java-sources/com/aliyun/alibabacloud-schedulerx320240624/1.0.10/com/aliyun/sdk/service/schedulerx320240624/models/ListAlarmEventResponse.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.schedulerx320240624.models;
import com.aliyun.sdk.gateway.pop.*;
import darabonba.core.*;
import darabonba.core.async.*;
import darabonba.core.sync.*;
import darabonba.core.client.*;
import darabonba.core.RequestModel;
import darabonba.core.TeaModel;
import com.aliyun.sdk.gateway.pop.models.*;
/**
*
* {@link ListAlarmEventResponse} extends {@link TeaModel}
*
* <p>ListAlarmEventResponse</p>
*/
public class ListAlarmEventResponse extends Response {
@com.aliyun.core.annotation.NameInMap("headers")
private java.util.Map<String, String> headers;
@com.aliyun.core.annotation.NameInMap("statusCode")
private Integer statusCode;
@com.aliyun.core.annotation.NameInMap("body")
private ListAlarmEventResponseBody body;
private ListAlarmEventResponse(BuilderImpl builder) {
super(builder);
this.headers = builder.headers;
this.statusCode = builder.statusCode;
this.body = builder.body;
}
public static ListAlarmEventResponse create() {
return new BuilderImpl().build();
}
@Override
public Builder toBuilder() {
return new BuilderImpl(this);
}
/**
* @return headers
*/
public java.util.Map<String, String> getHeaders() {
return this.headers;
}
/**
* @return statusCode
*/
public Integer getStatusCode() {
return this.statusCode;
}
/**
* @return body
*/
public ListAlarmEventResponseBody getBody() {
return this.body;
}
public interface Builder extends Response.Builder<ListAlarmEventResponse, Builder> {
Builder headers(java.util.Map<String, String> headers);
Builder statusCode(Integer statusCode);
Builder body(ListAlarmEventResponseBody body);
@Override
ListAlarmEventResponse build();
}
private static final class BuilderImpl
extends Response.BuilderImpl<ListAlarmEventResponse, Builder>
implements Builder {
private java.util.Map<String, String> headers;
private Integer statusCode;
private ListAlarmEventResponseBody body;
private BuilderImpl() {
super();
}
private BuilderImpl(ListAlarmEventResponse response) {
super(response);
this.headers = response.headers;
this.statusCode = response.statusCode;
this.body = response.body;
}
/**
* headers.
*/
@Override
public Builder headers(java.util.Map<String, String> headers) {
this.headers = headers;
return this;
}
/**
* statusCode.
*/
@Override
public Builder statusCode(Integer statusCode) {
this.statusCode = statusCode;
return this;
}
/**
* body.
*/
@Override
public Builder body(ListAlarmEventResponseBody body) {
this.body = body;
return this;
}
@Override
public ListAlarmEventResponse build() {
return new ListAlarmEventResponse(this);
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-schedulerx320240624/1.0.10/com/aliyun/sdk/service/schedulerx320240624 | java-sources/com/aliyun/alibabacloud-schedulerx320240624/1.0.10/com/aliyun/sdk/service/schedulerx320240624/models/ListAlarmEventResponseBody.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.schedulerx320240624.models;
import com.aliyun.sdk.gateway.pop.*;
import darabonba.core.*;
import darabonba.core.async.*;
import darabonba.core.sync.*;
import darabonba.core.client.*;
import darabonba.core.RequestModel;
import darabonba.core.TeaModel;
import com.aliyun.sdk.gateway.pop.models.*;
/**
*
* {@link ListAlarmEventResponseBody} extends {@link TeaModel}
*
* <p>ListAlarmEventResponseBody</p>
*/
public class ListAlarmEventResponseBody extends TeaModel {
@com.aliyun.core.annotation.NameInMap("Code")
private Integer code;
@com.aliyun.core.annotation.NameInMap("Data")
private Data data;
@com.aliyun.core.annotation.NameInMap("Message")
private String message;
@com.aliyun.core.annotation.NameInMap("RequestId")
private String requestId;
@com.aliyun.core.annotation.NameInMap("Success")
private Boolean success;
private ListAlarmEventResponseBody(Builder builder) {
this.code = builder.code;
this.data = builder.data;
this.message = builder.message;
this.requestId = builder.requestId;
this.success = builder.success;
}
public static Builder builder() {
return new Builder();
}
public static ListAlarmEventResponseBody create() {
return builder().build();
}
public Builder toBuilder() {
return new Builder(this);
}
/**
* @return code
*/
public Integer getCode() {
return this.code;
}
/**
* @return data
*/
public Data getData() {
return this.data;
}
/**
* @return message
*/
public String getMessage() {
return this.message;
}
/**
* @return requestId
*/
public String getRequestId() {
return this.requestId;
}
/**
* @return success
*/
public Boolean getSuccess() {
return this.success;
}
public static final class Builder {
private Integer code;
private Data data;
private String message;
private String requestId;
private Boolean success;
private Builder() {
}
private Builder(ListAlarmEventResponseBody model) {
this.code = model.code;
this.data = model.data;
this.message = model.message;
this.requestId = model.requestId;
this.success = model.success;
}
/**
* Code.
*/
public Builder code(Integer code) {
this.code = code;
return this;
}
/**
* <ul>
* <li></li>
* </ul>
*/
public Builder data(Data data) {
this.data = data;
return this;
}
/**
* Message.
*/
public Builder message(String message) {
this.message = message;
return this;
}
/**
* RequestId.
*/
public Builder requestId(String requestId) {
this.requestId = requestId;
return this;
}
/**
* Success.
*/
public Builder success(Boolean success) {
this.success = success;
return this;
}
public ListAlarmEventResponseBody build() {
return new ListAlarmEventResponseBody(this);
}
}
/**
*
* {@link ListAlarmEventResponseBody} extends {@link TeaModel}
*
* <p>ListAlarmEventResponseBody</p>
*/
public static class Records extends TeaModel {
@com.aliyun.core.annotation.NameInMap("AlarmChannel")
private String alarmChannel;
@com.aliyun.core.annotation.NameInMap("AlarmContacts")
private String alarmContacts;
@com.aliyun.core.annotation.NameInMap("AlarmMessage")
private String alarmMessage;
@com.aliyun.core.annotation.NameInMap("AlarmStatus")
private String alarmStatus;
@com.aliyun.core.annotation.NameInMap("AlarmType")
private String alarmType;
@com.aliyun.core.annotation.NameInMap("AppName")
private String appName;
@com.aliyun.core.annotation.NameInMap("JobName")
private String jobName;
@com.aliyun.core.annotation.NameInMap("Time")
private String time;
private Records(Builder builder) {
this.alarmChannel = builder.alarmChannel;
this.alarmContacts = builder.alarmContacts;
this.alarmMessage = builder.alarmMessage;
this.alarmStatus = builder.alarmStatus;
this.alarmType = builder.alarmType;
this.appName = builder.appName;
this.jobName = builder.jobName;
this.time = builder.time;
}
public static Builder builder() {
return new Builder();
}
public static Records create() {
return builder().build();
}
/**
* @return alarmChannel
*/
public String getAlarmChannel() {
return this.alarmChannel;
}
/**
* @return alarmContacts
*/
public String getAlarmContacts() {
return this.alarmContacts;
}
/**
* @return alarmMessage
*/
public String getAlarmMessage() {
return this.alarmMessage;
}
/**
* @return alarmStatus
*/
public String getAlarmStatus() {
return this.alarmStatus;
}
/**
* @return alarmType
*/
public String getAlarmType() {
return this.alarmType;
}
/**
* @return appName
*/
public String getAppName() {
return this.appName;
}
/**
* @return jobName
*/
public String getJobName() {
return this.jobName;
}
/**
* @return time
*/
public String getTime() {
return this.time;
}
public static final class Builder {
private String alarmChannel;
private String alarmContacts;
private String alarmMessage;
private String alarmStatus;
private String alarmType;
private String appName;
private String jobName;
private String time;
private Builder() {
}
private Builder(Records model) {
this.alarmChannel = model.alarmChannel;
this.alarmContacts = model.alarmContacts;
this.alarmMessage = model.alarmMessage;
this.alarmStatus = model.alarmStatus;
this.alarmType = model.alarmType;
this.appName = model.appName;
this.jobName = model.jobName;
this.time = model.time;
}
/**
* AlarmChannel.
*/
public Builder alarmChannel(String alarmChannel) {
this.alarmChannel = alarmChannel;
return this;
}
/**
* AlarmContacts.
*/
public Builder alarmContacts(String alarmContacts) {
this.alarmContacts = alarmContacts;
return this;
}
/**
* AlarmMessage.
*/
public Builder alarmMessage(String alarmMessage) {
this.alarmMessage = alarmMessage;
return this;
}
/**
* AlarmStatus.
*/
public Builder alarmStatus(String alarmStatus) {
this.alarmStatus = alarmStatus;
return this;
}
/**
* AlarmType.
*/
public Builder alarmType(String alarmType) {
this.alarmType = alarmType;
return this;
}
/**
* AppName.
*/
public Builder appName(String appName) {
this.appName = appName;
return this;
}
/**
* JobName.
*/
public Builder jobName(String jobName) {
this.jobName = jobName;
return this;
}
/**
* Time.
*/
public Builder time(String time) {
this.time = time;
return this;
}
public Records build() {
return new Records(this);
}
}
}
/**
*
* {@link ListAlarmEventResponseBody} extends {@link TeaModel}
*
* <p>ListAlarmEventResponseBody</p>
*/
public static class Data extends TeaModel {
@com.aliyun.core.annotation.NameInMap("PageNumber")
private Integer pageNumber;
@com.aliyun.core.annotation.NameInMap("PageSize")
private Integer pageSize;
@com.aliyun.core.annotation.NameInMap("Records")
private java.util.List<Records> records;
@com.aliyun.core.annotation.NameInMap("Total")
private Long total;
private Data(Builder builder) {
this.pageNumber = builder.pageNumber;
this.pageSize = builder.pageSize;
this.records = builder.records;
this.total = builder.total;
}
public static Builder builder() {
return new Builder();
}
public static Data create() {
return builder().build();
}
/**
* @return pageNumber
*/
public Integer getPageNumber() {
return this.pageNumber;
}
/**
* @return pageSize
*/
public Integer getPageSize() {
return this.pageSize;
}
/**
* @return records
*/
public java.util.List<Records> getRecords() {
return this.records;
}
/**
* @return total
*/
public Long getTotal() {
return this.total;
}
public static final class Builder {
private Integer pageNumber;
private Integer pageSize;
private java.util.List<Records> records;
private Long total;
private Builder() {
}
private Builder(Data model) {
this.pageNumber = model.pageNumber;
this.pageSize = model.pageSize;
this.records = model.records;
this.total = model.total;
}
/**
* PageNumber.
*/
public Builder pageNumber(Integer pageNumber) {
this.pageNumber = pageNumber;
return this;
}
/**
* PageSize.
*/
public Builder pageSize(Integer pageSize) {
this.pageSize = pageSize;
return this;
}
/**
* Records.
*/
public Builder records(java.util.List<Records> records) {
this.records = records;
return this;
}
/**
* Total.
*/
public Builder total(Long total) {
this.total = total;
return this;
}
public Data build() {
return new Data(this);
}
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-schedulerx320240624/1.0.10/com/aliyun/sdk/service/schedulerx320240624 | java-sources/com/aliyun/alibabacloud-schedulerx320240624/1.0.10/com/aliyun/sdk/service/schedulerx320240624/models/ListAppNamesRequest.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.schedulerx320240624.models;
import com.aliyun.sdk.gateway.pop.*;
import darabonba.core.*;
import darabonba.core.async.*;
import darabonba.core.sync.*;
import darabonba.core.client.*;
import darabonba.core.RequestModel;
import darabonba.core.TeaModel;
import com.aliyun.sdk.gateway.pop.models.*;
/**
*
* {@link ListAppNamesRequest} extends {@link RequestModel}
*
* <p>ListAppNamesRequest</p>
*/
public class ListAppNamesRequest extends Request {
@com.aliyun.core.annotation.Host
@com.aliyun.core.annotation.NameInMap("RegionId")
private String regionId;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("AppName")
private String appName;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("ClusterId")
@com.aliyun.core.annotation.Validation(required = true)
private String clusterId;
private ListAppNamesRequest(Builder builder) {
super(builder);
this.regionId = builder.regionId;
this.appName = builder.appName;
this.clusterId = builder.clusterId;
}
public static Builder builder() {
return new Builder();
}
public static ListAppNamesRequest create() {
return builder().build();
}
@Override
public Builder toBuilder() {
return new Builder(this);
}
/**
* @return regionId
*/
public String getRegionId() {
return this.regionId;
}
/**
* @return appName
*/
public String getAppName() {
return this.appName;
}
/**
* @return clusterId
*/
public String getClusterId() {
return this.clusterId;
}
public static final class Builder extends Request.Builder<ListAppNamesRequest, Builder> {
private String regionId;
private String appName;
private String clusterId;
private Builder() {
super();
}
private Builder(ListAppNamesRequest request) {
super(request);
this.regionId = request.regionId;
this.appName = request.appName;
this.clusterId = request.clusterId;
}
/**
* RegionId.
*/
public Builder regionId(String regionId) {
this.putHostParameter("RegionId", regionId);
this.regionId = regionId;
return this;
}
/**
* AppName.
*/
public Builder appName(String appName) {
this.putQueryParameter("AppName", appName);
this.appName = appName;
return this;
}
/**
* <p>This parameter is required.</p>
*
* <strong>example:</strong>
* <p>xxljob-b6ec1xxxx</p>
*/
public Builder clusterId(String clusterId) {
this.putQueryParameter("ClusterId", clusterId);
this.clusterId = clusterId;
return this;
}
@Override
public ListAppNamesRequest build() {
return new ListAppNamesRequest(this);
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-schedulerx320240624/1.0.10/com/aliyun/sdk/service/schedulerx320240624 | java-sources/com/aliyun/alibabacloud-schedulerx320240624/1.0.10/com/aliyun/sdk/service/schedulerx320240624/models/ListAppNamesResponse.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.schedulerx320240624.models;
import com.aliyun.sdk.gateway.pop.*;
import darabonba.core.*;
import darabonba.core.async.*;
import darabonba.core.sync.*;
import darabonba.core.client.*;
import darabonba.core.RequestModel;
import darabonba.core.TeaModel;
import com.aliyun.sdk.gateway.pop.models.*;
/**
*
* {@link ListAppNamesResponse} extends {@link TeaModel}
*
* <p>ListAppNamesResponse</p>
*/
public class ListAppNamesResponse extends Response {
@com.aliyun.core.annotation.NameInMap("headers")
private java.util.Map<String, String> headers;
@com.aliyun.core.annotation.NameInMap("statusCode")
private Integer statusCode;
@com.aliyun.core.annotation.NameInMap("body")
private ListAppNamesResponseBody body;
private ListAppNamesResponse(BuilderImpl builder) {
super(builder);
this.headers = builder.headers;
this.statusCode = builder.statusCode;
this.body = builder.body;
}
public static ListAppNamesResponse create() {
return new BuilderImpl().build();
}
@Override
public Builder toBuilder() {
return new BuilderImpl(this);
}
/**
* @return headers
*/
public java.util.Map<String, String> getHeaders() {
return this.headers;
}
/**
* @return statusCode
*/
public Integer getStatusCode() {
return this.statusCode;
}
/**
* @return body
*/
public ListAppNamesResponseBody getBody() {
return this.body;
}
public interface Builder extends Response.Builder<ListAppNamesResponse, Builder> {
Builder headers(java.util.Map<String, String> headers);
Builder statusCode(Integer statusCode);
Builder body(ListAppNamesResponseBody body);
@Override
ListAppNamesResponse build();
}
private static final class BuilderImpl
extends Response.BuilderImpl<ListAppNamesResponse, Builder>
implements Builder {
private java.util.Map<String, String> headers;
private Integer statusCode;
private ListAppNamesResponseBody body;
private BuilderImpl() {
super();
}
private BuilderImpl(ListAppNamesResponse response) {
super(response);
this.headers = response.headers;
this.statusCode = response.statusCode;
this.body = response.body;
}
/**
* headers.
*/
@Override
public Builder headers(java.util.Map<String, String> headers) {
this.headers = headers;
return this;
}
/**
* statusCode.
*/
@Override
public Builder statusCode(Integer statusCode) {
this.statusCode = statusCode;
return this;
}
/**
* body.
*/
@Override
public Builder body(ListAppNamesResponseBody body) {
this.body = body;
return this;
}
@Override
public ListAppNamesResponse build() {
return new ListAppNamesResponse(this);
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-schedulerx320240624/1.0.10/com/aliyun/sdk/service/schedulerx320240624 | java-sources/com/aliyun/alibabacloud-schedulerx320240624/1.0.10/com/aliyun/sdk/service/schedulerx320240624/models/ListAppNamesResponseBody.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.schedulerx320240624.models;
import com.aliyun.sdk.gateway.pop.*;
import darabonba.core.*;
import darabonba.core.async.*;
import darabonba.core.sync.*;
import darabonba.core.client.*;
import darabonba.core.RequestModel;
import darabonba.core.TeaModel;
import com.aliyun.sdk.gateway.pop.models.*;
/**
*
* {@link ListAppNamesResponseBody} extends {@link TeaModel}
*
* <p>ListAppNamesResponseBody</p>
*/
public class ListAppNamesResponseBody extends TeaModel {
@com.aliyun.core.annotation.NameInMap("Code")
private Integer code;
@com.aliyun.core.annotation.NameInMap("Data")
private java.util.List<Data> data;
@com.aliyun.core.annotation.NameInMap("Message")
private String message;
@com.aliyun.core.annotation.NameInMap("RequestId")
private String requestId;
@com.aliyun.core.annotation.NameInMap("Success")
private Boolean success;
private ListAppNamesResponseBody(Builder builder) {
this.code = builder.code;
this.data = builder.data;
this.message = builder.message;
this.requestId = builder.requestId;
this.success = builder.success;
}
public static Builder builder() {
return new Builder();
}
public static ListAppNamesResponseBody create() {
return builder().build();
}
public Builder toBuilder() {
return new Builder(this);
}
/**
* @return code
*/
public Integer getCode() {
return this.code;
}
/**
* @return data
*/
public java.util.List<Data> getData() {
return this.data;
}
/**
* @return message
*/
public String getMessage() {
return this.message;
}
/**
* @return requestId
*/
public String getRequestId() {
return this.requestId;
}
/**
* @return success
*/
public Boolean getSuccess() {
return this.success;
}
public static final class Builder {
private Integer code;
private java.util.List<Data> data;
private String message;
private String requestId;
private Boolean success;
private Builder() {
}
private Builder(ListAppNamesResponseBody model) {
this.code = model.code;
this.data = model.data;
this.message = model.message;
this.requestId = model.requestId;
this.success = model.success;
}
/**
* Code.
*/
public Builder code(Integer code) {
this.code = code;
return this;
}
/**
* <p>.</p>
*/
public Builder data(java.util.List<Data> data) {
this.data = data;
return this;
}
/**
* Message.
*/
public Builder message(String message) {
this.message = message;
return this;
}
/**
* RequestId.
*/
public Builder requestId(String requestId) {
this.requestId = requestId;
return this;
}
/**
* Success.
*/
public Builder success(Boolean success) {
this.success = success;
return this;
}
public ListAppNamesResponseBody build() {
return new ListAppNamesResponseBody(this);
}
}
/**
*
* {@link ListAppNamesResponseBody} extends {@link TeaModel}
*
* <p>ListAppNamesResponseBody</p>
*/
public static class Data extends TeaModel {
@com.aliyun.core.annotation.NameInMap("AppGroupId")
private String appGroupId;
@com.aliyun.core.annotation.NameInMap("AppName")
private String appName;
@com.aliyun.core.annotation.NameInMap("AppType")
private Integer appType;
@com.aliyun.core.annotation.NameInMap("Id")
private Long id;
@com.aliyun.core.annotation.NameInMap("Title")
private String title;
@com.aliyun.core.annotation.NameInMap("WorkerRegistry")
private String workerRegistry;
private Data(Builder builder) {
this.appGroupId = builder.appGroupId;
this.appName = builder.appName;
this.appType = builder.appType;
this.id = builder.id;
this.title = builder.title;
this.workerRegistry = builder.workerRegistry;
}
public static Builder builder() {
return new Builder();
}
public static Data create() {
return builder().build();
}
/**
* @return appGroupId
*/
public String getAppGroupId() {
return this.appGroupId;
}
/**
* @return appName
*/
public String getAppName() {
return this.appName;
}
/**
* @return appType
*/
public Integer getAppType() {
return this.appType;
}
/**
* @return id
*/
public Long getId() {
return this.id;
}
/**
* @return title
*/
public String getTitle() {
return this.title;
}
/**
* @return workerRegistry
*/
public String getWorkerRegistry() {
return this.workerRegistry;
}
public static final class Builder {
private String appGroupId;
private String appName;
private Integer appType;
private Long id;
private String title;
private String workerRegistry;
private Builder() {
}
private Builder(Data model) {
this.appGroupId = model.appGroupId;
this.appName = model.appName;
this.appType = model.appType;
this.id = model.id;
this.title = model.title;
this.workerRegistry = model.workerRegistry;
}
/**
* AppGroupId.
*/
public Builder appGroupId(String appGroupId) {
this.appGroupId = appGroupId;
return this;
}
/**
* AppName.
*/
public Builder appName(String appName) {
this.appName = appName;
return this;
}
/**
* AppType.
*/
public Builder appType(Integer appType) {
this.appType = appType;
return this;
}
/**
* Id.
*/
public Builder id(Long id) {
this.id = id;
return this;
}
/**
* Title.
*/
public Builder title(String title) {
this.title = title;
return this;
}
/**
* WorkerRegistry.
*/
public Builder workerRegistry(String workerRegistry) {
this.workerRegistry = workerRegistry;
return this;
}
public Data build() {
return new Data(this);
}
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-schedulerx320240624/1.0.10/com/aliyun/sdk/service/schedulerx320240624 | java-sources/com/aliyun/alibabacloud-schedulerx320240624/1.0.10/com/aliyun/sdk/service/schedulerx320240624/models/ListAppsRequest.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.schedulerx320240624.models;
import com.aliyun.sdk.gateway.pop.*;
import darabonba.core.*;
import darabonba.core.async.*;
import darabonba.core.sync.*;
import darabonba.core.client.*;
import darabonba.core.RequestModel;
import darabonba.core.TeaModel;
import com.aliyun.sdk.gateway.pop.models.*;
/**
*
* {@link ListAppsRequest} extends {@link RequestModel}
*
* <p>ListAppsRequest</p>
*/
public class ListAppsRequest extends Request {
@com.aliyun.core.annotation.Host
@com.aliyun.core.annotation.NameInMap("RegionId")
private String regionId;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("AppName")
private String appName;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("ClusterId")
@com.aliyun.core.annotation.Validation(required = true)
private String clusterId;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("PageNum")
private Integer pageNum;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("PageSize")
private Integer pageSize;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("Title")
private String title;
private ListAppsRequest(Builder builder) {
super(builder);
this.regionId = builder.regionId;
this.appName = builder.appName;
this.clusterId = builder.clusterId;
this.pageNum = builder.pageNum;
this.pageSize = builder.pageSize;
this.title = builder.title;
}
public static Builder builder() {
return new Builder();
}
public static ListAppsRequest create() {
return builder().build();
}
@Override
public Builder toBuilder() {
return new Builder(this);
}
/**
* @return regionId
*/
public String getRegionId() {
return this.regionId;
}
/**
* @return appName
*/
public String getAppName() {
return this.appName;
}
/**
* @return clusterId
*/
public String getClusterId() {
return this.clusterId;
}
/**
* @return pageNum
*/
public Integer getPageNum() {
return this.pageNum;
}
/**
* @return pageSize
*/
public Integer getPageSize() {
return this.pageSize;
}
/**
* @return title
*/
public String getTitle() {
return this.title;
}
public static final class Builder extends Request.Builder<ListAppsRequest, Builder> {
private String regionId;
private String appName;
private String clusterId;
private Integer pageNum;
private Integer pageSize;
private String title;
private Builder() {
super();
}
private Builder(ListAppsRequest request) {
super(request);
this.regionId = request.regionId;
this.appName = request.appName;
this.clusterId = request.clusterId;
this.pageNum = request.pageNum;
this.pageSize = request.pageSize;
this.title = request.title;
}
/**
* RegionId.
*/
public Builder regionId(String regionId) {
this.putHostParameter("RegionId", regionId);
this.regionId = regionId;
return this;
}
/**
* AppName.
*/
public Builder appName(String appName) {
this.putQueryParameter("AppName", appName);
this.appName = appName;
return this;
}
/**
* <p>This parameter is required.</p>
*
* <strong>example:</strong>
* <p>xxljob-b6ec1xxxx</p>
*/
public Builder clusterId(String clusterId) {
this.putQueryParameter("ClusterId", clusterId);
this.clusterId = clusterId;
return this;
}
/**
* PageNum.
*/
public Builder pageNum(Integer pageNum) {
this.putQueryParameter("PageNum", pageNum);
this.pageNum = pageNum;
return this;
}
/**
* PageSize.
*/
public Builder pageSize(Integer pageSize) {
this.putQueryParameter("PageSize", pageSize);
this.pageSize = pageSize;
return this;
}
/**
* Title.
*/
public Builder title(String title) {
this.putQueryParameter("Title", title);
this.title = title;
return this;
}
@Override
public ListAppsRequest build() {
return new ListAppsRequest(this);
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-schedulerx320240624/1.0.10/com/aliyun/sdk/service/schedulerx320240624 | java-sources/com/aliyun/alibabacloud-schedulerx320240624/1.0.10/com/aliyun/sdk/service/schedulerx320240624/models/ListAppsResponse.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.schedulerx320240624.models;
import com.aliyun.sdk.gateway.pop.*;
import darabonba.core.*;
import darabonba.core.async.*;
import darabonba.core.sync.*;
import darabonba.core.client.*;
import darabonba.core.RequestModel;
import darabonba.core.TeaModel;
import com.aliyun.sdk.gateway.pop.models.*;
/**
*
* {@link ListAppsResponse} extends {@link TeaModel}
*
* <p>ListAppsResponse</p>
*/
public class ListAppsResponse extends Response {
@com.aliyun.core.annotation.NameInMap("headers")
private java.util.Map<String, String> headers;
@com.aliyun.core.annotation.NameInMap("statusCode")
private Integer statusCode;
@com.aliyun.core.annotation.NameInMap("body")
private ListAppsResponseBody body;
private ListAppsResponse(BuilderImpl builder) {
super(builder);
this.headers = builder.headers;
this.statusCode = builder.statusCode;
this.body = builder.body;
}
public static ListAppsResponse create() {
return new BuilderImpl().build();
}
@Override
public Builder toBuilder() {
return new BuilderImpl(this);
}
/**
* @return headers
*/
public java.util.Map<String, String> getHeaders() {
return this.headers;
}
/**
* @return statusCode
*/
public Integer getStatusCode() {
return this.statusCode;
}
/**
* @return body
*/
public ListAppsResponseBody getBody() {
return this.body;
}
public interface Builder extends Response.Builder<ListAppsResponse, Builder> {
Builder headers(java.util.Map<String, String> headers);
Builder statusCode(Integer statusCode);
Builder body(ListAppsResponseBody body);
@Override
ListAppsResponse build();
}
private static final class BuilderImpl
extends Response.BuilderImpl<ListAppsResponse, Builder>
implements Builder {
private java.util.Map<String, String> headers;
private Integer statusCode;
private ListAppsResponseBody body;
private BuilderImpl() {
super();
}
private BuilderImpl(ListAppsResponse response) {
super(response);
this.headers = response.headers;
this.statusCode = response.statusCode;
this.body = response.body;
}
/**
* headers.
*/
@Override
public Builder headers(java.util.Map<String, String> headers) {
this.headers = headers;
return this;
}
/**
* statusCode.
*/
@Override
public Builder statusCode(Integer statusCode) {
this.statusCode = statusCode;
return this;
}
/**
* body.
*/
@Override
public Builder body(ListAppsResponseBody body) {
this.body = body;
return this;
}
@Override
public ListAppsResponse build() {
return new ListAppsResponse(this);
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-schedulerx320240624/1.0.10/com/aliyun/sdk/service/schedulerx320240624 | java-sources/com/aliyun/alibabacloud-schedulerx320240624/1.0.10/com/aliyun/sdk/service/schedulerx320240624/models/ListAppsResponseBody.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.schedulerx320240624.models;
import com.aliyun.sdk.gateway.pop.*;
import darabonba.core.*;
import darabonba.core.async.*;
import darabonba.core.sync.*;
import darabonba.core.client.*;
import darabonba.core.RequestModel;
import darabonba.core.TeaModel;
import com.aliyun.sdk.gateway.pop.models.*;
/**
*
* {@link ListAppsResponseBody} extends {@link TeaModel}
*
* <p>ListAppsResponseBody</p>
*/
public class ListAppsResponseBody extends TeaModel {
@com.aliyun.core.annotation.NameInMap("Code")
private Integer code;
@com.aliyun.core.annotation.NameInMap("Data")
private Data data;
@com.aliyun.core.annotation.NameInMap("Message")
private String message;
@com.aliyun.core.annotation.NameInMap("RequestId")
private String requestId;
@com.aliyun.core.annotation.NameInMap("Success")
private Boolean success;
private ListAppsResponseBody(Builder builder) {
this.code = builder.code;
this.data = builder.data;
this.message = builder.message;
this.requestId = builder.requestId;
this.success = builder.success;
}
public static Builder builder() {
return new Builder();
}
public static ListAppsResponseBody create() {
return builder().build();
}
public Builder toBuilder() {
return new Builder(this);
}
/**
* @return code
*/
public Integer getCode() {
return this.code;
}
/**
* @return data
*/
public Data getData() {
return this.data;
}
/**
* @return message
*/
public String getMessage() {
return this.message;
}
/**
* @return requestId
*/
public String getRequestId() {
return this.requestId;
}
/**
* @return success
*/
public Boolean getSuccess() {
return this.success;
}
public static final class Builder {
private Integer code;
private Data data;
private String message;
private String requestId;
private Boolean success;
private Builder() {
}
private Builder(ListAppsResponseBody model) {
this.code = model.code;
this.data = model.data;
this.message = model.message;
this.requestId = model.requestId;
this.success = model.success;
}
/**
* Code.
*/
public Builder code(Integer code) {
this.code = code;
return this;
}
/**
* <ul>
* <li></li>
* </ul>
*/
public Builder data(Data data) {
this.data = data;
return this;
}
/**
* Message.
*/
public Builder message(String message) {
this.message = message;
return this;
}
/**
* RequestId.
*/
public Builder requestId(String requestId) {
this.requestId = requestId;
return this;
}
/**
* Success.
*/
public Builder success(Boolean success) {
this.success = success;
return this;
}
public ListAppsResponseBody build() {
return new ListAppsResponseBody(this);
}
}
/**
*
* {@link ListAppsResponseBody} extends {@link TeaModel}
*
* <p>ListAppsResponseBody</p>
*/
public static class Records extends TeaModel {
@com.aliyun.core.annotation.NameInMap("AccessToken")
private String accessToken;
@com.aliyun.core.annotation.NameInMap("AppName")
private String appName;
@com.aliyun.core.annotation.NameInMap("AppType")
private Integer appType;
@com.aliyun.core.annotation.NameInMap("Creator")
private String creator;
@com.aliyun.core.annotation.NameInMap("EnableLog")
private Boolean enableLog;
@com.aliyun.core.annotation.NameInMap("ExecutorNum")
private Long executorNum;
@com.aliyun.core.annotation.NameInMap("Id")
private Long id;
@com.aliyun.core.annotation.NameInMap("JobNum")
private Integer jobNum;
@com.aliyun.core.annotation.NameInMap("LabelRouteStrategy")
private Integer labelRouteStrategy;
@com.aliyun.core.annotation.NameInMap("Leader")
private String leader;
@com.aliyun.core.annotation.NameInMap("MaxConcurrency")
private Integer maxConcurrency;
@com.aliyun.core.annotation.NameInMap("MaxJobs")
private Integer maxJobs;
@com.aliyun.core.annotation.NameInMap("Title")
private String title;
@com.aliyun.core.annotation.NameInMap("Updater")
private String updater;
@com.aliyun.core.annotation.NameInMap("WorkerRegistry")
private String workerRegistry;
private Records(Builder builder) {
this.accessToken = builder.accessToken;
this.appName = builder.appName;
this.appType = builder.appType;
this.creator = builder.creator;
this.enableLog = builder.enableLog;
this.executorNum = builder.executorNum;
this.id = builder.id;
this.jobNum = builder.jobNum;
this.labelRouteStrategy = builder.labelRouteStrategy;
this.leader = builder.leader;
this.maxConcurrency = builder.maxConcurrency;
this.maxJobs = builder.maxJobs;
this.title = builder.title;
this.updater = builder.updater;
this.workerRegistry = builder.workerRegistry;
}
public static Builder builder() {
return new Builder();
}
public static Records create() {
return builder().build();
}
/**
* @return accessToken
*/
public String getAccessToken() {
return this.accessToken;
}
/**
* @return appName
*/
public String getAppName() {
return this.appName;
}
/**
* @return appType
*/
public Integer getAppType() {
return this.appType;
}
/**
* @return creator
*/
public String getCreator() {
return this.creator;
}
/**
* @return enableLog
*/
public Boolean getEnableLog() {
return this.enableLog;
}
/**
* @return executorNum
*/
public Long getExecutorNum() {
return this.executorNum;
}
/**
* @return id
*/
public Long getId() {
return this.id;
}
/**
* @return jobNum
*/
public Integer getJobNum() {
return this.jobNum;
}
/**
* @return labelRouteStrategy
*/
public Integer getLabelRouteStrategy() {
return this.labelRouteStrategy;
}
/**
* @return leader
*/
public String getLeader() {
return this.leader;
}
/**
* @return maxConcurrency
*/
public Integer getMaxConcurrency() {
return this.maxConcurrency;
}
/**
* @return maxJobs
*/
public Integer getMaxJobs() {
return this.maxJobs;
}
/**
* @return title
*/
public String getTitle() {
return this.title;
}
/**
* @return updater
*/
public String getUpdater() {
return this.updater;
}
/**
* @return workerRegistry
*/
public String getWorkerRegistry() {
return this.workerRegistry;
}
public static final class Builder {
private String accessToken;
private String appName;
private Integer appType;
private String creator;
private Boolean enableLog;
private Long executorNum;
private Long id;
private Integer jobNum;
private Integer labelRouteStrategy;
private String leader;
private Integer maxConcurrency;
private Integer maxJobs;
private String title;
private String updater;
private String workerRegistry;
private Builder() {
}
private Builder(Records model) {
this.accessToken = model.accessToken;
this.appName = model.appName;
this.appType = model.appType;
this.creator = model.creator;
this.enableLog = model.enableLog;
this.executorNum = model.executorNum;
this.id = model.id;
this.jobNum = model.jobNum;
this.labelRouteStrategy = model.labelRouteStrategy;
this.leader = model.leader;
this.maxConcurrency = model.maxConcurrency;
this.maxJobs = model.maxJobs;
this.title = model.title;
this.updater = model.updater;
this.workerRegistry = model.workerRegistry;
}
/**
* <p>AccessToken</p>
*
* <strong>example:</strong>
* <p>2f4ddeab8e344ed68e0402cf9b8502ffv3</p>
*/
public Builder accessToken(String accessToken) {
this.accessToken = accessToken;
return this;
}
/**
* AppName.
*/
public Builder appName(String appName) {
this.appName = appName;
return this;
}
/**
* AppType.
*/
public Builder appType(Integer appType) {
this.appType = appType;
return this;
}
/**
* Creator.
*/
public Builder creator(String creator) {
this.creator = creator;
return this;
}
/**
* EnableLog.
*/
public Builder enableLog(Boolean enableLog) {
this.enableLog = enableLog;
return this;
}
/**
* ExecutorNum.
*/
public Builder executorNum(Long executorNum) {
this.executorNum = executorNum;
return this;
}
/**
* Id.
*/
public Builder id(Long id) {
this.id = id;
return this;
}
/**
* JobNum.
*/
public Builder jobNum(Integer jobNum) {
this.jobNum = jobNum;
return this;
}
/**
* LabelRouteStrategy.
*/
public Builder labelRouteStrategy(Integer labelRouteStrategy) {
this.labelRouteStrategy = labelRouteStrategy;
return this;
}
/**
* Leader.
*/
public Builder leader(String leader) {
this.leader = leader;
return this;
}
/**
* MaxConcurrency.
*/
public Builder maxConcurrency(Integer maxConcurrency) {
this.maxConcurrency = maxConcurrency;
return this;
}
/**
* MaxJobs.
*/
public Builder maxJobs(Integer maxJobs) {
this.maxJobs = maxJobs;
return this;
}
/**
* Title.
*/
public Builder title(String title) {
this.title = title;
return this;
}
/**
* Updater.
*/
public Builder updater(String updater) {
this.updater = updater;
return this;
}
/**
* WorkerRegistry.
*/
public Builder workerRegistry(String workerRegistry) {
this.workerRegistry = workerRegistry;
return this;
}
public Records build() {
return new Records(this);
}
}
}
/**
*
* {@link ListAppsResponseBody} extends {@link TeaModel}
*
* <p>ListAppsResponseBody</p>
*/
public static class Data extends TeaModel {
@com.aliyun.core.annotation.NameInMap("PageNumber")
private Integer pageNumber;
@com.aliyun.core.annotation.NameInMap("PageSize")
private Integer pageSize;
@com.aliyun.core.annotation.NameInMap("Records")
private java.util.List<Records> records;
@com.aliyun.core.annotation.NameInMap("Total")
private Integer total;
private Data(Builder builder) {
this.pageNumber = builder.pageNumber;
this.pageSize = builder.pageSize;
this.records = builder.records;
this.total = builder.total;
}
public static Builder builder() {
return new Builder();
}
public static Data create() {
return builder().build();
}
/**
* @return pageNumber
*/
public Integer getPageNumber() {
return this.pageNumber;
}
/**
* @return pageSize
*/
public Integer getPageSize() {
return this.pageSize;
}
/**
* @return records
*/
public java.util.List<Records> getRecords() {
return this.records;
}
/**
* @return total
*/
public Integer getTotal() {
return this.total;
}
public static final class Builder {
private Integer pageNumber;
private Integer pageSize;
private java.util.List<Records> records;
private Integer total;
private Builder() {
}
private Builder(Data model) {
this.pageNumber = model.pageNumber;
this.pageSize = model.pageSize;
this.records = model.records;
this.total = model.total;
}
/**
* PageNumber.
*/
public Builder pageNumber(Integer pageNumber) {
this.pageNumber = pageNumber;
return this;
}
/**
* PageSize.
*/
public Builder pageSize(Integer pageSize) {
this.pageSize = pageSize;
return this;
}
/**
* <ul>
* <li></li>
* </ul>
*/
public Builder records(java.util.List<Records> records) {
this.records = records;
return this;
}
/**
* Total.
*/
public Builder total(Integer total) {
this.total = total;
return this;
}
public Data build() {
return new Data(this);
}
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-schedulerx320240624/1.0.10/com/aliyun/sdk/service/schedulerx320240624 | java-sources/com/aliyun/alibabacloud-schedulerx320240624/1.0.10/com/aliyun/sdk/service/schedulerx320240624/models/ListCalendarNamesRequest.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.schedulerx320240624.models;
import com.aliyun.sdk.gateway.pop.*;
import darabonba.core.*;
import darabonba.core.async.*;
import darabonba.core.sync.*;
import darabonba.core.client.*;
import darabonba.core.RequestModel;
import darabonba.core.TeaModel;
import com.aliyun.sdk.gateway.pop.models.*;
/**
*
* {@link ListCalendarNamesRequest} extends {@link RequestModel}
*
* <p>ListCalendarNamesRequest</p>
*/
public class ListCalendarNamesRequest extends Request {
@com.aliyun.core.annotation.Host
@com.aliyun.core.annotation.NameInMap("RegionId")
private String regionId;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("ClusterId")
@com.aliyun.core.annotation.Validation(required = true)
private String clusterId;
private ListCalendarNamesRequest(Builder builder) {
super(builder);
this.regionId = builder.regionId;
this.clusterId = builder.clusterId;
}
public static Builder builder() {
return new Builder();
}
public static ListCalendarNamesRequest create() {
return builder().build();
}
@Override
public Builder toBuilder() {
return new Builder(this);
}
/**
* @return regionId
*/
public String getRegionId() {
return this.regionId;
}
/**
* @return clusterId
*/
public String getClusterId() {
return this.clusterId;
}
public static final class Builder extends Request.Builder<ListCalendarNamesRequest, Builder> {
private String regionId;
private String clusterId;
private Builder() {
super();
}
private Builder(ListCalendarNamesRequest request) {
super(request);
this.regionId = request.regionId;
this.clusterId = request.clusterId;
}
/**
* RegionId.
*/
public Builder regionId(String regionId) {
this.putHostParameter("RegionId", regionId);
this.regionId = regionId;
return this;
}
/**
* <p>This parameter is required.</p>
*
* <strong>example:</strong>
* <p>xxljob-b6ec1xxxx</p>
*/
public Builder clusterId(String clusterId) {
this.putQueryParameter("ClusterId", clusterId);
this.clusterId = clusterId;
return this;
}
@Override
public ListCalendarNamesRequest build() {
return new ListCalendarNamesRequest(this);
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-schedulerx320240624/1.0.10/com/aliyun/sdk/service/schedulerx320240624 | java-sources/com/aliyun/alibabacloud-schedulerx320240624/1.0.10/com/aliyun/sdk/service/schedulerx320240624/models/ListCalendarNamesResponse.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.schedulerx320240624.models;
import com.aliyun.sdk.gateway.pop.*;
import darabonba.core.*;
import darabonba.core.async.*;
import darabonba.core.sync.*;
import darabonba.core.client.*;
import darabonba.core.RequestModel;
import darabonba.core.TeaModel;
import com.aliyun.sdk.gateway.pop.models.*;
/**
*
* {@link ListCalendarNamesResponse} extends {@link TeaModel}
*
* <p>ListCalendarNamesResponse</p>
*/
public class ListCalendarNamesResponse extends Response {
@com.aliyun.core.annotation.NameInMap("headers")
private java.util.Map<String, String> headers;
@com.aliyun.core.annotation.NameInMap("statusCode")
private Integer statusCode;
@com.aliyun.core.annotation.NameInMap("body")
private ListCalendarNamesResponseBody body;
private ListCalendarNamesResponse(BuilderImpl builder) {
super(builder);
this.headers = builder.headers;
this.statusCode = builder.statusCode;
this.body = builder.body;
}
public static ListCalendarNamesResponse create() {
return new BuilderImpl().build();
}
@Override
public Builder toBuilder() {
return new BuilderImpl(this);
}
/**
* @return headers
*/
public java.util.Map<String, String> getHeaders() {
return this.headers;
}
/**
* @return statusCode
*/
public Integer getStatusCode() {
return this.statusCode;
}
/**
* @return body
*/
public ListCalendarNamesResponseBody getBody() {
return this.body;
}
public interface Builder extends Response.Builder<ListCalendarNamesResponse, Builder> {
Builder headers(java.util.Map<String, String> headers);
Builder statusCode(Integer statusCode);
Builder body(ListCalendarNamesResponseBody body);
@Override
ListCalendarNamesResponse build();
}
private static final class BuilderImpl
extends Response.BuilderImpl<ListCalendarNamesResponse, Builder>
implements Builder {
private java.util.Map<String, String> headers;
private Integer statusCode;
private ListCalendarNamesResponseBody body;
private BuilderImpl() {
super();
}
private BuilderImpl(ListCalendarNamesResponse response) {
super(response);
this.headers = response.headers;
this.statusCode = response.statusCode;
this.body = response.body;
}
/**
* headers.
*/
@Override
public Builder headers(java.util.Map<String, String> headers) {
this.headers = headers;
return this;
}
/**
* statusCode.
*/
@Override
public Builder statusCode(Integer statusCode) {
this.statusCode = statusCode;
return this;
}
/**
* body.
*/
@Override
public Builder body(ListCalendarNamesResponseBody body) {
this.body = body;
return this;
}
@Override
public ListCalendarNamesResponse build() {
return new ListCalendarNamesResponse(this);
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-schedulerx320240624/1.0.10/com/aliyun/sdk/service/schedulerx320240624 | java-sources/com/aliyun/alibabacloud-schedulerx320240624/1.0.10/com/aliyun/sdk/service/schedulerx320240624/models/ListCalendarNamesResponseBody.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.schedulerx320240624.models;
import com.aliyun.sdk.gateway.pop.*;
import darabonba.core.*;
import darabonba.core.async.*;
import darabonba.core.sync.*;
import darabonba.core.client.*;
import darabonba.core.RequestModel;
import darabonba.core.TeaModel;
import com.aliyun.sdk.gateway.pop.models.*;
/**
*
* {@link ListCalendarNamesResponseBody} extends {@link TeaModel}
*
* <p>ListCalendarNamesResponseBody</p>
*/
public class ListCalendarNamesResponseBody extends TeaModel {
@com.aliyun.core.annotation.NameInMap("Code")
private Integer code;
@com.aliyun.core.annotation.NameInMap("Data")
private java.util.List<String> data;
@com.aliyun.core.annotation.NameInMap("Message")
private String message;
@com.aliyun.core.annotation.NameInMap("RequestId")
private String requestId;
@com.aliyun.core.annotation.NameInMap("Success")
private Boolean success;
private ListCalendarNamesResponseBody(Builder builder) {
this.code = builder.code;
this.data = builder.data;
this.message = builder.message;
this.requestId = builder.requestId;
this.success = builder.success;
}
public static Builder builder() {
return new Builder();
}
public static ListCalendarNamesResponseBody create() {
return builder().build();
}
public Builder toBuilder() {
return new Builder(this);
}
/**
* @return code
*/
public Integer getCode() {
return this.code;
}
/**
* @return data
*/
public java.util.List<String> getData() {
return this.data;
}
/**
* @return message
*/
public String getMessage() {
return this.message;
}
/**
* @return requestId
*/
public String getRequestId() {
return this.requestId;
}
/**
* @return success
*/
public Boolean getSuccess() {
return this.success;
}
public static final class Builder {
private Integer code;
private java.util.List<String> data;
private String message;
private String requestId;
private Boolean success;
private Builder() {
}
private Builder(ListCalendarNamesResponseBody model) {
this.code = model.code;
this.data = model.data;
this.message = model.message;
this.requestId = model.requestId;
this.success = model.success;
}
/**
* Code.
*/
public Builder code(Integer code) {
this.code = code;
return this;
}
/**
* <ul>
* <li></li>
* </ul>
*/
public Builder data(java.util.List<String> data) {
this.data = data;
return this;
}
/**
* Message.
*/
public Builder message(String message) {
this.message = message;
return this;
}
/**
* RequestId.
*/
public Builder requestId(String requestId) {
this.requestId = requestId;
return this;
}
/**
* Success.
*/
public Builder success(Boolean success) {
this.success = success;
return this;
}
public ListCalendarNamesResponseBody build() {
return new ListCalendarNamesResponseBody(this);
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-schedulerx320240624/1.0.10/com/aliyun/sdk/service/schedulerx320240624 | java-sources/com/aliyun/alibabacloud-schedulerx320240624/1.0.10/com/aliyun/sdk/service/schedulerx320240624/models/ListClustersRequest.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.schedulerx320240624.models;
import com.aliyun.sdk.gateway.pop.*;
import darabonba.core.*;
import darabonba.core.async.*;
import darabonba.core.sync.*;
import darabonba.core.client.*;
import darabonba.core.RequestModel;
import darabonba.core.TeaModel;
import com.aliyun.sdk.gateway.pop.models.*;
/**
*
* {@link ListClustersRequest} extends {@link RequestModel}
*
* <p>ListClustersRequest</p>
*/
public class ListClustersRequest extends Request {
@com.aliyun.core.annotation.Host
@com.aliyun.core.annotation.NameInMap("RegionId")
private String regionId;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("ClusterId")
private String clusterId;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("ClusterName")
private String clusterName;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("PageNum")
private Integer pageNum;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("PageSize")
private Integer pageSize;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("Tag")
private java.util.List<Tag> tag;
private ListClustersRequest(Builder builder) {
super(builder);
this.regionId = builder.regionId;
this.clusterId = builder.clusterId;
this.clusterName = builder.clusterName;
this.pageNum = builder.pageNum;
this.pageSize = builder.pageSize;
this.tag = builder.tag;
}
public static Builder builder() {
return new Builder();
}
public static ListClustersRequest create() {
return builder().build();
}
@Override
public Builder toBuilder() {
return new Builder(this);
}
/**
* @return regionId
*/
public String getRegionId() {
return this.regionId;
}
/**
* @return clusterId
*/
public String getClusterId() {
return this.clusterId;
}
/**
* @return clusterName
*/
public String getClusterName() {
return this.clusterName;
}
/**
* @return pageNum
*/
public Integer getPageNum() {
return this.pageNum;
}
/**
* @return pageSize
*/
public Integer getPageSize() {
return this.pageSize;
}
/**
* @return tag
*/
public java.util.List<Tag> getTag() {
return this.tag;
}
public static final class Builder extends Request.Builder<ListClustersRequest, Builder> {
private String regionId;
private String clusterId;
private String clusterName;
private Integer pageNum;
private Integer pageSize;
private java.util.List<Tag> tag;
private Builder() {
super();
}
private Builder(ListClustersRequest request) {
super(request);
this.regionId = request.regionId;
this.clusterId = request.clusterId;
this.clusterName = request.clusterName;
this.pageNum = request.pageNum;
this.pageSize = request.pageSize;
this.tag = request.tag;
}
/**
* RegionId.
*/
public Builder regionId(String regionId) {
this.putHostParameter("RegionId", regionId);
this.regionId = regionId;
return this;
}
/**
* ClusterId.
*/
public Builder clusterId(String clusterId) {
this.putQueryParameter("ClusterId", clusterId);
this.clusterId = clusterId;
return this;
}
/**
* ClusterName.
*/
public Builder clusterName(String clusterName) {
this.putQueryParameter("ClusterName", clusterName);
this.clusterName = clusterName;
return this;
}
/**
* PageNum.
*/
public Builder pageNum(Integer pageNum) {
this.putQueryParameter("PageNum", pageNum);
this.pageNum = pageNum;
return this;
}
/**
* PageSize.
*/
public Builder pageSize(Integer pageSize) {
this.putQueryParameter("PageSize", pageSize);
this.pageSize = pageSize;
return this;
}
/**
* Tag.
*/
public Builder tag(java.util.List<Tag> tag) {
this.putQueryParameter("Tag", tag);
this.tag = tag;
return this;
}
@Override
public ListClustersRequest build() {
return new ListClustersRequest(this);
}
}
/**
*
* {@link ListClustersRequest} extends {@link TeaModel}
*
* <p>ListClustersRequest</p>
*/
public static class Tag extends TeaModel {
@com.aliyun.core.annotation.NameInMap("Key")
private String key;
@com.aliyun.core.annotation.NameInMap("Value")
private String value;
private Tag(Builder builder) {
this.key = builder.key;
this.value = builder.value;
}
public static Builder builder() {
return new Builder();
}
public static Tag create() {
return builder().build();
}
/**
* @return key
*/
public String getKey() {
return this.key;
}
/**
* @return value
*/
public String getValue() {
return this.value;
}
public static final class Builder {
private String key;
private String value;
private Builder() {
}
private Builder(Tag model) {
this.key = model.key;
this.value = model.value;
}
/**
* Key.
*/
public Builder key(String key) {
this.key = key;
return this;
}
/**
* Value.
*/
public Builder value(String value) {
this.value = value;
return this;
}
public Tag build() {
return new Tag(this);
}
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-schedulerx320240624/1.0.10/com/aliyun/sdk/service/schedulerx320240624 | java-sources/com/aliyun/alibabacloud-schedulerx320240624/1.0.10/com/aliyun/sdk/service/schedulerx320240624/models/ListClustersResponse.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.schedulerx320240624.models;
import com.aliyun.sdk.gateway.pop.*;
import darabonba.core.*;
import darabonba.core.async.*;
import darabonba.core.sync.*;
import darabonba.core.client.*;
import darabonba.core.RequestModel;
import darabonba.core.TeaModel;
import com.aliyun.sdk.gateway.pop.models.*;
/**
*
* {@link ListClustersResponse} extends {@link TeaModel}
*
* <p>ListClustersResponse</p>
*/
public class ListClustersResponse extends Response {
@com.aliyun.core.annotation.NameInMap("headers")
private java.util.Map<String, String> headers;
@com.aliyun.core.annotation.NameInMap("statusCode")
private Integer statusCode;
@com.aliyun.core.annotation.NameInMap("body")
private ListClustersResponseBody body;
private ListClustersResponse(BuilderImpl builder) {
super(builder);
this.headers = builder.headers;
this.statusCode = builder.statusCode;
this.body = builder.body;
}
public static ListClustersResponse create() {
return new BuilderImpl().build();
}
@Override
public Builder toBuilder() {
return new BuilderImpl(this);
}
/**
* @return headers
*/
public java.util.Map<String, String> getHeaders() {
return this.headers;
}
/**
* @return statusCode
*/
public Integer getStatusCode() {
return this.statusCode;
}
/**
* @return body
*/
public ListClustersResponseBody getBody() {
return this.body;
}
public interface Builder extends Response.Builder<ListClustersResponse, Builder> {
Builder headers(java.util.Map<String, String> headers);
Builder statusCode(Integer statusCode);
Builder body(ListClustersResponseBody body);
@Override
ListClustersResponse build();
}
private static final class BuilderImpl
extends Response.BuilderImpl<ListClustersResponse, Builder>
implements Builder {
private java.util.Map<String, String> headers;
private Integer statusCode;
private ListClustersResponseBody body;
private BuilderImpl() {
super();
}
private BuilderImpl(ListClustersResponse response) {
super(response);
this.headers = response.headers;
this.statusCode = response.statusCode;
this.body = response.body;
}
/**
* headers.
*/
@Override
public Builder headers(java.util.Map<String, String> headers) {
this.headers = headers;
return this;
}
/**
* statusCode.
*/
@Override
public Builder statusCode(Integer statusCode) {
this.statusCode = statusCode;
return this;
}
/**
* body.
*/
@Override
public Builder body(ListClustersResponseBody body) {
this.body = body;
return this;
}
@Override
public ListClustersResponse build() {
return new ListClustersResponse(this);
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-schedulerx320240624/1.0.10/com/aliyun/sdk/service/schedulerx320240624 | java-sources/com/aliyun/alibabacloud-schedulerx320240624/1.0.10/com/aliyun/sdk/service/schedulerx320240624/models/ListClustersResponseBody.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.schedulerx320240624.models;
import com.aliyun.sdk.gateway.pop.*;
import darabonba.core.*;
import darabonba.core.async.*;
import darabonba.core.sync.*;
import darabonba.core.client.*;
import darabonba.core.RequestModel;
import darabonba.core.TeaModel;
import com.aliyun.sdk.gateway.pop.models.*;
/**
*
* {@link ListClustersResponseBody} extends {@link TeaModel}
*
* <p>ListClustersResponseBody</p>
*/
public class ListClustersResponseBody extends TeaModel {
@com.aliyun.core.annotation.NameInMap("Code")
private Integer code;
@com.aliyun.core.annotation.NameInMap("Data")
private Data data;
@com.aliyun.core.annotation.NameInMap("Message")
@com.aliyun.core.annotation.Validation(required = true)
private String message;
@com.aliyun.core.annotation.NameInMap("RequestId")
private String requestId;
@com.aliyun.core.annotation.NameInMap("Success")
private Boolean success;
private ListClustersResponseBody(Builder builder) {
this.code = builder.code;
this.data = builder.data;
this.message = builder.message;
this.requestId = builder.requestId;
this.success = builder.success;
}
public static Builder builder() {
return new Builder();
}
public static ListClustersResponseBody create() {
return builder().build();
}
public Builder toBuilder() {
return new Builder(this);
}
/**
* @return code
*/
public Integer getCode() {
return this.code;
}
/**
* @return data
*/
public Data getData() {
return this.data;
}
/**
* @return message
*/
public String getMessage() {
return this.message;
}
/**
* @return requestId
*/
public String getRequestId() {
return this.requestId;
}
/**
* @return success
*/
public Boolean getSuccess() {
return this.success;
}
public static final class Builder {
private Integer code;
private Data data;
private String message;
private String requestId;
private Boolean success;
private Builder() {
}
private Builder(ListClustersResponseBody model) {
this.code = model.code;
this.data = model.data;
this.message = model.message;
this.requestId = model.requestId;
this.success = model.success;
}
/**
* Code.
*/
public Builder code(Integer code) {
this.code = code;
return this;
}
/**
* <ul>
* <li></li>
* </ul>
*/
public Builder data(Data data) {
this.data = data;
return this;
}
/**
* <p>This parameter is required.</p>
*
* <strong>example:</strong>
* <p>Parameter error: content is null.</p>
*/
public Builder message(String message) {
this.message = message;
return this;
}
/**
* RequestId.
*/
public Builder requestId(String requestId) {
this.requestId = requestId;
return this;
}
/**
* Success.
*/
public Builder success(Boolean success) {
this.success = success;
return this;
}
public ListClustersResponseBody build() {
return new ListClustersResponseBody(this);
}
}
/**
*
* {@link ListClustersResponseBody} extends {@link TeaModel}
*
* <p>ListClustersResponseBody</p>
*/
public static class VSwitches extends TeaModel {
@com.aliyun.core.annotation.NameInMap("VSwitchId")
private String vSwitchId;
@com.aliyun.core.annotation.NameInMap("ZoneId")
private String zoneId;
private VSwitches(Builder builder) {
this.vSwitchId = builder.vSwitchId;
this.zoneId = builder.zoneId;
}
public static Builder builder() {
return new Builder();
}
public static VSwitches create() {
return builder().build();
}
/**
* @return vSwitchId
*/
public String getVSwitchId() {
return this.vSwitchId;
}
/**
* @return zoneId
*/
public String getZoneId() {
return this.zoneId;
}
public static final class Builder {
private String vSwitchId;
private String zoneId;
private Builder() {
}
private Builder(VSwitches model) {
this.vSwitchId = model.vSwitchId;
this.zoneId = model.zoneId;
}
/**
* VSwitchId.
*/
public Builder vSwitchId(String vSwitchId) {
this.vSwitchId = vSwitchId;
return this;
}
/**
* ZoneId.
*/
public Builder zoneId(String zoneId) {
this.zoneId = zoneId;
return this;
}
public VSwitches build() {
return new VSwitches(this);
}
}
}
/**
*
* {@link ListClustersResponseBody} extends {@link TeaModel}
*
* <p>ListClustersResponseBody</p>
*/
public static class Records extends TeaModel {
@com.aliyun.core.annotation.NameInMap("ChargeType")
private String chargeType;
@com.aliyun.core.annotation.NameInMap("ClusterId")
private String clusterId;
@com.aliyun.core.annotation.NameInMap("ClusterName")
private String clusterName;
@com.aliyun.core.annotation.NameInMap("ClusterSpec")
private String clusterSpec;
@com.aliyun.core.annotation.NameInMap("CreateTime")
private String createTime;
@com.aliyun.core.annotation.NameInMap("EndTime")
private String endTime;
@com.aliyun.core.annotation.NameInMap("EngineType")
private String engineType;
@com.aliyun.core.annotation.NameInMap("EngineVersion")
private String engineVersion;
@com.aliyun.core.annotation.NameInMap("InternetDomain")
private String internetDomain;
@com.aliyun.core.annotation.NameInMap("IntranetDomain")
private String intranetDomain;
@com.aliyun.core.annotation.NameInMap("ProductType")
private Integer productType;
@com.aliyun.core.annotation.NameInMap("SpInstanceId")
private String spInstanceId;
@com.aliyun.core.annotation.NameInMap("Status")
private Integer status;
@com.aliyun.core.annotation.NameInMap("Tags")
private java.util.Map<String, ?> tags;
@com.aliyun.core.annotation.NameInMap("VSwitches")
private java.util.List<VSwitches> vSwitches;
@com.aliyun.core.annotation.NameInMap("VersionLifecycle")
private String versionLifecycle;
@com.aliyun.core.annotation.NameInMap("VpcId")
private String vpcId;
private Records(Builder builder) {
this.chargeType = builder.chargeType;
this.clusterId = builder.clusterId;
this.clusterName = builder.clusterName;
this.clusterSpec = builder.clusterSpec;
this.createTime = builder.createTime;
this.endTime = builder.endTime;
this.engineType = builder.engineType;
this.engineVersion = builder.engineVersion;
this.internetDomain = builder.internetDomain;
this.intranetDomain = builder.intranetDomain;
this.productType = builder.productType;
this.spInstanceId = builder.spInstanceId;
this.status = builder.status;
this.tags = builder.tags;
this.vSwitches = builder.vSwitches;
this.versionLifecycle = builder.versionLifecycle;
this.vpcId = builder.vpcId;
}
public static Builder builder() {
return new Builder();
}
public static Records create() {
return builder().build();
}
/**
* @return chargeType
*/
public String getChargeType() {
return this.chargeType;
}
/**
* @return clusterId
*/
public String getClusterId() {
return this.clusterId;
}
/**
* @return clusterName
*/
public String getClusterName() {
return this.clusterName;
}
/**
* @return clusterSpec
*/
public String getClusterSpec() {
return this.clusterSpec;
}
/**
* @return createTime
*/
public String getCreateTime() {
return this.createTime;
}
/**
* @return endTime
*/
public String getEndTime() {
return this.endTime;
}
/**
* @return engineType
*/
public String getEngineType() {
return this.engineType;
}
/**
* @return engineVersion
*/
public String getEngineVersion() {
return this.engineVersion;
}
/**
* @return internetDomain
*/
public String getInternetDomain() {
return this.internetDomain;
}
/**
* @return intranetDomain
*/
public String getIntranetDomain() {
return this.intranetDomain;
}
/**
* @return productType
*/
public Integer getProductType() {
return this.productType;
}
/**
* @return spInstanceId
*/
public String getSpInstanceId() {
return this.spInstanceId;
}
/**
* @return status
*/
public Integer getStatus() {
return this.status;
}
/**
* @return tags
*/
public java.util.Map<String, ?> getTags() {
return this.tags;
}
/**
* @return vSwitches
*/
public java.util.List<VSwitches> getVSwitches() {
return this.vSwitches;
}
/**
* @return versionLifecycle
*/
public String getVersionLifecycle() {
return this.versionLifecycle;
}
/**
* @return vpcId
*/
public String getVpcId() {
return this.vpcId;
}
public static final class Builder {
private String chargeType;
private String clusterId;
private String clusterName;
private String clusterSpec;
private String createTime;
private String endTime;
private String engineType;
private String engineVersion;
private String internetDomain;
private String intranetDomain;
private Integer productType;
private String spInstanceId;
private Integer status;
private java.util.Map<String, ?> tags;
private java.util.List<VSwitches> vSwitches;
private String versionLifecycle;
private String vpcId;
private Builder() {
}
private Builder(Records model) {
this.chargeType = model.chargeType;
this.clusterId = model.clusterId;
this.clusterName = model.clusterName;
this.clusterSpec = model.clusterSpec;
this.createTime = model.createTime;
this.endTime = model.endTime;
this.engineType = model.engineType;
this.engineVersion = model.engineVersion;
this.internetDomain = model.internetDomain;
this.intranetDomain = model.intranetDomain;
this.productType = model.productType;
this.spInstanceId = model.spInstanceId;
this.status = model.status;
this.tags = model.tags;
this.vSwitches = model.vSwitches;
this.versionLifecycle = model.versionLifecycle;
this.vpcId = model.vpcId;
}
/**
* ChargeType.
*/
public Builder chargeType(String chargeType) {
this.chargeType = chargeType;
return this;
}
/**
* ClusterId.
*/
public Builder clusterId(String clusterId) {
this.clusterId = clusterId;
return this;
}
/**
* ClusterName.
*/
public Builder clusterName(String clusterName) {
this.clusterName = clusterName;
return this;
}
/**
* ClusterSpec.
*/
public Builder clusterSpec(String clusterSpec) {
this.clusterSpec = clusterSpec;
return this;
}
/**
* CreateTime.
*/
public Builder createTime(String createTime) {
this.createTime = createTime;
return this;
}
/**
* EndTime.
*/
public Builder endTime(String endTime) {
this.endTime = endTime;
return this;
}
/**
* EngineType.
*/
public Builder engineType(String engineType) {
this.engineType = engineType;
return this;
}
/**
* EngineVersion.
*/
public Builder engineVersion(String engineVersion) {
this.engineVersion = engineVersion;
return this;
}
/**
* InternetDomain.
*/
public Builder internetDomain(String internetDomain) {
this.internetDomain = internetDomain;
return this;
}
/**
* IntranetDomain.
*/
public Builder intranetDomain(String intranetDomain) {
this.intranetDomain = intranetDomain;
return this;
}
/**
* ProductType.
*/
public Builder productType(Integer productType) {
this.productType = productType;
return this;
}
/**
* SpInstanceId.
*/
public Builder spInstanceId(String spInstanceId) {
this.spInstanceId = spInstanceId;
return this;
}
/**
* Status.
*/
public Builder status(Integer status) {
this.status = status;
return this;
}
/**
* Tags.
*/
public Builder tags(java.util.Map<String, ?> tags) {
this.tags = tags;
return this;
}
/**
* VSwitches.
*/
public Builder vSwitches(java.util.List<VSwitches> vSwitches) {
this.vSwitches = vSwitches;
return this;
}
/**
* VersionLifecycle.
*/
public Builder versionLifecycle(String versionLifecycle) {
this.versionLifecycle = versionLifecycle;
return this;
}
/**
* <p>VPC ID</p>
*
* <strong>example:</strong>
* <p>vpc-bp1fxort6ag5h9752i305</p>
*/
public Builder vpcId(String vpcId) {
this.vpcId = vpcId;
return this;
}
public Records build() {
return new Records(this);
}
}
}
/**
*
* {@link ListClustersResponseBody} extends {@link TeaModel}
*
* <p>ListClustersResponseBody</p>
*/
public static class Data extends TeaModel {
@com.aliyun.core.annotation.NameInMap("PageNumber")
private Integer pageNumber;
@com.aliyun.core.annotation.NameInMap("PageSize")
private Integer pageSize;
@com.aliyun.core.annotation.NameInMap("Records")
private java.util.List<Records> records;
@com.aliyun.core.annotation.NameInMap("Total")
private Integer total;
private Data(Builder builder) {
this.pageNumber = builder.pageNumber;
this.pageSize = builder.pageSize;
this.records = builder.records;
this.total = builder.total;
}
public static Builder builder() {
return new Builder();
}
public static Data create() {
return builder().build();
}
/**
* @return pageNumber
*/
public Integer getPageNumber() {
return this.pageNumber;
}
/**
* @return pageSize
*/
public Integer getPageSize() {
return this.pageSize;
}
/**
* @return records
*/
public java.util.List<Records> getRecords() {
return this.records;
}
/**
* @return total
*/
public Integer getTotal() {
return this.total;
}
public static final class Builder {
private Integer pageNumber;
private Integer pageSize;
private java.util.List<Records> records;
private Integer total;
private Builder() {
}
private Builder(Data model) {
this.pageNumber = model.pageNumber;
this.pageSize = model.pageSize;
this.records = model.records;
this.total = model.total;
}
/**
* PageNumber.
*/
public Builder pageNumber(Integer pageNumber) {
this.pageNumber = pageNumber;
return this;
}
/**
* PageSize.
*/
public Builder pageSize(Integer pageSize) {
this.pageSize = pageSize;
return this;
}
/**
* <ul>
* <li></li>
* </ul>
*/
public Builder records(java.util.List<Records> records) {
this.records = records;
return this;
}
/**
* Total.
*/
public Builder total(Integer total) {
this.total = total;
return this;
}
public Data build() {
return new Data(this);
}
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-schedulerx320240624/1.0.10/com/aliyun/sdk/service/schedulerx320240624 | java-sources/com/aliyun/alibabacloud-schedulerx320240624/1.0.10/com/aliyun/sdk/service/schedulerx320240624/models/ListExecutorsRequest.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.schedulerx320240624.models;
import com.aliyun.sdk.gateway.pop.*;
import darabonba.core.*;
import darabonba.core.async.*;
import darabonba.core.sync.*;
import darabonba.core.client.*;
import darabonba.core.RequestModel;
import darabonba.core.TeaModel;
import com.aliyun.sdk.gateway.pop.models.*;
/**
*
* {@link ListExecutorsRequest} extends {@link RequestModel}
*
* <p>ListExecutorsRequest</p>
*/
public class ListExecutorsRequest extends Request {
@com.aliyun.core.annotation.Host
@com.aliyun.core.annotation.NameInMap("RegionId")
private String regionId;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("AppName")
@com.aliyun.core.annotation.Validation(required = true)
private String appName;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("ClusterId")
@com.aliyun.core.annotation.Validation(required = true)
private String clusterId;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("JobId")
private Long jobId;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("Label")
private String label;
private ListExecutorsRequest(Builder builder) {
super(builder);
this.regionId = builder.regionId;
this.appName = builder.appName;
this.clusterId = builder.clusterId;
this.jobId = builder.jobId;
this.label = builder.label;
}
public static Builder builder() {
return new Builder();
}
public static ListExecutorsRequest create() {
return builder().build();
}
@Override
public Builder toBuilder() {
return new Builder(this);
}
/**
* @return regionId
*/
public String getRegionId() {
return this.regionId;
}
/**
* @return appName
*/
public String getAppName() {
return this.appName;
}
/**
* @return clusterId
*/
public String getClusterId() {
return this.clusterId;
}
/**
* @return jobId
*/
public Long getJobId() {
return this.jobId;
}
/**
* @return label
*/
public String getLabel() {
return this.label;
}
public static final class Builder extends Request.Builder<ListExecutorsRequest, Builder> {
private String regionId;
private String appName;
private String clusterId;
private Long jobId;
private String label;
private Builder() {
super();
}
private Builder(ListExecutorsRequest request) {
super(request);
this.regionId = request.regionId;
this.appName = request.appName;
this.clusterId = request.clusterId;
this.jobId = request.jobId;
this.label = request.label;
}
/**
* RegionId.
*/
public Builder regionId(String regionId) {
this.putHostParameter("RegionId", regionId);
this.regionId = regionId;
return this;
}
/**
* <p>This parameter is required.</p>
*
* <strong>example:</strong>
* <p>test-app</p>
*/
public Builder appName(String appName) {
this.putQueryParameter("AppName", appName);
this.appName = appName;
return this;
}
/**
* <p>This parameter is required.</p>
*
* <strong>example:</strong>
* <p>xxljob-b6ec1xxxx</p>
*/
public Builder clusterId(String clusterId) {
this.putQueryParameter("ClusterId", clusterId);
this.clusterId = clusterId;
return this;
}
/**
* JobId.
*/
public Builder jobId(Long jobId) {
this.putQueryParameter("JobId", jobId);
this.jobId = jobId;
return this;
}
/**
* Label.
*/
public Builder label(String label) {
this.putQueryParameter("Label", label);
this.label = label;
return this;
}
@Override
public ListExecutorsRequest build() {
return new ListExecutorsRequest(this);
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-schedulerx320240624/1.0.10/com/aliyun/sdk/service/schedulerx320240624 | java-sources/com/aliyun/alibabacloud-schedulerx320240624/1.0.10/com/aliyun/sdk/service/schedulerx320240624/models/ListExecutorsResponse.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.schedulerx320240624.models;
import com.aliyun.sdk.gateway.pop.*;
import darabonba.core.*;
import darabonba.core.async.*;
import darabonba.core.sync.*;
import darabonba.core.client.*;
import darabonba.core.RequestModel;
import darabonba.core.TeaModel;
import com.aliyun.sdk.gateway.pop.models.*;
/**
*
* {@link ListExecutorsResponse} extends {@link TeaModel}
*
* <p>ListExecutorsResponse</p>
*/
public class ListExecutorsResponse extends Response {
@com.aliyun.core.annotation.NameInMap("headers")
private java.util.Map<String, String> headers;
@com.aliyun.core.annotation.NameInMap("statusCode")
private Integer statusCode;
@com.aliyun.core.annotation.NameInMap("body")
private ListExecutorsResponseBody body;
private ListExecutorsResponse(BuilderImpl builder) {
super(builder);
this.headers = builder.headers;
this.statusCode = builder.statusCode;
this.body = builder.body;
}
public static ListExecutorsResponse create() {
return new BuilderImpl().build();
}
@Override
public Builder toBuilder() {
return new BuilderImpl(this);
}
/**
* @return headers
*/
public java.util.Map<String, String> getHeaders() {
return this.headers;
}
/**
* @return statusCode
*/
public Integer getStatusCode() {
return this.statusCode;
}
/**
* @return body
*/
public ListExecutorsResponseBody getBody() {
return this.body;
}
public interface Builder extends Response.Builder<ListExecutorsResponse, Builder> {
Builder headers(java.util.Map<String, String> headers);
Builder statusCode(Integer statusCode);
Builder body(ListExecutorsResponseBody body);
@Override
ListExecutorsResponse build();
}
private static final class BuilderImpl
extends Response.BuilderImpl<ListExecutorsResponse, Builder>
implements Builder {
private java.util.Map<String, String> headers;
private Integer statusCode;
private ListExecutorsResponseBody body;
private BuilderImpl() {
super();
}
private BuilderImpl(ListExecutorsResponse response) {
super(response);
this.headers = response.headers;
this.statusCode = response.statusCode;
this.body = response.body;
}
/**
* headers.
*/
@Override
public Builder headers(java.util.Map<String, String> headers) {
this.headers = headers;
return this;
}
/**
* statusCode.
*/
@Override
public Builder statusCode(Integer statusCode) {
this.statusCode = statusCode;
return this;
}
/**
* body.
*/
@Override
public Builder body(ListExecutorsResponseBody body) {
this.body = body;
return this;
}
@Override
public ListExecutorsResponse build() {
return new ListExecutorsResponse(this);
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-schedulerx320240624/1.0.10/com/aliyun/sdk/service/schedulerx320240624 | java-sources/com/aliyun/alibabacloud-schedulerx320240624/1.0.10/com/aliyun/sdk/service/schedulerx320240624/models/ListExecutorsResponseBody.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.schedulerx320240624.models;
import com.aliyun.sdk.gateway.pop.*;
import darabonba.core.*;
import darabonba.core.async.*;
import darabonba.core.sync.*;
import darabonba.core.client.*;
import darabonba.core.RequestModel;
import darabonba.core.TeaModel;
import com.aliyun.sdk.gateway.pop.models.*;
/**
*
* {@link ListExecutorsResponseBody} extends {@link TeaModel}
*
* <p>ListExecutorsResponseBody</p>
*/
public class ListExecutorsResponseBody extends TeaModel {
@com.aliyun.core.annotation.NameInMap("Code")
private Integer code;
@com.aliyun.core.annotation.NameInMap("Data")
private java.util.List<Data> data;
@com.aliyun.core.annotation.NameInMap("Message")
private String message;
@com.aliyun.core.annotation.NameInMap("RequestId")
private String requestId;
@com.aliyun.core.annotation.NameInMap("Success")
private Boolean success;
private ListExecutorsResponseBody(Builder builder) {
this.code = builder.code;
this.data = builder.data;
this.message = builder.message;
this.requestId = builder.requestId;
this.success = builder.success;
}
public static Builder builder() {
return new Builder();
}
public static ListExecutorsResponseBody create() {
return builder().build();
}
public Builder toBuilder() {
return new Builder(this);
}
/**
* @return code
*/
public Integer getCode() {
return this.code;
}
/**
* @return data
*/
public java.util.List<Data> getData() {
return this.data;
}
/**
* @return message
*/
public String getMessage() {
return this.message;
}
/**
* @return requestId
*/
public String getRequestId() {
return this.requestId;
}
/**
* @return success
*/
public Boolean getSuccess() {
return this.success;
}
public static final class Builder {
private Integer code;
private java.util.List<Data> data;
private String message;
private String requestId;
private Boolean success;
private Builder() {
}
private Builder(ListExecutorsResponseBody model) {
this.code = model.code;
this.data = model.data;
this.message = model.message;
this.requestId = model.requestId;
this.success = model.success;
}
/**
* Code.
*/
public Builder code(Integer code) {
this.code = code;
return this;
}
/**
* <ul>
* <li></li>
* </ul>
*/
public Builder data(java.util.List<Data> data) {
this.data = data;
return this;
}
/**
* Message.
*/
public Builder message(String message) {
this.message = message;
return this;
}
/**
* RequestId.
*/
public Builder requestId(String requestId) {
this.requestId = requestId;
return this;
}
/**
* Success.
*/
public Builder success(Boolean success) {
this.success = success;
return this;
}
public ListExecutorsResponseBody build() {
return new ListExecutorsResponseBody(this);
}
}
/**
*
* {@link ListExecutorsResponseBody} extends {@link TeaModel}
*
* <p>ListExecutorsResponseBody</p>
*/
public static class Data extends TeaModel {
@com.aliyun.core.annotation.NameInMap("Address")
private String address;
@com.aliyun.core.annotation.NameInMap("Ip")
private String ip;
@com.aliyun.core.annotation.NameInMap("IsDesignated")
private Boolean isDesignated;
@com.aliyun.core.annotation.NameInMap("Label")
private String label;
@com.aliyun.core.annotation.NameInMap("Online")
private Boolean online;
@com.aliyun.core.annotation.NameInMap("Port")
private Integer port;
@com.aliyun.core.annotation.NameInMap("Version")
private String version;
@com.aliyun.core.annotation.NameInMap("Weight")
private Integer weight;
private Data(Builder builder) {
this.address = builder.address;
this.ip = builder.ip;
this.isDesignated = builder.isDesignated;
this.label = builder.label;
this.online = builder.online;
this.port = builder.port;
this.version = builder.version;
this.weight = builder.weight;
}
public static Builder builder() {
return new Builder();
}
public static Data create() {
return builder().build();
}
/**
* @return address
*/
public String getAddress() {
return this.address;
}
/**
* @return ip
*/
public String getIp() {
return this.ip;
}
/**
* @return isDesignated
*/
public Boolean getIsDesignated() {
return this.isDesignated;
}
/**
* @return label
*/
public String getLabel() {
return this.label;
}
/**
* @return online
*/
public Boolean getOnline() {
return this.online;
}
/**
* @return port
*/
public Integer getPort() {
return this.port;
}
/**
* @return version
*/
public String getVersion() {
return this.version;
}
/**
* @return weight
*/
public Integer getWeight() {
return this.weight;
}
public static final class Builder {
private String address;
private String ip;
private Boolean isDesignated;
private String label;
private Boolean online;
private Integer port;
private String version;
private Integer weight;
private Builder() {
}
private Builder(Data model) {
this.address = model.address;
this.ip = model.ip;
this.isDesignated = model.isDesignated;
this.label = model.label;
this.online = model.online;
this.port = model.port;
this.version = model.version;
this.weight = model.weight;
}
/**
* Address.
*/
public Builder address(String address) {
this.address = address;
return this;
}
/**
* Ip.
*/
public Builder ip(String ip) {
this.ip = ip;
return this;
}
/**
* IsDesignated.
*/
public Builder isDesignated(Boolean isDesignated) {
this.isDesignated = isDesignated;
return this;
}
/**
* Label.
*/
public Builder label(String label) {
this.label = label;
return this;
}
/**
* Online.
*/
public Builder online(Boolean online) {
this.online = online;
return this;
}
/**
* Port.
*/
public Builder port(Integer port) {
this.port = port;
return this;
}
/**
* Version.
*/
public Builder version(String version) {
this.version = version;
return this;
}
/**
* Weight.
*/
public Builder weight(Integer weight) {
this.weight = weight;
return this;
}
public Data build() {
return new Data(this);
}
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-schedulerx320240624/1.0.10/com/aliyun/sdk/service/schedulerx320240624 | java-sources/com/aliyun/alibabacloud-schedulerx320240624/1.0.10/com/aliyun/sdk/service/schedulerx320240624/models/ListJobExecutionsRequest.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.schedulerx320240624.models;
import com.aliyun.sdk.gateway.pop.*;
import darabonba.core.*;
import darabonba.core.async.*;
import darabonba.core.sync.*;
import darabonba.core.client.*;
import darabonba.core.RequestModel;
import darabonba.core.TeaModel;
import com.aliyun.sdk.gateway.pop.models.*;
/**
*
* {@link ListJobExecutionsRequest} extends {@link RequestModel}
*
* <p>ListJobExecutionsRequest</p>
*/
public class ListJobExecutionsRequest extends Request {
@com.aliyun.core.annotation.Host
@com.aliyun.core.annotation.NameInMap("RegionId")
private String regionId;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("AppName")
private String appName;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("ClusterId")
@com.aliyun.core.annotation.Validation(required = true)
private String clusterId;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("EndTime")
private String endTime;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("JobExecutionId")
private String jobExecutionId;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("JobId")
private Long jobId;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("JobName")
private String jobName;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("PageNum")
private Integer pageNum;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("PageSize")
private Integer pageSize;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("StartTime")
private String startTime;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("Status")
private Integer status;
private ListJobExecutionsRequest(Builder builder) {
super(builder);
this.regionId = builder.regionId;
this.appName = builder.appName;
this.clusterId = builder.clusterId;
this.endTime = builder.endTime;
this.jobExecutionId = builder.jobExecutionId;
this.jobId = builder.jobId;
this.jobName = builder.jobName;
this.pageNum = builder.pageNum;
this.pageSize = builder.pageSize;
this.startTime = builder.startTime;
this.status = builder.status;
}
public static Builder builder() {
return new Builder();
}
public static ListJobExecutionsRequest create() {
return builder().build();
}
@Override
public Builder toBuilder() {
return new Builder(this);
}
/**
* @return regionId
*/
public String getRegionId() {
return this.regionId;
}
/**
* @return appName
*/
public String getAppName() {
return this.appName;
}
/**
* @return clusterId
*/
public String getClusterId() {
return this.clusterId;
}
/**
* @return endTime
*/
public String getEndTime() {
return this.endTime;
}
/**
* @return jobExecutionId
*/
public String getJobExecutionId() {
return this.jobExecutionId;
}
/**
* @return jobId
*/
public Long getJobId() {
return this.jobId;
}
/**
* @return jobName
*/
public String getJobName() {
return this.jobName;
}
/**
* @return pageNum
*/
public Integer getPageNum() {
return this.pageNum;
}
/**
* @return pageSize
*/
public Integer getPageSize() {
return this.pageSize;
}
/**
* @return startTime
*/
public String getStartTime() {
return this.startTime;
}
/**
* @return status
*/
public Integer getStatus() {
return this.status;
}
public static final class Builder extends Request.Builder<ListJobExecutionsRequest, Builder> {
private String regionId;
private String appName;
private String clusterId;
private String endTime;
private String jobExecutionId;
private Long jobId;
private String jobName;
private Integer pageNum;
private Integer pageSize;
private String startTime;
private Integer status;
private Builder() {
super();
}
private Builder(ListJobExecutionsRequest request) {
super(request);
this.regionId = request.regionId;
this.appName = request.appName;
this.clusterId = request.clusterId;
this.endTime = request.endTime;
this.jobExecutionId = request.jobExecutionId;
this.jobId = request.jobId;
this.jobName = request.jobName;
this.pageNum = request.pageNum;
this.pageSize = request.pageSize;
this.startTime = request.startTime;
this.status = request.status;
}
/**
* RegionId.
*/
public Builder regionId(String regionId) {
this.putHostParameter("RegionId", regionId);
this.regionId = regionId;
return this;
}
/**
* AppName.
*/
public Builder appName(String appName) {
this.putQueryParameter("AppName", appName);
this.appName = appName;
return this;
}
/**
* <p>This parameter is required.</p>
*
* <strong>example:</strong>
* <p>xxljob-b6ec1xxxx</p>
*/
public Builder clusterId(String clusterId) {
this.putQueryParameter("ClusterId", clusterId);
this.clusterId = clusterId;
return this;
}
/**
* EndTime.
*/
public Builder endTime(String endTime) {
this.putQueryParameter("EndTime", endTime);
this.endTime = endTime;
return this;
}
/**
* JobExecutionId.
*/
public Builder jobExecutionId(String jobExecutionId) {
this.putQueryParameter("JobExecutionId", jobExecutionId);
this.jobExecutionId = jobExecutionId;
return this;
}
/**
* JobId.
*/
public Builder jobId(Long jobId) {
this.putQueryParameter("JobId", jobId);
this.jobId = jobId;
return this;
}
/**
* JobName.
*/
public Builder jobName(String jobName) {
this.putQueryParameter("JobName", jobName);
this.jobName = jobName;
return this;
}
/**
* PageNum.
*/
public Builder pageNum(Integer pageNum) {
this.putQueryParameter("PageNum", pageNum);
this.pageNum = pageNum;
return this;
}
/**
* PageSize.
*/
public Builder pageSize(Integer pageSize) {
this.putQueryParameter("PageSize", pageSize);
this.pageSize = pageSize;
return this;
}
/**
* StartTime.
*/
public Builder startTime(String startTime) {
this.putQueryParameter("StartTime", startTime);
this.startTime = startTime;
return this;
}
/**
* Status.
*/
public Builder status(Integer status) {
this.putQueryParameter("Status", status);
this.status = status;
return this;
}
@Override
public ListJobExecutionsRequest build() {
return new ListJobExecutionsRequest(this);
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-schedulerx320240624/1.0.10/com/aliyun/sdk/service/schedulerx320240624 | java-sources/com/aliyun/alibabacloud-schedulerx320240624/1.0.10/com/aliyun/sdk/service/schedulerx320240624/models/ListJobExecutionsResponse.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.schedulerx320240624.models;
import com.aliyun.sdk.gateway.pop.*;
import darabonba.core.*;
import darabonba.core.async.*;
import darabonba.core.sync.*;
import darabonba.core.client.*;
import darabonba.core.RequestModel;
import darabonba.core.TeaModel;
import com.aliyun.sdk.gateway.pop.models.*;
/**
*
* {@link ListJobExecutionsResponse} extends {@link TeaModel}
*
* <p>ListJobExecutionsResponse</p>
*/
public class ListJobExecutionsResponse extends Response {
@com.aliyun.core.annotation.NameInMap("headers")
private java.util.Map<String, String> headers;
@com.aliyun.core.annotation.NameInMap("statusCode")
private Integer statusCode;
@com.aliyun.core.annotation.NameInMap("body")
private ListJobExecutionsResponseBody body;
private ListJobExecutionsResponse(BuilderImpl builder) {
super(builder);
this.headers = builder.headers;
this.statusCode = builder.statusCode;
this.body = builder.body;
}
public static ListJobExecutionsResponse create() {
return new BuilderImpl().build();
}
@Override
public Builder toBuilder() {
return new BuilderImpl(this);
}
/**
* @return headers
*/
public java.util.Map<String, String> getHeaders() {
return this.headers;
}
/**
* @return statusCode
*/
public Integer getStatusCode() {
return this.statusCode;
}
/**
* @return body
*/
public ListJobExecutionsResponseBody getBody() {
return this.body;
}
public interface Builder extends Response.Builder<ListJobExecutionsResponse, Builder> {
Builder headers(java.util.Map<String, String> headers);
Builder statusCode(Integer statusCode);
Builder body(ListJobExecutionsResponseBody body);
@Override
ListJobExecutionsResponse build();
}
private static final class BuilderImpl
extends Response.BuilderImpl<ListJobExecutionsResponse, Builder>
implements Builder {
private java.util.Map<String, String> headers;
private Integer statusCode;
private ListJobExecutionsResponseBody body;
private BuilderImpl() {
super();
}
private BuilderImpl(ListJobExecutionsResponse response) {
super(response);
this.headers = response.headers;
this.statusCode = response.statusCode;
this.body = response.body;
}
/**
* headers.
*/
@Override
public Builder headers(java.util.Map<String, String> headers) {
this.headers = headers;
return this;
}
/**
* statusCode.
*/
@Override
public Builder statusCode(Integer statusCode) {
this.statusCode = statusCode;
return this;
}
/**
* body.
*/
@Override
public Builder body(ListJobExecutionsResponseBody body) {
this.body = body;
return this;
}
@Override
public ListJobExecutionsResponse build() {
return new ListJobExecutionsResponse(this);
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-schedulerx320240624/1.0.10/com/aliyun/sdk/service/schedulerx320240624 | java-sources/com/aliyun/alibabacloud-schedulerx320240624/1.0.10/com/aliyun/sdk/service/schedulerx320240624/models/ListJobExecutionsResponseBody.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.schedulerx320240624.models;
import com.aliyun.sdk.gateway.pop.*;
import darabonba.core.*;
import darabonba.core.async.*;
import darabonba.core.sync.*;
import darabonba.core.client.*;
import darabonba.core.RequestModel;
import darabonba.core.TeaModel;
import com.aliyun.sdk.gateway.pop.models.*;
/**
*
* {@link ListJobExecutionsResponseBody} extends {@link TeaModel}
*
* <p>ListJobExecutionsResponseBody</p>
*/
public class ListJobExecutionsResponseBody extends TeaModel {
@com.aliyun.core.annotation.NameInMap("Code")
private Integer code;
@com.aliyun.core.annotation.NameInMap("Data")
private Data data;
@com.aliyun.core.annotation.NameInMap("Message")
@com.aliyun.core.annotation.Validation(required = true)
private String message;
@com.aliyun.core.annotation.NameInMap("RequestId")
private String requestId;
@com.aliyun.core.annotation.NameInMap("Success")
private Boolean success;
private ListJobExecutionsResponseBody(Builder builder) {
this.code = builder.code;
this.data = builder.data;
this.message = builder.message;
this.requestId = builder.requestId;
this.success = builder.success;
}
public static Builder builder() {
return new Builder();
}
public static ListJobExecutionsResponseBody create() {
return builder().build();
}
public Builder toBuilder() {
return new Builder(this);
}
/**
* @return code
*/
public Integer getCode() {
return this.code;
}
/**
* @return data
*/
public Data getData() {
return this.data;
}
/**
* @return message
*/
public String getMessage() {
return this.message;
}
/**
* @return requestId
*/
public String getRequestId() {
return this.requestId;
}
/**
* @return success
*/
public Boolean getSuccess() {
return this.success;
}
public static final class Builder {
private Integer code;
private Data data;
private String message;
private String requestId;
private Boolean success;
private Builder() {
}
private Builder(ListJobExecutionsResponseBody model) {
this.code = model.code;
this.data = model.data;
this.message = model.message;
this.requestId = model.requestId;
this.success = model.success;
}
/**
* Code.
*/
public Builder code(Integer code) {
this.code = code;
return this;
}
/**
* <ul>
* <li></li>
* </ul>
*/
public Builder data(Data data) {
this.data = data;
return this;
}
/**
* <p>This parameter is required.</p>
*
* <strong>example:</strong>
* <p>Parameter error: content is null.</p>
*/
public Builder message(String message) {
this.message = message;
return this;
}
/**
* RequestId.
*/
public Builder requestId(String requestId) {
this.requestId = requestId;
return this;
}
/**
* Success.
*/
public Builder success(Boolean success) {
this.success = success;
return this;
}
public ListJobExecutionsResponseBody build() {
return new ListJobExecutionsResponseBody(this);
}
}
/**
*
* {@link ListJobExecutionsResponseBody} extends {@link TeaModel}
*
* <p>ListJobExecutionsResponseBody</p>
*/
public static class Records extends TeaModel {
@com.aliyun.core.annotation.NameInMap("AppName")
private String appName;
@com.aliyun.core.annotation.NameInMap("Attempt")
private Integer attempt;
@com.aliyun.core.annotation.NameInMap("DataTime")
private String dataTime;
@com.aliyun.core.annotation.NameInMap("Duration")
private Long duration;
@com.aliyun.core.annotation.NameInMap("EndTime")
private String endTime;
@com.aliyun.core.annotation.NameInMap("Executor")
private String executor;
@com.aliyun.core.annotation.NameInMap("JobExecutionId")
private String jobExecutionId;
@com.aliyun.core.annotation.NameInMap("JobId")
private Long jobId;
@com.aliyun.core.annotation.NameInMap("JobName")
private String jobName;
@com.aliyun.core.annotation.NameInMap("JobType")
private String jobType;
@com.aliyun.core.annotation.NameInMap("Parameters")
private String parameters;
@com.aliyun.core.annotation.NameInMap("Result")
private String result;
@com.aliyun.core.annotation.NameInMap("RouteStrategy")
private Integer routeStrategy;
@com.aliyun.core.annotation.NameInMap("ScheduleTime")
private String scheduleTime;
@com.aliyun.core.annotation.NameInMap("ServerIp")
private String serverIp;
@com.aliyun.core.annotation.NameInMap("Status")
private Integer status;
@com.aliyun.core.annotation.NameInMap("TimeType")
private Integer timeType;
@com.aliyun.core.annotation.NameInMap("TotalTokens")
private Integer totalTokens;
@com.aliyun.core.annotation.NameInMap("TriggerType")
private Integer triggerType;
@com.aliyun.core.annotation.NameInMap("WorkAddr")
private String workAddr;
private Records(Builder builder) {
this.appName = builder.appName;
this.attempt = builder.attempt;
this.dataTime = builder.dataTime;
this.duration = builder.duration;
this.endTime = builder.endTime;
this.executor = builder.executor;
this.jobExecutionId = builder.jobExecutionId;
this.jobId = builder.jobId;
this.jobName = builder.jobName;
this.jobType = builder.jobType;
this.parameters = builder.parameters;
this.result = builder.result;
this.routeStrategy = builder.routeStrategy;
this.scheduleTime = builder.scheduleTime;
this.serverIp = builder.serverIp;
this.status = builder.status;
this.timeType = builder.timeType;
this.totalTokens = builder.totalTokens;
this.triggerType = builder.triggerType;
this.workAddr = builder.workAddr;
}
public static Builder builder() {
return new Builder();
}
public static Records create() {
return builder().build();
}
/**
* @return appName
*/
public String getAppName() {
return this.appName;
}
/**
* @return attempt
*/
public Integer getAttempt() {
return this.attempt;
}
/**
* @return dataTime
*/
public String getDataTime() {
return this.dataTime;
}
/**
* @return duration
*/
public Long getDuration() {
return this.duration;
}
/**
* @return endTime
*/
public String getEndTime() {
return this.endTime;
}
/**
* @return executor
*/
public String getExecutor() {
return this.executor;
}
/**
* @return jobExecutionId
*/
public String getJobExecutionId() {
return this.jobExecutionId;
}
/**
* @return jobId
*/
public Long getJobId() {
return this.jobId;
}
/**
* @return jobName
*/
public String getJobName() {
return this.jobName;
}
/**
* @return jobType
*/
public String getJobType() {
return this.jobType;
}
/**
* @return parameters
*/
public String getParameters() {
return this.parameters;
}
/**
* @return result
*/
public String getResult() {
return this.result;
}
/**
* @return routeStrategy
*/
public Integer getRouteStrategy() {
return this.routeStrategy;
}
/**
* @return scheduleTime
*/
public String getScheduleTime() {
return this.scheduleTime;
}
/**
* @return serverIp
*/
public String getServerIp() {
return this.serverIp;
}
/**
* @return status
*/
public Integer getStatus() {
return this.status;
}
/**
* @return timeType
*/
public Integer getTimeType() {
return this.timeType;
}
/**
* @return totalTokens
*/
public Integer getTotalTokens() {
return this.totalTokens;
}
/**
* @return triggerType
*/
public Integer getTriggerType() {
return this.triggerType;
}
/**
* @return workAddr
*/
public String getWorkAddr() {
return this.workAddr;
}
public static final class Builder {
private String appName;
private Integer attempt;
private String dataTime;
private Long duration;
private String endTime;
private String executor;
private String jobExecutionId;
private Long jobId;
private String jobName;
private String jobType;
private String parameters;
private String result;
private Integer routeStrategy;
private String scheduleTime;
private String serverIp;
private Integer status;
private Integer timeType;
private Integer totalTokens;
private Integer triggerType;
private String workAddr;
private Builder() {
}
private Builder(Records model) {
this.appName = model.appName;
this.attempt = model.attempt;
this.dataTime = model.dataTime;
this.duration = model.duration;
this.endTime = model.endTime;
this.executor = model.executor;
this.jobExecutionId = model.jobExecutionId;
this.jobId = model.jobId;
this.jobName = model.jobName;
this.jobType = model.jobType;
this.parameters = model.parameters;
this.result = model.result;
this.routeStrategy = model.routeStrategy;
this.scheduleTime = model.scheduleTime;
this.serverIp = model.serverIp;
this.status = model.status;
this.timeType = model.timeType;
this.totalTokens = model.totalTokens;
this.triggerType = model.triggerType;
this.workAddr = model.workAddr;
}
/**
* AppName.
*/
public Builder appName(String appName) {
this.appName = appName;
return this;
}
/**
* Attempt.
*/
public Builder attempt(Integer attempt) {
this.attempt = attempt;
return this;
}
/**
* DataTime.
*/
public Builder dataTime(String dataTime) {
this.dataTime = dataTime;
return this;
}
/**
* Duration.
*/
public Builder duration(Long duration) {
this.duration = duration;
return this;
}
/**
* EndTime.
*/
public Builder endTime(String endTime) {
this.endTime = endTime;
return this;
}
/**
* Executor.
*/
public Builder executor(String executor) {
this.executor = executor;
return this;
}
/**
* JobExecutionId.
*/
public Builder jobExecutionId(String jobExecutionId) {
this.jobExecutionId = jobExecutionId;
return this;
}
/**
* JobId.
*/
public Builder jobId(Long jobId) {
this.jobId = jobId;
return this;
}
/**
* JobName.
*/
public Builder jobName(String jobName) {
this.jobName = jobName;
return this;
}
/**
* JobType.
*/
public Builder jobType(String jobType) {
this.jobType = jobType;
return this;
}
/**
* Parameters.
*/
public Builder parameters(String parameters) {
this.parameters = parameters;
return this;
}
/**
* Result.
*/
public Builder result(String result) {
this.result = result;
return this;
}
/**
* RouteStrategy.
*/
public Builder routeStrategy(Integer routeStrategy) {
this.routeStrategy = routeStrategy;
return this;
}
/**
* ScheduleTime.
*/
public Builder scheduleTime(String scheduleTime) {
this.scheduleTime = scheduleTime;
return this;
}
/**
* ServerIp.
*/
public Builder serverIp(String serverIp) {
this.serverIp = serverIp;
return this;
}
/**
* Status.
*/
public Builder status(Integer status) {
this.status = status;
return this;
}
/**
* TimeType.
*/
public Builder timeType(Integer timeType) {
this.timeType = timeType;
return this;
}
/**
* TotalTokens.
*/
public Builder totalTokens(Integer totalTokens) {
this.totalTokens = totalTokens;
return this;
}
/**
* TriggerType.
*/
public Builder triggerType(Integer triggerType) {
this.triggerType = triggerType;
return this;
}
/**
* WorkAddr.
*/
public Builder workAddr(String workAddr) {
this.workAddr = workAddr;
return this;
}
public Records build() {
return new Records(this);
}
}
}
/**
*
* {@link ListJobExecutionsResponseBody} extends {@link TeaModel}
*
* <p>ListJobExecutionsResponseBody</p>
*/
public static class Data extends TeaModel {
@com.aliyun.core.annotation.NameInMap("PageNumber")
private Integer pageNumber;
@com.aliyun.core.annotation.NameInMap("PageSize")
private Integer pageSize;
@com.aliyun.core.annotation.NameInMap("Records")
private java.util.List<Records> records;
@com.aliyun.core.annotation.NameInMap("Total")
private Integer total;
private Data(Builder builder) {
this.pageNumber = builder.pageNumber;
this.pageSize = builder.pageSize;
this.records = builder.records;
this.total = builder.total;
}
public static Builder builder() {
return new Builder();
}
public static Data create() {
return builder().build();
}
/**
* @return pageNumber
*/
public Integer getPageNumber() {
return this.pageNumber;
}
/**
* @return pageSize
*/
public Integer getPageSize() {
return this.pageSize;
}
/**
* @return records
*/
public java.util.List<Records> getRecords() {
return this.records;
}
/**
* @return total
*/
public Integer getTotal() {
return this.total;
}
public static final class Builder {
private Integer pageNumber;
private Integer pageSize;
private java.util.List<Records> records;
private Integer total;
private Builder() {
}
private Builder(Data model) {
this.pageNumber = model.pageNumber;
this.pageSize = model.pageSize;
this.records = model.records;
this.total = model.total;
}
/**
* PageNumber.
*/
public Builder pageNumber(Integer pageNumber) {
this.pageNumber = pageNumber;
return this;
}
/**
* PageSize.
*/
public Builder pageSize(Integer pageSize) {
this.pageSize = pageSize;
return this;
}
/**
* <ul>
* <li></li>
* </ul>
*/
public Builder records(java.util.List<Records> records) {
this.records = records;
return this;
}
/**
* Total.
*/
public Builder total(Integer total) {
this.total = total;
return this;
}
public Data build() {
return new Data(this);
}
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-schedulerx320240624/1.0.10/com/aliyun/sdk/service/schedulerx320240624 | java-sources/com/aliyun/alibabacloud-schedulerx320240624/1.0.10/com/aliyun/sdk/service/schedulerx320240624/models/ListJobScriptHistoryRequest.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.schedulerx320240624.models;
import com.aliyun.sdk.gateway.pop.*;
import darabonba.core.*;
import darabonba.core.async.*;
import darabonba.core.sync.*;
import darabonba.core.client.*;
import darabonba.core.RequestModel;
import darabonba.core.TeaModel;
import com.aliyun.sdk.gateway.pop.models.*;
/**
*
* {@link ListJobScriptHistoryRequest} extends {@link RequestModel}
*
* <p>ListJobScriptHistoryRequest</p>
*/
public class ListJobScriptHistoryRequest extends Request {
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("AppName")
@com.aliyun.core.annotation.Validation(required = true)
private String appName;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("ClusterId")
@com.aliyun.core.annotation.Validation(required = true)
private String clusterId;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("JobId")
@com.aliyun.core.annotation.Validation(required = true)
private Long jobId;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("MaxResults")
private Integer maxResults;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("NextToken")
private String nextToken;
private ListJobScriptHistoryRequest(Builder builder) {
super(builder);
this.appName = builder.appName;
this.clusterId = builder.clusterId;
this.jobId = builder.jobId;
this.maxResults = builder.maxResults;
this.nextToken = builder.nextToken;
}
public static Builder builder() {
return new Builder();
}
public static ListJobScriptHistoryRequest create() {
return builder().build();
}
@Override
public Builder toBuilder() {
return new Builder(this);
}
/**
* @return appName
*/
public String getAppName() {
return this.appName;
}
/**
* @return clusterId
*/
public String getClusterId() {
return this.clusterId;
}
/**
* @return jobId
*/
public Long getJobId() {
return this.jobId;
}
/**
* @return maxResults
*/
public Integer getMaxResults() {
return this.maxResults;
}
/**
* @return nextToken
*/
public String getNextToken() {
return this.nextToken;
}
public static final class Builder extends Request.Builder<ListJobScriptHistoryRequest, Builder> {
private String appName;
private String clusterId;
private Long jobId;
private Integer maxResults;
private String nextToken;
private Builder() {
super();
}
private Builder(ListJobScriptHistoryRequest request) {
super(request);
this.appName = request.appName;
this.clusterId = request.clusterId;
this.jobId = request.jobId;
this.maxResults = request.maxResults;
this.nextToken = request.nextToken;
}
/**
* <p>This parameter is required.</p>
*
* <strong>example:</strong>
* <p>test-app</p>
*/
public Builder appName(String appName) {
this.putQueryParameter("AppName", appName);
this.appName = appName;
return this;
}
/**
* <p>This parameter is required.</p>
*
* <strong>example:</strong>
* <p>xxljob-b6ec1xxxx</p>
*/
public Builder clusterId(String clusterId) {
this.putQueryParameter("ClusterId", clusterId);
this.clusterId = clusterId;
return this;
}
/**
* <p>This parameter is required.</p>
*
* <strong>example:</strong>
* <p>74</p>
*/
public Builder jobId(Long jobId) {
this.putQueryParameter("JobId", jobId);
this.jobId = jobId;
return this;
}
/**
* MaxResults.
*/
public Builder maxResults(Integer maxResults) {
this.putQueryParameter("MaxResults", maxResults);
this.maxResults = maxResults;
return this;
}
/**
* NextToken.
*/
public Builder nextToken(String nextToken) {
this.putQueryParameter("NextToken", nextToken);
this.nextToken = nextToken;
return this;
}
@Override
public ListJobScriptHistoryRequest build() {
return new ListJobScriptHistoryRequest(this);
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-schedulerx320240624/1.0.10/com/aliyun/sdk/service/schedulerx320240624 | java-sources/com/aliyun/alibabacloud-schedulerx320240624/1.0.10/com/aliyun/sdk/service/schedulerx320240624/models/ListJobScriptHistoryResponse.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.schedulerx320240624.models;
import com.aliyun.sdk.gateway.pop.*;
import darabonba.core.*;
import darabonba.core.async.*;
import darabonba.core.sync.*;
import darabonba.core.client.*;
import darabonba.core.RequestModel;
import darabonba.core.TeaModel;
import com.aliyun.sdk.gateway.pop.models.*;
/**
*
* {@link ListJobScriptHistoryResponse} extends {@link TeaModel}
*
* <p>ListJobScriptHistoryResponse</p>
*/
public class ListJobScriptHistoryResponse extends Response {
@com.aliyun.core.annotation.NameInMap("headers")
private java.util.Map<String, String> headers;
@com.aliyun.core.annotation.NameInMap("statusCode")
private Integer statusCode;
@com.aliyun.core.annotation.NameInMap("body")
private ListJobScriptHistoryResponseBody body;
private ListJobScriptHistoryResponse(BuilderImpl builder) {
super(builder);
this.headers = builder.headers;
this.statusCode = builder.statusCode;
this.body = builder.body;
}
public static ListJobScriptHistoryResponse create() {
return new BuilderImpl().build();
}
@Override
public Builder toBuilder() {
return new BuilderImpl(this);
}
/**
* @return headers
*/
public java.util.Map<String, String> getHeaders() {
return this.headers;
}
/**
* @return statusCode
*/
public Integer getStatusCode() {
return this.statusCode;
}
/**
* @return body
*/
public ListJobScriptHistoryResponseBody getBody() {
return this.body;
}
public interface Builder extends Response.Builder<ListJobScriptHistoryResponse, Builder> {
Builder headers(java.util.Map<String, String> headers);
Builder statusCode(Integer statusCode);
Builder body(ListJobScriptHistoryResponseBody body);
@Override
ListJobScriptHistoryResponse build();
}
private static final class BuilderImpl
extends Response.BuilderImpl<ListJobScriptHistoryResponse, Builder>
implements Builder {
private java.util.Map<String, String> headers;
private Integer statusCode;
private ListJobScriptHistoryResponseBody body;
private BuilderImpl() {
super();
}
private BuilderImpl(ListJobScriptHistoryResponse response) {
super(response);
this.headers = response.headers;
this.statusCode = response.statusCode;
this.body = response.body;
}
/**
* headers.
*/
@Override
public Builder headers(java.util.Map<String, String> headers) {
this.headers = headers;
return this;
}
/**
* statusCode.
*/
@Override
public Builder statusCode(Integer statusCode) {
this.statusCode = statusCode;
return this;
}
/**
* body.
*/
@Override
public Builder body(ListJobScriptHistoryResponseBody body) {
this.body = body;
return this;
}
@Override
public ListJobScriptHistoryResponse build() {
return new ListJobScriptHistoryResponse(this);
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-schedulerx320240624/1.0.10/com/aliyun/sdk/service/schedulerx320240624 | java-sources/com/aliyun/alibabacloud-schedulerx320240624/1.0.10/com/aliyun/sdk/service/schedulerx320240624/models/ListJobScriptHistoryResponseBody.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.schedulerx320240624.models;
import com.aliyun.sdk.gateway.pop.*;
import darabonba.core.*;
import darabonba.core.async.*;
import darabonba.core.sync.*;
import darabonba.core.client.*;
import darabonba.core.RequestModel;
import darabonba.core.TeaModel;
import com.aliyun.sdk.gateway.pop.models.*;
/**
*
* {@link ListJobScriptHistoryResponseBody} extends {@link TeaModel}
*
* <p>ListJobScriptHistoryResponseBody</p>
*/
public class ListJobScriptHistoryResponseBody extends TeaModel {
@com.aliyun.core.annotation.NameInMap("Code")
private Integer code;
@com.aliyun.core.annotation.NameInMap("Data")
private Data data;
@com.aliyun.core.annotation.NameInMap("MaxResults")
private Integer maxResults;
@com.aliyun.core.annotation.NameInMap("Message")
@com.aliyun.core.annotation.Validation(required = true)
private String message;
@com.aliyun.core.annotation.NameInMap("RequestId")
private String requestId;
@com.aliyun.core.annotation.NameInMap("Success")
private Boolean success;
private ListJobScriptHistoryResponseBody(Builder builder) {
this.code = builder.code;
this.data = builder.data;
this.maxResults = builder.maxResults;
this.message = builder.message;
this.requestId = builder.requestId;
this.success = builder.success;
}
public static Builder builder() {
return new Builder();
}
public static ListJobScriptHistoryResponseBody create() {
return builder().build();
}
public Builder toBuilder() {
return new Builder(this);
}
/**
* @return code
*/
public Integer getCode() {
return this.code;
}
/**
* @return data
*/
public Data getData() {
return this.data;
}
/**
* @return maxResults
*/
public Integer getMaxResults() {
return this.maxResults;
}
/**
* @return message
*/
public String getMessage() {
return this.message;
}
/**
* @return requestId
*/
public String getRequestId() {
return this.requestId;
}
/**
* @return success
*/
public Boolean getSuccess() {
return this.success;
}
public static final class Builder {
private Integer code;
private Data data;
private Integer maxResults;
private String message;
private String requestId;
private Boolean success;
private Builder() {
}
private Builder(ListJobScriptHistoryResponseBody model) {
this.code = model.code;
this.data = model.data;
this.maxResults = model.maxResults;
this.message = model.message;
this.requestId = model.requestId;
this.success = model.success;
}
/**
* Code.
*/
public Builder code(Integer code) {
this.code = code;
return this;
}
/**
* <ul>
* <li></li>
* </ul>
*/
public Builder data(Data data) {
this.data = data;
return this;
}
/**
* MaxResults.
*/
public Builder maxResults(Integer maxResults) {
this.maxResults = maxResults;
return this;
}
/**
* <p>This parameter is required.</p>
*
* <strong>example:</strong>
* <p>not support query script history, please upgrade engine version to 2.2.2+</p>
*/
public Builder message(String message) {
this.message = message;
return this;
}
/**
* RequestId.
*/
public Builder requestId(String requestId) {
this.requestId = requestId;
return this;
}
/**
* Success.
*/
public Builder success(Boolean success) {
this.success = success;
return this;
}
public ListJobScriptHistoryResponseBody build() {
return new ListJobScriptHistoryResponseBody(this);
}
}
/**
*
* {@link ListJobScriptHistoryResponseBody} extends {@link TeaModel}
*
* <p>ListJobScriptHistoryResponseBody</p>
*/
public static class Records extends TeaModel {
@com.aliyun.core.annotation.NameInMap("CreateTime")
private String createTime;
@com.aliyun.core.annotation.NameInMap("Creator")
private String creator;
@com.aliyun.core.annotation.NameInMap("ScriptContent")
private String scriptContent;
@com.aliyun.core.annotation.NameInMap("VersionDescription")
private String versionDescription;
private Records(Builder builder) {
this.createTime = builder.createTime;
this.creator = builder.creator;
this.scriptContent = builder.scriptContent;
this.versionDescription = builder.versionDescription;
}
public static Builder builder() {
return new Builder();
}
public static Records create() {
return builder().build();
}
/**
* @return createTime
*/
public String getCreateTime() {
return this.createTime;
}
/**
* @return creator
*/
public String getCreator() {
return this.creator;
}
/**
* @return scriptContent
*/
public String getScriptContent() {
return this.scriptContent;
}
/**
* @return versionDescription
*/
public String getVersionDescription() {
return this.versionDescription;
}
public static final class Builder {
private String createTime;
private String creator;
private String scriptContent;
private String versionDescription;
private Builder() {
}
private Builder(Records model) {
this.createTime = model.createTime;
this.creator = model.creator;
this.scriptContent = model.scriptContent;
this.versionDescription = model.versionDescription;
}
/**
* CreateTime.
*/
public Builder createTime(String createTime) {
this.createTime = createTime;
return this;
}
/**
* Creator.
*/
public Builder creator(String creator) {
this.creator = creator;
return this;
}
/**
* ScriptContent.
*/
public Builder scriptContent(String scriptContent) {
this.scriptContent = scriptContent;
return this;
}
/**
* VersionDescription.
*/
public Builder versionDescription(String versionDescription) {
this.versionDescription = versionDescription;
return this;
}
public Records build() {
return new Records(this);
}
}
}
/**
*
* {@link ListJobScriptHistoryResponseBody} extends {@link TeaModel}
*
* <p>ListJobScriptHistoryResponseBody</p>
*/
public static class Data extends TeaModel {
@com.aliyun.core.annotation.NameInMap("NextToken")
private String nextToken;
@com.aliyun.core.annotation.NameInMap("Records")
private java.util.List<Records> records;
@com.aliyun.core.annotation.NameInMap("Total")
private String total;
private Data(Builder builder) {
this.nextToken = builder.nextToken;
this.records = builder.records;
this.total = builder.total;
}
public static Builder builder() {
return new Builder();
}
public static Data create() {
return builder().build();
}
/**
* @return nextToken
*/
public String getNextToken() {
return this.nextToken;
}
/**
* @return records
*/
public java.util.List<Records> getRecords() {
return this.records;
}
/**
* @return total
*/
public String getTotal() {
return this.total;
}
public static final class Builder {
private String nextToken;
private java.util.List<Records> records;
private String total;
private Builder() {
}
private Builder(Data model) {
this.nextToken = model.nextToken;
this.records = model.records;
this.total = model.total;
}
/**
* NextToken.
*/
public Builder nextToken(String nextToken) {
this.nextToken = nextToken;
return this;
}
/**
* <ul>
* <li></li>
* </ul>
*/
public Builder records(java.util.List<Records> records) {
this.records = records;
return this;
}
/**
* Total.
*/
public Builder total(String total) {
this.total = total;
return this;
}
public Data build() {
return new Data(this);
}
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-schedulerx320240624/1.0.10/com/aliyun/sdk/service/schedulerx320240624 | java-sources/com/aliyun/alibabacloud-schedulerx320240624/1.0.10/com/aliyun/sdk/service/schedulerx320240624/models/ListJobsRequest.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.schedulerx320240624.models;
import com.aliyun.sdk.gateway.pop.*;
import darabonba.core.*;
import darabonba.core.async.*;
import darabonba.core.sync.*;
import darabonba.core.client.*;
import darabonba.core.RequestModel;
import darabonba.core.TeaModel;
import com.aliyun.sdk.gateway.pop.models.*;
/**
*
* {@link ListJobsRequest} extends {@link RequestModel}
*
* <p>ListJobsRequest</p>
*/
public class ListJobsRequest extends Request {
@com.aliyun.core.annotation.Host
@com.aliyun.core.annotation.NameInMap("RegionId")
private String regionId;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("AppName")
private String appName;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("ClusterId")
@com.aliyun.core.annotation.Validation(required = true)
private String clusterId;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("Description")
private String description;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("JobHandler")
private String jobHandler;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("JobId")
private Long jobId;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("JobName")
private String jobName;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("PageNum")
private Integer pageNum;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("PageSize")
private Integer pageSize;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("Status")
private String status;
private ListJobsRequest(Builder builder) {
super(builder);
this.regionId = builder.regionId;
this.appName = builder.appName;
this.clusterId = builder.clusterId;
this.description = builder.description;
this.jobHandler = builder.jobHandler;
this.jobId = builder.jobId;
this.jobName = builder.jobName;
this.pageNum = builder.pageNum;
this.pageSize = builder.pageSize;
this.status = builder.status;
}
public static Builder builder() {
return new Builder();
}
public static ListJobsRequest create() {
return builder().build();
}
@Override
public Builder toBuilder() {
return new Builder(this);
}
/**
* @return regionId
*/
public String getRegionId() {
return this.regionId;
}
/**
* @return appName
*/
public String getAppName() {
return this.appName;
}
/**
* @return clusterId
*/
public String getClusterId() {
return this.clusterId;
}
/**
* @return description
*/
public String getDescription() {
return this.description;
}
/**
* @return jobHandler
*/
public String getJobHandler() {
return this.jobHandler;
}
/**
* @return jobId
*/
public Long getJobId() {
return this.jobId;
}
/**
* @return jobName
*/
public String getJobName() {
return this.jobName;
}
/**
* @return pageNum
*/
public Integer getPageNum() {
return this.pageNum;
}
/**
* @return pageSize
*/
public Integer getPageSize() {
return this.pageSize;
}
/**
* @return status
*/
public String getStatus() {
return this.status;
}
public static final class Builder extends Request.Builder<ListJobsRequest, Builder> {
private String regionId;
private String appName;
private String clusterId;
private String description;
private String jobHandler;
private Long jobId;
private String jobName;
private Integer pageNum;
private Integer pageSize;
private String status;
private Builder() {
super();
}
private Builder(ListJobsRequest request) {
super(request);
this.regionId = request.regionId;
this.appName = request.appName;
this.clusterId = request.clusterId;
this.description = request.description;
this.jobHandler = request.jobHandler;
this.jobId = request.jobId;
this.jobName = request.jobName;
this.pageNum = request.pageNum;
this.pageSize = request.pageSize;
this.status = request.status;
}
/**
* RegionId.
*/
public Builder regionId(String regionId) {
this.putHostParameter("RegionId", regionId);
this.regionId = regionId;
return this;
}
/**
* AppName.
*/
public Builder appName(String appName) {
this.putQueryParameter("AppName", appName);
this.appName = appName;
return this;
}
/**
* <p>This parameter is required.</p>
*
* <strong>example:</strong>
* <p>xxljob-b6ec1xxxx</p>
*/
public Builder clusterId(String clusterId) {
this.putQueryParameter("ClusterId", clusterId);
this.clusterId = clusterId;
return this;
}
/**
* Description.
*/
public Builder description(String description) {
this.putQueryParameter("Description", description);
this.description = description;
return this;
}
/**
* JobHandler.
*/
public Builder jobHandler(String jobHandler) {
this.putQueryParameter("JobHandler", jobHandler);
this.jobHandler = jobHandler;
return this;
}
/**
* JobId.
*/
public Builder jobId(Long jobId) {
this.putQueryParameter("JobId", jobId);
this.jobId = jobId;
return this;
}
/**
* JobName.
*/
public Builder jobName(String jobName) {
this.putQueryParameter("JobName", jobName);
this.jobName = jobName;
return this;
}
/**
* PageNum.
*/
public Builder pageNum(Integer pageNum) {
this.putQueryParameter("PageNum", pageNum);
this.pageNum = pageNum;
return this;
}
/**
* PageSize.
*/
public Builder pageSize(Integer pageSize) {
this.putQueryParameter("PageSize", pageSize);
this.pageSize = pageSize;
return this;
}
/**
* Status.
*/
public Builder status(String status) {
this.putQueryParameter("Status", status);
this.status = status;
return this;
}
@Override
public ListJobsRequest build() {
return new ListJobsRequest(this);
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-schedulerx320240624/1.0.10/com/aliyun/sdk/service/schedulerx320240624 | java-sources/com/aliyun/alibabacloud-schedulerx320240624/1.0.10/com/aliyun/sdk/service/schedulerx320240624/models/ListJobsResponse.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.schedulerx320240624.models;
import com.aliyun.sdk.gateway.pop.*;
import darabonba.core.*;
import darabonba.core.async.*;
import darabonba.core.sync.*;
import darabonba.core.client.*;
import darabonba.core.RequestModel;
import darabonba.core.TeaModel;
import com.aliyun.sdk.gateway.pop.models.*;
/**
*
* {@link ListJobsResponse} extends {@link TeaModel}
*
* <p>ListJobsResponse</p>
*/
public class ListJobsResponse extends Response {
@com.aliyun.core.annotation.NameInMap("headers")
private java.util.Map<String, String> headers;
@com.aliyun.core.annotation.NameInMap("statusCode")
private Integer statusCode;
@com.aliyun.core.annotation.NameInMap("body")
private ListJobsResponseBody body;
private ListJobsResponse(BuilderImpl builder) {
super(builder);
this.headers = builder.headers;
this.statusCode = builder.statusCode;
this.body = builder.body;
}
public static ListJobsResponse create() {
return new BuilderImpl().build();
}
@Override
public Builder toBuilder() {
return new BuilderImpl(this);
}
/**
* @return headers
*/
public java.util.Map<String, String> getHeaders() {
return this.headers;
}
/**
* @return statusCode
*/
public Integer getStatusCode() {
return this.statusCode;
}
/**
* @return body
*/
public ListJobsResponseBody getBody() {
return this.body;
}
public interface Builder extends Response.Builder<ListJobsResponse, Builder> {
Builder headers(java.util.Map<String, String> headers);
Builder statusCode(Integer statusCode);
Builder body(ListJobsResponseBody body);
@Override
ListJobsResponse build();
}
private static final class BuilderImpl
extends Response.BuilderImpl<ListJobsResponse, Builder>
implements Builder {
private java.util.Map<String, String> headers;
private Integer statusCode;
private ListJobsResponseBody body;
private BuilderImpl() {
super();
}
private BuilderImpl(ListJobsResponse response) {
super(response);
this.headers = response.headers;
this.statusCode = response.statusCode;
this.body = response.body;
}
/**
* headers.
*/
@Override
public Builder headers(java.util.Map<String, String> headers) {
this.headers = headers;
return this;
}
/**
* statusCode.
*/
@Override
public Builder statusCode(Integer statusCode) {
this.statusCode = statusCode;
return this;
}
/**
* body.
*/
@Override
public Builder body(ListJobsResponseBody body) {
this.body = body;
return this;
}
@Override
public ListJobsResponse build() {
return new ListJobsResponse(this);
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-schedulerx320240624/1.0.10/com/aliyun/sdk/service/schedulerx320240624 | java-sources/com/aliyun/alibabacloud-schedulerx320240624/1.0.10/com/aliyun/sdk/service/schedulerx320240624/models/ListJobsResponseBody.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.schedulerx320240624.models;
import com.aliyun.sdk.gateway.pop.*;
import darabonba.core.*;
import darabonba.core.async.*;
import darabonba.core.sync.*;
import darabonba.core.client.*;
import darabonba.core.RequestModel;
import darabonba.core.TeaModel;
import com.aliyun.sdk.gateway.pop.models.*;
/**
*
* {@link ListJobsResponseBody} extends {@link TeaModel}
*
* <p>ListJobsResponseBody</p>
*/
public class ListJobsResponseBody extends TeaModel {
@com.aliyun.core.annotation.NameInMap("Code")
private Integer code;
@com.aliyun.core.annotation.NameInMap("Data")
private Data data;
@com.aliyun.core.annotation.NameInMap("Message")
private String message;
@com.aliyun.core.annotation.NameInMap("RequestId")
private String requestId;
@com.aliyun.core.annotation.NameInMap("Success")
private Boolean success;
private ListJobsResponseBody(Builder builder) {
this.code = builder.code;
this.data = builder.data;
this.message = builder.message;
this.requestId = builder.requestId;
this.success = builder.success;
}
public static Builder builder() {
return new Builder();
}
public static ListJobsResponseBody create() {
return builder().build();
}
public Builder toBuilder() {
return new Builder(this);
}
/**
* @return code
*/
public Integer getCode() {
return this.code;
}
/**
* @return data
*/
public Data getData() {
return this.data;
}
/**
* @return message
*/
public String getMessage() {
return this.message;
}
/**
* @return requestId
*/
public String getRequestId() {
return this.requestId;
}
/**
* @return success
*/
public Boolean getSuccess() {
return this.success;
}
public static final class Builder {
private Integer code;
private Data data;
private String message;
private String requestId;
private Boolean success;
private Builder() {
}
private Builder(ListJobsResponseBody model) {
this.code = model.code;
this.data = model.data;
this.message = model.message;
this.requestId = model.requestId;
this.success = model.success;
}
/**
* Code.
*/
public Builder code(Integer code) {
this.code = code;
return this;
}
/**
* <ul>
* <li></li>
* </ul>
*/
public Builder data(Data data) {
this.data = data;
return this;
}
/**
* Message.
*/
public Builder message(String message) {
this.message = message;
return this;
}
/**
* RequestId.
*/
public Builder requestId(String requestId) {
this.requestId = requestId;
return this;
}
/**
* Success.
*/
public Builder success(Boolean success) {
this.success = success;
return this;
}
public ListJobsResponseBody build() {
return new ListJobsResponseBody(this);
}
}
/**
*
* {@link ListJobsResponseBody} extends {@link TeaModel}
*
* <p>ListJobsResponseBody</p>
*/
public static class Records extends TeaModel {
@com.aliyun.core.annotation.NameInMap("AppName")
private String appName;
@com.aliyun.core.annotation.NameInMap("AttemptInterval")
private Integer attemptInterval;
@com.aliyun.core.annotation.NameInMap("Calendar")
private String calendar;
@com.aliyun.core.annotation.NameInMap("ChildJobId")
private String childJobId;
@com.aliyun.core.annotation.NameInMap("CleanMode")
private String cleanMode;
@com.aliyun.core.annotation.NameInMap("Creator")
private String creator;
@com.aliyun.core.annotation.NameInMap("CurrentExecuteStatus")
private Integer currentExecuteStatus;
@com.aliyun.core.annotation.NameInMap("DataOffset")
private Integer dataOffset;
@com.aliyun.core.annotation.NameInMap("Description")
private String description;
@com.aliyun.core.annotation.NameInMap("ExecutorBlockStrategy")
private String executorBlockStrategy;
@com.aliyun.core.annotation.NameInMap("JobHandler")
private String jobHandler;
@com.aliyun.core.annotation.NameInMap("JobId")
private Long jobId;
@com.aliyun.core.annotation.NameInMap("JobType")
private String jobType;
@com.aliyun.core.annotation.NameInMap("LastExecuteEndTime")
private String lastExecuteEndTime;
@com.aliyun.core.annotation.NameInMap("LastExecuteStatus")
private Integer lastExecuteStatus;
@com.aliyun.core.annotation.NameInMap("MaxAttempt")
private Integer maxAttempt;
@com.aliyun.core.annotation.NameInMap("MaxConcurrency")
private Integer maxConcurrency;
@com.aliyun.core.annotation.NameInMap("Name")
private String name;
@com.aliyun.core.annotation.NameInMap("NoticeConfig")
private String noticeConfig;
@com.aliyun.core.annotation.NameInMap("NoticeContacts")
private String noticeContacts;
@com.aliyun.core.annotation.NameInMap("Parameters")
private String parameters;
@com.aliyun.core.annotation.NameInMap("Priority")
private Integer priority;
@com.aliyun.core.annotation.NameInMap("RouteStrategy")
private Integer routeStrategy;
@com.aliyun.core.annotation.NameInMap("Script")
private String script;
@com.aliyun.core.annotation.NameInMap("Status")
private Integer status;
@com.aliyun.core.annotation.NameInMap("TimeExpression")
private String timeExpression;
@com.aliyun.core.annotation.NameInMap("TimeType")
private Integer timeType;
@com.aliyun.core.annotation.NameInMap("TimeZone")
private String timeZone;
@com.aliyun.core.annotation.NameInMap("Timezone")
private String timezone;
@com.aliyun.core.annotation.NameInMap("Updater")
private String updater;
@com.aliyun.core.annotation.NameInMap("Weight")
private Integer weight;
@com.aliyun.core.annotation.NameInMap("Xattrs")
private String xattrs;
private Records(Builder builder) {
this.appName = builder.appName;
this.attemptInterval = builder.attemptInterval;
this.calendar = builder.calendar;
this.childJobId = builder.childJobId;
this.cleanMode = builder.cleanMode;
this.creator = builder.creator;
this.currentExecuteStatus = builder.currentExecuteStatus;
this.dataOffset = builder.dataOffset;
this.description = builder.description;
this.executorBlockStrategy = builder.executorBlockStrategy;
this.jobHandler = builder.jobHandler;
this.jobId = builder.jobId;
this.jobType = builder.jobType;
this.lastExecuteEndTime = builder.lastExecuteEndTime;
this.lastExecuteStatus = builder.lastExecuteStatus;
this.maxAttempt = builder.maxAttempt;
this.maxConcurrency = builder.maxConcurrency;
this.name = builder.name;
this.noticeConfig = builder.noticeConfig;
this.noticeContacts = builder.noticeContacts;
this.parameters = builder.parameters;
this.priority = builder.priority;
this.routeStrategy = builder.routeStrategy;
this.script = builder.script;
this.status = builder.status;
this.timeExpression = builder.timeExpression;
this.timeType = builder.timeType;
this.timeZone = builder.timeZone;
this.timezone = builder.timezone;
this.updater = builder.updater;
this.weight = builder.weight;
this.xattrs = builder.xattrs;
}
public static Builder builder() {
return new Builder();
}
public static Records create() {
return builder().build();
}
/**
* @return appName
*/
public String getAppName() {
return this.appName;
}
/**
* @return attemptInterval
*/
public Integer getAttemptInterval() {
return this.attemptInterval;
}
/**
* @return calendar
*/
public String getCalendar() {
return this.calendar;
}
/**
* @return childJobId
*/
public String getChildJobId() {
return this.childJobId;
}
/**
* @return cleanMode
*/
public String getCleanMode() {
return this.cleanMode;
}
/**
* @return creator
*/
public String getCreator() {
return this.creator;
}
/**
* @return currentExecuteStatus
*/
public Integer getCurrentExecuteStatus() {
return this.currentExecuteStatus;
}
/**
* @return dataOffset
*/
public Integer getDataOffset() {
return this.dataOffset;
}
/**
* @return description
*/
public String getDescription() {
return this.description;
}
/**
* @return executorBlockStrategy
*/
public String getExecutorBlockStrategy() {
return this.executorBlockStrategy;
}
/**
* @return jobHandler
*/
public String getJobHandler() {
return this.jobHandler;
}
/**
* @return jobId
*/
public Long getJobId() {
return this.jobId;
}
/**
* @return jobType
*/
public String getJobType() {
return this.jobType;
}
/**
* @return lastExecuteEndTime
*/
public String getLastExecuteEndTime() {
return this.lastExecuteEndTime;
}
/**
* @return lastExecuteStatus
*/
public Integer getLastExecuteStatus() {
return this.lastExecuteStatus;
}
/**
* @return maxAttempt
*/
public Integer getMaxAttempt() {
return this.maxAttempt;
}
/**
* @return maxConcurrency
*/
public Integer getMaxConcurrency() {
return this.maxConcurrency;
}
/**
* @return name
*/
public String getName() {
return this.name;
}
/**
* @return noticeConfig
*/
public String getNoticeConfig() {
return this.noticeConfig;
}
/**
* @return noticeContacts
*/
public String getNoticeContacts() {
return this.noticeContacts;
}
/**
* @return parameters
*/
public String getParameters() {
return this.parameters;
}
/**
* @return priority
*/
public Integer getPriority() {
return this.priority;
}
/**
* @return routeStrategy
*/
public Integer getRouteStrategy() {
return this.routeStrategy;
}
/**
* @return script
*/
public String getScript() {
return this.script;
}
/**
* @return status
*/
public Integer getStatus() {
return this.status;
}
/**
* @return timeExpression
*/
public String getTimeExpression() {
return this.timeExpression;
}
/**
* @return timeType
*/
public Integer getTimeType() {
return this.timeType;
}
/**
* @return timeZone
*/
public String getTimeZone() {
return this.timeZone;
}
/**
* @return timezone
*/
public String getTimezone() {
return this.timezone;
}
/**
* @return updater
*/
public String getUpdater() {
return this.updater;
}
/**
* @return weight
*/
public Integer getWeight() {
return this.weight;
}
/**
* @return xattrs
*/
public String getXattrs() {
return this.xattrs;
}
public static final class Builder {
private String appName;
private Integer attemptInterval;
private String calendar;
private String childJobId;
private String cleanMode;
private String creator;
private Integer currentExecuteStatus;
private Integer dataOffset;
private String description;
private String executorBlockStrategy;
private String jobHandler;
private Long jobId;
private String jobType;
private String lastExecuteEndTime;
private Integer lastExecuteStatus;
private Integer maxAttempt;
private Integer maxConcurrency;
private String name;
private String noticeConfig;
private String noticeContacts;
private String parameters;
private Integer priority;
private Integer routeStrategy;
private String script;
private Integer status;
private String timeExpression;
private Integer timeType;
private String timeZone;
private String timezone;
private String updater;
private Integer weight;
private String xattrs;
private Builder() {
}
private Builder(Records model) {
this.appName = model.appName;
this.attemptInterval = model.attemptInterval;
this.calendar = model.calendar;
this.childJobId = model.childJobId;
this.cleanMode = model.cleanMode;
this.creator = model.creator;
this.currentExecuteStatus = model.currentExecuteStatus;
this.dataOffset = model.dataOffset;
this.description = model.description;
this.executorBlockStrategy = model.executorBlockStrategy;
this.jobHandler = model.jobHandler;
this.jobId = model.jobId;
this.jobType = model.jobType;
this.lastExecuteEndTime = model.lastExecuteEndTime;
this.lastExecuteStatus = model.lastExecuteStatus;
this.maxAttempt = model.maxAttempt;
this.maxConcurrency = model.maxConcurrency;
this.name = model.name;
this.noticeConfig = model.noticeConfig;
this.noticeContacts = model.noticeContacts;
this.parameters = model.parameters;
this.priority = model.priority;
this.routeStrategy = model.routeStrategy;
this.script = model.script;
this.status = model.status;
this.timeExpression = model.timeExpression;
this.timeType = model.timeType;
this.timeZone = model.timeZone;
this.timezone = model.timezone;
this.updater = model.updater;
this.weight = model.weight;
this.xattrs = model.xattrs;
}
/**
* AppName.
*/
public Builder appName(String appName) {
this.appName = appName;
return this;
}
/**
* AttemptInterval.
*/
public Builder attemptInterval(Integer attemptInterval) {
this.attemptInterval = attemptInterval;
return this;
}
/**
* Calendar.
*/
public Builder calendar(String calendar) {
this.calendar = calendar;
return this;
}
/**
* ChildJobId.
*/
public Builder childJobId(String childJobId) {
this.childJobId = childJobId;
return this;
}
/**
* CleanMode.
*/
public Builder cleanMode(String cleanMode) {
this.cleanMode = cleanMode;
return this;
}
/**
* Creator.
*/
public Builder creator(String creator) {
this.creator = creator;
return this;
}
/**
* CurrentExecuteStatus.
*/
public Builder currentExecuteStatus(Integer currentExecuteStatus) {
this.currentExecuteStatus = currentExecuteStatus;
return this;
}
/**
* DataOffset.
*/
public Builder dataOffset(Integer dataOffset) {
this.dataOffset = dataOffset;
return this;
}
/**
* Description.
*/
public Builder description(String description) {
this.description = description;
return this;
}
/**
* ExecutorBlockStrategy.
*/
public Builder executorBlockStrategy(String executorBlockStrategy) {
this.executorBlockStrategy = executorBlockStrategy;
return this;
}
/**
* JobHandler.
*/
public Builder jobHandler(String jobHandler) {
this.jobHandler = jobHandler;
return this;
}
/**
* JobId.
*/
public Builder jobId(Long jobId) {
this.jobId = jobId;
return this;
}
/**
* JobType.
*/
public Builder jobType(String jobType) {
this.jobType = jobType;
return this;
}
/**
* LastExecuteEndTime.
*/
public Builder lastExecuteEndTime(String lastExecuteEndTime) {
this.lastExecuteEndTime = lastExecuteEndTime;
return this;
}
/**
* LastExecuteStatus.
*/
public Builder lastExecuteStatus(Integer lastExecuteStatus) {
this.lastExecuteStatus = lastExecuteStatus;
return this;
}
/**
* MaxAttempt.
*/
public Builder maxAttempt(Integer maxAttempt) {
this.maxAttempt = maxAttempt;
return this;
}
/**
* MaxConcurrency.
*/
public Builder maxConcurrency(Integer maxConcurrency) {
this.maxConcurrency = maxConcurrency;
return this;
}
/**
* Name.
*/
public Builder name(String name) {
this.name = name;
return this;
}
/**
* NoticeConfig.
*/
public Builder noticeConfig(String noticeConfig) {
this.noticeConfig = noticeConfig;
return this;
}
/**
* NoticeContacts.
*/
public Builder noticeContacts(String noticeContacts) {
this.noticeContacts = noticeContacts;
return this;
}
/**
* Parameters.
*/
public Builder parameters(String parameters) {
this.parameters = parameters;
return this;
}
/**
* Priority.
*/
public Builder priority(Integer priority) {
this.priority = priority;
return this;
}
/**
* RouteStrategy.
*/
public Builder routeStrategy(Integer routeStrategy) {
this.routeStrategy = routeStrategy;
return this;
}
/**
* Script.
*/
public Builder script(String script) {
this.script = script;
return this;
}
/**
* Status.
*/
public Builder status(Integer status) {
this.status = status;
return this;
}
/**
* TimeExpression.
*/
public Builder timeExpression(String timeExpression) {
this.timeExpression = timeExpression;
return this;
}
/**
* TimeType.
*/
public Builder timeType(Integer timeType) {
this.timeType = timeType;
return this;
}
/**
* TimeZone.
*/
public Builder timeZone(String timeZone) {
this.timeZone = timeZone;
return this;
}
/**
* Timezone.
*/
public Builder timezone(String timezone) {
this.timezone = timezone;
return this;
}
/**
* Updater.
*/
public Builder updater(String updater) {
this.updater = updater;
return this;
}
/**
* Weight.
*/
public Builder weight(Integer weight) {
this.weight = weight;
return this;
}
/**
* Xattrs.
*/
public Builder xattrs(String xattrs) {
this.xattrs = xattrs;
return this;
}
public Records build() {
return new Records(this);
}
}
}
/**
*
* {@link ListJobsResponseBody} extends {@link TeaModel}
*
* <p>ListJobsResponseBody</p>
*/
public static class Data extends TeaModel {
@com.aliyun.core.annotation.NameInMap("PageNumber")
private Integer pageNumber;
@com.aliyun.core.annotation.NameInMap("PageSize")
private Integer pageSize;
@com.aliyun.core.annotation.NameInMap("Records")
private java.util.List<Records> records;
@com.aliyun.core.annotation.NameInMap("Total")
private Integer total;
private Data(Builder builder) {
this.pageNumber = builder.pageNumber;
this.pageSize = builder.pageSize;
this.records = builder.records;
this.total = builder.total;
}
public static Builder builder() {
return new Builder();
}
public static Data create() {
return builder().build();
}
/**
* @return pageNumber
*/
public Integer getPageNumber() {
return this.pageNumber;
}
/**
* @return pageSize
*/
public Integer getPageSize() {
return this.pageSize;
}
/**
* @return records
*/
public java.util.List<Records> getRecords() {
return this.records;
}
/**
* @return total
*/
public Integer getTotal() {
return this.total;
}
public static final class Builder {
private Integer pageNumber;
private Integer pageSize;
private java.util.List<Records> records;
private Integer total;
private Builder() {
}
private Builder(Data model) {
this.pageNumber = model.pageNumber;
this.pageSize = model.pageSize;
this.records = model.records;
this.total = model.total;
}
/**
* PageNumber.
*/
public Builder pageNumber(Integer pageNumber) {
this.pageNumber = pageNumber;
return this;
}
/**
* PageSize.
*/
public Builder pageSize(Integer pageSize) {
this.pageSize = pageSize;
return this;
}
/**
* <ul>
* <li></li>
* </ul>
*/
public Builder records(java.util.List<Records> records) {
this.records = records;
return this;
}
/**
* Total.
*/
public Builder total(Integer total) {
this.total = total;
return this;
}
public Data build() {
return new Data(this);
}
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-schedulerx320240624/1.0.10/com/aliyun/sdk/service/schedulerx320240624 | java-sources/com/aliyun/alibabacloud-schedulerx320240624/1.0.10/com/aliyun/sdk/service/schedulerx320240624/models/ListLablesRequest.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.schedulerx320240624.models;
import com.aliyun.sdk.gateway.pop.*;
import darabonba.core.*;
import darabonba.core.async.*;
import darabonba.core.sync.*;
import darabonba.core.client.*;
import darabonba.core.RequestModel;
import darabonba.core.TeaModel;
import com.aliyun.sdk.gateway.pop.models.*;
/**
*
* {@link ListLablesRequest} extends {@link RequestModel}
*
* <p>ListLablesRequest</p>
*/
public class ListLablesRequest extends Request {
@com.aliyun.core.annotation.Host
@com.aliyun.core.annotation.NameInMap("RegionId")
private String regionId;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("AppName")
@com.aliyun.core.annotation.Validation(required = true)
private String appName;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("ClusterId")
@com.aliyun.core.annotation.Validation(required = true)
private String clusterId;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("JobId")
private Long jobId;
private ListLablesRequest(Builder builder) {
super(builder);
this.regionId = builder.regionId;
this.appName = builder.appName;
this.clusterId = builder.clusterId;
this.jobId = builder.jobId;
}
public static Builder builder() {
return new Builder();
}
public static ListLablesRequest create() {
return builder().build();
}
@Override
public Builder toBuilder() {
return new Builder(this);
}
/**
* @return regionId
*/
public String getRegionId() {
return this.regionId;
}
/**
* @return appName
*/
public String getAppName() {
return this.appName;
}
/**
* @return clusterId
*/
public String getClusterId() {
return this.clusterId;
}
/**
* @return jobId
*/
public Long getJobId() {
return this.jobId;
}
public static final class Builder extends Request.Builder<ListLablesRequest, Builder> {
private String regionId;
private String appName;
private String clusterId;
private Long jobId;
private Builder() {
super();
}
private Builder(ListLablesRequest request) {
super(request);
this.regionId = request.regionId;
this.appName = request.appName;
this.clusterId = request.clusterId;
this.jobId = request.jobId;
}
/**
* RegionId.
*/
public Builder regionId(String regionId) {
this.putHostParameter("RegionId", regionId);
this.regionId = regionId;
return this;
}
/**
* <p>This parameter is required.</p>
*
* <strong>example:</strong>
* <p>test-app</p>
*/
public Builder appName(String appName) {
this.putQueryParameter("AppName", appName);
this.appName = appName;
return this;
}
/**
* <p>This parameter is required.</p>
*
* <strong>example:</strong>
* <p>xxljob-b6ec1xxxx</p>
*/
public Builder clusterId(String clusterId) {
this.putQueryParameter("ClusterId", clusterId);
this.clusterId = clusterId;
return this;
}
/**
* JobId.
*/
public Builder jobId(Long jobId) {
this.putQueryParameter("JobId", jobId);
this.jobId = jobId;
return this;
}
@Override
public ListLablesRequest build() {
return new ListLablesRequest(this);
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-schedulerx320240624/1.0.10/com/aliyun/sdk/service/schedulerx320240624 | java-sources/com/aliyun/alibabacloud-schedulerx320240624/1.0.10/com/aliyun/sdk/service/schedulerx320240624/models/ListLablesResponse.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.schedulerx320240624.models;
import com.aliyun.sdk.gateway.pop.*;
import darabonba.core.*;
import darabonba.core.async.*;
import darabonba.core.sync.*;
import darabonba.core.client.*;
import darabonba.core.RequestModel;
import darabonba.core.TeaModel;
import com.aliyun.sdk.gateway.pop.models.*;
/**
*
* {@link ListLablesResponse} extends {@link TeaModel}
*
* <p>ListLablesResponse</p>
*/
public class ListLablesResponse extends Response {
@com.aliyun.core.annotation.NameInMap("headers")
private java.util.Map<String, String> headers;
@com.aliyun.core.annotation.NameInMap("statusCode")
private Integer statusCode;
@com.aliyun.core.annotation.NameInMap("body")
private ListLablesResponseBody body;
private ListLablesResponse(BuilderImpl builder) {
super(builder);
this.headers = builder.headers;
this.statusCode = builder.statusCode;
this.body = builder.body;
}
public static ListLablesResponse create() {
return new BuilderImpl().build();
}
@Override
public Builder toBuilder() {
return new BuilderImpl(this);
}
/**
* @return headers
*/
public java.util.Map<String, String> getHeaders() {
return this.headers;
}
/**
* @return statusCode
*/
public Integer getStatusCode() {
return this.statusCode;
}
/**
* @return body
*/
public ListLablesResponseBody getBody() {
return this.body;
}
public interface Builder extends Response.Builder<ListLablesResponse, Builder> {
Builder headers(java.util.Map<String, String> headers);
Builder statusCode(Integer statusCode);
Builder body(ListLablesResponseBody body);
@Override
ListLablesResponse build();
}
private static final class BuilderImpl
extends Response.BuilderImpl<ListLablesResponse, Builder>
implements Builder {
private java.util.Map<String, String> headers;
private Integer statusCode;
private ListLablesResponseBody body;
private BuilderImpl() {
super();
}
private BuilderImpl(ListLablesResponse response) {
super(response);
this.headers = response.headers;
this.statusCode = response.statusCode;
this.body = response.body;
}
/**
* headers.
*/
@Override
public Builder headers(java.util.Map<String, String> headers) {
this.headers = headers;
return this;
}
/**
* statusCode.
*/
@Override
public Builder statusCode(Integer statusCode) {
this.statusCode = statusCode;
return this;
}
/**
* body.
*/
@Override
public Builder body(ListLablesResponseBody body) {
this.body = body;
return this;
}
@Override
public ListLablesResponse build() {
return new ListLablesResponse(this);
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-schedulerx320240624/1.0.10/com/aliyun/sdk/service/schedulerx320240624 | java-sources/com/aliyun/alibabacloud-schedulerx320240624/1.0.10/com/aliyun/sdk/service/schedulerx320240624/models/ListLablesResponseBody.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.schedulerx320240624.models;
import com.aliyun.sdk.gateway.pop.*;
import darabonba.core.*;
import darabonba.core.async.*;
import darabonba.core.sync.*;
import darabonba.core.client.*;
import darabonba.core.RequestModel;
import darabonba.core.TeaModel;
import com.aliyun.sdk.gateway.pop.models.*;
/**
*
* {@link ListLablesResponseBody} extends {@link TeaModel}
*
* <p>ListLablesResponseBody</p>
*/
public class ListLablesResponseBody extends TeaModel {
@com.aliyun.core.annotation.NameInMap("Code")
private Integer code;
@com.aliyun.core.annotation.NameInMap("Data")
private java.util.List<Data> data;
@com.aliyun.core.annotation.NameInMap("Message")
private String message;
@com.aliyun.core.annotation.NameInMap("RequestId")
private String requestId;
@com.aliyun.core.annotation.NameInMap("Success")
private Boolean success;
private ListLablesResponseBody(Builder builder) {
this.code = builder.code;
this.data = builder.data;
this.message = builder.message;
this.requestId = builder.requestId;
this.success = builder.success;
}
public static Builder builder() {
return new Builder();
}
public static ListLablesResponseBody create() {
return builder().build();
}
public Builder toBuilder() {
return new Builder(this);
}
/**
* @return code
*/
public Integer getCode() {
return this.code;
}
/**
* @return data
*/
public java.util.List<Data> getData() {
return this.data;
}
/**
* @return message
*/
public String getMessage() {
return this.message;
}
/**
* @return requestId
*/
public String getRequestId() {
return this.requestId;
}
/**
* @return success
*/
public Boolean getSuccess() {
return this.success;
}
public static final class Builder {
private Integer code;
private java.util.List<Data> data;
private String message;
private String requestId;
private Boolean success;
private Builder() {
}
private Builder(ListLablesResponseBody model) {
this.code = model.code;
this.data = model.data;
this.message = model.message;
this.requestId = model.requestId;
this.success = model.success;
}
/**
* Code.
*/
public Builder code(Integer code) {
this.code = code;
return this;
}
/**
* <ul>
* <li></li>
* </ul>
*/
public Builder data(java.util.List<Data> data) {
this.data = data;
return this;
}
/**
* Message.
*/
public Builder message(String message) {
this.message = message;
return this;
}
/**
* RequestId.
*/
public Builder requestId(String requestId) {
this.requestId = requestId;
return this;
}
/**
* Success.
*/
public Builder success(Boolean success) {
this.success = success;
return this;
}
public ListLablesResponseBody build() {
return new ListLablesResponseBody(this);
}
}
/**
*
* {@link ListLablesResponseBody} extends {@link TeaModel}
*
* <p>ListLablesResponseBody</p>
*/
public static class Data extends TeaModel {
@com.aliyun.core.annotation.NameInMap("IsDesignated")
private Boolean isDesignated;
@com.aliyun.core.annotation.NameInMap("Label")
private String label;
@com.aliyun.core.annotation.NameInMap("Online")
private Boolean online;
@com.aliyun.core.annotation.NameInMap("Size")
private Integer size;
private Data(Builder builder) {
this.isDesignated = builder.isDesignated;
this.label = builder.label;
this.online = builder.online;
this.size = builder.size;
}
public static Builder builder() {
return new Builder();
}
public static Data create() {
return builder().build();
}
/**
* @return isDesignated
*/
public Boolean getIsDesignated() {
return this.isDesignated;
}
/**
* @return label
*/
public String getLabel() {
return this.label;
}
/**
* @return online
*/
public Boolean getOnline() {
return this.online;
}
/**
* @return size
*/
public Integer getSize() {
return this.size;
}
public static final class Builder {
private Boolean isDesignated;
private String label;
private Boolean online;
private Integer size;
private Builder() {
}
private Builder(Data model) {
this.isDesignated = model.isDesignated;
this.label = model.label;
this.online = model.online;
this.size = model.size;
}
/**
* IsDesignated.
*/
public Builder isDesignated(Boolean isDesignated) {
this.isDesignated = isDesignated;
return this;
}
/**
* Label.
*/
public Builder label(String label) {
this.label = label;
return this;
}
/**
* Online.
*/
public Builder online(Boolean online) {
this.online = online;
return this;
}
/**
* Size.
*/
public Builder size(Integer size) {
this.size = size;
return this;
}
public Data build() {
return new Data(this);
}
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-schedulerx320240624/1.0.10/com/aliyun/sdk/service/schedulerx320240624 | java-sources/com/aliyun/alibabacloud-schedulerx320240624/1.0.10/com/aliyun/sdk/service/schedulerx320240624/models/ListRegionZoneRequest.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.schedulerx320240624.models;
import com.aliyun.sdk.gateway.pop.*;
import darabonba.core.*;
import darabonba.core.async.*;
import darabonba.core.sync.*;
import darabonba.core.client.*;
import darabonba.core.RequestModel;
import darabonba.core.TeaModel;
import com.aliyun.sdk.gateway.pop.models.*;
/**
*
* {@link ListRegionZoneRequest} extends {@link RequestModel}
*
* <p>ListRegionZoneRequest</p>
*/
public class ListRegionZoneRequest extends Request {
@com.aliyun.core.annotation.Host
@com.aliyun.core.annotation.NameInMap("RegionId")
private String regionId;
private ListRegionZoneRequest(Builder builder) {
super(builder);
this.regionId = builder.regionId;
}
public static Builder builder() {
return new Builder();
}
public static ListRegionZoneRequest create() {
return builder().build();
}
@Override
public Builder toBuilder() {
return new Builder(this);
}
/**
* @return regionId
*/
public String getRegionId() {
return this.regionId;
}
public static final class Builder extends Request.Builder<ListRegionZoneRequest, Builder> {
private String regionId;
private Builder() {
super();
}
private Builder(ListRegionZoneRequest request) {
super(request);
this.regionId = request.regionId;
}
/**
* RegionId.
*/
public Builder regionId(String regionId) {
this.putHostParameter("RegionId", regionId);
this.regionId = regionId;
return this;
}
@Override
public ListRegionZoneRequest build() {
return new ListRegionZoneRequest(this);
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-schedulerx320240624/1.0.10/com/aliyun/sdk/service/schedulerx320240624 | java-sources/com/aliyun/alibabacloud-schedulerx320240624/1.0.10/com/aliyun/sdk/service/schedulerx320240624/models/ListRegionZoneResponse.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.schedulerx320240624.models;
import com.aliyun.sdk.gateway.pop.*;
import darabonba.core.*;
import darabonba.core.async.*;
import darabonba.core.sync.*;
import darabonba.core.client.*;
import darabonba.core.RequestModel;
import darabonba.core.TeaModel;
import com.aliyun.sdk.gateway.pop.models.*;
/**
*
* {@link ListRegionZoneResponse} extends {@link TeaModel}
*
* <p>ListRegionZoneResponse</p>
*/
public class ListRegionZoneResponse extends Response {
@com.aliyun.core.annotation.NameInMap("headers")
private java.util.Map<String, String> headers;
@com.aliyun.core.annotation.NameInMap("statusCode")
private Integer statusCode;
@com.aliyun.core.annotation.NameInMap("body")
private ListRegionZoneResponseBody body;
private ListRegionZoneResponse(BuilderImpl builder) {
super(builder);
this.headers = builder.headers;
this.statusCode = builder.statusCode;
this.body = builder.body;
}
public static ListRegionZoneResponse create() {
return new BuilderImpl().build();
}
@Override
public Builder toBuilder() {
return new BuilderImpl(this);
}
/**
* @return headers
*/
public java.util.Map<String, String> getHeaders() {
return this.headers;
}
/**
* @return statusCode
*/
public Integer getStatusCode() {
return this.statusCode;
}
/**
* @return body
*/
public ListRegionZoneResponseBody getBody() {
return this.body;
}
public interface Builder extends Response.Builder<ListRegionZoneResponse, Builder> {
Builder headers(java.util.Map<String, String> headers);
Builder statusCode(Integer statusCode);
Builder body(ListRegionZoneResponseBody body);
@Override
ListRegionZoneResponse build();
}
private static final class BuilderImpl
extends Response.BuilderImpl<ListRegionZoneResponse, Builder>
implements Builder {
private java.util.Map<String, String> headers;
private Integer statusCode;
private ListRegionZoneResponseBody body;
private BuilderImpl() {
super();
}
private BuilderImpl(ListRegionZoneResponse response) {
super(response);
this.headers = response.headers;
this.statusCode = response.statusCode;
this.body = response.body;
}
/**
* headers.
*/
@Override
public Builder headers(java.util.Map<String, String> headers) {
this.headers = headers;
return this;
}
/**
* statusCode.
*/
@Override
public Builder statusCode(Integer statusCode) {
this.statusCode = statusCode;
return this;
}
/**
* body.
*/
@Override
public Builder body(ListRegionZoneResponseBody body) {
this.body = body;
return this;
}
@Override
public ListRegionZoneResponse build() {
return new ListRegionZoneResponse(this);
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-schedulerx320240624/1.0.10/com/aliyun/sdk/service/schedulerx320240624 | java-sources/com/aliyun/alibabacloud-schedulerx320240624/1.0.10/com/aliyun/sdk/service/schedulerx320240624/models/ListRegionZoneResponseBody.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.schedulerx320240624.models;
import com.aliyun.sdk.gateway.pop.*;
import darabonba.core.*;
import darabonba.core.async.*;
import darabonba.core.sync.*;
import darabonba.core.client.*;
import darabonba.core.RequestModel;
import darabonba.core.TeaModel;
import com.aliyun.sdk.gateway.pop.models.*;
/**
*
* {@link ListRegionZoneResponseBody} extends {@link TeaModel}
*
* <p>ListRegionZoneResponseBody</p>
*/
public class ListRegionZoneResponseBody extends TeaModel {
@com.aliyun.core.annotation.NameInMap("Code")
private Integer code;
@com.aliyun.core.annotation.NameInMap("Data")
private java.util.List<Data> data;
@com.aliyun.core.annotation.NameInMap("ErrorCode")
private String errorCode;
@com.aliyun.core.annotation.NameInMap("Message")
private String message;
@com.aliyun.core.annotation.NameInMap("RequestId")
private String requestId;
@com.aliyun.core.annotation.NameInMap("Success")
private Boolean success;
private ListRegionZoneResponseBody(Builder builder) {
this.code = builder.code;
this.data = builder.data;
this.errorCode = builder.errorCode;
this.message = builder.message;
this.requestId = builder.requestId;
this.success = builder.success;
}
public static Builder builder() {
return new Builder();
}
public static ListRegionZoneResponseBody create() {
return builder().build();
}
public Builder toBuilder() {
return new Builder(this);
}
/**
* @return code
*/
public Integer getCode() {
return this.code;
}
/**
* @return data
*/
public java.util.List<Data> getData() {
return this.data;
}
/**
* @return errorCode
*/
public String getErrorCode() {
return this.errorCode;
}
/**
* @return message
*/
public String getMessage() {
return this.message;
}
/**
* @return requestId
*/
public String getRequestId() {
return this.requestId;
}
/**
* @return success
*/
public Boolean getSuccess() {
return this.success;
}
public static final class Builder {
private Integer code;
private java.util.List<Data> data;
private String errorCode;
private String message;
private String requestId;
private Boolean success;
private Builder() {
}
private Builder(ListRegionZoneResponseBody model) {
this.code = model.code;
this.data = model.data;
this.errorCode = model.errorCode;
this.message = model.message;
this.requestId = model.requestId;
this.success = model.success;
}
/**
* Code.
*/
public Builder code(Integer code) {
this.code = code;
return this;
}
/**
* <ul>
* <li></li>
* </ul>
*/
public Builder data(java.util.List<Data> data) {
this.data = data;
return this;
}
/**
* ErrorCode.
*/
public Builder errorCode(String errorCode) {
this.errorCode = errorCode;
return this;
}
/**
* Message.
*/
public Builder message(String message) {
this.message = message;
return this;
}
/**
* RequestId.
*/
public Builder requestId(String requestId) {
this.requestId = requestId;
return this;
}
/**
* Success.
*/
public Builder success(Boolean success) {
this.success = success;
return this;
}
public ListRegionZoneResponseBody build() {
return new ListRegionZoneResponseBody(this);
}
}
/**
*
* {@link ListRegionZoneResponseBody} extends {@link TeaModel}
*
* <p>ListRegionZoneResponseBody</p>
*/
public static class Data extends TeaModel {
@com.aliyun.core.annotation.NameInMap("LocalName")
private String localName;
@com.aliyun.core.annotation.NameInMap("ZoneId")
private String zoneId;
private Data(Builder builder) {
this.localName = builder.localName;
this.zoneId = builder.zoneId;
}
public static Builder builder() {
return new Builder();
}
public static Data create() {
return builder().build();
}
/**
* @return localName
*/
public String getLocalName() {
return this.localName;
}
/**
* @return zoneId
*/
public String getZoneId() {
return this.zoneId;
}
public static final class Builder {
private String localName;
private String zoneId;
private Builder() {
}
private Builder(Data model) {
this.localName = model.localName;
this.zoneId = model.zoneId;
}
/**
* LocalName.
*/
public Builder localName(String localName) {
this.localName = localName;
return this;
}
/**
* <p>zone id</p>
*
* <strong>example:</strong>
* <p>cn-beijing-j</p>
*/
public Builder zoneId(String zoneId) {
this.zoneId = zoneId;
return this;
}
public Data build() {
return new Data(this);
}
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-schedulerx320240624/1.0.10/com/aliyun/sdk/service/schedulerx320240624 | java-sources/com/aliyun/alibabacloud-schedulerx320240624/1.0.10/com/aliyun/sdk/service/schedulerx320240624/models/ListRegionsRequest.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.schedulerx320240624.models;
import com.aliyun.sdk.gateway.pop.*;
import darabonba.core.*;
import darabonba.core.async.*;
import darabonba.core.sync.*;
import darabonba.core.client.*;
import darabonba.core.RequestModel;
import darabonba.core.TeaModel;
import com.aliyun.sdk.gateway.pop.models.*;
/**
*
* {@link ListRegionsRequest} extends {@link RequestModel}
*
* <p>ListRegionsRequest</p>
*/
public class ListRegionsRequest extends Request {
private ListRegionsRequest(Builder builder) {
super(builder);
}
public static Builder builder() {
return new Builder();
}
public static ListRegionsRequest create() {
return builder().build();
}
@Override
public Builder toBuilder() {
return new Builder(this);
}
public static final class Builder extends Request.Builder<ListRegionsRequest, Builder> {
private Builder() {
super();
}
private Builder(ListRegionsRequest request) {
super(request);
}
@Override
public ListRegionsRequest build() {
return new ListRegionsRequest(this);
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-schedulerx320240624/1.0.10/com/aliyun/sdk/service/schedulerx320240624 | java-sources/com/aliyun/alibabacloud-schedulerx320240624/1.0.10/com/aliyun/sdk/service/schedulerx320240624/models/ListRegionsResponse.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.schedulerx320240624.models;
import com.aliyun.sdk.gateway.pop.*;
import darabonba.core.*;
import darabonba.core.async.*;
import darabonba.core.sync.*;
import darabonba.core.client.*;
import darabonba.core.RequestModel;
import darabonba.core.TeaModel;
import com.aliyun.sdk.gateway.pop.models.*;
/**
*
* {@link ListRegionsResponse} extends {@link TeaModel}
*
* <p>ListRegionsResponse</p>
*/
public class ListRegionsResponse extends Response {
@com.aliyun.core.annotation.NameInMap("headers")
private java.util.Map<String, String> headers;
@com.aliyun.core.annotation.NameInMap("statusCode")
private Integer statusCode;
@com.aliyun.core.annotation.NameInMap("body")
private ListRegionsResponseBody body;
private ListRegionsResponse(BuilderImpl builder) {
super(builder);
this.headers = builder.headers;
this.statusCode = builder.statusCode;
this.body = builder.body;
}
public static ListRegionsResponse create() {
return new BuilderImpl().build();
}
@Override
public Builder toBuilder() {
return new BuilderImpl(this);
}
/**
* @return headers
*/
public java.util.Map<String, String> getHeaders() {
return this.headers;
}
/**
* @return statusCode
*/
public Integer getStatusCode() {
return this.statusCode;
}
/**
* @return body
*/
public ListRegionsResponseBody getBody() {
return this.body;
}
public interface Builder extends Response.Builder<ListRegionsResponse, Builder> {
Builder headers(java.util.Map<String, String> headers);
Builder statusCode(Integer statusCode);
Builder body(ListRegionsResponseBody body);
@Override
ListRegionsResponse build();
}
private static final class BuilderImpl
extends Response.BuilderImpl<ListRegionsResponse, Builder>
implements Builder {
private java.util.Map<String, String> headers;
private Integer statusCode;
private ListRegionsResponseBody body;
private BuilderImpl() {
super();
}
private BuilderImpl(ListRegionsResponse response) {
super(response);
this.headers = response.headers;
this.statusCode = response.statusCode;
this.body = response.body;
}
/**
* headers.
*/
@Override
public Builder headers(java.util.Map<String, String> headers) {
this.headers = headers;
return this;
}
/**
* statusCode.
*/
@Override
public Builder statusCode(Integer statusCode) {
this.statusCode = statusCode;
return this;
}
/**
* body.
*/
@Override
public Builder body(ListRegionsResponseBody body) {
this.body = body;
return this;
}
@Override
public ListRegionsResponse build() {
return new ListRegionsResponse(this);
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-schedulerx320240624/1.0.10/com/aliyun/sdk/service/schedulerx320240624 | java-sources/com/aliyun/alibabacloud-schedulerx320240624/1.0.10/com/aliyun/sdk/service/schedulerx320240624/models/ListRegionsResponseBody.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.schedulerx320240624.models;
import com.aliyun.sdk.gateway.pop.*;
import darabonba.core.*;
import darabonba.core.async.*;
import darabonba.core.sync.*;
import darabonba.core.client.*;
import darabonba.core.RequestModel;
import darabonba.core.TeaModel;
import com.aliyun.sdk.gateway.pop.models.*;
/**
*
* {@link ListRegionsResponseBody} extends {@link TeaModel}
*
* <p>ListRegionsResponseBody</p>
*/
public class ListRegionsResponseBody extends TeaModel {
@com.aliyun.core.annotation.NameInMap("Code")
private Integer code;
@com.aliyun.core.annotation.NameInMap("Message")
private String message;
@com.aliyun.core.annotation.NameInMap("Regions")
private java.util.List<Regions> regions;
@com.aliyun.core.annotation.NameInMap("RequestId")
private String requestId;
@com.aliyun.core.annotation.NameInMap("Success")
private Boolean success;
private ListRegionsResponseBody(Builder builder) {
this.code = builder.code;
this.message = builder.message;
this.regions = builder.regions;
this.requestId = builder.requestId;
this.success = builder.success;
}
public static Builder builder() {
return new Builder();
}
public static ListRegionsResponseBody create() {
return builder().build();
}
public Builder toBuilder() {
return new Builder(this);
}
/**
* @return code
*/
public Integer getCode() {
return this.code;
}
/**
* @return message
*/
public String getMessage() {
return this.message;
}
/**
* @return regions
*/
public java.util.List<Regions> getRegions() {
return this.regions;
}
/**
* @return requestId
*/
public String getRequestId() {
return this.requestId;
}
/**
* @return success
*/
public Boolean getSuccess() {
return this.success;
}
public static final class Builder {
private Integer code;
private String message;
private java.util.List<Regions> regions;
private String requestId;
private Boolean success;
private Builder() {
}
private Builder(ListRegionsResponseBody model) {
this.code = model.code;
this.message = model.message;
this.regions = model.regions;
this.requestId = model.requestId;
this.success = model.success;
}
/**
* Code.
*/
public Builder code(Integer code) {
this.code = code;
return this;
}
/**
* Message.
*/
public Builder message(String message) {
this.message = message;
return this;
}
/**
* <ul>
* <li></li>
* </ul>
*/
public Builder regions(java.util.List<Regions> regions) {
this.regions = regions;
return this;
}
/**
* RequestId.
*/
public Builder requestId(String requestId) {
this.requestId = requestId;
return this;
}
/**
* Success.
*/
public Builder success(Boolean success) {
this.success = success;
return this;
}
public ListRegionsResponseBody build() {
return new ListRegionsResponseBody(this);
}
}
/**
*
* {@link ListRegionsResponseBody} extends {@link TeaModel}
*
* <p>ListRegionsResponseBody</p>
*/
public static class Regions extends TeaModel {
@com.aliyun.core.annotation.NameInMap("LocalName")
private String localName;
@com.aliyun.core.annotation.NameInMap("RegionEndpoint")
private String regionEndpoint;
@com.aliyun.core.annotation.NameInMap("RegionId")
private String regionId;
private Regions(Builder builder) {
this.localName = builder.localName;
this.regionEndpoint = builder.regionEndpoint;
this.regionId = builder.regionId;
}
public static Builder builder() {
return new Builder();
}
public static Regions create() {
return builder().build();
}
/**
* @return localName
*/
public String getLocalName() {
return this.localName;
}
/**
* @return regionEndpoint
*/
public String getRegionEndpoint() {
return this.regionEndpoint;
}
/**
* @return regionId
*/
public String getRegionId() {
return this.regionId;
}
public static final class Builder {
private String localName;
private String regionEndpoint;
private String regionId;
private Builder() {
}
private Builder(Regions model) {
this.localName = model.localName;
this.regionEndpoint = model.regionEndpoint;
this.regionId = model.regionId;
}
/**
* LocalName.
*/
public Builder localName(String localName) {
this.localName = localName;
return this;
}
/**
* <p>endpoint</p>
*
* <strong>example:</strong>
* <p>schedulerx3.cn-hangzhou.aliyuncs.com</p>
*/
public Builder regionEndpoint(String regionEndpoint) {
this.regionEndpoint = regionEndpoint;
return this;
}
/**
* RegionId.
*/
public Builder regionId(String regionId) {
this.regionId = regionId;
return this;
}
public Regions build() {
return new Regions(this);
}
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-schedulerx320240624/1.0.10/com/aliyun/sdk/service/schedulerx320240624 | java-sources/com/aliyun/alibabacloud-schedulerx320240624/1.0.10/com/aliyun/sdk/service/schedulerx320240624/models/ListScheduleEventRequest.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.schedulerx320240624.models;
import com.aliyun.sdk.gateway.pop.*;
import darabonba.core.*;
import darabonba.core.async.*;
import darabonba.core.sync.*;
import darabonba.core.client.*;
import darabonba.core.RequestModel;
import darabonba.core.TeaModel;
import com.aliyun.sdk.gateway.pop.models.*;
/**
*
* {@link ListScheduleEventRequest} extends {@link RequestModel}
*
* <p>ListScheduleEventRequest</p>
*/
public class ListScheduleEventRequest extends Request {
@com.aliyun.core.annotation.Host
@com.aliyun.core.annotation.NameInMap("RegionId")
private String regionId;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("AppName")
private String appName;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("ClusterId")
@com.aliyun.core.annotation.Validation(required = true)
private String clusterId;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("EndTime")
private Long endTime;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("Event")
private String event;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("EventType")
private String eventType;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("JobExecutionId")
private String jobExecutionId;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("JobName")
private String jobName;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("Keyword")
private String keyword;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("PageNum")
private Integer pageNum;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("PageSize")
private Integer pageSize;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("Reverse")
private Boolean reverse;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("StartTime")
private Long startTime;
private ListScheduleEventRequest(Builder builder) {
super(builder);
this.regionId = builder.regionId;
this.appName = builder.appName;
this.clusterId = builder.clusterId;
this.endTime = builder.endTime;
this.event = builder.event;
this.eventType = builder.eventType;
this.jobExecutionId = builder.jobExecutionId;
this.jobName = builder.jobName;
this.keyword = builder.keyword;
this.pageNum = builder.pageNum;
this.pageSize = builder.pageSize;
this.reverse = builder.reverse;
this.startTime = builder.startTime;
}
public static Builder builder() {
return new Builder();
}
public static ListScheduleEventRequest create() {
return builder().build();
}
@Override
public Builder toBuilder() {
return new Builder(this);
}
/**
* @return regionId
*/
public String getRegionId() {
return this.regionId;
}
/**
* @return appName
*/
public String getAppName() {
return this.appName;
}
/**
* @return clusterId
*/
public String getClusterId() {
return this.clusterId;
}
/**
* @return endTime
*/
public Long getEndTime() {
return this.endTime;
}
/**
* @return event
*/
public String getEvent() {
return this.event;
}
/**
* @return eventType
*/
public String getEventType() {
return this.eventType;
}
/**
* @return jobExecutionId
*/
public String getJobExecutionId() {
return this.jobExecutionId;
}
/**
* @return jobName
*/
public String getJobName() {
return this.jobName;
}
/**
* @return keyword
*/
public String getKeyword() {
return this.keyword;
}
/**
* @return pageNum
*/
public Integer getPageNum() {
return this.pageNum;
}
/**
* @return pageSize
*/
public Integer getPageSize() {
return this.pageSize;
}
/**
* @return reverse
*/
public Boolean getReverse() {
return this.reverse;
}
/**
* @return startTime
*/
public Long getStartTime() {
return this.startTime;
}
public static final class Builder extends Request.Builder<ListScheduleEventRequest, Builder> {
private String regionId;
private String appName;
private String clusterId;
private Long endTime;
private String event;
private String eventType;
private String jobExecutionId;
private String jobName;
private String keyword;
private Integer pageNum;
private Integer pageSize;
private Boolean reverse;
private Long startTime;
private Builder() {
super();
}
private Builder(ListScheduleEventRequest request) {
super(request);
this.regionId = request.regionId;
this.appName = request.appName;
this.clusterId = request.clusterId;
this.endTime = request.endTime;
this.event = request.event;
this.eventType = request.eventType;
this.jobExecutionId = request.jobExecutionId;
this.jobName = request.jobName;
this.keyword = request.keyword;
this.pageNum = request.pageNum;
this.pageSize = request.pageSize;
this.reverse = request.reverse;
this.startTime = request.startTime;
}
/**
* RegionId.
*/
public Builder regionId(String regionId) {
this.putHostParameter("RegionId", regionId);
this.regionId = regionId;
return this;
}
/**
* AppName.
*/
public Builder appName(String appName) {
this.putQueryParameter("AppName", appName);
this.appName = appName;
return this;
}
/**
* <p>This parameter is required.</p>
*
* <strong>example:</strong>
* <p>xxljob-b6ec1xxxx</p>
*/
public Builder clusterId(String clusterId) {
this.putQueryParameter("ClusterId", clusterId);
this.clusterId = clusterId;
return this;
}
/**
* EndTime.
*/
public Builder endTime(Long endTime) {
this.putQueryParameter("EndTime", endTime);
this.endTime = endTime;
return this;
}
/**
* Event.
*/
public Builder event(String event) {
this.putQueryParameter("Event", event);
this.event = event;
return this;
}
/**
* EventType.
*/
public Builder eventType(String eventType) {
this.putQueryParameter("EventType", eventType);
this.eventType = eventType;
return this;
}
/**
* JobExecutionId.
*/
public Builder jobExecutionId(String jobExecutionId) {
this.putQueryParameter("JobExecutionId", jobExecutionId);
this.jobExecutionId = jobExecutionId;
return this;
}
/**
* JobName.
*/
public Builder jobName(String jobName) {
this.putQueryParameter("JobName", jobName);
this.jobName = jobName;
return this;
}
/**
* Keyword.
*/
public Builder keyword(String keyword) {
this.putQueryParameter("Keyword", keyword);
this.keyword = keyword;
return this;
}
/**
* PageNum.
*/
public Builder pageNum(Integer pageNum) {
this.putQueryParameter("PageNum", pageNum);
this.pageNum = pageNum;
return this;
}
/**
* PageSize.
*/
public Builder pageSize(Integer pageSize) {
this.putQueryParameter("PageSize", pageSize);
this.pageSize = pageSize;
return this;
}
/**
* Reverse.
*/
public Builder reverse(Boolean reverse) {
this.putQueryParameter("Reverse", reverse);
this.reverse = reverse;
return this;
}
/**
* StartTime.
*/
public Builder startTime(Long startTime) {
this.putQueryParameter("StartTime", startTime);
this.startTime = startTime;
return this;
}
@Override
public ListScheduleEventRequest build() {
return new ListScheduleEventRequest(this);
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-schedulerx320240624/1.0.10/com/aliyun/sdk/service/schedulerx320240624 | java-sources/com/aliyun/alibabacloud-schedulerx320240624/1.0.10/com/aliyun/sdk/service/schedulerx320240624/models/ListScheduleEventResponse.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.schedulerx320240624.models;
import com.aliyun.sdk.gateway.pop.*;
import darabonba.core.*;
import darabonba.core.async.*;
import darabonba.core.sync.*;
import darabonba.core.client.*;
import darabonba.core.RequestModel;
import darabonba.core.TeaModel;
import com.aliyun.sdk.gateway.pop.models.*;
/**
*
* {@link ListScheduleEventResponse} extends {@link TeaModel}
*
* <p>ListScheduleEventResponse</p>
*/
public class ListScheduleEventResponse extends Response {
@com.aliyun.core.annotation.NameInMap("headers")
private java.util.Map<String, String> headers;
@com.aliyun.core.annotation.NameInMap("statusCode")
private Integer statusCode;
@com.aliyun.core.annotation.NameInMap("body")
private ListScheduleEventResponseBody body;
private ListScheduleEventResponse(BuilderImpl builder) {
super(builder);
this.headers = builder.headers;
this.statusCode = builder.statusCode;
this.body = builder.body;
}
public static ListScheduleEventResponse create() {
return new BuilderImpl().build();
}
@Override
public Builder toBuilder() {
return new BuilderImpl(this);
}
/**
* @return headers
*/
public java.util.Map<String, String> getHeaders() {
return this.headers;
}
/**
* @return statusCode
*/
public Integer getStatusCode() {
return this.statusCode;
}
/**
* @return body
*/
public ListScheduleEventResponseBody getBody() {
return this.body;
}
public interface Builder extends Response.Builder<ListScheduleEventResponse, Builder> {
Builder headers(java.util.Map<String, String> headers);
Builder statusCode(Integer statusCode);
Builder body(ListScheduleEventResponseBody body);
@Override
ListScheduleEventResponse build();
}
private static final class BuilderImpl
extends Response.BuilderImpl<ListScheduleEventResponse, Builder>
implements Builder {
private java.util.Map<String, String> headers;
private Integer statusCode;
private ListScheduleEventResponseBody body;
private BuilderImpl() {
super();
}
private BuilderImpl(ListScheduleEventResponse response) {
super(response);
this.headers = response.headers;
this.statusCode = response.statusCode;
this.body = response.body;
}
/**
* headers.
*/
@Override
public Builder headers(java.util.Map<String, String> headers) {
this.headers = headers;
return this;
}
/**
* statusCode.
*/
@Override
public Builder statusCode(Integer statusCode) {
this.statusCode = statusCode;
return this;
}
/**
* body.
*/
@Override
public Builder body(ListScheduleEventResponseBody body) {
this.body = body;
return this;
}
@Override
public ListScheduleEventResponse build() {
return new ListScheduleEventResponse(this);
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-schedulerx320240624/1.0.10/com/aliyun/sdk/service/schedulerx320240624 | java-sources/com/aliyun/alibabacloud-schedulerx320240624/1.0.10/com/aliyun/sdk/service/schedulerx320240624/models/ListScheduleEventResponseBody.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.schedulerx320240624.models;
import com.aliyun.sdk.gateway.pop.*;
import darabonba.core.*;
import darabonba.core.async.*;
import darabonba.core.sync.*;
import darabonba.core.client.*;
import darabonba.core.RequestModel;
import darabonba.core.TeaModel;
import com.aliyun.sdk.gateway.pop.models.*;
/**
*
* {@link ListScheduleEventResponseBody} extends {@link TeaModel}
*
* <p>ListScheduleEventResponseBody</p>
*/
public class ListScheduleEventResponseBody extends TeaModel {
@com.aliyun.core.annotation.NameInMap("Code")
private Integer code;
@com.aliyun.core.annotation.NameInMap("Data")
private Data data;
@com.aliyun.core.annotation.NameInMap("Message")
private String message;
@com.aliyun.core.annotation.NameInMap("RequestId")
private String requestId;
@com.aliyun.core.annotation.NameInMap("Success")
private Boolean success;
private ListScheduleEventResponseBody(Builder builder) {
this.code = builder.code;
this.data = builder.data;
this.message = builder.message;
this.requestId = builder.requestId;
this.success = builder.success;
}
public static Builder builder() {
return new Builder();
}
public static ListScheduleEventResponseBody create() {
return builder().build();
}
public Builder toBuilder() {
return new Builder(this);
}
/**
* @return code
*/
public Integer getCode() {
return this.code;
}
/**
* @return data
*/
public Data getData() {
return this.data;
}
/**
* @return message
*/
public String getMessage() {
return this.message;
}
/**
* @return requestId
*/
public String getRequestId() {
return this.requestId;
}
/**
* @return success
*/
public Boolean getSuccess() {
return this.success;
}
public static final class Builder {
private Integer code;
private Data data;
private String message;
private String requestId;
private Boolean success;
private Builder() {
}
private Builder(ListScheduleEventResponseBody model) {
this.code = model.code;
this.data = model.data;
this.message = model.message;
this.requestId = model.requestId;
this.success = model.success;
}
/**
* Code.
*/
public Builder code(Integer code) {
this.code = code;
return this;
}
/**
* <ul>
* <li></li>
* </ul>
*/
public Builder data(Data data) {
this.data = data;
return this;
}
/**
* Message.
*/
public Builder message(String message) {
this.message = message;
return this;
}
/**
* RequestId.
*/
public Builder requestId(String requestId) {
this.requestId = requestId;
return this;
}
/**
* Success.
*/
public Builder success(Boolean success) {
this.success = success;
return this;
}
public ListScheduleEventResponseBody build() {
return new ListScheduleEventResponseBody(this);
}
}
/**
*
* {@link ListScheduleEventResponseBody} extends {@link TeaModel}
*
* <p>ListScheduleEventResponseBody</p>
*/
public static class Records extends TeaModel {
@com.aliyun.core.annotation.NameInMap("AppName")
private String appName;
@com.aliyun.core.annotation.NameInMap("Content")
private String content;
@com.aliyun.core.annotation.NameInMap("Event")
private String event;
@com.aliyun.core.annotation.NameInMap("JobExecutionId")
private String jobExecutionId;
@com.aliyun.core.annotation.NameInMap("JobName")
private String jobName;
@com.aliyun.core.annotation.NameInMap("Time")
private String time;
@com.aliyun.core.annotation.NameInMap("WorkerAddr")
private String workerAddr;
private Records(Builder builder) {
this.appName = builder.appName;
this.content = builder.content;
this.event = builder.event;
this.jobExecutionId = builder.jobExecutionId;
this.jobName = builder.jobName;
this.time = builder.time;
this.workerAddr = builder.workerAddr;
}
public static Builder builder() {
return new Builder();
}
public static Records create() {
return builder().build();
}
/**
* @return appName
*/
public String getAppName() {
return this.appName;
}
/**
* @return content
*/
public String getContent() {
return this.content;
}
/**
* @return event
*/
public String getEvent() {
return this.event;
}
/**
* @return jobExecutionId
*/
public String getJobExecutionId() {
return this.jobExecutionId;
}
/**
* @return jobName
*/
public String getJobName() {
return this.jobName;
}
/**
* @return time
*/
public String getTime() {
return this.time;
}
/**
* @return workerAddr
*/
public String getWorkerAddr() {
return this.workerAddr;
}
public static final class Builder {
private String appName;
private String content;
private String event;
private String jobExecutionId;
private String jobName;
private String time;
private String workerAddr;
private Builder() {
}
private Builder(Records model) {
this.appName = model.appName;
this.content = model.content;
this.event = model.event;
this.jobExecutionId = model.jobExecutionId;
this.jobName = model.jobName;
this.time = model.time;
this.workerAddr = model.workerAddr;
}
/**
* AppName.
*/
public Builder appName(String appName) {
this.appName = appName;
return this;
}
/**
* Content.
*/
public Builder content(String content) {
this.content = content;
return this;
}
/**
* Event.
*/
public Builder event(String event) {
this.event = event;
return this;
}
/**
* <p>130</p>
*
* <strong>example:</strong>
* <p>1310630367761285120</p>
*/
public Builder jobExecutionId(String jobExecutionId) {
this.jobExecutionId = jobExecutionId;
return this;
}
/**
* JobName.
*/
public Builder jobName(String jobName) {
this.jobName = jobName;
return this;
}
/**
* Time.
*/
public Builder time(String time) {
this.time = time;
return this;
}
/**
* WorkerAddr.
*/
public Builder workerAddr(String workerAddr) {
this.workerAddr = workerAddr;
return this;
}
public Records build() {
return new Records(this);
}
}
}
/**
*
* {@link ListScheduleEventResponseBody} extends {@link TeaModel}
*
* <p>ListScheduleEventResponseBody</p>
*/
public static class Data extends TeaModel {
@com.aliyun.core.annotation.NameInMap("PageNumber")
private Integer pageNumber;
@com.aliyun.core.annotation.NameInMap("PageSize")
private Integer pageSize;
@com.aliyun.core.annotation.NameInMap("Records")
private java.util.List<Records> records;
@com.aliyun.core.annotation.NameInMap("Total")
private Long total;
private Data(Builder builder) {
this.pageNumber = builder.pageNumber;
this.pageSize = builder.pageSize;
this.records = builder.records;
this.total = builder.total;
}
public static Builder builder() {
return new Builder();
}
public static Data create() {
return builder().build();
}
/**
* @return pageNumber
*/
public Integer getPageNumber() {
return this.pageNumber;
}
/**
* @return pageSize
*/
public Integer getPageSize() {
return this.pageSize;
}
/**
* @return records
*/
public java.util.List<Records> getRecords() {
return this.records;
}
/**
* @return total
*/
public Long getTotal() {
return this.total;
}
public static final class Builder {
private Integer pageNumber;
private Integer pageSize;
private java.util.List<Records> records;
private Long total;
private Builder() {
}
private Builder(Data model) {
this.pageNumber = model.pageNumber;
this.pageSize = model.pageSize;
this.records = model.records;
this.total = model.total;
}
/**
* PageNumber.
*/
public Builder pageNumber(Integer pageNumber) {
this.pageNumber = pageNumber;
return this;
}
/**
* PageSize.
*/
public Builder pageSize(Integer pageSize) {
this.pageSize = pageSize;
return this;
}
/**
* Records.
*/
public Builder records(java.util.List<Records> records) {
this.records = records;
return this;
}
/**
* Total.
*/
public Builder total(Long total) {
this.total = total;
return this;
}
public Data build() {
return new Data(this);
}
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-schedulerx320240624/1.0.10/com/aliyun/sdk/service/schedulerx320240624 | java-sources/com/aliyun/alibabacloud-schedulerx320240624/1.0.10/com/aliyun/sdk/service/schedulerx320240624/models/ListScheduleTimesRequest.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.schedulerx320240624.models;
import com.aliyun.sdk.gateway.pop.*;
import darabonba.core.*;
import darabonba.core.async.*;
import darabonba.core.sync.*;
import darabonba.core.client.*;
import darabonba.core.RequestModel;
import darabonba.core.TeaModel;
import com.aliyun.sdk.gateway.pop.models.*;
/**
*
* {@link ListScheduleTimesRequest} extends {@link RequestModel}
*
* <p>ListScheduleTimesRequest</p>
*/
public class ListScheduleTimesRequest extends Request {
@com.aliyun.core.annotation.Host
@com.aliyun.core.annotation.NameInMap("RegionId")
private String regionId;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("AppName")
@com.aliyun.core.annotation.Validation(required = true)
private String appName;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("Calendar")
private String calendar;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("ClusterId")
@com.aliyun.core.annotation.Validation(required = true)
private String clusterId;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("TimeExpression")
@com.aliyun.core.annotation.Validation(required = true)
private String timeExpression;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("TimeType")
@com.aliyun.core.annotation.Validation(required = true)
private Integer timeType;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("TimeZone")
private String timeZone;
private ListScheduleTimesRequest(Builder builder) {
super(builder);
this.regionId = builder.regionId;
this.appName = builder.appName;
this.calendar = builder.calendar;
this.clusterId = builder.clusterId;
this.timeExpression = builder.timeExpression;
this.timeType = builder.timeType;
this.timeZone = builder.timeZone;
}
public static Builder builder() {
return new Builder();
}
public static ListScheduleTimesRequest create() {
return builder().build();
}
@Override
public Builder toBuilder() {
return new Builder(this);
}
/**
* @return regionId
*/
public String getRegionId() {
return this.regionId;
}
/**
* @return appName
*/
public String getAppName() {
return this.appName;
}
/**
* @return calendar
*/
public String getCalendar() {
return this.calendar;
}
/**
* @return clusterId
*/
public String getClusterId() {
return this.clusterId;
}
/**
* @return timeExpression
*/
public String getTimeExpression() {
return this.timeExpression;
}
/**
* @return timeType
*/
public Integer getTimeType() {
return this.timeType;
}
/**
* @return timeZone
*/
public String getTimeZone() {
return this.timeZone;
}
public static final class Builder extends Request.Builder<ListScheduleTimesRequest, Builder> {
private String regionId;
private String appName;
private String calendar;
private String clusterId;
private String timeExpression;
private Integer timeType;
private String timeZone;
private Builder() {
super();
}
private Builder(ListScheduleTimesRequest request) {
super(request);
this.regionId = request.regionId;
this.appName = request.appName;
this.calendar = request.calendar;
this.clusterId = request.clusterId;
this.timeExpression = request.timeExpression;
this.timeType = request.timeType;
this.timeZone = request.timeZone;
}
/**
* RegionId.
*/
public Builder regionId(String regionId) {
this.putHostParameter("RegionId", regionId);
this.regionId = regionId;
return this;
}
/**
* <p>This parameter is required.</p>
*
* <strong>example:</strong>
* <p>test-app</p>
*/
public Builder appName(String appName) {
this.putQueryParameter("AppName", appName);
this.appName = appName;
return this;
}
/**
* Calendar.
*/
public Builder calendar(String calendar) {
this.putQueryParameter("Calendar", calendar);
this.calendar = calendar;
return this;
}
/**
* <p>This parameter is required.</p>
*
* <strong>example:</strong>
* <p>xxljob-b6ec1xxxx</p>
*/
public Builder clusterId(String clusterId) {
this.putQueryParameter("ClusterId", clusterId);
this.clusterId = clusterId;
return this;
}
/**
* <p>This parameter is required.</p>
*
* <strong>example:</strong>
* <p>0 0/10 * * * ?</p>
*/
public Builder timeExpression(String timeExpression) {
this.putQueryParameter("TimeExpression", timeExpression);
this.timeExpression = timeExpression;
return this;
}
/**
* <p>This parameter is required.</p>
*
* <strong>example:</strong>
* <p>1</p>
*/
public Builder timeType(Integer timeType) {
this.putQueryParameter("TimeType", timeType);
this.timeType = timeType;
return this;
}
/**
* TimeZone.
*/
public Builder timeZone(String timeZone) {
this.putQueryParameter("TimeZone", timeZone);
this.timeZone = timeZone;
return this;
}
@Override
public ListScheduleTimesRequest build() {
return new ListScheduleTimesRequest(this);
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-schedulerx320240624/1.0.10/com/aliyun/sdk/service/schedulerx320240624 | java-sources/com/aliyun/alibabacloud-schedulerx320240624/1.0.10/com/aliyun/sdk/service/schedulerx320240624/models/ListScheduleTimesResponse.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.schedulerx320240624.models;
import com.aliyun.sdk.gateway.pop.*;
import darabonba.core.*;
import darabonba.core.async.*;
import darabonba.core.sync.*;
import darabonba.core.client.*;
import darabonba.core.RequestModel;
import darabonba.core.TeaModel;
import com.aliyun.sdk.gateway.pop.models.*;
/**
*
* {@link ListScheduleTimesResponse} extends {@link TeaModel}
*
* <p>ListScheduleTimesResponse</p>
*/
public class ListScheduleTimesResponse extends Response {
@com.aliyun.core.annotation.NameInMap("headers")
private java.util.Map<String, String> headers;
@com.aliyun.core.annotation.NameInMap("statusCode")
private Integer statusCode;
@com.aliyun.core.annotation.NameInMap("body")
private ListScheduleTimesResponseBody body;
private ListScheduleTimesResponse(BuilderImpl builder) {
super(builder);
this.headers = builder.headers;
this.statusCode = builder.statusCode;
this.body = builder.body;
}
public static ListScheduleTimesResponse create() {
return new BuilderImpl().build();
}
@Override
public Builder toBuilder() {
return new BuilderImpl(this);
}
/**
* @return headers
*/
public java.util.Map<String, String> getHeaders() {
return this.headers;
}
/**
* @return statusCode
*/
public Integer getStatusCode() {
return this.statusCode;
}
/**
* @return body
*/
public ListScheduleTimesResponseBody getBody() {
return this.body;
}
public interface Builder extends Response.Builder<ListScheduleTimesResponse, Builder> {
Builder headers(java.util.Map<String, String> headers);
Builder statusCode(Integer statusCode);
Builder body(ListScheduleTimesResponseBody body);
@Override
ListScheduleTimesResponse build();
}
private static final class BuilderImpl
extends Response.BuilderImpl<ListScheduleTimesResponse, Builder>
implements Builder {
private java.util.Map<String, String> headers;
private Integer statusCode;
private ListScheduleTimesResponseBody body;
private BuilderImpl() {
super();
}
private BuilderImpl(ListScheduleTimesResponse response) {
super(response);
this.headers = response.headers;
this.statusCode = response.statusCode;
this.body = response.body;
}
/**
* headers.
*/
@Override
public Builder headers(java.util.Map<String, String> headers) {
this.headers = headers;
return this;
}
/**
* statusCode.
*/
@Override
public Builder statusCode(Integer statusCode) {
this.statusCode = statusCode;
return this;
}
/**
* body.
*/
@Override
public Builder body(ListScheduleTimesResponseBody body) {
this.body = body;
return this;
}
@Override
public ListScheduleTimesResponse build() {
return new ListScheduleTimesResponse(this);
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-schedulerx320240624/1.0.10/com/aliyun/sdk/service/schedulerx320240624 | java-sources/com/aliyun/alibabacloud-schedulerx320240624/1.0.10/com/aliyun/sdk/service/schedulerx320240624/models/ListScheduleTimesResponseBody.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.schedulerx320240624.models;
import com.aliyun.sdk.gateway.pop.*;
import darabonba.core.*;
import darabonba.core.async.*;
import darabonba.core.sync.*;
import darabonba.core.client.*;
import darabonba.core.RequestModel;
import darabonba.core.TeaModel;
import com.aliyun.sdk.gateway.pop.models.*;
/**
*
* {@link ListScheduleTimesResponseBody} extends {@link TeaModel}
*
* <p>ListScheduleTimesResponseBody</p>
*/
public class ListScheduleTimesResponseBody extends TeaModel {
@com.aliyun.core.annotation.NameInMap("Code")
private Integer code;
@com.aliyun.core.annotation.NameInMap("Data")
private java.util.List<String> data;
@com.aliyun.core.annotation.NameInMap("Message")
private String message;
@com.aliyun.core.annotation.NameInMap("RequestId")
private String requestId;
@com.aliyun.core.annotation.NameInMap("Success")
private Boolean success;
private ListScheduleTimesResponseBody(Builder builder) {
this.code = builder.code;
this.data = builder.data;
this.message = builder.message;
this.requestId = builder.requestId;
this.success = builder.success;
}
public static Builder builder() {
return new Builder();
}
public static ListScheduleTimesResponseBody create() {
return builder().build();
}
public Builder toBuilder() {
return new Builder(this);
}
/**
* @return code
*/
public Integer getCode() {
return this.code;
}
/**
* @return data
*/
public java.util.List<String> getData() {
return this.data;
}
/**
* @return message
*/
public String getMessage() {
return this.message;
}
/**
* @return requestId
*/
public String getRequestId() {
return this.requestId;
}
/**
* @return success
*/
public Boolean getSuccess() {
return this.success;
}
public static final class Builder {
private Integer code;
private java.util.List<String> data;
private String message;
private String requestId;
private Boolean success;
private Builder() {
}
private Builder(ListScheduleTimesResponseBody model) {
this.code = model.code;
this.data = model.data;
this.message = model.message;
this.requestId = model.requestId;
this.success = model.success;
}
/**
* Code.
*/
public Builder code(Integer code) {
this.code = code;
return this;
}
/**
* Data.
*/
public Builder data(java.util.List<String> data) {
this.data = data;
return this;
}
/**
* Message.
*/
public Builder message(String message) {
this.message = message;
return this;
}
/**
* RequestId.
*/
public Builder requestId(String requestId) {
this.requestId = requestId;
return this;
}
/**
* Success.
*/
public Builder success(Boolean success) {
this.success = success;
return this;
}
public ListScheduleTimesResponseBody build() {
return new ListScheduleTimesResponseBody(this);
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-schedulerx320240624/1.0.10/com/aliyun/sdk/service/schedulerx320240624 | java-sources/com/aliyun/alibabacloud-schedulerx320240624/1.0.10/com/aliyun/sdk/service/schedulerx320240624/models/OperateDesignateExecutorsRequest.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.schedulerx320240624.models;
import com.aliyun.sdk.gateway.pop.*;
import darabonba.core.*;
import darabonba.core.async.*;
import darabonba.core.sync.*;
import darabonba.core.client.*;
import darabonba.core.RequestModel;
import darabonba.core.TeaModel;
import com.aliyun.sdk.gateway.pop.models.*;
/**
*
* {@link OperateDesignateExecutorsRequest} extends {@link RequestModel}
*
* <p>OperateDesignateExecutorsRequest</p>
*/
public class OperateDesignateExecutorsRequest extends Request {
@com.aliyun.core.annotation.Host
@com.aliyun.core.annotation.NameInMap("RegionId")
private String regionId;
@com.aliyun.core.annotation.Body
@com.aliyun.core.annotation.NameInMap("AddressList")
@com.aliyun.core.annotation.Validation(required = true)
private java.util.List<String> addressList;
@com.aliyun.core.annotation.Body
@com.aliyun.core.annotation.NameInMap("AppName")
@com.aliyun.core.annotation.Validation(required = true)
private String appName;
@com.aliyun.core.annotation.Body
@com.aliyun.core.annotation.NameInMap("ClusterId")
@com.aliyun.core.annotation.Validation(required = true)
private String clusterId;
@com.aliyun.core.annotation.Body
@com.aliyun.core.annotation.NameInMap("DesignateType")
@com.aliyun.core.annotation.Validation(required = true)
private Integer designateType;
@com.aliyun.core.annotation.Body
@com.aliyun.core.annotation.NameInMap("JobId")
@com.aliyun.core.annotation.Validation(required = true)
private Long jobId;
@com.aliyun.core.annotation.Body
@com.aliyun.core.annotation.NameInMap("Transferable")
private Boolean transferable;
private OperateDesignateExecutorsRequest(Builder builder) {
super(builder);
this.regionId = builder.regionId;
this.addressList = builder.addressList;
this.appName = builder.appName;
this.clusterId = builder.clusterId;
this.designateType = builder.designateType;
this.jobId = builder.jobId;
this.transferable = builder.transferable;
}
public static Builder builder() {
return new Builder();
}
public static OperateDesignateExecutorsRequest create() {
return builder().build();
}
@Override
public Builder toBuilder() {
return new Builder(this);
}
/**
* @return regionId
*/
public String getRegionId() {
return this.regionId;
}
/**
* @return addressList
*/
public java.util.List<String> getAddressList() {
return this.addressList;
}
/**
* @return appName
*/
public String getAppName() {
return this.appName;
}
/**
* @return clusterId
*/
public String getClusterId() {
return this.clusterId;
}
/**
* @return designateType
*/
public Integer getDesignateType() {
return this.designateType;
}
/**
* @return jobId
*/
public Long getJobId() {
return this.jobId;
}
/**
* @return transferable
*/
public Boolean getTransferable() {
return this.transferable;
}
public static final class Builder extends Request.Builder<OperateDesignateExecutorsRequest, Builder> {
private String regionId;
private java.util.List<String> addressList;
private String appName;
private String clusterId;
private Integer designateType;
private Long jobId;
private Boolean transferable;
private Builder() {
super();
}
private Builder(OperateDesignateExecutorsRequest request) {
super(request);
this.regionId = request.regionId;
this.addressList = request.addressList;
this.appName = request.appName;
this.clusterId = request.clusterId;
this.designateType = request.designateType;
this.jobId = request.jobId;
this.transferable = request.transferable;
}
/**
* RegionId.
*/
public Builder regionId(String regionId) {
this.putHostParameter("RegionId", regionId);
this.regionId = regionId;
return this;
}
/**
* <p>This parameter is required.</p>
*/
public Builder addressList(java.util.List<String> addressList) {
String addressListShrink = shrink(addressList, "AddressList", "json");
this.putBodyParameter("AddressList", addressListShrink);
this.addressList = addressList;
return this;
}
/**
* <p>This parameter is required.</p>
*
* <strong>example:</strong>
* <p>test-app</p>
*/
public Builder appName(String appName) {
this.putBodyParameter("AppName", appName);
this.appName = appName;
return this;
}
/**
* <p>This parameter is required.</p>
*
* <strong>example:</strong>
* <p>xxljob-b6ec1xxxx</p>
*/
public Builder clusterId(String clusterId) {
this.putBodyParameter("ClusterId", clusterId);
this.clusterId = clusterId;
return this;
}
/**
* <p>This parameter is required.</p>
*
* <strong>example:</strong>
* <p>1</p>
*/
public Builder designateType(Integer designateType) {
this.putBodyParameter("DesignateType", designateType);
this.designateType = designateType;
return this;
}
/**
* <p>This parameter is required.</p>
*
* <strong>example:</strong>
* <p>74</p>
*/
public Builder jobId(Long jobId) {
this.putBodyParameter("JobId", jobId);
this.jobId = jobId;
return this;
}
/**
* Transferable.
*/
public Builder transferable(Boolean transferable) {
this.putBodyParameter("Transferable", transferable);
this.transferable = transferable;
return this;
}
@Override
public OperateDesignateExecutorsRequest build() {
return new OperateDesignateExecutorsRequest(this);
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-schedulerx320240624/1.0.10/com/aliyun/sdk/service/schedulerx320240624 | java-sources/com/aliyun/alibabacloud-schedulerx320240624/1.0.10/com/aliyun/sdk/service/schedulerx320240624/models/OperateDesignateExecutorsResponse.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.schedulerx320240624.models;
import com.aliyun.sdk.gateway.pop.*;
import darabonba.core.*;
import darabonba.core.async.*;
import darabonba.core.sync.*;
import darabonba.core.client.*;
import darabonba.core.RequestModel;
import darabonba.core.TeaModel;
import com.aliyun.sdk.gateway.pop.models.*;
/**
*
* {@link OperateDesignateExecutorsResponse} extends {@link TeaModel}
*
* <p>OperateDesignateExecutorsResponse</p>
*/
public class OperateDesignateExecutorsResponse extends Response {
@com.aliyun.core.annotation.NameInMap("headers")
private java.util.Map<String, String> headers;
@com.aliyun.core.annotation.NameInMap("statusCode")
private Integer statusCode;
@com.aliyun.core.annotation.NameInMap("body")
private OperateDesignateExecutorsResponseBody body;
private OperateDesignateExecutorsResponse(BuilderImpl builder) {
super(builder);
this.headers = builder.headers;
this.statusCode = builder.statusCode;
this.body = builder.body;
}
public static OperateDesignateExecutorsResponse create() {
return new BuilderImpl().build();
}
@Override
public Builder toBuilder() {
return new BuilderImpl(this);
}
/**
* @return headers
*/
public java.util.Map<String, String> getHeaders() {
return this.headers;
}
/**
* @return statusCode
*/
public Integer getStatusCode() {
return this.statusCode;
}
/**
* @return body
*/
public OperateDesignateExecutorsResponseBody getBody() {
return this.body;
}
public interface Builder extends Response.Builder<OperateDesignateExecutorsResponse, Builder> {
Builder headers(java.util.Map<String, String> headers);
Builder statusCode(Integer statusCode);
Builder body(OperateDesignateExecutorsResponseBody body);
@Override
OperateDesignateExecutorsResponse build();
}
private static final class BuilderImpl
extends Response.BuilderImpl<OperateDesignateExecutorsResponse, Builder>
implements Builder {
private java.util.Map<String, String> headers;
private Integer statusCode;
private OperateDesignateExecutorsResponseBody body;
private BuilderImpl() {
super();
}
private BuilderImpl(OperateDesignateExecutorsResponse response) {
super(response);
this.headers = response.headers;
this.statusCode = response.statusCode;
this.body = response.body;
}
/**
* headers.
*/
@Override
public Builder headers(java.util.Map<String, String> headers) {
this.headers = headers;
return this;
}
/**
* statusCode.
*/
@Override
public Builder statusCode(Integer statusCode) {
this.statusCode = statusCode;
return this;
}
/**
* body.
*/
@Override
public Builder body(OperateDesignateExecutorsResponseBody body) {
this.body = body;
return this;
}
@Override
public OperateDesignateExecutorsResponse build() {
return new OperateDesignateExecutorsResponse(this);
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-schedulerx320240624/1.0.10/com/aliyun/sdk/service/schedulerx320240624 | java-sources/com/aliyun/alibabacloud-schedulerx320240624/1.0.10/com/aliyun/sdk/service/schedulerx320240624/models/OperateDesignateExecutorsResponseBody.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.schedulerx320240624.models;
import com.aliyun.sdk.gateway.pop.*;
import darabonba.core.*;
import darabonba.core.async.*;
import darabonba.core.sync.*;
import darabonba.core.client.*;
import darabonba.core.RequestModel;
import darabonba.core.TeaModel;
import com.aliyun.sdk.gateway.pop.models.*;
/**
*
* {@link OperateDesignateExecutorsResponseBody} extends {@link TeaModel}
*
* <p>OperateDesignateExecutorsResponseBody</p>
*/
public class OperateDesignateExecutorsResponseBody extends TeaModel {
@com.aliyun.core.annotation.NameInMap("Code")
private Integer code;
@com.aliyun.core.annotation.NameInMap("Message")
private String message;
@com.aliyun.core.annotation.NameInMap("RequestId")
private String requestId;
@com.aliyun.core.annotation.NameInMap("Success")
private Boolean success;
private OperateDesignateExecutorsResponseBody(Builder builder) {
this.code = builder.code;
this.message = builder.message;
this.requestId = builder.requestId;
this.success = builder.success;
}
public static Builder builder() {
return new Builder();
}
public static OperateDesignateExecutorsResponseBody create() {
return builder().build();
}
public Builder toBuilder() {
return new Builder(this);
}
/**
* @return code
*/
public Integer getCode() {
return this.code;
}
/**
* @return message
*/
public String getMessage() {
return this.message;
}
/**
* @return requestId
*/
public String getRequestId() {
return this.requestId;
}
/**
* @return success
*/
public Boolean getSuccess() {
return this.success;
}
public static final class Builder {
private Integer code;
private String message;
private String requestId;
private Boolean success;
private Builder() {
}
private Builder(OperateDesignateExecutorsResponseBody model) {
this.code = model.code;
this.message = model.message;
this.requestId = model.requestId;
this.success = model.success;
}
/**
* Code.
*/
public Builder code(Integer code) {
this.code = code;
return this;
}
/**
* Message.
*/
public Builder message(String message) {
this.message = message;
return this;
}
/**
* RequestId.
*/
public Builder requestId(String requestId) {
this.requestId = requestId;
return this;
}
/**
* Success.
*/
public Builder success(Boolean success) {
this.success = success;
return this;
}
public OperateDesignateExecutorsResponseBody build() {
return new OperateDesignateExecutorsResponseBody(this);
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-schedulerx320240624/1.0.10/com/aliyun/sdk/service/schedulerx320240624 | java-sources/com/aliyun/alibabacloud-schedulerx320240624/1.0.10/com/aliyun/sdk/service/schedulerx320240624/models/OperateDisableJobsRequest.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.schedulerx320240624.models;
import com.aliyun.sdk.gateway.pop.*;
import darabonba.core.*;
import darabonba.core.async.*;
import darabonba.core.sync.*;
import darabonba.core.client.*;
import darabonba.core.RequestModel;
import darabonba.core.TeaModel;
import com.aliyun.sdk.gateway.pop.models.*;
/**
*
* {@link OperateDisableJobsRequest} extends {@link RequestModel}
*
* <p>OperateDisableJobsRequest</p>
*/
public class OperateDisableJobsRequest extends Request {
@com.aliyun.core.annotation.Host
@com.aliyun.core.annotation.NameInMap("RegionId")
private String regionId;
@com.aliyun.core.annotation.Body
@com.aliyun.core.annotation.NameInMap("AppName")
@com.aliyun.core.annotation.Validation(required = true)
private String appName;
@com.aliyun.core.annotation.Body
@com.aliyun.core.annotation.NameInMap("ClusterId")
@com.aliyun.core.annotation.Validation(required = true)
private String clusterId;
@com.aliyun.core.annotation.Body
@com.aliyun.core.annotation.NameInMap("JobIds")
private java.util.List<Long> jobIds;
private OperateDisableJobsRequest(Builder builder) {
super(builder);
this.regionId = builder.regionId;
this.appName = builder.appName;
this.clusterId = builder.clusterId;
this.jobIds = builder.jobIds;
}
public static Builder builder() {
return new Builder();
}
public static OperateDisableJobsRequest create() {
return builder().build();
}
@Override
public Builder toBuilder() {
return new Builder(this);
}
/**
* @return regionId
*/
public String getRegionId() {
return this.regionId;
}
/**
* @return appName
*/
public String getAppName() {
return this.appName;
}
/**
* @return clusterId
*/
public String getClusterId() {
return this.clusterId;
}
/**
* @return jobIds
*/
public java.util.List<Long> getJobIds() {
return this.jobIds;
}
public static final class Builder extends Request.Builder<OperateDisableJobsRequest, Builder> {
private String regionId;
private String appName;
private String clusterId;
private java.util.List<Long> jobIds;
private Builder() {
super();
}
private Builder(OperateDisableJobsRequest request) {
super(request);
this.regionId = request.regionId;
this.appName = request.appName;
this.clusterId = request.clusterId;
this.jobIds = request.jobIds;
}
/**
* RegionId.
*/
public Builder regionId(String regionId) {
this.putHostParameter("RegionId", regionId);
this.regionId = regionId;
return this;
}
/**
* <p>This parameter is required.</p>
*
* <strong>example:</strong>
* <p>test-app</p>
*/
public Builder appName(String appName) {
this.putBodyParameter("AppName", appName);
this.appName = appName;
return this;
}
/**
* <p>This parameter is required.</p>
*
* <strong>example:</strong>
* <p>xxljob-b6ec1xxxx</p>
*/
public Builder clusterId(String clusterId) {
this.putBodyParameter("ClusterId", clusterId);
this.clusterId = clusterId;
return this;
}
/**
* <ul>
* <li></li>
* </ul>
*/
public Builder jobIds(java.util.List<Long> jobIds) {
String jobIdsShrink = shrink(jobIds, "JobIds", "json");
this.putBodyParameter("JobIds", jobIdsShrink);
this.jobIds = jobIds;
return this;
}
@Override
public OperateDisableJobsRequest build() {
return new OperateDisableJobsRequest(this);
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-schedulerx320240624/1.0.10/com/aliyun/sdk/service/schedulerx320240624 | java-sources/com/aliyun/alibabacloud-schedulerx320240624/1.0.10/com/aliyun/sdk/service/schedulerx320240624/models/OperateDisableJobsResponse.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.schedulerx320240624.models;
import com.aliyun.sdk.gateway.pop.*;
import darabonba.core.*;
import darabonba.core.async.*;
import darabonba.core.sync.*;
import darabonba.core.client.*;
import darabonba.core.RequestModel;
import darabonba.core.TeaModel;
import com.aliyun.sdk.gateway.pop.models.*;
/**
*
* {@link OperateDisableJobsResponse} extends {@link TeaModel}
*
* <p>OperateDisableJobsResponse</p>
*/
public class OperateDisableJobsResponse extends Response {
@com.aliyun.core.annotation.NameInMap("headers")
private java.util.Map<String, String> headers;
@com.aliyun.core.annotation.NameInMap("statusCode")
private Integer statusCode;
@com.aliyun.core.annotation.NameInMap("body")
private OperateDisableJobsResponseBody body;
private OperateDisableJobsResponse(BuilderImpl builder) {
super(builder);
this.headers = builder.headers;
this.statusCode = builder.statusCode;
this.body = builder.body;
}
public static OperateDisableJobsResponse create() {
return new BuilderImpl().build();
}
@Override
public Builder toBuilder() {
return new BuilderImpl(this);
}
/**
* @return headers
*/
public java.util.Map<String, String> getHeaders() {
return this.headers;
}
/**
* @return statusCode
*/
public Integer getStatusCode() {
return this.statusCode;
}
/**
* @return body
*/
public OperateDisableJobsResponseBody getBody() {
return this.body;
}
public interface Builder extends Response.Builder<OperateDisableJobsResponse, Builder> {
Builder headers(java.util.Map<String, String> headers);
Builder statusCode(Integer statusCode);
Builder body(OperateDisableJobsResponseBody body);
@Override
OperateDisableJobsResponse build();
}
private static final class BuilderImpl
extends Response.BuilderImpl<OperateDisableJobsResponse, Builder>
implements Builder {
private java.util.Map<String, String> headers;
private Integer statusCode;
private OperateDisableJobsResponseBody body;
private BuilderImpl() {
super();
}
private BuilderImpl(OperateDisableJobsResponse response) {
super(response);
this.headers = response.headers;
this.statusCode = response.statusCode;
this.body = response.body;
}
/**
* headers.
*/
@Override
public Builder headers(java.util.Map<String, String> headers) {
this.headers = headers;
return this;
}
/**
* statusCode.
*/
@Override
public Builder statusCode(Integer statusCode) {
this.statusCode = statusCode;
return this;
}
/**
* body.
*/
@Override
public Builder body(OperateDisableJobsResponseBody body) {
this.body = body;
return this;
}
@Override
public OperateDisableJobsResponse build() {
return new OperateDisableJobsResponse(this);
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-schedulerx320240624/1.0.10/com/aliyun/sdk/service/schedulerx320240624 | java-sources/com/aliyun/alibabacloud-schedulerx320240624/1.0.10/com/aliyun/sdk/service/schedulerx320240624/models/OperateDisableJobsResponseBody.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.schedulerx320240624.models;
import com.aliyun.sdk.gateway.pop.*;
import darabonba.core.*;
import darabonba.core.async.*;
import darabonba.core.sync.*;
import darabonba.core.client.*;
import darabonba.core.RequestModel;
import darabonba.core.TeaModel;
import com.aliyun.sdk.gateway.pop.models.*;
/**
*
* {@link OperateDisableJobsResponseBody} extends {@link TeaModel}
*
* <p>OperateDisableJobsResponseBody</p>
*/
public class OperateDisableJobsResponseBody extends TeaModel {
@com.aliyun.core.annotation.NameInMap("Code")
private Integer code;
@com.aliyun.core.annotation.NameInMap("Message")
private String message;
@com.aliyun.core.annotation.NameInMap("RequestId")
private String requestId;
@com.aliyun.core.annotation.NameInMap("Success")
private Boolean success;
private OperateDisableJobsResponseBody(Builder builder) {
this.code = builder.code;
this.message = builder.message;
this.requestId = builder.requestId;
this.success = builder.success;
}
public static Builder builder() {
return new Builder();
}
public static OperateDisableJobsResponseBody create() {
return builder().build();
}
public Builder toBuilder() {
return new Builder(this);
}
/**
* @return code
*/
public Integer getCode() {
return this.code;
}
/**
* @return message
*/
public String getMessage() {
return this.message;
}
/**
* @return requestId
*/
public String getRequestId() {
return this.requestId;
}
/**
* @return success
*/
public Boolean getSuccess() {
return this.success;
}
public static final class Builder {
private Integer code;
private String message;
private String requestId;
private Boolean success;
private Builder() {
}
private Builder(OperateDisableJobsResponseBody model) {
this.code = model.code;
this.message = model.message;
this.requestId = model.requestId;
this.success = model.success;
}
/**
* Code.
*/
public Builder code(Integer code) {
this.code = code;
return this;
}
/**
* Message.
*/
public Builder message(String message) {
this.message = message;
return this;
}
/**
* RequestId.
*/
public Builder requestId(String requestId) {
this.requestId = requestId;
return this;
}
/**
* Success.
*/
public Builder success(Boolean success) {
this.success = success;
return this;
}
public OperateDisableJobsResponseBody build() {
return new OperateDisableJobsResponseBody(this);
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-schedulerx320240624/1.0.10/com/aliyun/sdk/service/schedulerx320240624 | java-sources/com/aliyun/alibabacloud-schedulerx320240624/1.0.10/com/aliyun/sdk/service/schedulerx320240624/models/OperateEnableJobsRequest.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.schedulerx320240624.models;
import com.aliyun.sdk.gateway.pop.*;
import darabonba.core.*;
import darabonba.core.async.*;
import darabonba.core.sync.*;
import darabonba.core.client.*;
import darabonba.core.RequestModel;
import darabonba.core.TeaModel;
import com.aliyun.sdk.gateway.pop.models.*;
/**
*
* {@link OperateEnableJobsRequest} extends {@link RequestModel}
*
* <p>OperateEnableJobsRequest</p>
*/
public class OperateEnableJobsRequest extends Request {
@com.aliyun.core.annotation.Host
@com.aliyun.core.annotation.NameInMap("RegionId")
private String regionId;
@com.aliyun.core.annotation.Body
@com.aliyun.core.annotation.NameInMap("AppName")
@com.aliyun.core.annotation.Validation(required = true)
private String appName;
@com.aliyun.core.annotation.Body
@com.aliyun.core.annotation.NameInMap("ClusterId")
@com.aliyun.core.annotation.Validation(required = true)
private String clusterId;
@com.aliyun.core.annotation.Body
@com.aliyun.core.annotation.NameInMap("JobIds")
private java.util.List<Long> jobIds;
private OperateEnableJobsRequest(Builder builder) {
super(builder);
this.regionId = builder.regionId;
this.appName = builder.appName;
this.clusterId = builder.clusterId;
this.jobIds = builder.jobIds;
}
public static Builder builder() {
return new Builder();
}
public static OperateEnableJobsRequest create() {
return builder().build();
}
@Override
public Builder toBuilder() {
return new Builder(this);
}
/**
* @return regionId
*/
public String getRegionId() {
return this.regionId;
}
/**
* @return appName
*/
public String getAppName() {
return this.appName;
}
/**
* @return clusterId
*/
public String getClusterId() {
return this.clusterId;
}
/**
* @return jobIds
*/
public java.util.List<Long> getJobIds() {
return this.jobIds;
}
public static final class Builder extends Request.Builder<OperateEnableJobsRequest, Builder> {
private String regionId;
private String appName;
private String clusterId;
private java.util.List<Long> jobIds;
private Builder() {
super();
}
private Builder(OperateEnableJobsRequest request) {
super(request);
this.regionId = request.regionId;
this.appName = request.appName;
this.clusterId = request.clusterId;
this.jobIds = request.jobIds;
}
/**
* RegionId.
*/
public Builder regionId(String regionId) {
this.putHostParameter("RegionId", regionId);
this.regionId = regionId;
return this;
}
/**
* <p>This parameter is required.</p>
*
* <strong>example:</strong>
* <p>test-app</p>
*/
public Builder appName(String appName) {
this.putBodyParameter("AppName", appName);
this.appName = appName;
return this;
}
/**
* <p>This parameter is required.</p>
*
* <strong>example:</strong>
* <p>xxljob-b6ec1xxxx</p>
*/
public Builder clusterId(String clusterId) {
this.putBodyParameter("ClusterId", clusterId);
this.clusterId = clusterId;
return this;
}
/**
* <ul>
* <li></li>
* </ul>
*/
public Builder jobIds(java.util.List<Long> jobIds) {
String jobIdsShrink = shrink(jobIds, "JobIds", "json");
this.putBodyParameter("JobIds", jobIdsShrink);
this.jobIds = jobIds;
return this;
}
@Override
public OperateEnableJobsRequest build() {
return new OperateEnableJobsRequest(this);
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-schedulerx320240624/1.0.10/com/aliyun/sdk/service/schedulerx320240624 | java-sources/com/aliyun/alibabacloud-schedulerx320240624/1.0.10/com/aliyun/sdk/service/schedulerx320240624/models/OperateEnableJobsResponse.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.schedulerx320240624.models;
import com.aliyun.sdk.gateway.pop.*;
import darabonba.core.*;
import darabonba.core.async.*;
import darabonba.core.sync.*;
import darabonba.core.client.*;
import darabonba.core.RequestModel;
import darabonba.core.TeaModel;
import com.aliyun.sdk.gateway.pop.models.*;
/**
*
* {@link OperateEnableJobsResponse} extends {@link TeaModel}
*
* <p>OperateEnableJobsResponse</p>
*/
public class OperateEnableJobsResponse extends Response {
@com.aliyun.core.annotation.NameInMap("headers")
private java.util.Map<String, String> headers;
@com.aliyun.core.annotation.NameInMap("statusCode")
private Integer statusCode;
@com.aliyun.core.annotation.NameInMap("body")
private OperateEnableJobsResponseBody body;
private OperateEnableJobsResponse(BuilderImpl builder) {
super(builder);
this.headers = builder.headers;
this.statusCode = builder.statusCode;
this.body = builder.body;
}
public static OperateEnableJobsResponse create() {
return new BuilderImpl().build();
}
@Override
public Builder toBuilder() {
return new BuilderImpl(this);
}
/**
* @return headers
*/
public java.util.Map<String, String> getHeaders() {
return this.headers;
}
/**
* @return statusCode
*/
public Integer getStatusCode() {
return this.statusCode;
}
/**
* @return body
*/
public OperateEnableJobsResponseBody getBody() {
return this.body;
}
public interface Builder extends Response.Builder<OperateEnableJobsResponse, Builder> {
Builder headers(java.util.Map<String, String> headers);
Builder statusCode(Integer statusCode);
Builder body(OperateEnableJobsResponseBody body);
@Override
OperateEnableJobsResponse build();
}
private static final class BuilderImpl
extends Response.BuilderImpl<OperateEnableJobsResponse, Builder>
implements Builder {
private java.util.Map<String, String> headers;
private Integer statusCode;
private OperateEnableJobsResponseBody body;
private BuilderImpl() {
super();
}
private BuilderImpl(OperateEnableJobsResponse response) {
super(response);
this.headers = response.headers;
this.statusCode = response.statusCode;
this.body = response.body;
}
/**
* headers.
*/
@Override
public Builder headers(java.util.Map<String, String> headers) {
this.headers = headers;
return this;
}
/**
* statusCode.
*/
@Override
public Builder statusCode(Integer statusCode) {
this.statusCode = statusCode;
return this;
}
/**
* body.
*/
@Override
public Builder body(OperateEnableJobsResponseBody body) {
this.body = body;
return this;
}
@Override
public OperateEnableJobsResponse build() {
return new OperateEnableJobsResponse(this);
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-schedulerx320240624/1.0.10/com/aliyun/sdk/service/schedulerx320240624 | java-sources/com/aliyun/alibabacloud-schedulerx320240624/1.0.10/com/aliyun/sdk/service/schedulerx320240624/models/OperateEnableJobsResponseBody.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.schedulerx320240624.models;
import com.aliyun.sdk.gateway.pop.*;
import darabonba.core.*;
import darabonba.core.async.*;
import darabonba.core.sync.*;
import darabonba.core.client.*;
import darabonba.core.RequestModel;
import darabonba.core.TeaModel;
import com.aliyun.sdk.gateway.pop.models.*;
/**
*
* {@link OperateEnableJobsResponseBody} extends {@link TeaModel}
*
* <p>OperateEnableJobsResponseBody</p>
*/
public class OperateEnableJobsResponseBody extends TeaModel {
@com.aliyun.core.annotation.NameInMap("Code")
private Integer code;
@com.aliyun.core.annotation.NameInMap("Message")
private String message;
@com.aliyun.core.annotation.NameInMap("RequestId")
private String requestId;
@com.aliyun.core.annotation.NameInMap("Success")
private Boolean success;
private OperateEnableJobsResponseBody(Builder builder) {
this.code = builder.code;
this.message = builder.message;
this.requestId = builder.requestId;
this.success = builder.success;
}
public static Builder builder() {
return new Builder();
}
public static OperateEnableJobsResponseBody create() {
return builder().build();
}
public Builder toBuilder() {
return new Builder(this);
}
/**
* @return code
*/
public Integer getCode() {
return this.code;
}
/**
* @return message
*/
public String getMessage() {
return this.message;
}
/**
* @return requestId
*/
public String getRequestId() {
return this.requestId;
}
/**
* @return success
*/
public Boolean getSuccess() {
return this.success;
}
public static final class Builder {
private Integer code;
private String message;
private String requestId;
private Boolean success;
private Builder() {
}
private Builder(OperateEnableJobsResponseBody model) {
this.code = model.code;
this.message = model.message;
this.requestId = model.requestId;
this.success = model.success;
}
/**
* Code.
*/
public Builder code(Integer code) {
this.code = code;
return this;
}
/**
* Message.
*/
public Builder message(String message) {
this.message = message;
return this;
}
/**
* RequestId.
*/
public Builder requestId(String requestId) {
this.requestId = requestId;
return this;
}
/**
* Success.
*/
public Builder success(Boolean success) {
this.success = success;
return this;
}
public OperateEnableJobsResponseBody build() {
return new OperateEnableJobsResponseBody(this);
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-schedulerx320240624/1.0.10/com/aliyun/sdk/service/schedulerx320240624 | java-sources/com/aliyun/alibabacloud-schedulerx320240624/1.0.10/com/aliyun/sdk/service/schedulerx320240624/models/OperateExecuteJobRequest.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.schedulerx320240624.models;
import com.aliyun.sdk.gateway.pop.*;
import darabonba.core.*;
import darabonba.core.async.*;
import darabonba.core.sync.*;
import darabonba.core.client.*;
import darabonba.core.RequestModel;
import darabonba.core.TeaModel;
import com.aliyun.sdk.gateway.pop.models.*;
/**
*
* {@link OperateExecuteJobRequest} extends {@link RequestModel}
*
* <p>OperateExecuteJobRequest</p>
*/
public class OperateExecuteJobRequest extends Request {
@com.aliyun.core.annotation.Host
@com.aliyun.core.annotation.NameInMap("RegionId")
private String regionId;
@com.aliyun.core.annotation.Body
@com.aliyun.core.annotation.NameInMap("AppName")
@com.aliyun.core.annotation.Validation(required = true)
private String appName;
@com.aliyun.core.annotation.Body
@com.aliyun.core.annotation.NameInMap("ClusterId")
@com.aliyun.core.annotation.Validation(required = true)
private String clusterId;
@com.aliyun.core.annotation.Body
@com.aliyun.core.annotation.NameInMap("InstanceParameters")
private String instanceParameters;
@com.aliyun.core.annotation.Body
@com.aliyun.core.annotation.NameInMap("JobId")
@com.aliyun.core.annotation.Validation(required = true)
private Long jobId;
@com.aliyun.core.annotation.Body
@com.aliyun.core.annotation.NameInMap("Label")
private String label;
@com.aliyun.core.annotation.Body
@com.aliyun.core.annotation.NameInMap("Worker")
private String worker;
private OperateExecuteJobRequest(Builder builder) {
super(builder);
this.regionId = builder.regionId;
this.appName = builder.appName;
this.clusterId = builder.clusterId;
this.instanceParameters = builder.instanceParameters;
this.jobId = builder.jobId;
this.label = builder.label;
this.worker = builder.worker;
}
public static Builder builder() {
return new Builder();
}
public static OperateExecuteJobRequest create() {
return builder().build();
}
@Override
public Builder toBuilder() {
return new Builder(this);
}
/**
* @return regionId
*/
public String getRegionId() {
return this.regionId;
}
/**
* @return appName
*/
public String getAppName() {
return this.appName;
}
/**
* @return clusterId
*/
public String getClusterId() {
return this.clusterId;
}
/**
* @return instanceParameters
*/
public String getInstanceParameters() {
return this.instanceParameters;
}
/**
* @return jobId
*/
public Long getJobId() {
return this.jobId;
}
/**
* @return label
*/
public String getLabel() {
return this.label;
}
/**
* @return worker
*/
public String getWorker() {
return this.worker;
}
public static final class Builder extends Request.Builder<OperateExecuteJobRequest, Builder> {
private String regionId;
private String appName;
private String clusterId;
private String instanceParameters;
private Long jobId;
private String label;
private String worker;
private Builder() {
super();
}
private Builder(OperateExecuteJobRequest request) {
super(request);
this.regionId = request.regionId;
this.appName = request.appName;
this.clusterId = request.clusterId;
this.instanceParameters = request.instanceParameters;
this.jobId = request.jobId;
this.label = request.label;
this.worker = request.worker;
}
/**
* RegionId.
*/
public Builder regionId(String regionId) {
this.putHostParameter("RegionId", regionId);
this.regionId = regionId;
return this;
}
/**
* <p>This parameter is required.</p>
*
* <strong>example:</strong>
* <p>test-app</p>
*/
public Builder appName(String appName) {
this.putBodyParameter("AppName", appName);
this.appName = appName;
return this;
}
/**
* <p>This parameter is required.</p>
*
* <strong>example:</strong>
* <p>xxljob-b6ec1xxxx</p>
*/
public Builder clusterId(String clusterId) {
this.putBodyParameter("ClusterId", clusterId);
this.clusterId = clusterId;
return this;
}
/**
* InstanceParameters.
*/
public Builder instanceParameters(String instanceParameters) {
this.putBodyParameter("InstanceParameters", instanceParameters);
this.instanceParameters = instanceParameters;
return this;
}
/**
* <p>This parameter is required.</p>
*
* <strong>example:</strong>
* <p>74</p>
*/
public Builder jobId(Long jobId) {
this.putBodyParameter("JobId", jobId);
this.jobId = jobId;
return this;
}
/**
* Label.
*/
public Builder label(String label) {
this.putBodyParameter("Label", label);
this.label = label;
return this;
}
/**
* Worker.
*/
public Builder worker(String worker) {
this.putBodyParameter("Worker", worker);
this.worker = worker;
return this;
}
@Override
public OperateExecuteJobRequest build() {
return new OperateExecuteJobRequest(this);
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-schedulerx320240624/1.0.10/com/aliyun/sdk/service/schedulerx320240624 | java-sources/com/aliyun/alibabacloud-schedulerx320240624/1.0.10/com/aliyun/sdk/service/schedulerx320240624/models/OperateExecuteJobResponse.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.schedulerx320240624.models;
import com.aliyun.sdk.gateway.pop.*;
import darabonba.core.*;
import darabonba.core.async.*;
import darabonba.core.sync.*;
import darabonba.core.client.*;
import darabonba.core.RequestModel;
import darabonba.core.TeaModel;
import com.aliyun.sdk.gateway.pop.models.*;
/**
*
* {@link OperateExecuteJobResponse} extends {@link TeaModel}
*
* <p>OperateExecuteJobResponse</p>
*/
public class OperateExecuteJobResponse extends Response {
@com.aliyun.core.annotation.NameInMap("headers")
private java.util.Map<String, String> headers;
@com.aliyun.core.annotation.NameInMap("statusCode")
private Integer statusCode;
@com.aliyun.core.annotation.NameInMap("body")
private OperateExecuteJobResponseBody body;
private OperateExecuteJobResponse(BuilderImpl builder) {
super(builder);
this.headers = builder.headers;
this.statusCode = builder.statusCode;
this.body = builder.body;
}
public static OperateExecuteJobResponse create() {
return new BuilderImpl().build();
}
@Override
public Builder toBuilder() {
return new BuilderImpl(this);
}
/**
* @return headers
*/
public java.util.Map<String, String> getHeaders() {
return this.headers;
}
/**
* @return statusCode
*/
public Integer getStatusCode() {
return this.statusCode;
}
/**
* @return body
*/
public OperateExecuteJobResponseBody getBody() {
return this.body;
}
public interface Builder extends Response.Builder<OperateExecuteJobResponse, Builder> {
Builder headers(java.util.Map<String, String> headers);
Builder statusCode(Integer statusCode);
Builder body(OperateExecuteJobResponseBody body);
@Override
OperateExecuteJobResponse build();
}
private static final class BuilderImpl
extends Response.BuilderImpl<OperateExecuteJobResponse, Builder>
implements Builder {
private java.util.Map<String, String> headers;
private Integer statusCode;
private OperateExecuteJobResponseBody body;
private BuilderImpl() {
super();
}
private BuilderImpl(OperateExecuteJobResponse response) {
super(response);
this.headers = response.headers;
this.statusCode = response.statusCode;
this.body = response.body;
}
/**
* headers.
*/
@Override
public Builder headers(java.util.Map<String, String> headers) {
this.headers = headers;
return this;
}
/**
* statusCode.
*/
@Override
public Builder statusCode(Integer statusCode) {
this.statusCode = statusCode;
return this;
}
/**
* body.
*/
@Override
public Builder body(OperateExecuteJobResponseBody body) {
this.body = body;
return this;
}
@Override
public OperateExecuteJobResponse build() {
return new OperateExecuteJobResponse(this);
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-schedulerx320240624/1.0.10/com/aliyun/sdk/service/schedulerx320240624 | java-sources/com/aliyun/alibabacloud-schedulerx320240624/1.0.10/com/aliyun/sdk/service/schedulerx320240624/models/OperateExecuteJobResponseBody.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.schedulerx320240624.models;
import com.aliyun.sdk.gateway.pop.*;
import darabonba.core.*;
import darabonba.core.async.*;
import darabonba.core.sync.*;
import darabonba.core.client.*;
import darabonba.core.RequestModel;
import darabonba.core.TeaModel;
import com.aliyun.sdk.gateway.pop.models.*;
/**
*
* {@link OperateExecuteJobResponseBody} extends {@link TeaModel}
*
* <p>OperateExecuteJobResponseBody</p>
*/
public class OperateExecuteJobResponseBody extends TeaModel {
@com.aliyun.core.annotation.NameInMap("Code")
private Integer code;
@com.aliyun.core.annotation.NameInMap("Data")
private Data data;
@com.aliyun.core.annotation.NameInMap("Message")
private String message;
@com.aliyun.core.annotation.NameInMap("RequestId")
private String requestId;
@com.aliyun.core.annotation.NameInMap("Success")
private Boolean success;
private OperateExecuteJobResponseBody(Builder builder) {
this.code = builder.code;
this.data = builder.data;
this.message = builder.message;
this.requestId = builder.requestId;
this.success = builder.success;
}
public static Builder builder() {
return new Builder();
}
public static OperateExecuteJobResponseBody create() {
return builder().build();
}
public Builder toBuilder() {
return new Builder(this);
}
/**
* @return code
*/
public Integer getCode() {
return this.code;
}
/**
* @return data
*/
public Data getData() {
return this.data;
}
/**
* @return message
*/
public String getMessage() {
return this.message;
}
/**
* @return requestId
*/
public String getRequestId() {
return this.requestId;
}
/**
* @return success
*/
public Boolean getSuccess() {
return this.success;
}
public static final class Builder {
private Integer code;
private Data data;
private String message;
private String requestId;
private Boolean success;
private Builder() {
}
private Builder(OperateExecuteJobResponseBody model) {
this.code = model.code;
this.data = model.data;
this.message = model.message;
this.requestId = model.requestId;
this.success = model.success;
}
/**
* Code.
*/
public Builder code(Integer code) {
this.code = code;
return this;
}
/**
* <ul>
* <li></li>
* </ul>
*/
public Builder data(Data data) {
this.data = data;
return this;
}
/**
* Message.
*/
public Builder message(String message) {
this.message = message;
return this;
}
/**
* RequestId.
*/
public Builder requestId(String requestId) {
this.requestId = requestId;
return this;
}
/**
* Success.
*/
public Builder success(Boolean success) {
this.success = success;
return this;
}
public OperateExecuteJobResponseBody build() {
return new OperateExecuteJobResponseBody(this);
}
}
/**
*
* {@link OperateExecuteJobResponseBody} extends {@link TeaModel}
*
* <p>OperateExecuteJobResponseBody</p>
*/
public static class Data extends TeaModel {
@com.aliyun.core.annotation.NameInMap("JobExecutionId")
private String jobExecutionId;
private Data(Builder builder) {
this.jobExecutionId = builder.jobExecutionId;
}
public static Builder builder() {
return new Builder();
}
public static Data create() {
return builder().build();
}
/**
* @return jobExecutionId
*/
public String getJobExecutionId() {
return this.jobExecutionId;
}
public static final class Builder {
private String jobExecutionId;
private Builder() {
}
private Builder(Data model) {
this.jobExecutionId = model.jobExecutionId;
}
/**
* JobExecutionId.
*/
public Builder jobExecutionId(String jobExecutionId) {
this.jobExecutionId = jobExecutionId;
return this;
}
public Data build() {
return new Data(this);
}
}
}
}
|
0 | java-sources/com/aliyun/alibabacloud-schedulerx320240624/1.0.10/com/aliyun/sdk/service/schedulerx320240624 | java-sources/com/aliyun/alibabacloud-schedulerx320240624/1.0.10/com/aliyun/sdk/service/schedulerx320240624/models/OperateRerunJobRequest.java | // This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.schedulerx320240624.models;
import com.aliyun.sdk.gateway.pop.*;
import darabonba.core.*;
import darabonba.core.async.*;
import darabonba.core.sync.*;
import darabonba.core.client.*;
import darabonba.core.RequestModel;
import darabonba.core.TeaModel;
import com.aliyun.sdk.gateway.pop.models.*;
/**
*
* {@link OperateRerunJobRequest} extends {@link RequestModel}
*
* <p>OperateRerunJobRequest</p>
*/
public class OperateRerunJobRequest extends Request {
@com.aliyun.core.annotation.Host
@com.aliyun.core.annotation.NameInMap("RegionId")
private String regionId;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("AppName")
@com.aliyun.core.annotation.Validation(required = true)
private String appName;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("ClusterId")
@com.aliyun.core.annotation.Validation(required = true)
private String clusterId;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("DataTime")
@com.aliyun.core.annotation.Validation(required = true)
private String dataTime;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("EndDate")
@com.aliyun.core.annotation.Validation(required = true)
private Long endDate;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("JobId")
@com.aliyun.core.annotation.Validation(required = true)
private Long jobId;
@com.aliyun.core.annotation.Query
@com.aliyun.core.annotation.NameInMap("StartDate")
@com.aliyun.core.annotation.Validation(required = true)
private Long startDate;
private OperateRerunJobRequest(Builder builder) {
super(builder);
this.regionId = builder.regionId;
this.appName = builder.appName;
this.clusterId = builder.clusterId;
this.dataTime = builder.dataTime;
this.endDate = builder.endDate;
this.jobId = builder.jobId;
this.startDate = builder.startDate;
}
public static Builder builder() {
return new Builder();
}
public static OperateRerunJobRequest create() {
return builder().build();
}
@Override
public Builder toBuilder() {
return new Builder(this);
}
/**
* @return regionId
*/
public String getRegionId() {
return this.regionId;
}
/**
* @return appName
*/
public String getAppName() {
return this.appName;
}
/**
* @return clusterId
*/
public String getClusterId() {
return this.clusterId;
}
/**
* @return dataTime
*/
public String getDataTime() {
return this.dataTime;
}
/**
* @return endDate
*/
public Long getEndDate() {
return this.endDate;
}
/**
* @return jobId
*/
public Long getJobId() {
return this.jobId;
}
/**
* @return startDate
*/
public Long getStartDate() {
return this.startDate;
}
public static final class Builder extends Request.Builder<OperateRerunJobRequest, Builder> {
private String regionId;
private String appName;
private String clusterId;
private String dataTime;
private Long endDate;
private Long jobId;
private Long startDate;
private Builder() {
super();
}
private Builder(OperateRerunJobRequest request) {
super(request);
this.regionId = request.regionId;
this.appName = request.appName;
this.clusterId = request.clusterId;
this.dataTime = request.dataTime;
this.endDate = request.endDate;
this.jobId = request.jobId;
this.startDate = request.startDate;
}
/**
* RegionId.
*/
public Builder regionId(String regionId) {
this.putHostParameter("RegionId", regionId);
this.regionId = regionId;
return this;
}
/**
* <p>This parameter is required.</p>
*
* <strong>example:</strong>
* <p>test-app</p>
*/
public Builder appName(String appName) {
this.putQueryParameter("AppName", appName);
this.appName = appName;
return this;
}
/**
* <p>This parameter is required.</p>
*
* <strong>example:</strong>
* <p>xxljob-b6ec1xxxx</p>
*/
public Builder clusterId(String clusterId) {
this.putQueryParameter("ClusterId", clusterId);
this.clusterId = clusterId;
return this;
}
/**
* <p>This parameter is required.</p>
*
* <strong>example:</strong>
* <p>14:11:10</p>
*/
public Builder dataTime(String dataTime) {
this.putQueryParameter("DataTime", dataTime);
this.dataTime = dataTime;
return this;
}
/**
* <p>This parameter is required.</p>
*
* <strong>example:</strong>
* <p>1698458024000</p>
*/
public Builder endDate(Long endDate) {
this.putQueryParameter("EndDate", endDate);
this.endDate = endDate;
return this;
}
/**
* <p>This parameter is required.</p>
*
* <strong>example:</strong>
* <p>74</p>
*/
public Builder jobId(Long jobId) {
this.putQueryParameter("JobId", jobId);
this.jobId = jobId;
return this;
}
/**
* <p>This parameter is required.</p>
*
* <strong>example:</strong>
* <p>1698458024000</p>
*/
public Builder startDate(Long startDate) {
this.putQueryParameter("StartDate", startDate);
this.startDate = startDate;
return this;
}
@Override
public OperateRerunJobRequest build() {
return new OperateRerunJobRequest(this);
}
}
}
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.