
cn.ucloud.unet.models.DisassociateEIPWithShareBandwidthRequest 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.unet.models;
import cn.ucloud.common.annotation.NotEmpty;
import cn.ucloud.common.annotation.UCloudParam;
import cn.ucloud.common.request.Request;
import java.util.List;
public class DisassociateEIPWithShareBandwidthRequest extends Request {
/** 地域。 参见 [地域和可用区列表](../summary/regionlist.html) */
@NotEmpty
@UCloudParam("Region")
private String region;
/** 项目ID。不填写为默认项目,子帐号必须填写。 请参考[GetProjectList接口](../summary/get_project_list.html) */
@UCloudParam("ProjectId")
private String projectId;
/** 共享带宽ID */
@NotEmpty
@UCloudParam("ShareBandwidthId")
private String shareBandwidthId;
/** 移出共享带宽后,EIP的外网带宽, 单位为Mbps. 各地域带宽范围如下: 流量计费[1-200],带宽计费[1-800] */
@NotEmpty
@UCloudParam("Bandwidth")
private Integer bandwidth;
/** EIP的资源Id;默认移出该共享带宽下所有的EIP */
@UCloudParam("EIPIds")
private List eipIds;
/** 移出共享带宽后,EIP的计费模式. 枚举值: "Traffic", 流量计费; "Bandwidth", 带宽计费; 默认为 "Bandwidth". */
@UCloudParam("PayMode")
private String payMode;
/** 共享带宽类型,IPv4或者IPv6,不传默认IPv4 */
@UCloudParam("IPVersion")
private String ipVersion;
public String getRegion() {
return region;
}
public void setRegion(String region) {
this.region = region;
}
public String getProjectId() {
return projectId;
}
public void setProjectId(String projectId) {
this.projectId = projectId;
}
public String getShareBandwidthId() {
return shareBandwidthId;
}
public void setShareBandwidthId(String shareBandwidthId) {
this.shareBandwidthId = shareBandwidthId;
}
public Integer getBandwidth() {
return bandwidth;
}
public void setBandwidth(Integer bandwidth) {
this.bandwidth = bandwidth;
}
public List getEIPIds() {
return eipIds;
}
public void setEIPIds(List eipIds) {
this.eipIds = eipIds;
}
public String getPayMode() {
return payMode;
}
public void setPayMode(String payMode) {
this.payMode = payMode;
}
public String getIPVersion() {
return ipVersion;
}
public void setIPVersion(String ipVersion) {
this.ipVersion = ipVersion;
}
}