public class DescribeBillingDataRequest extends AbstractModel
Constructor and Description |
---|
DescribeBillingDataRequest() |
DescribeBillingDataRequest(DescribeBillingDataRequest 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 Acceleration region whose billing data is to be queried:
`mainland`: Regions within the Chinese mainland
`overseas`: Regions outside the Chinese mainland
If this parameter is left empty, `mainland` will be used by default
|
Long |
getDistrict()
Get Country/region to be queried if `Area` is `overseas`
To view codes of provinces or countries/regions, see [Province Code Mappings](https://intl.cloud.tencent.com/document/product/228/6316?from_cn_redirect=1#.E7.9C.81.E4.BB.BD.E6.98.A0.E5.B0.84)
If this parameter is left empty, all countries/regions will be queried
|
String |
getDomain()
Get Domain name whose billing data is to be queried
|
String |
getEndTime()
Get End time of the query, e.g.
|
String |
getInterval()
Get Time granularity, which can be:
`min`: 1-minute granularity.
|
String |
getMetric()
Get Billing statistics type
`flux`: Bill by traffic
`bandwidth`: Bill by bandwidth
Default value: `bandwidth`
|
String |
getProduct()
Get Specifies the product to query, either `cdn` (default) or `ecdn`.
|
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
|
void |
setArea(String Area)
Set Acceleration region whose billing data is to be queried:
`mainland`: Regions within the Chinese mainland
`overseas`: Regions outside the Chinese mainland
If this parameter is left empty, `mainland` will be used by default
|
void |
setDistrict(Long District)
Set Country/region to be queried if `Area` is `overseas`
To view codes of provinces or countries/regions, see [Province Code Mappings](https://intl.cloud.tencent.com/document/product/228/6316?from_cn_redirect=1#.E7.9C.81.E4.BB.BD.E6.98.A0.E5.B0.84)
If this parameter is left empty, all countries/regions will be queried
|
void |
setDomain(String Domain)
Set Domain name whose billing data is to be queried
|
void |
setEndTime(String EndTime)
Set End time of the query, e.g.
|
void |
setInterval(String Interval)
Set Time granularity, which can be:
`min`: 1-minute granularity.
|
void |
setMetric(String Metric)
Set Billing statistics type
`flux`: Bill by traffic
`bandwidth`: Bill by bandwidth
Default value: `bandwidth`
|
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.
|
void |
setStartTime(String StartTime)
Set Start time of the query, e.g., 2018-09-04 10:40:00.
|
void |
setTimeZone(String TimeZone)
Set
|
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, toJsonString
public DescribeBillingDataRequest()
public DescribeBillingDataRequest(DescribeBillingDataRequest 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 getInterval()
public void setInterval(String Interval)
Interval
- Time granularity, which can be:
`min`: 1-minute granularity. The query period cannot exceed 24 hours.
`5min`: 5-minute granularity. The query range cannot exceed 31 days.
`hour`: 1-hour granularity. The query period cannot exceed 31 days.
`day`: 1-day granularity. The query period cannot exceed 31 days.
`min` is not supported if the `Area` field is `overseas`.public String getDomain()
public void setDomain(String Domain)
Domain
- Domain name whose billing data is to be queriedpublic 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` parameter is passed in, the `Proejct` parameter is ignored. Only the billing data of the specified domain name is returned.public String getArea()
public void setArea(String Area)
Area
- Acceleration region whose billing data is to be queried:
`mainland`: Regions within the Chinese mainland
`overseas`: Regions outside the Chinese mainland
If this parameter is left empty, `mainland` will be used by defaultpublic Long getDistrict()
public void setDistrict(Long District)
District
- Country/region to be queried if `Area` is `overseas`
To view codes of provinces or countries/regions, see [Province Code Mappings](https://intl.cloud.tencent.com/document/product/228/6316?from_cn_redirect=1#.E7.9C.81.E4.BB.BD.E6.98.A0.E5.B0.84)
If this parameter is left empty, all countries/regions will be queriedpublic String getMetric()
public void setMetric(String Metric)
Metric
- Billing statistics type
`flux`: Bill by traffic
`bandwidth`: Bill by bandwidth
Default value: `bandwidth`public String getProduct()
public void setProduct(String Product)
Product
- Specifies the product to query, either `cdn` (default) or `ecdn`.public String getTimeZone()
public void setTimeZone(String TimeZone)
TimeZone
- Copyright © 2023. All rights reserved.