public class ListTopDataRequest extends AbstractModel
header, skipSign| Constructor and Description | 
|---|
| ListTopDataRequest() | 
| ListTopDataRequest(ListTopDataRequest source)NOTE: Any ambiguous key set via .set("AnyKey", "value") will be a shallow copy,
       and any explicit key, i.e Foo, set via .setFoo("value") will be a deep copy. | 
| Modifier and Type | Method and Description | 
|---|---|
| String | getArea()Get Specifies the service region. | 
| String | getAreaType()Get Specifies a region type for the query. | 
| String | getCode()Get When Filter is `statusCode` or `OriginStatusCode`, enter a code to query and sort results. | 
| Boolean | getDetail()Get The sorted results of all domain names are returned by default (false) during a multi-domain-name query
If `Metric` is `url`, `path`, `district`, or `isp` and `Filter` is `flux` or `request`, it can be set to `true` to return the sorted results of each domain. | 
| String[] | getDomains()Get Specifies the list of domain names to be queried; up to 30 domain names can be queried at a time. | 
| String | getEndTime()Get Query end time in the format of `yyyy-MM-dd HH:mm:ss`
Only data queries at the granularity of days are supported. | 
| String | getFilter()Get Metric name used for sorting:
flux: If Metric is `host`, it indicates the access traffic; if Metric is `originHost`, it indicates the origin-pull traffic. | 
| Long | getLimit()Get Returns the first N data entries. | 
| String | getMetric()Get Objects to be sorted. | 
| String | getProduct()Get Specifies the product to query, either `cdn` (default) or `ecdn`. | 
| Long | getProject()Get Specifies the project ID to be queried, which can be viewed [here](https://console.cloud.tencent.com/project)
Please note that if domain names are specified, this parameter will be ignored. | 
| String | getStartTime()Get Query start time in the format of `yyyy-MM-dd HH:mm:ss`
Only data queries at the granularity of minutes are supported. | 
| void | setArea(String Area)Set Specifies the service region. | 
| void | setAreaType(String AreaType)Set Specifies a region type for the query. | 
| void | setCode(String Code)Set When Filter is `statusCode` or `OriginStatusCode`, enter a code to query and sort results. | 
| void | setDetail(Boolean Detail)Set The sorted results of all domain names are returned by default (false) during a multi-domain-name query
If `Metric` is `url`, `path`, `district`, or `isp` and `Filter` is `flux` or `request`, it can be set to `true` to return the sorted results of each domain. | 
| void | setDomains(String[] Domains)Set Specifies the list of domain names to be queried; up to 30 domain names can be queried at a time. | 
| void | setEndTime(String EndTime)Set Query end time in the format of `yyyy-MM-dd HH:mm:ss`
Only data queries at the granularity of days are supported. | 
| void | setFilter(String Filter)Set Metric name used for sorting:
flux: If Metric is `host`, it indicates the access traffic; if Metric is `originHost`, it indicates the origin-pull traffic. | 
| void | setLimit(Long Limit)Set Returns the first N data entries. | 
| void | setMetric(String Metric)Set Objects to be sorted. | 
| void | setProduct(String Product)Set Specifies the product to query, either `cdn` (default) or `ecdn`. | 
| void | setProject(Long Project)Set Specifies the project ID to be queried, which can be viewed [here](https://console.cloud.tencent.com/project)
Please note that if domain names are specified, this parameter will be ignored. | 
| void | setStartTime(String StartTime)Set Query start time in the format of `yyyy-MM-dd HH:mm:ss`
Only data queries at the granularity of minutes are supported. | 
| void | toMap(HashMap<String,String> map,
     String prefix)Internal implementation, normal users should not use it. | 
any, fromJsonString, getBinaryParams, GetHeader, getMultipartRequestParams, getSkipSign, set, SetHeader, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, setSkipSign, toJsonStringpublic ListTopDataRequest()
public ListTopDataRequest(ListTopDataRequest source)
public String getStartTime()
public void setStartTime(String StartTime)
StartTime - Query start time in the format of `yyyy-MM-dd HH:mm:ss`
Only data queries at the granularity of minutes are supported. The start time is truncated to minutes. For example, if the value of `StartTime` is 2018-09-04 10:40:23, the start time of the data returned is 2018-09-04 10:40:00.
Only data for the last 90 days can be queried.public String getEndTime()
public void setEndTime(String EndTime)
EndTime - Query end time in the format of `yyyy-MM-dd HH:mm:ss`
Only data queries at the granularity of days are supported. Take the day in the input parameter as the end date, and the data generated on or before 23:59:59 on the end date is returned. For example, if the value of `EndTime` is 2018-09-05 22:40:00, the end time of the data returned is 2018-09-05 23:59:59.
`EndTime` must be later than or equal to `StartTime`.public String getMetric()
public void setMetric(String Metric)
Metric - Objects to be sorted. Valid values:
`url`: Sort by access URL (URLs carrying no parameters). Supported filters are `flux` and `request`.
`district`: sorts provinces or countries/regions. Supported filters are `flux` and `request`.
`isp`: sorts ISPs. Supported filters are `flux` and `request`.
`host`: Sort by domain name access data. Supported filters are `flux`, `request`, `bandwidth`, `fluxHitRate`, and `statusCode` (2XX, 3XX, 4XX, 5XX).
`originHost`: Sort by domain name origin-pull data. Supported filters are `flux`, `request`, `bandwidth`, and `OriginStatusCode` (origin_2XX, origin_3XX, origin_4XX, origin_5XX).public String getFilter()
public void setFilter(String Filter)
Filter - Metric name used for sorting:
flux: If Metric is `host`, it indicates the access traffic; if Metric is `originHost`, it indicates the origin-pull traffic.
bandwidth: If Metric is `host`, it indicates the access bandwidth; if Metric is `originHost`, it indicates the origin-pull bandwidth.
request: If Metric is `host`, it indicates the number of access requests; if Metric is `originHost`, it indicates the number of origin-pull requests.
fluxHitRate: Average traffic hit rate
2XX: access 2XX status code
3XX: access 3XX status code
4XX: access 4XX status code
5XX: access 5XX status code
origin_2XX: origin-pull 2XX status code
origin_3XX: origin-pull 3XX status code
origin_4XX: origin-pull 4XX status code
origin_5XX: origin-pull 5XX status code
statusCode: statistics of a specific access status code which is specified in the `Code` parameter.
OriginStatusCode: statistics of a specific origin-pull status code which is specified in the `Code` parameter.public String[] getDomains()
public void setDomains(String[] Domains)
Domains - Specifies the list of domain names to be queried; up to 30 domain names can be queried at a time.public Long getProject()
public void setProject(Long Project)
Project - Specifies the project ID to be queried, which can be viewed [here](https://console.cloud.tencent.com/project)
Please note that if domain names are specified, this parameter will be ignored.public Boolean getDetail()
public void setDetail(Boolean Detail)
Detail - The sorted results of all domain names are returned by default (false) during a multi-domain-name query
If `Metric` is `url`, `path`, `district`, or `isp` and `Filter` is `flux` or `request`, it can be set to `true` to return the sorted results of each domain.public String getCode()
public void setCode(String Code)
Code - When Filter is `statusCode` or `OriginStatusCode`, enter a code to query and sort results.public String getArea()
public void setArea(String Area)
Area - Specifies the service region. If this value is left blank, it means to query CDN data within the Chinese mainland.
`mainland`: Query CDN data in the Chinese mainland.
`overseas`: Query CDN data outside the Chinese mainland. Supported metrics are `url`, `district`, `host`, and `originHost`. If `Metric` is `originHost`, supported filters are `flux`, `request`, and `bandwidth`.public String getAreaType()
public void setAreaType(String AreaType)
AreaType - Specifies a region type for the query. If it is left blank, data of the service region will be queried. This parameter is only valid when `Area` is `overseas` and `Metric` is `district` or `host`.
`server`: Query by the location of server (Tencent Cloud CDN nodes).
`client`: Query data of the client region where the request devices are located; if `Metric` is `host`, supported filters are `flux`, `request`, and `bandwidth`.public String getProduct()
public void setProduct(String Product)
Product - Specifies the product to query, either `cdn` (default) or `ecdn`.public Long getLimit()
public void setLimit(Long Limit)
Limit - Returns the first N data entries. The default value is 100 if this parameter is not specified, whereas 1000 if `Metric` is `url`.Copyright © 2024. All rights reserved.