com.aliyun.cs20151215.models.DescribeEdgeMachineModelsResponseBody Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of cs20151215 Show documentation
Show all versions of cs20151215 Show documentation
Alibaba Cloud CS (20151215) SDK for Java
// This file is auto-generated, don't edit it. Thanks.
package com.aliyun.cs20151215.models;
import com.aliyun.tea.*;
public class DescribeEdgeMachineModelsResponseBody extends TeaModel {
/**
* The cloud-native box models.
*/
@NameInMap("models")
public java.util.List models;
public static DescribeEdgeMachineModelsResponseBody build(java.util.Map map) throws Exception {
DescribeEdgeMachineModelsResponseBody self = new DescribeEdgeMachineModelsResponseBody();
return TeaModel.build(map, self);
}
public DescribeEdgeMachineModelsResponseBody setModels(java.util.List models) {
this.models = models;
return this;
}
public java.util.List getModels() {
return this.models;
}
public static class DescribeEdgeMachineModelsResponseBodyModels extends TeaModel {
/**
* The number of vCores.
*
* example:
* 6
*/
@NameInMap("cpu")
public Integer cpu;
/**
* The CPU architecture.
*
* example:
* x86_64/arm64
*/
@NameInMap("cpu_arch")
public String cpuArch;
/**
* The time when the cloud-native box was created.
*
* example:
* 2021-07-07T20:44:00+08:00
*/
@NameInMap("created")
public String created;
/**
* The description of the cloud-native box.
*
* example:
* B010
*/
@NameInMap("description")
public String description;
/**
* Indicates whether the cloud-native box model manages the Docker runtime.
*
* example:
* 0/1
*/
@NameInMap("manage_runtime")
public Integer manageRuntime;
/**
* The memory. Unit: GB.
*
* example:
* 8
*/
@NameInMap("memory")
public Integer memory;
/**
* The model of the cloud-native box.
*
* example:
* ACK-V-B010
*/
@NameInMap("model")
public String model;
/**
* The ID of the cloud-native box.
*
* example:
* c34cc753-8908-4739-bd10-ebd922a4****
*/
@NameInMap("model_id")
public String modelId;
public static DescribeEdgeMachineModelsResponseBodyModels build(java.util.Map map) throws Exception {
DescribeEdgeMachineModelsResponseBodyModels self = new DescribeEdgeMachineModelsResponseBodyModels();
return TeaModel.build(map, self);
}
public DescribeEdgeMachineModelsResponseBodyModels setCpu(Integer cpu) {
this.cpu = cpu;
return this;
}
public Integer getCpu() {
return this.cpu;
}
public DescribeEdgeMachineModelsResponseBodyModels setCpuArch(String cpuArch) {
this.cpuArch = cpuArch;
return this;
}
public String getCpuArch() {
return this.cpuArch;
}
public DescribeEdgeMachineModelsResponseBodyModels setCreated(String created) {
this.created = created;
return this;
}
public String getCreated() {
return this.created;
}
public DescribeEdgeMachineModelsResponseBodyModels setDescription(String description) {
this.description = description;
return this;
}
public String getDescription() {
return this.description;
}
public DescribeEdgeMachineModelsResponseBodyModels setManageRuntime(Integer manageRuntime) {
this.manageRuntime = manageRuntime;
return this;
}
public Integer getManageRuntime() {
return this.manageRuntime;
}
public DescribeEdgeMachineModelsResponseBodyModels setMemory(Integer memory) {
this.memory = memory;
return this;
}
public Integer getMemory() {
return this.memory;
}
public DescribeEdgeMachineModelsResponseBodyModels setModel(String model) {
this.model = model;
return this;
}
public String getModel() {
return this.model;
}
public DescribeEdgeMachineModelsResponseBodyModels setModelId(String modelId) {
this.modelId = modelId;
return this;
}
public String getModelId() {
return this.modelId;
}
}
}