Class: TencentCloud::Iotvideoindustry::V20201201::DescribePresetListResponse
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Iotvideoindustry::V20201201::DescribePresetListResponse
- Defined in:
- lib/v20201201/models.rb
Overview
DescribePresetList返回参数结构体
Instance Attribute Summary collapse
-
#Data ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。.
-
#RequestId ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。.
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(data = nil, requestid = nil) ⇒ DescribePresetListResponse
constructor
A new instance of DescribePresetListResponse.
Constructor Details
#initialize(data = nil, requestid = nil) ⇒ DescribePresetListResponse
Returns a new instance of DescribePresetListResponse.
3284 3285 3286 3287 |
# File 'lib/v20201201/models.rb', line 3284 def initialize(data=nil, requestid=nil) @Data = data @RequestId = requestid end |
Instance Attribute Details
#Data ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。
3282 3283 3284 |
# File 'lib/v20201201/models.rb', line 3282 def Data @Data end |
#RequestId ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。
3282 3283 3284 |
# File 'lib/v20201201/models.rb', line 3282 def RequestId @RequestId end |
Instance Method Details
#deserialize(params) ⇒ Object
3289 3290 3291 3292 3293 3294 3295 3296 3297 3298 3299 |
# File 'lib/v20201201/models.rb', line 3289 def deserialize(params) unless params['Data'].nil? @Data = [] params['Data'].each do |i| presetitem_tmp = PresetItem.new presetitem_tmp.deserialize(i) @Data << presetitem_tmp end end @RequestId = params['RequestId'] end |