com.aliyun.iot20180120.models.CreateSubscribeRelationResponseBody 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 CreateSubscribeRelationResponseBody extends TeaModel {
/**
* The error code that is returned if the call fails. For more information about error codes, 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:
* 21D327AF-A7DE-4E59-B5D1-ACAC8C024555
*/
@NameInMap("RequestId")
public String requestId;
/**
* Indicates whether the call was successful. Valid values:
*
* - true: The call was successful.
* - false: The call failed.
*
*
* example:
* true
*/
@NameInMap("Success")
public Boolean success;
public static CreateSubscribeRelationResponseBody build(java.util.Map map) throws Exception {
CreateSubscribeRelationResponseBody self = new CreateSubscribeRelationResponseBody();
return TeaModel.build(map, self);
}
public CreateSubscribeRelationResponseBody setCode(String code) {
this.code = code;
return this;
}
public String getCode() {
return this.code;
}
public CreateSubscribeRelationResponseBody setErrorMessage(String errorMessage) {
this.errorMessage = errorMessage;
return this;
}
public String getErrorMessage() {
return this.errorMessage;
}
public CreateSubscribeRelationResponseBody setRequestId(String requestId) {
this.requestId = requestId;
return this;
}
public String getRequestId() {
return this.requestId;
}
public CreateSubscribeRelationResponseBody setSuccess(Boolean success) {
this.success = success;
return this;
}
public Boolean getSuccess() {
return this.success;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy