com.aliyun.iot20180120.models.EnableThingResponseBody Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of iot20180120 Show documentation
Show all versions of iot20180120 Show documentation
Alibaba Cloud IoT Platform (20180120) SDK for Java
The newest version!
// This file is auto-generated, don't edit it. Thanks.
package com.aliyun.iot20180120.models;
import com.aliyun.tea.*;
public class EnableThingResponseBody extends TeaModel {
/**
* The error code returned if the call fails. For more information, see Error codes.
*
* example:
* iot.system.SystemException
*/
@NameInMap("Code")
public String code;
/**
* The error message returned if the call fails.
*/
@NameInMap("ErrorMessage")
public String errorMessage;
/**
* The ID of the request.
*
* example:
* E55E50B7-40EE-4B6B-8BBE-D3ED55CCF565
*/
@NameInMap("RequestId")
public String requestId;
/**
* Indicates whether the call was successful.
*
* - true: The call was successful.
* - false: The call failed.
*
*
* example:
* true
*/
@NameInMap("Success")
public Boolean success;
public static EnableThingResponseBody build(java.util.Map map) throws Exception {
EnableThingResponseBody self = new EnableThingResponseBody();
return TeaModel.build(map, self);
}
public EnableThingResponseBody setCode(String code) {
this.code = code;
return this;
}
public String getCode() {
return this.code;
}
public EnableThingResponseBody setErrorMessage(String errorMessage) {
this.errorMessage = errorMessage;
return this;
}
public String getErrorMessage() {
return this.errorMessage;
}
public EnableThingResponseBody setRequestId(String requestId) {
this.requestId = requestId;
return this;
}
public String getRequestId() {
return this.requestId;
}
public EnableThingResponseBody setSuccess(Boolean success) {
this.success = success;
return this;
}
public Boolean getSuccess() {
return this.success;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy