Class: TencentCloud::Iss::V20230517::ListRecordBackupTemplatesData

Inherits:
Common::AbstractModel
  • Object
show all
Defined in:
lib/v20230517/models.rb

Overview

查询录像上云模板列表返回数据

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#CreateAtObject

Parameters:

  • TemplateId:

    模板ID

  • TemplateName:

    模板名称

  • TimeSections:

    上云时间段(按周进行设置,支持一天设置多个时间段,每个时间段不小于10分钟)

  • DevTimeSections:

    录像时间段(按周进行设置,支持一天设置多个时间段,每个时间段不小于10分钟)

  • Scale:

    上云倍速(支持1,2,4倍速)

  • CreateAt:

    创建时间

  • UpdateAt:

    更新时间



5459
5460
5461
# File 'lib/v20230517/models.rb', line 5459

def CreateAt
  @CreateAt
end

#DevTimeSectionsObject

Parameters:

  • TemplateId:

    模板ID

  • TemplateName:

    模板名称

  • TimeSections:

    上云时间段(按周进行设置,支持一天设置多个时间段,每个时间段不小于10分钟)

  • DevTimeSections:

    录像时间段(按周进行设置,支持一天设置多个时间段,每个时间段不小于10分钟)

  • Scale:

    上云倍速(支持1,2,4倍速)

  • CreateAt:

    创建时间

  • UpdateAt:

    更新时间



5459
5460
5461
# File 'lib/v20230517/models.rb', line 5459

def DevTimeSections
  @DevTimeSections
end

#ScaleObject

Parameters:

  • TemplateId:

    模板ID

  • TemplateName:

    模板名称

  • TimeSections:

    上云时间段(按周进行设置,支持一天设置多个时间段,每个时间段不小于10分钟)

  • DevTimeSections:

    录像时间段(按周进行设置,支持一天设置多个时间段,每个时间段不小于10分钟)

  • Scale:

    上云倍速(支持1,2,4倍速)

  • CreateAt:

    创建时间

  • UpdateAt:

    更新时间



5459
5460
5461
# File 'lib/v20230517/models.rb', line 5459

def Scale
  @Scale
end

#TemplateIdObject

Parameters:

  • TemplateId:

    模板ID

  • TemplateName:

    模板名称

  • TimeSections:

    上云时间段(按周进行设置,支持一天设置多个时间段,每个时间段不小于10分钟)

  • DevTimeSections:

    录像时间段(按周进行设置,支持一天设置多个时间段,每个时间段不小于10分钟)

  • Scale:

    上云倍速(支持1,2,4倍速)

  • CreateAt:

    创建时间

  • UpdateAt:

    更新时间



5459
5460
5461
# File 'lib/v20230517/models.rb', line 5459

def TemplateId
  @TemplateId
end

#TemplateNameObject

Parameters:

  • TemplateId:

    模板ID

  • TemplateName:

    模板名称

  • TimeSections:

    上云时间段(按周进行设置,支持一天设置多个时间段,每个时间段不小于10分钟)

  • DevTimeSections:

    录像时间段(按周进行设置,支持一天设置多个时间段,每个时间段不小于10分钟)

  • Scale:

    上云倍速(支持1,2,4倍速)

  • CreateAt:

    创建时间

  • UpdateAt:

    更新时间



5459
5460
5461
# File 'lib/v20230517/models.rb', line 5459

def TemplateName
  @TemplateName
end

#TimeSectionsObject

Parameters:

  • TemplateId:

    模板ID

  • TemplateName:

    模板名称

  • TimeSections:

    上云时间段(按周进行设置,支持一天设置多个时间段,每个时间段不小于10分钟)

  • DevTimeSections:

    录像时间段(按周进行设置,支持一天设置多个时间段,每个时间段不小于10分钟)

  • Scale:

    上云倍速(支持1,2,4倍速)

  • CreateAt:

    创建时间

  • UpdateAt:

    更新时间



5459
5460
5461
# File 'lib/v20230517/models.rb', line 5459

def TimeSections
  @TimeSections
end

#UpdateAtObject

Parameters:

  • TemplateId:

    模板ID

  • TemplateName:

    模板名称

  • TimeSections:

    上云时间段(按周进行设置,支持一天设置多个时间段,每个时间段不小于10分钟)

  • DevTimeSections:

    录像时间段(按周进行设置,支持一天设置多个时间段,每个时间段不小于10分钟)

  • Scale:

    上云倍速(支持1,2,4倍速)

  • CreateAt:

    创建时间

  • UpdateAt:

    更新时间



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