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

cn.ucloud.udpn.models.ModifyUDPNBandwidthRequest 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.udpn.models; import cn.ucloud.common.annotation.NotEmpty; import cn.ucloud.common.annotation.UCloudParam; import cn.ucloud.common.request.Request; public class ModifyUDPNBandwidthRequest extends Request { /** 项目ID。不填写为默认项目,子帐号必须填写。 请参考[GetProjectList接口](../summary/get_project_list.html) */ @UCloudParam("ProjectId") private String projectId; /** UDPN Id */ @NotEmpty @UCloudParam("UDPNId") private String udpnId; /** 调整后专线带宽, 单位为Mbps,取值范围为大于等于2且小于等于1000([2-1000])的整数 */ @NotEmpty @UCloudParam("Bandwidth") private Integer bandwidth; /** 代金劵 ID */ @UCloudParam("CouponId") private String couponId; public String getProjectId() { return projectId; } public void setProjectId(String projectId) { this.projectId = projectId; } public String getUDPNId() { return udpnId; } public void setUDPNId(String udpnId) { this.udpnId = udpnId; } public Integer getBandwidth() { return bandwidth; } public void setBandwidth(Integer bandwidth) { this.bandwidth = bandwidth; } public String getCouponId() { return couponId; } public void setCouponId(String couponId) { this.couponId = couponId; } }





© 2015 - 2025 Weber Informatics LLC | Privacy Policy