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

com.aliyun.sdk.service.cs20151215.models.DescribeEdgeMachinesResponseBody Maven / Gradle / Ivy

There is a newer version: 2.0.29
Show newest version
// This file is auto-generated, don't edit it. Thanks.
package com.aliyun.sdk.service.cs20151215.models;

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

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

DescribeEdgeMachinesResponseBody

*/ public class DescribeEdgeMachinesResponseBody extends TeaModel { @com.aliyun.core.annotation.NameInMap("edge_machines") private java.util.List < EdgeMachines> edgeMachines; @com.aliyun.core.annotation.NameInMap("page_info") private PageInfo pageInfo; private DescribeEdgeMachinesResponseBody(Builder builder) { this.edgeMachines = builder.edgeMachines; this.pageInfo = builder.pageInfo; } public static Builder builder() { return new Builder(); } public static DescribeEdgeMachinesResponseBody create() { return builder().build(); } /** * @return edgeMachines */ public java.util.List < EdgeMachines> getEdgeMachines() { return this.edgeMachines; } /** * @return pageInfo */ public PageInfo getPageInfo() { return this.pageInfo; } public static final class Builder { private java.util.List < EdgeMachines> edgeMachines; private PageInfo pageInfo; /** * The list of cloud-native boxes. */ public Builder edgeMachines(java.util.List < EdgeMachines> edgeMachines) { this.edgeMachines = edgeMachines; return this; } /** * The paging information. */ public Builder pageInfo(PageInfo pageInfo) { this.pageInfo = pageInfo; return this; } public DescribeEdgeMachinesResponseBody build() { return new DescribeEdgeMachinesResponseBody(this); } } public static class EdgeMachines extends TeaModel { @com.aliyun.core.annotation.NameInMap("active_time") private String activeTime; @com.aliyun.core.annotation.NameInMap("created") private String created; @com.aliyun.core.annotation.NameInMap("edge_machine_id") private String edgeMachineId; @com.aliyun.core.annotation.NameInMap("hostname") private String hostname; @com.aliyun.core.annotation.NameInMap("life_state") private String lifeState; @com.aliyun.core.annotation.NameInMap("model") private String model; @com.aliyun.core.annotation.NameInMap("name") private String name; @com.aliyun.core.annotation.NameInMap("online_state") private String onlineState; @com.aliyun.core.annotation.NameInMap("sn") private String sn; @com.aliyun.core.annotation.NameInMap("updated") private String updated; private EdgeMachines(Builder builder) { this.activeTime = builder.activeTime; this.created = builder.created; this.edgeMachineId = builder.edgeMachineId; this.hostname = builder.hostname; this.lifeState = builder.lifeState; this.model = builder.model; this.name = builder.name; this.onlineState = builder.onlineState; this.sn = builder.sn; this.updated = builder.updated; } public static Builder builder() { return new Builder(); } public static EdgeMachines create() { return builder().build(); } /** * @return activeTime */ public String getActiveTime() { return this.activeTime; } /** * @return created */ public String getCreated() { return this.created; } /** * @return edgeMachineId */ public String getEdgeMachineId() { return this.edgeMachineId; } /** * @return hostname */ public String getHostname() { return this.hostname; } /** * @return lifeState */ public String getLifeState() { return this.lifeState; } /** * @return model */ public String getModel() { return this.model; } /** * @return name */ public String getName() { return this.name; } /** * @return onlineState */ public String getOnlineState() { return this.onlineState; } /** * @return sn */ public String getSn() { return this.sn; } /** * @return updated */ public String getUpdated() { return this.updated; } public static final class Builder { private String activeTime; private String created; private String edgeMachineId; private String hostname; private String lifeState; private String model; private String name; private String onlineState; private String sn; private String updated; /** * The time when the cloud-native box was activated. */ public Builder activeTime(String activeTime) { this.activeTime = activeTime; return this; } /** * The time when the cloud-native box was created. */ public Builder created(String created) { this.created = created; return this; } /** * The device ID. */ public Builder edgeMachineId(String edgeMachineId) { this.edgeMachineId = edgeMachineId; return this; } /** * The `hostname` of the cloud-native box. */ public Builder hostname(String hostname) { this.hostname = hostname; return this; } /** * The lifecycle of the cloud-native box. */ public Builder lifeState(String lifeState) { this.lifeState = lifeState; return this; } /** * The model of the cloud-native box. */ public Builder model(String model) { this.model = model; return this; } /** * The machine name. */ public Builder name(String name) { this.name = name; return this; } /** * The status of the cloud-native box. */ public Builder onlineState(String onlineState) { this.onlineState = onlineState; return this; } /** * The serial number. */ public Builder sn(String sn) { this.sn = sn; return this; } /** * The time when the cloud-native box was last updated. */ public Builder updated(String updated) { this.updated = updated; return this; } public EdgeMachines build() { return new EdgeMachines(this); } } } public static class PageInfo extends TeaModel { @com.aliyun.core.annotation.NameInMap("page_number") private Integer pageNumber; @com.aliyun.core.annotation.NameInMap("page_size") private Integer pageSize; @com.aliyun.core.annotation.NameInMap("total_count") private Integer totalCount; private PageInfo(Builder builder) { this.pageNumber = builder.pageNumber; this.pageSize = builder.pageSize; this.totalCount = builder.totalCount; } public static Builder builder() { return new Builder(); } public static PageInfo create() { return builder().build(); } /** * @return pageNumber */ public Integer getPageNumber() { return this.pageNumber; } /** * @return pageSize */ public Integer getPageSize() { return this.pageSize; } /** * @return totalCount */ public Integer getTotalCount() { return this.totalCount; } public static final class Builder { private Integer pageNumber; private Integer pageSize; private Integer totalCount; /** * The page number. *

* * Default value: 1. */ public Builder pageNumber(Integer pageNumber) { this.pageNumber = pageNumber; return this; } /** * The number of entries per page. *

* * Default value: 10. */ public Builder pageSize(Integer pageSize) { this.pageSize = pageSize; return this; } /** * The total number of pages returned. */ public Builder totalCount(Integer totalCount) { this.totalCount = totalCount; return this; } public PageInfo build() { return new PageInfo(this); } } } }





© 2015 - 2024 Weber Informatics LLC | Privacy Policy