All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.aliyun.sdk.service.iot20180120.models.GetGatewayBySubDeviceResponseBody Maven / Gradle / Ivy

The newest version!
// This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.iot20180120.models;

import com.aliyun.core.annotation.*;
import darabonba.core.RequestModel;
import darabonba.core.TeaModel;
import com.aliyun.sdk.gateway.pop.models.*;

/**
 * {@link GetGatewayBySubDeviceResponseBody} extends {@link TeaModel}
 *
 * 

GetGatewayBySubDeviceResponseBody

*/ public class GetGatewayBySubDeviceResponseBody extends TeaModel { @NameInMap("Code") private String code; @NameInMap("Data") private Data data; @NameInMap("ErrorMessage") private String errorMessage; @NameInMap("RequestId") private String requestId; @NameInMap("Success") private Boolean success; private GetGatewayBySubDeviceResponseBody(Builder builder) { this.code = builder.code; this.data = builder.data; this.errorMessage = builder.errorMessage; this.requestId = builder.requestId; this.success = builder.success; } public static Builder builder() { return new Builder(); } public static GetGatewayBySubDeviceResponseBody create() { return builder().build(); } /** * @return code */ public String getCode() { return this.code; } /** * @return data */ public Data getData() { return this.data; } /** * @return errorMessage */ public String getErrorMessage() { return this.errorMessage; } /** * @return requestId */ public String getRequestId() { return this.requestId; } /** * @return success */ public Boolean getSuccess() { return this.success; } public static final class Builder { private String code; private Data data; private String errorMessage; private String requestId; private Boolean success; /** * Code. */ public Builder code(String code) { this.code = code; return this; } /** * Data. */ public Builder data(Data data) { this.data = data; return this; } /** * ErrorMessage. */ public Builder errorMessage(String errorMessage) { this.errorMessage = errorMessage; 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 GetGatewayBySubDeviceResponseBody build() { return new GetGatewayBySubDeviceResponseBody(this); } } public static class Data extends TeaModel { @NameInMap("DeviceName") private String deviceName; @NameInMap("DeviceSecret") private String deviceSecret; @NameInMap("FirmwareVersion") private String firmwareVersion; @NameInMap("GmtActive") private String gmtActive; @NameInMap("GmtCreate") private String gmtCreate; @NameInMap("GmtOnline") private String gmtOnline; @NameInMap("IpAddress") private String ipAddress; @NameInMap("NodeType") private String nodeType; @NameInMap("ProductKey") private String productKey; @NameInMap("ProductName") private String productName; @NameInMap("Status") private String status; @NameInMap("UtcActive") private String utcActive; @NameInMap("UtcCreate") private String utcCreate; @NameInMap("UtcOnline") private String utcOnline; @NameInMap("iotId") private String iotId; @NameInMap("region") private String region; private Data(Builder builder) { this.deviceName = builder.deviceName; this.deviceSecret = builder.deviceSecret; this.firmwareVersion = builder.firmwareVersion; this.gmtActive = builder.gmtActive; this.gmtCreate = builder.gmtCreate; this.gmtOnline = builder.gmtOnline; this.ipAddress = builder.ipAddress; this.nodeType = builder.nodeType; this.productKey = builder.productKey; this.productName = builder.productName; this.status = builder.status; this.utcActive = builder.utcActive; this.utcCreate = builder.utcCreate; this.utcOnline = builder.utcOnline; this.iotId = builder.iotId; this.region = builder.region; } public static Builder builder() { return new Builder(); } public static Data create() { return builder().build(); } /** * @return deviceName */ public String getDeviceName() { return this.deviceName; } /** * @return deviceSecret */ public String getDeviceSecret() { return this.deviceSecret; } /** * @return firmwareVersion */ public String getFirmwareVersion() { return this.firmwareVersion; } /** * @return gmtActive */ public String getGmtActive() { return this.gmtActive; } /** * @return gmtCreate */ public String getGmtCreate() { return this.gmtCreate; } /** * @return gmtOnline */ public String getGmtOnline() { return this.gmtOnline; } /** * @return ipAddress */ public String getIpAddress() { return this.ipAddress; } /** * @return nodeType */ public String getNodeType() { return this.nodeType; } /** * @return productKey */ public String getProductKey() { return this.productKey; } /** * @return productName */ public String getProductName() { return this.productName; } /** * @return status */ public String getStatus() { return this.status; } /** * @return utcActive */ public String getUtcActive() { return this.utcActive; } /** * @return utcCreate */ public String getUtcCreate() { return this.utcCreate; } /** * @return utcOnline */ public String getUtcOnline() { return this.utcOnline; } /** * @return iotId */ public String getIotId() { return this.iotId; } /** * @return region */ public String getRegion() { return this.region; } public static final class Builder { private String deviceName; private String deviceSecret; private String firmwareVersion; private String gmtActive; private String gmtCreate; private String gmtOnline; private String ipAddress; private String nodeType; private String productKey; private String productName; private String status; private String utcActive; private String utcCreate; private String utcOnline; private String iotId; private String region; /** * DeviceName. */ public Builder deviceName(String deviceName) { this.deviceName = deviceName; return this; } /** * DeviceSecret. */ public Builder deviceSecret(String deviceSecret) { this.deviceSecret = deviceSecret; return this; } /** * FirmwareVersion. */ public Builder firmwareVersion(String firmwareVersion) { this.firmwareVersion = firmwareVersion; return this; } /** * GmtActive. */ public Builder gmtActive(String gmtActive) { this.gmtActive = gmtActive; return this; } /** * GmtCreate. */ public Builder gmtCreate(String gmtCreate) { this.gmtCreate = gmtCreate; return this; } /** * GmtOnline. */ public Builder gmtOnline(String gmtOnline) { this.gmtOnline = gmtOnline; return this; } /** * IpAddress. */ public Builder ipAddress(String ipAddress) { this.ipAddress = ipAddress; return this; } /** * NodeType. */ public Builder nodeType(String nodeType) { this.nodeType = nodeType; return this; } /** * ProductKey. */ public Builder productKey(String productKey) { this.productKey = productKey; return this; } /** * ProductName. */ public Builder productName(String productName) { this.productName = productName; return this; } /** * Status. */ public Builder status(String status) { this.status = status; return this; } /** * UtcActive. */ public Builder utcActive(String utcActive) { this.utcActive = utcActive; return this; } /** * UtcCreate. */ public Builder utcCreate(String utcCreate) { this.utcCreate = utcCreate; return this; } /** * UtcOnline. */ public Builder utcOnline(String utcOnline) { this.utcOnline = utcOnline; return this; } /** * iotId. */ public Builder iotId(String iotId) { this.iotId = iotId; return this; } /** * region. */ public Builder region(String region) { this.region = region; return this; } public Data build() { return new Data(this); } } } }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy