Class: TencentCloud::Cdn::V20180606::DescribeOriginDataResponse
- Inherits:
-
TencentCloud::Common::AbstractModel
- Object
- TencentCloud::Common::AbstractModel
- TencentCloud::Cdn::V20180606::DescribeOriginDataResponse
- Defined in:
- lib/v20180606/models.rb
Overview
DescribeOriginData返回参数结构体
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(interval = nil, data = nil, requestid = nil) ⇒ DescribeOriginDataResponse
constructor
A new instance of DescribeOriginDataResponse.
Constructor Details
#initialize(interval = nil, data = nil, requestid = nil) ⇒ DescribeOriginDataResponse
Returns a new instance of DescribeOriginDataResponse.
5031 5032 5033 5034 5035 |
# File 'lib/v20180606/models.rb', line 5031 def initialize(interval=nil, data=nil, requestid=nil) @Interval = interval @Data = data @RequestId = requestid end |
Instance Attribute Details
#Data ⇒ Object
5029 5030 5031 |
# File 'lib/v20180606/models.rb', line 5029 def Data @Data end |
#Interval ⇒ Object
5029 5030 5031 |
# File 'lib/v20180606/models.rb', line 5029 def Interval @Interval end |
#RequestId ⇒ Object
5029 5030 5031 |
# File 'lib/v20180606/models.rb', line 5029 def RequestId @RequestId end |
Instance Method Details
#deserialize(params) ⇒ Object
5037 5038 5039 5040 5041 5042 5043 5044 5045 5046 5047 5048 |
# File 'lib/v20180606/models.rb', line 5037 def deserialize(params) @Interval = params['Interval'] unless params['Data'].nil? @Data = [] params['Data'].each do |i| resourceorigindata_tmp = ResourceOriginData.new resourceorigindata_tmp.deserialize(i) @Data << resourceorigindata_tmp end end @RequestId = params['RequestId'] end |