Class: TencentCloud::Iotvideoindustry::V20201201::RecordPlanDetail
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Iotvideoindustry::V20201201::RecordPlanDetail
- Defined in:
- lib/v20201201/models.rb
Overview
录制计划详情
Instance Attribute Summary collapse
- #Channels ⇒ Object
- #Name ⇒ Object
- #PlanId ⇒ Object
- #RecordStorageTime ⇒ Object
- #TimeTemplateId ⇒ Object
- #TimeTemplateName ⇒ Object
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(planid = nil, name = nil, timetemplateid = nil, timetemplatename = nil, channels = nil, recordstoragetime = nil) ⇒ RecordPlanDetail
constructor
A new instance of RecordPlanDetail.
Constructor Details
#initialize(planid = nil, name = nil, timetemplateid = nil, timetemplatename = nil, channels = nil, recordstoragetime = nil) ⇒ RecordPlanDetail
Returns a new instance of RecordPlanDetail.
5624 5625 5626 5627 5628 5629 5630 5631 |
# File 'lib/v20201201/models.rb', line 5624 def initialize(planid=nil, name=nil, timetemplateid=nil, timetemplatename=nil, channels=nil, recordstoragetime=nil) @PlanId = planid @Name = name @TimeTemplateId = timetemplateid @TimeTemplateName = timetemplatename @Channels = channels @RecordStorageTime = recordstoragetime end |
Instance Attribute Details
#Channels ⇒ Object
5622 5623 5624 |
# File 'lib/v20201201/models.rb', line 5622 def Channels @Channels end |
#Name ⇒ Object
5622 5623 5624 |
# File 'lib/v20201201/models.rb', line 5622 def Name @Name end |
#PlanId ⇒ Object
5622 5623 5624 |
# File 'lib/v20201201/models.rb', line 5622 def PlanId @PlanId end |
#RecordStorageTime ⇒ Object
5622 5623 5624 |
# File 'lib/v20201201/models.rb', line 5622 def RecordStorageTime @RecordStorageTime end |
#TimeTemplateId ⇒ Object
5622 5623 5624 |
# File 'lib/v20201201/models.rb', line 5622 def TimeTemplateId @TimeTemplateId end |
#TimeTemplateName ⇒ Object
5622 5623 5624 |
# File 'lib/v20201201/models.rb', line 5622 def TimeTemplateName @TimeTemplateName end |
Instance Method Details
#deserialize(params) ⇒ Object
5633 5634 5635 5636 5637 5638 5639 5640 5641 5642 5643 5644 5645 5646 5647 |
# File 'lib/v20201201/models.rb', line 5633 def deserialize(params) @PlanId = params['PlanId'] @Name = params['Name'] @TimeTemplateId = params['TimeTemplateId'] @TimeTemplateName = params['TimeTemplateName'] unless params['Channels'].nil? @Channels = [] params['Channels'].each do |i| channelitem_tmp = ChannelItem.new channelitem_tmp.deserialize(i) @Channels << channelitem_tmp end end @RecordStorageTime = params['RecordStorageTime'] end |