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

com.aliyun.sdk.service.iot20180120.models.GetThingTopoResponseBody 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 GetThingTopoResponseBody} extends {@link TeaModel}
 *
 * 

GetThingTopoResponseBody

*/ public class GetThingTopoResponseBody 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 GetThingTopoResponseBody(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 GetThingTopoResponseBody 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 GetThingTopoResponseBody build() { return new GetThingTopoResponseBody(this); } } public static class DeviceInfo extends TeaModel { @NameInMap("DeviceName") private String deviceName; @NameInMap("IotId") private String iotId; @NameInMap("ProductKey") private String productKey; private DeviceInfo(Builder builder) { this.deviceName = builder.deviceName; this.iotId = builder.iotId; this.productKey = builder.productKey; } public static Builder builder() { return new Builder(); } public static DeviceInfo create() { return builder().build(); } /** * @return deviceName */ public String getDeviceName() { return this.deviceName; } /** * @return iotId */ public String getIotId() { return this.iotId; } /** * @return productKey */ public String getProductKey() { return this.productKey; } public static final class Builder { private String deviceName; private String iotId; private String productKey; /** * DeviceName. */ public Builder deviceName(String deviceName) { this.deviceName = deviceName; return this; } /** * IotId. */ public Builder iotId(String iotId) { this.iotId = iotId; return this; } /** * ProductKey. */ public Builder productKey(String productKey) { this.productKey = productKey; return this; } public DeviceInfo build() { return new DeviceInfo(this); } } } public static class List extends TeaModel { @NameInMap("deviceInfo") private java.util.List < DeviceInfo> deviceInfo; private List(Builder builder) { this.deviceInfo = builder.deviceInfo; } public static Builder builder() { return new Builder(); } public static List create() { return builder().build(); } /** * @return deviceInfo */ public java.util.List < DeviceInfo> getDeviceInfo() { return this.deviceInfo; } public static final class Builder { private java.util.List < DeviceInfo> deviceInfo; /** * deviceInfo. */ public Builder deviceInfo(java.util.List < DeviceInfo> deviceInfo) { this.deviceInfo = deviceInfo; return this; } public List build() { return new List(this); } } } public static class Data extends TeaModel { @NameInMap("CurrentPage") private Integer currentPage; @NameInMap("List") private List list; @NameInMap("PageCount") private Long pageCount; @NameInMap("PageSize") private Integer pageSize; @NameInMap("Total") private Long total; private Data(Builder builder) { this.currentPage = builder.currentPage; this.list = builder.list; this.pageCount = builder.pageCount; this.pageSize = builder.pageSize; this.total = builder.total; } public static Builder builder() { return new Builder(); } public static Data create() { return builder().build(); } /** * @return currentPage */ public Integer getCurrentPage() { return this.currentPage; } /** * @return list */ public List getList() { return this.list; } /** * @return pageCount */ public Long getPageCount() { return this.pageCount; } /** * @return pageSize */ public Integer getPageSize() { return this.pageSize; } /** * @return total */ public Long getTotal() { return this.total; } public static final class Builder { private Integer currentPage; private List list; private Long pageCount; private Integer pageSize; private Long total; /** * CurrentPage. */ public Builder currentPage(Integer currentPage) { this.currentPage = currentPage; return this; } /** * List. */ public Builder list(List list) { this.list = list; return this; } /** * PageCount. */ public Builder pageCount(Long pageCount) { this.pageCount = pageCount; return this; } /** * PageSize. */ public Builder pageSize(Integer pageSize) { this.pageSize = pageSize; return this; } /** * Total. */ public Builder total(Long total) { this.total = total; return this; } public Data build() { return new Data(this); } } } }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy