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

cn.ucloud.ucdn.models.GetUcdnDomainHttpCodeV2Request 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.ucdn.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 GetUcdnDomainHttpCodeV2Request extends Request { /** * 项目ID。不填写为默认项目,子帐号必须填写。 * 请参考[GetProjectList接口](https://docs.ucloud.cn/api/summary/get_project_list) */ @UCloudParam("ProjectId") private String projectId; /** 时间粒度(0表示按照5分钟粒度,1表示按照1小时粒度,2表示按照一天的粒度,3表示1分钟粒度) */ @NotEmpty @UCloudParam("Type") private Integer type; /** 域名id,创建域名时生成的id。默认全部域名 */ @UCloudParam("DomainId") private List domainId; /** 查询带宽区域 cn代表国内 abroad代表海外,只支持国内 */ @UCloudParam("Areacode") private String areacode; /** * 查询的起始时间,格式为Unix Timestamp。如果有EndTime,BeginTime必须赋值。如没有赋值,则返回缺少参 * 数错误,如果没有EndTime,BeginTime也可以不赋值,EndTime默认当前时间,BeginTime 默认前一天的当前时间。 */ @UCloudParam("BeginTime") private Integer beginTime; /** 查询的结束时间,格式为Unix Timestamp。EndTime默认为当前时间,BeginTime默认为当前时间前一天时间。 */ @UCloudParam("EndTime") private Integer endTime; /** 指定获取的状态码是边缘还是上层 edge 表示边缘 layer 表示上层 */ @UCloudParam("Layer") private String layer; public String getProjectId() { return projectId; } public void setProjectId(String projectId) { this.projectId = projectId; } public Integer getType() { return type; } public void setType(Integer type) { this.type = type; } public List getDomainId() { return domainId; } public void setDomainId(List domainId) { this.domainId = domainId; } public String getAreacode() { return areacode; } public void setAreacode(String areacode) { this.areacode = areacode; } public Integer getBeginTime() { return beginTime; } public void setBeginTime(Integer beginTime) { this.beginTime = beginTime; } public Integer getEndTime() { return endTime; } public void setEndTime(Integer endTime) { this.endTime = endTime; } public String getLayer() { return layer; } public void setLayer(String layer) { this.layer = layer; } }





© 2015 - 2025 Weber Informatics LLC | Privacy Policy