com.aliyun.iot20180120.models.CreateDeviceTunnelResponseBody 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
// This file is auto-generated, don't edit it. Thanks.
package com.aliyun.iot20180120.models;
import com.aliyun.tea.*;
public class CreateDeviceTunnelResponseBody extends TeaModel {
@NameInMap("Code")
public String code;
@NameInMap("Data")
public CreateDeviceTunnelResponseBodyData data;
@NameInMap("ErrorMessage")
public String errorMessage;
@NameInMap("RequestId")
public String requestId;
@NameInMap("Success")
public Boolean success;
public static CreateDeviceTunnelResponseBody build(java.util.Map map) throws Exception {
CreateDeviceTunnelResponseBody self = new CreateDeviceTunnelResponseBody();
return TeaModel.build(map, self);
}
public CreateDeviceTunnelResponseBody setCode(String code) {
this.code = code;
return this;
}
public String getCode() {
return this.code;
}
public CreateDeviceTunnelResponseBody setData(CreateDeviceTunnelResponseBodyData data) {
this.data = data;
return this;
}
public CreateDeviceTunnelResponseBodyData getData() {
return this.data;
}
public CreateDeviceTunnelResponseBody setErrorMessage(String errorMessage) {
this.errorMessage = errorMessage;
return this;
}
public String getErrorMessage() {
return this.errorMessage;
}
public CreateDeviceTunnelResponseBody setRequestId(String requestId) {
this.requestId = requestId;
return this;
}
public String getRequestId() {
return this.requestId;
}
public CreateDeviceTunnelResponseBody setSuccess(Boolean success) {
this.success = success;
return this;
}
public Boolean getSuccess() {
return this.success;
}
public static class CreateDeviceTunnelResponseBodyData extends TeaModel {
@NameInMap("SourceAccessToken")
public String sourceAccessToken;
@NameInMap("SourceURI")
public String sourceURI;
@NameInMap("TunnelId")
public String tunnelId;
public static CreateDeviceTunnelResponseBodyData build(java.util.Map map) throws Exception {
CreateDeviceTunnelResponseBodyData self = new CreateDeviceTunnelResponseBodyData();
return TeaModel.build(map, self);
}
public CreateDeviceTunnelResponseBodyData setSourceAccessToken(String sourceAccessToken) {
this.sourceAccessToken = sourceAccessToken;
return this;
}
public String getSourceAccessToken() {
return this.sourceAccessToken;
}
public CreateDeviceTunnelResponseBodyData setSourceURI(String sourceURI) {
this.sourceURI = sourceURI;
return this;
}
public String getSourceURI() {
return this.sourceURI;
}
public CreateDeviceTunnelResponseBodyData setTunnelId(String tunnelId) {
this.tunnelId = tunnelId;
return this;
}
public String getTunnelId() {
return this.tunnelId;
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy