public class DescribeOriginDataRequest extends AbstractModel
| Constructor and Description | 
|---|
| DescribeOriginDataRequest() | 
| DescribeOriginDataRequest(DescribeOriginDataRequest 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. | 
| Boolean | getDetail()Get The aggregate data for multiple domain names is returned by default (false) when multiple `Domains` are passed in. | 
| String[] | getDomains()Get Specifies the list of domain names to query. | 
| String | getEndTime()Get End time of the query, e.g. | 
| String | getInterval()Get Time granularity, which can be:
`min`: Return data with 1-minute granularity. | 
| String | getMetric()Get Specifies the metric to query, which can be:
`flux`: Origin-pull traffic (in bytes)
`bandwidth`: Origin-pull bandwidth (in bps)
`request`: Number of origin-pull requests
`failRequest`: Number of failed origin-pull requests
`failRate`: Origin-pull failure rate (in %)
`statusCode`: Origin-pull status code. | 
| Long | getProject()Get Specifies the project ID to be queried. | 
| String | getStartTime()Get Start time of the query, e.g., 2018-09-04 10:40:00. | 
| String | getTimeZone()Get Specifies a time zone to query. | 
| void | setArea(String Area)Set Specifies the service region. | 
| void | setDetail(Boolean Detail)Set The aggregate data for multiple domain names is returned by default (false) when multiple `Domains` are passed in. | 
| void | setDomains(String[] Domains)Set Specifies the list of domain names to query. | 
| void | setEndTime(String EndTime)Set End time of the query, e.g. | 
| void | setInterval(String Interval)Set Time granularity, which can be:
`min`: Return data with 1-minute granularity. | 
| void | setMetric(String Metric)Set Specifies the metric to query, which can be:
`flux`: Origin-pull traffic (in bytes)
`bandwidth`: Origin-pull bandwidth (in bps)
`request`: Number of origin-pull requests
`failRequest`: Number of failed origin-pull requests
`failRate`: Origin-pull failure rate (in %)
`statusCode`: Origin-pull status code. | 
| void | setProject(Long Project)Set Specifies the project ID to be queried. | 
| void | setStartTime(String StartTime)Set Start time of the query, e.g., 2018-09-04 10:40:00. | 
| void | setTimeZone(String TimeZone)Set Specifies a time zone to query. | 
| void | toMap(HashMap<String,String> map,
     String prefix)Internal implementation, normal users should not use it. | 
any, fromJsonString, getBinaryParams, getMultipartRequestParams, set, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, toJsonStringpublic DescribeOriginDataRequest()
public DescribeOriginDataRequest(DescribeOriginDataRequest source)
public String getStartTime()
public void setStartTime(String StartTime)
StartTime - Start time of the query, e.g., 2018-09-04 10:40:00.
The specified start time will be rounded down based on the granularity parameter `Interval`. For example, if you set the start time to 2018-09-04 10:40:00 with 1-hour granularity, the time will be rounded down to 2018-09-04 10:00:00.
The period between the start time and end time can be up to 90 days.public String getEndTime()
public void setEndTime(String EndTime)
EndTime - End time of the query, e.g. 2018-09-04 10:40:00.
The specified end time will be rounded down based on the granularity parameter `Interval`. For example, if you set the end time to 2018-09-04 10:40:00 with 1-hour granularity, the time will be rounded down to 2018-09-04 10:00:00.
The period between the start time and end time can be up to 90 days.public String getMetric()
public void setMetric(String Metric)
Metric - Specifies the metric to query, which can be:
`flux`: Origin-pull traffic (in bytes)
`bandwidth`: Origin-pull bandwidth (in bps)
`request`: Number of origin-pull requests
`failRequest`: Number of failed origin-pull requests
`failRate`: Origin-pull failure rate (in %)
`statusCode`: Origin-pull status code. The aggregate data for 2xx, 3xx, 4xx, and 5xx origin-pull status codes will be returned (in entries)
`2xx`: Returns the aggregate list of 2xx origin-pull status codes and the data for origin-pull status codes starting with 2 (in entries)
`3xx`: Returns the aggregate list of 3xx origin-pull status codes and the data for origin-pull status codes starting with 3 (in entries)
`4xx`: Returns the aggregate list of 4xx origin-pull status codes and the data for origin-pull status codes starting with 4 (in entries)
`5xx`: Returns the aggregate list of 5xx origin-pull status codes and the data for origin-pull status codes starting with 5 (in entries)
It is supported to specify a status code for query. The return will be empty if the status code has never been generated.public String[] getDomains()
public void setDomains(String[] Domains)
Domains - Specifies the list of domain names to query. You can query up to 30 domain names at a time.public Long getProject()
public void setProject(Long Project)
Project - Specifies the project ID to be queried. [Check project ID in the console](https://console.cloud.tencent.com/project)
If the domain name is not specified, the specified project will be queried. Up to 30 acceleration domain names can be queried at a time.
If the domain name information is specified, this parameter can be ignored.public String getInterval()
public void setInterval(String Interval)
Interval - Time granularity, which can be:
`min`: Return data with 1-minute granularity. It’s available when the query period is  within 24 hours and `Area` is `mainland`.
`5min`: Return data with 5-minute granularity. It’s available when the query period is within 31 days.
`hour`: Return data with 1-hour granularity. It’s available when the query period is within 31 days.
`day`: Return data with 1-day granularity. It’s available when the query period is longer than 31 days.public Boolean getDetail()
public void setDetail(Boolean Detail)
Detail - The aggregate data for multiple domain names is returned by default (false) when multiple `Domains` are passed in.
You can set it to true to return the details for each Domain (the statusCode metric is currently not supported)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.public String getTimeZone()
public void setTimeZone(String TimeZone)
TimeZone - Specifies a time zone to query. The default time zone is UTC+08:00.Copyright © 2022. All rights reserved.