Class: TencentCloud::Cdn::V20180606::DescribeBillingDataResponse
- Inherits:
-
TencentCloud::Common::AbstractModel
- Object
- TencentCloud::Common::AbstractModel
- TencentCloud::Cdn::V20180606::DescribeBillingDataResponse
- Defined in:
- lib/v20180606/models.rb
Overview
DescribeBillingData返回参数结构体
Instance Attribute Summary collapse
-
#Data ⇒ Object
min:1 分钟粒度 5min:5 分钟粒度 hour:1 小时粒度 day:天粒度.
-
#Interval ⇒ Object
min:1 分钟粒度 5min:5 分钟粒度 hour:1 小时粒度 day:天粒度.
-
#RequestId ⇒ Object
min:1 分钟粒度 5min:5 分钟粒度 hour:1 小时粒度 day:天粒度.
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(interval = nil, data = nil, requestid = nil) ⇒ DescribeBillingDataResponse
constructor
A new instance of DescribeBillingDataResponse.
Constructor Details
#initialize(interval = nil, data = nil, requestid = nil) ⇒ DescribeBillingDataResponse
Returns a new instance of DescribeBillingDataResponse.
3555 3556 3557 3558 3559 |
# File 'lib/v20180606/models.rb', line 3555 def initialize(interval=nil, data=nil, requestid=nil) @Interval = interval @Data = data @RequestId = requestid end |
Instance Attribute Details
#Data ⇒ Object
min:1 分钟粒度 5min:5 分钟粒度 hour:1 小时粒度 day:天粒度
3553 3554 3555 |
# File 'lib/v20180606/models.rb', line 3553 def Data @Data end |
#Interval ⇒ Object
min:1 分钟粒度 5min:5 分钟粒度 hour:1 小时粒度 day:天粒度
3553 3554 3555 |
# File 'lib/v20180606/models.rb', line 3553 def Interval @Interval end |
#RequestId ⇒ Object
min:1 分钟粒度 5min:5 分钟粒度 hour:1 小时粒度 day:天粒度
3553 3554 3555 |
# File 'lib/v20180606/models.rb', line 3553 def RequestId @RequestId end |
Instance Method Details
#deserialize(params) ⇒ Object
3561 3562 3563 3564 3565 3566 3567 3568 3569 3570 3571 3572 |
# File 'lib/v20180606/models.rb', line 3561 def deserialize(params) @Interval = params['Interval'] unless params['Data'].nil? @Data = [] params['Data'].each do |i| resourcebillingdata_tmp = ResourceBillingData.new resourcebillingdata_tmp.deserialize(i) @Data << resourcebillingdata_tmp end end @RequestId = params['RequestId'] end |