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

com.tencentcloudapi.cdn.v20180606.models.DescribeBillingDataRequest Maven / Gradle / Ivy

/*
 * Copyright (c) 2017-2018 THL A29 Limited, a Tencent company. All Rights Reserved.
 *
 * 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 com.tencentcloudapi.cdn.v20180606.models;

import com.tencentcloudapi.common.AbstractModel;
import com.google.gson.annotations.SerializedName;
import com.google.gson.annotations.Expose;
import java.util.HashMap;

public class DescribeBillingDataRequest extends AbstractModel{

    /**
    * 查询起始时间,如:2018-09-04 10:40:00,返回结果大于等于指定时间
根据指定时间粒度参数不同,会进行向前取整,如指定起始时间为 2018-09-04 10:40:00 按小时粒度查询,返回的第一个数据对应时间点为 2018-09-04 10:00:00
起始时间与结束时间间隔小于等于 90 天
    */
    @SerializedName("StartTime")
    @Expose
    private String StartTime;

    /**
    * 查询结束时间,如:2018-09-04 10:40:00,返回结果小于等于指定时间
根据指定时间粒度参数不同,会进行向前取整,如指定结束时间为  2018-09-04 10:40:00 按小时粒度查询时,返回的最后一个数据对应时间点为 2018-09-04 10:00:00
起始时间与结束时间间隔小于等于 90 天
    */
    @SerializedName("EndTime")
    @Expose
    private String EndTime;

    /**
    * 时间粒度,支持模式如下:
min:1 分钟粒度,查询区间需要小于等于 24 小时
5min:5 分钟粒度,查询区间需要小于等于 31 天
hour:1 小时粒度,查询区间需要小于等于 31 天内
day:天粒度,查询区间需要大于 31 天

Area 字段为 overseas 时暂不支持1分钟粒度数据查询
    */
    @SerializedName("Interval")
    @Expose
    private String Interval;

    /**
    * 指定域名查询计费数据
    */
    @SerializedName("Domain")
    @Expose
    private String Domain;

    /**
    * 指定项目 ID 查询,[前往查看项目 ID](https://console.cloud.tencent.com/project)
若 Domain 参数填充了具体域名信息,则返回该域名的计费数据,而非指定项目计费数据
    */
    @SerializedName("Project")
    @Expose
    private Long Project;

    /**
    * 指定加速区域查询计费数据:
mainland:中国境内
overseas:中国境外
不填充时,默认为 mainland
    */
    @SerializedName("Area")
    @Expose
    private String Area;

    /**
    * Area 为 overseas 时,指定国家/地区查询
省份、国家/地区编码可以查看 [省份编码映射](https://cloud.tencent.com/document/product/228/6316#.E7.9C.81.E4.BB.BD.E6.98.A0.E5.B0.84)
不填充时,查询所有国家/地区
    */
    @SerializedName("District")
    @Expose
    private Long District;

    /**
    * 计费统计类型
flux:计费流量
bandwidth:计费带宽
默认为 bandwidth
    */
    @SerializedName("Metric")
    @Expose
    private String Metric;

    /**
     * Get 查询起始时间,如:2018-09-04 10:40:00,返回结果大于等于指定时间
根据指定时间粒度参数不同,会进行向前取整,如指定起始时间为 2018-09-04 10:40:00 按小时粒度查询,返回的第一个数据对应时间点为 2018-09-04 10:00:00
起始时间与结束时间间隔小于等于 90 天 
     * @return StartTime 查询起始时间,如:2018-09-04 10:40:00,返回结果大于等于指定时间
根据指定时间粒度参数不同,会进行向前取整,如指定起始时间为 2018-09-04 10:40:00 按小时粒度查询,返回的第一个数据对应时间点为 2018-09-04 10:00:00
起始时间与结束时间间隔小于等于 90 天
     */
    public String getStartTime() {
        return this.StartTime;
    }

    /**
     * Set 查询起始时间,如:2018-09-04 10:40:00,返回结果大于等于指定时间
根据指定时间粒度参数不同,会进行向前取整,如指定起始时间为 2018-09-04 10:40:00 按小时粒度查询,返回的第一个数据对应时间点为 2018-09-04 10:00:00
起始时间与结束时间间隔小于等于 90 天
     * @param StartTime 查询起始时间,如:2018-09-04 10:40:00,返回结果大于等于指定时间
根据指定时间粒度参数不同,会进行向前取整,如指定起始时间为 2018-09-04 10:40:00 按小时粒度查询,返回的第一个数据对应时间点为 2018-09-04 10:00:00
起始时间与结束时间间隔小于等于 90 天
     */
    public void setStartTime(String StartTime) {
        this.StartTime = StartTime;
    }

    /**
     * Get 查询结束时间,如:2018-09-04 10:40:00,返回结果小于等于指定时间
根据指定时间粒度参数不同,会进行向前取整,如指定结束时间为  2018-09-04 10:40:00 按小时粒度查询时,返回的最后一个数据对应时间点为 2018-09-04 10:00:00
起始时间与结束时间间隔小于等于 90 天 
     * @return EndTime 查询结束时间,如:2018-09-04 10:40:00,返回结果小于等于指定时间
根据指定时间粒度参数不同,会进行向前取整,如指定结束时间为  2018-09-04 10:40:00 按小时粒度查询时,返回的最后一个数据对应时间点为 2018-09-04 10:00:00
起始时间与结束时间间隔小于等于 90 天
     */
    public String getEndTime() {
        return this.EndTime;
    }

    /**
     * Set 查询结束时间,如:2018-09-04 10:40:00,返回结果小于等于指定时间
根据指定时间粒度参数不同,会进行向前取整,如指定结束时间为  2018-09-04 10:40:00 按小时粒度查询时,返回的最后一个数据对应时间点为 2018-09-04 10:00:00
起始时间与结束时间间隔小于等于 90 天
     * @param EndTime 查询结束时间,如:2018-09-04 10:40:00,返回结果小于等于指定时间
根据指定时间粒度参数不同,会进行向前取整,如指定结束时间为  2018-09-04 10:40:00 按小时粒度查询时,返回的最后一个数据对应时间点为 2018-09-04 10:00:00
起始时间与结束时间间隔小于等于 90 天
     */
    public void setEndTime(String EndTime) {
        this.EndTime = EndTime;
    }

    /**
     * Get 时间粒度,支持模式如下:
min:1 分钟粒度,查询区间需要小于等于 24 小时
5min:5 分钟粒度,查询区间需要小于等于 31 天
hour:1 小时粒度,查询区间需要小于等于 31 天内
day:天粒度,查询区间需要大于 31 天

Area 字段为 overseas 时暂不支持1分钟粒度数据查询 
     * @return Interval 时间粒度,支持模式如下:
min:1 分钟粒度,查询区间需要小于等于 24 小时
5min:5 分钟粒度,查询区间需要小于等于 31 天
hour:1 小时粒度,查询区间需要小于等于 31 天内
day:天粒度,查询区间需要大于 31 天

Area 字段为 overseas 时暂不支持1分钟粒度数据查询
     */
    public String getInterval() {
        return this.Interval;
    }

    /**
     * Set 时间粒度,支持模式如下:
min:1 分钟粒度,查询区间需要小于等于 24 小时
5min:5 分钟粒度,查询区间需要小于等于 31 天
hour:1 小时粒度,查询区间需要小于等于 31 天内
day:天粒度,查询区间需要大于 31 天

Area 字段为 overseas 时暂不支持1分钟粒度数据查询
     * @param Interval 时间粒度,支持模式如下:
min:1 分钟粒度,查询区间需要小于等于 24 小时
5min:5 分钟粒度,查询区间需要小于等于 31 天
hour:1 小时粒度,查询区间需要小于等于 31 天内
day:天粒度,查询区间需要大于 31 天

Area 字段为 overseas 时暂不支持1分钟粒度数据查询
     */
    public void setInterval(String Interval) {
        this.Interval = Interval;
    }

    /**
     * Get 指定域名查询计费数据 
     * @return Domain 指定域名查询计费数据
     */
    public String getDomain() {
        return this.Domain;
    }

    /**
     * Set 指定域名查询计费数据
     * @param Domain 指定域名查询计费数据
     */
    public void setDomain(String Domain) {
        this.Domain = Domain;
    }

    /**
     * Get 指定项目 ID 查询,[前往查看项目 ID](https://console.cloud.tencent.com/project)
若 Domain 参数填充了具体域名信息,则返回该域名的计费数据,而非指定项目计费数据 
     * @return Project 指定项目 ID 查询,[前往查看项目 ID](https://console.cloud.tencent.com/project)
若 Domain 参数填充了具体域名信息,则返回该域名的计费数据,而非指定项目计费数据
     */
    public Long getProject() {
        return this.Project;
    }

    /**
     * Set 指定项目 ID 查询,[前往查看项目 ID](https://console.cloud.tencent.com/project)
若 Domain 参数填充了具体域名信息,则返回该域名的计费数据,而非指定项目计费数据
     * @param Project 指定项目 ID 查询,[前往查看项目 ID](https://console.cloud.tencent.com/project)
若 Domain 参数填充了具体域名信息,则返回该域名的计费数据,而非指定项目计费数据
     */
    public void setProject(Long Project) {
        this.Project = Project;
    }

    /**
     * Get 指定加速区域查询计费数据:
mainland:中国境内
overseas:中国境外
不填充时,默认为 mainland 
     * @return Area 指定加速区域查询计费数据:
mainland:中国境内
overseas:中国境外
不填充时,默认为 mainland
     */
    public String getArea() {
        return this.Area;
    }

    /**
     * Set 指定加速区域查询计费数据:
mainland:中国境内
overseas:中国境外
不填充时,默认为 mainland
     * @param Area 指定加速区域查询计费数据:
mainland:中国境内
overseas:中国境外
不填充时,默认为 mainland
     */
    public void setArea(String Area) {
        this.Area = Area;
    }

    /**
     * Get Area 为 overseas 时,指定国家/地区查询
省份、国家/地区编码可以查看 [省份编码映射](https://cloud.tencent.com/document/product/228/6316#.E7.9C.81.E4.BB.BD.E6.98.A0.E5.B0.84)
不填充时,查询所有国家/地区 
     * @return District Area 为 overseas 时,指定国家/地区查询
省份、国家/地区编码可以查看 [省份编码映射](https://cloud.tencent.com/document/product/228/6316#.E7.9C.81.E4.BB.BD.E6.98.A0.E5.B0.84)
不填充时,查询所有国家/地区
     */
    public Long getDistrict() {
        return this.District;
    }

    /**
     * Set Area 为 overseas 时,指定国家/地区查询
省份、国家/地区编码可以查看 [省份编码映射](https://cloud.tencent.com/document/product/228/6316#.E7.9C.81.E4.BB.BD.E6.98.A0.E5.B0.84)
不填充时,查询所有国家/地区
     * @param District Area 为 overseas 时,指定国家/地区查询
省份、国家/地区编码可以查看 [省份编码映射](https://cloud.tencent.com/document/product/228/6316#.E7.9C.81.E4.BB.BD.E6.98.A0.E5.B0.84)
不填充时,查询所有国家/地区
     */
    public void setDistrict(Long District) {
        this.District = District;
    }

    /**
     * Get 计费统计类型
flux:计费流量
bandwidth:计费带宽
默认为 bandwidth 
     * @return Metric 计费统计类型
flux:计费流量
bandwidth:计费带宽
默认为 bandwidth
     */
    public String getMetric() {
        return this.Metric;
    }

    /**
     * Set 计费统计类型
flux:计费流量
bandwidth:计费带宽
默认为 bandwidth
     * @param Metric 计费统计类型
flux:计费流量
bandwidth:计费带宽
默认为 bandwidth
     */
    public void setMetric(String Metric) {
        this.Metric = Metric;
    }

    /**
     * Internal implementation, normal users should not use it.
     */
    public void toMap(HashMap map, String prefix) {
        this.setParamSimple(map, prefix + "StartTime", this.StartTime);
        this.setParamSimple(map, prefix + "EndTime", this.EndTime);
        this.setParamSimple(map, prefix + "Interval", this.Interval);
        this.setParamSimple(map, prefix + "Domain", this.Domain);
        this.setParamSimple(map, prefix + "Project", this.Project);
        this.setParamSimple(map, prefix + "Area", this.Area);
        this.setParamSimple(map, prefix + "District", this.District);
        this.setParamSimple(map, prefix + "Metric", this.Metric);

    }
}





© 2015 - 2025 Weber Informatics LLC | Privacy Policy