
cn.ucloud.udpn.models.DescribeUDPNRequest 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.UCloudParam;
import cn.ucloud.common.request.Request;
public class DescribeUDPNRequest extends Request {
/** 地域。 参见 [地域和可用区列表](https://docs.ucloud.cn/api/summary/regionlist) */
@UCloudParam("Region")
private String region;
/**
* 项目ID。不填写为默认项目,子帐号必须填写。
* 请参考[GetProjectList接口](https://docs.ucloud.cn/api/summary/get_project_list)
*/
@UCloudParam("ProjectId")
private String projectId;
/** 申请到的 UDPN 资源 ID。若为空,则查询该用户在机房所有的专线信息。非默认项目资源,需填写ProjectId */
@UCloudParam("UDPNId")
private String udpnId;
/** 列表起始位置偏移量,默认为 0 */
@UCloudParam("Offset")
private Integer offset;
/** 返回数据长度,默认为 20 */
@UCloudParam("Limit")
private Integer limit;
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 getUDPNId() {
return udpnId;
}
public void setUDPNId(String udpnId) {
this.udpnId = udpnId;
}
public Integer getOffset() {
return offset;
}
public void setOffset(Integer offset) {
this.offset = offset;
}
public Integer getLimit() {
return limit;
}
public void setLimit(Integer limit) {
this.limit = limit;
}
}