Class: TencentCloud::Cdn::V20180606::DescribeCdnDataResponse
- Inherits:
-
TencentCloud::Common::AbstractModel
- Object
- TencentCloud::Common::AbstractModel
- TencentCloud::Cdn::V20180606::DescribeCdnDataResponse
- Defined in:
- lib/v20180606/models.rb
Overview
DescribeCdnData返回参数结构体
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) ⇒ DescribeCdnDataResponse
constructor
A new instance of DescribeCdnDataResponse.
Constructor Details
#initialize(interval = nil, data = nil, requestid = nil) ⇒ DescribeCdnDataResponse
Returns a new instance of DescribeCdnDataResponse.
3831 3832 3833 3834 3835 |
# File 'lib/v20180606/models.rb', line 3831 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:天粒度
3829 3830 3831 |
# File 'lib/v20180606/models.rb', line 3829 def Data @Data end |
#Interval ⇒ Object
min:1 分钟粒度 5min:5 分钟粒度 hour:1 小时粒度 day:天粒度
3829 3830 3831 |
# File 'lib/v20180606/models.rb', line 3829 def Interval @Interval end |
#RequestId ⇒ Object
min:1 分钟粒度 5min:5 分钟粒度 hour:1 小时粒度 day:天粒度
3829 3830 3831 |
# File 'lib/v20180606/models.rb', line 3829 def RequestId @RequestId end |
Instance Method Details
#deserialize(params) ⇒ Object
3837 3838 3839 3840 3841 3842 3843 3844 3845 3846 3847 3848 |
# File 'lib/v20180606/models.rb', line 3837 def deserialize(params) @Interval = params['Interval'] unless params['Data'].nil? @Data = [] params['Data'].each do |i| resourcedata_tmp = ResourceData.new resourcedata_tmp.deserialize(i) @Data << resourcedata_tmp end end @RequestId = params['RequestId'] end |