cn.ucloud.uec.models.GetUEcUpgradePriceRequest Maven / Gradle / Ivy
/**
* Copyright 2021 UCloud Technology Co., Ltd.
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file
* except in compliance with the License. You may obtain a copy of the License at
*
*
http://www.apache.org/licenses/LICENSE-2.0
*
*
Unless required by applicable law or agreed to in writing, software distributed under the
* License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
* express or implied. See the License for the specific language governing permissions and
* limitations under the License.
*/
package cn.ucloud.uec.models;
import cn.ucloud.common.annotation.NotEmpty;
import cn.ucloud.common.annotation.UCloudParam;
import cn.ucloud.common.request.Request;
public class GetUEcUpgradePriceRequest extends Request {
/**
* 项目ID。不填写为默认项目,子帐号必须填写。
* 请参考[GetProjectList接口](https://docs.ucloud.cn/api/summary/get_project_list)
*/
@UCloudParam("ProjectId")
private String projectId;
/** 虚拟机资源ID */
@NotEmpty
@UCloudParam("NodeId")
private String nodeId;
/** cpu核心数 */
@UCloudParam("CpuCore")
private Integer cpuCore;
/** 内存大小,单位GB */
@UCloudParam("MemSize")
private Integer memSize;
/** 系统盘大小,单位GB */
@UCloudParam("SysDiskSize")
private Integer sysDiskSize;
/** 数据盘大小,单位GB */
@UCloudParam("DiskSize")
private Integer diskSize;
/** 节点带宽限制,单位Mbs */
@UCloudParam("NetLimit")
private Integer netLimit;
public String getProjectId() {
return projectId;
}
public void setProjectId(String projectId) {
this.projectId = projectId;
}
public String getNodeId() {
return nodeId;
}
public void setNodeId(String nodeId) {
this.nodeId = nodeId;
}
public Integer getCpuCore() {
return cpuCore;
}
public void setCpuCore(Integer cpuCore) {
this.cpuCore = cpuCore;
}
public Integer getMemSize() {
return memSize;
}
public void setMemSize(Integer memSize) {
this.memSize = memSize;
}
public Integer getSysDiskSize() {
return sysDiskSize;
}
public void setSysDiskSize(Integer sysDiskSize) {
this.sysDiskSize = sysDiskSize;
}
public Integer getDiskSize() {
return diskSize;
}
public void setDiskSize(Integer diskSize) {
this.diskSize = diskSize;
}
public Integer getNetLimit() {
return netLimit;
}
public void setNetLimit(Integer netLimit) {
this.netLimit = netLimit;
}
}