com.aliyun.arms20190808.models.CreateTimingSyntheticTaskResponseBody Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of arms20190808 Show documentation
Show all versions of arms20190808 Show documentation
Alibaba Cloud Application Real-Time Monitoring Service (20190808) SDK for Java
// This file is auto-generated, don't edit it. Thanks.
package com.aliyun.arms20190808.models;
import com.aliyun.tea.*;
public class CreateTimingSyntheticTaskResponseBody extends TeaModel {
/**
* The HTTP status code returned. The status code 200 indicates that the request was successful.
*
* example:
* 200
*/
@NameInMap("Code")
public Long code;
/**
* The struct returned.
*/
@NameInMap("Data")
public CreateTimingSyntheticTaskResponseBodyData data;
/**
* The message returned.
*
* example:
* success
*/
@NameInMap("Message")
public String message;
/**
* Id of the request
*
* example:
* 53B5874D-EBC1-5567-B787-E4B7267F5CEB
*/
@NameInMap("RequestId")
public String requestId;
/**
* Indicates whether the request was successful. Valid values: true and false.
*
* example:
* true
*/
@NameInMap("Success")
public Boolean success;
public static CreateTimingSyntheticTaskResponseBody build(java.util.Map map) throws Exception {
CreateTimingSyntheticTaskResponseBody self = new CreateTimingSyntheticTaskResponseBody();
return TeaModel.build(map, self);
}
public CreateTimingSyntheticTaskResponseBody setCode(Long code) {
this.code = code;
return this;
}
public Long getCode() {
return this.code;
}
public CreateTimingSyntheticTaskResponseBody setData(CreateTimingSyntheticTaskResponseBodyData data) {
this.data = data;
return this;
}
public CreateTimingSyntheticTaskResponseBodyData getData() {
return this.data;
}
public CreateTimingSyntheticTaskResponseBody setMessage(String message) {
this.message = message;
return this;
}
public String getMessage() {
return this.message;
}
public CreateTimingSyntheticTaskResponseBody setRequestId(String requestId) {
this.requestId = requestId;
return this;
}
public String getRequestId() {
return this.requestId;
}
public CreateTimingSyntheticTaskResponseBody setSuccess(Boolean success) {
this.success = success;
return this;
}
public Boolean getSuccess() {
return this.success;
}
public static class CreateTimingSyntheticTaskResponseBodyData extends TeaModel {
/**
* The task status. Valid values:
*
* - INIT: The task is in the initial state.
* - RELEASE: The task is being parsed.
* - RUNNING: The task is running.
* - STOP: The task is suspended.
* - SYSTEM_STOP: The task is suspended by the system.
* - CANCEL: The task is canceled.
* - SYSTEM_CANCEL: The task is canceled by the system.
* - DONE: The task is complete.
*
*
* example:
* RUNNING
*/
@NameInMap("Status")
public String status;
/**
* The ID of the synthetic monitoring task.
*
* example:
* 5308a2691f59422c8c3b7aeccec9cd3b
*/
@NameInMap("TaskId")
public String taskId;
public static CreateTimingSyntheticTaskResponseBodyData build(java.util.Map map) throws Exception {
CreateTimingSyntheticTaskResponseBodyData self = new CreateTimingSyntheticTaskResponseBodyData();
return TeaModel.build(map, self);
}
public CreateTimingSyntheticTaskResponseBodyData setStatus(String status) {
this.status = status;
return this;
}
public String getStatus() {
return this.status;
}
public CreateTimingSyntheticTaskResponseBodyData setTaskId(String taskId) {
this.taskId = taskId;
return this;
}
public String getTaskId() {
return this.taskId;
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy