Class: TencentCloud::Iss::V20230517::ListRecordBackupTemplatesData
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Iss::V20230517::ListRecordBackupTemplatesData
- Defined in:
- lib/v20230517/models.rb
Overview
查询录像上云模板列表返回数据
Instance Attribute Summary collapse
- #CreateAt ⇒ Object
- #DevTimeSections ⇒ Object
- #Scale ⇒ Object
- #TemplateId ⇒ Object
- #TemplateName ⇒ Object
- #TimeSections ⇒ Object
- #UpdateAt ⇒ Object
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(templateid = nil, templatename = nil, timesections = nil, devtimesections = nil, scale = nil, createat = nil, updateat = nil) ⇒ ListRecordBackupTemplatesData
constructor
A new instance of ListRecordBackupTemplatesData.
Constructor Details
#initialize(templateid = nil, templatename = nil, timesections = nil, devtimesections = nil, scale = nil, createat = nil, updateat = nil) ⇒ ListRecordBackupTemplatesData
Returns a new instance of ListRecordBackupTemplatesData.
5461 5462 5463 5464 5465 5466 5467 5468 5469 |
# File 'lib/v20230517/models.rb', line 5461 def initialize(templateid=nil, templatename=nil, timesections=nil, devtimesections=nil, scale=nil, createat=nil, updateat=nil) @TemplateId = templateid @TemplateName = templatename @TimeSections = timesections @DevTimeSections = devtimesections @Scale = scale @CreateAt = createat @UpdateAt = updateat end |
Instance Attribute Details
#CreateAt ⇒ Object
5459 5460 5461 |
# File 'lib/v20230517/models.rb', line 5459 def CreateAt @CreateAt end |
#DevTimeSections ⇒ Object
5459 5460 5461 |
# File 'lib/v20230517/models.rb', line 5459 def DevTimeSections @DevTimeSections end |
#Scale ⇒ Object
5459 5460 5461 |
# File 'lib/v20230517/models.rb', line 5459 def Scale @Scale end |
#TemplateId ⇒ Object
5459 5460 5461 |
# File 'lib/v20230517/models.rb', line 5459 def TemplateId @TemplateId end |
#TemplateName ⇒ Object
5459 5460 5461 |
# File 'lib/v20230517/models.rb', line 5459 def TemplateName @TemplateName end |
#TimeSections ⇒ Object
5459 5460 5461 |
# File 'lib/v20230517/models.rb', line 5459 def TimeSections @TimeSections end |
#UpdateAt ⇒ Object
5459 5460 5461 |
# File 'lib/v20230517/models.rb', line 5459 def UpdateAt @UpdateAt end |
Instance Method Details
#deserialize(params) ⇒ Object
5471 5472 5473 5474 5475 5476 5477 5478 5479 5480 5481 5482 5483 5484 5485 5486 5487 5488 5489 5490 5491 5492 5493 |
# File 'lib/v20230517/models.rb', line 5471 def deserialize(params) @TemplateId = params['TemplateId'] @TemplateName = params['TemplateName'] unless params['TimeSections'].nil? @TimeSections = [] params['TimeSections'].each do |i| recordtemplatetimesections_tmp = RecordTemplateTimeSections.new recordtemplatetimesections_tmp.deserialize(i) @TimeSections << recordtemplatetimesections_tmp end end unless params['DevTimeSections'].nil? @DevTimeSections = [] params['DevTimeSections'].each do |i| recordtemplatetimesections_tmp = RecordTemplateTimeSections.new recordtemplatetimesections_tmp.deserialize(i) @DevTimeSections << recordtemplatetimesections_tmp end end @Scale = params['Scale'] @CreateAt = params['CreateAt'] @UpdateAt = params['UpdateAt'] end |