Class: TencentCloud::Iotvideoindustry::V20201201::GetRecordPlansResponse
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Iotvideoindustry::V20201201::GetRecordPlansResponse
- Defined in:
- lib/v20201201/models.rb
Overview
GetRecordPlans返回参数结构体
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(plans = nil, totalcount = nil, requestid = nil) ⇒ GetRecordPlansResponse
constructor
A new instance of GetRecordPlansResponse.
Constructor Details
#initialize(plans = nil, totalcount = nil, requestid = nil) ⇒ GetRecordPlansResponse
Returns a new instance of GetRecordPlansResponse.
4473 4474 4475 4476 4477 |
# File 'lib/v20201201/models.rb', line 4473 def initialize(plans=nil, totalcount=nil, requestid=nil) @Plans = plans @TotalCount = totalcount @RequestId = requestid end |
Instance Attribute Details
#Plans ⇒ Object
4471 4472 4473 |
# File 'lib/v20201201/models.rb', line 4471 def Plans @Plans end |
#RequestId ⇒ Object
4471 4472 4473 |
# File 'lib/v20201201/models.rb', line 4471 def RequestId @RequestId end |
#TotalCount ⇒ Object
4471 4472 4473 |
# File 'lib/v20201201/models.rb', line 4471 def TotalCount @TotalCount end |
Instance Method Details
#deserialize(params) ⇒ Object
4479 4480 4481 4482 4483 4484 4485 4486 4487 4488 4489 4490 |
# File 'lib/v20201201/models.rb', line 4479 def deserialize(params) unless params['Plans'].nil? @Plans = [] params['Plans'].each do |i| recordplanitem_tmp = RecordPlanItem.new recordplanitem_tmp.deserialize(i) @Plans << recordplanitem_tmp end end @TotalCount = params['TotalCount'] @RequestId = params['RequestId'] end |