Class: TencentCloud::Iss::V20230517::UpdateRecordBackupTemplateData

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) ⇒ UpdateRecordBackupTemplateData

Returns a new instance of UpdateRecordBackupTemplateData.



7672
7673
7674
7675
7676
7677
7678
7679
7680
# File 'lib/v20230517/models.rb', line 7672

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:

    更新时间



7670
7671
7672
# File 'lib/v20230517/models.rb', line 7670

def CreateAt
  @CreateAt
end

#DevTimeSectionsObject

Parameters:

  • TemplateId:

    模板ID

  • TemplateName:

    模板名称

  • TimeSections:

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

  • DevTimeSections:

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

  • Scale:

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

  • CreateAt:

    创建时间

  • UpdateAt:

    更新时间



7670
7671
7672
# File 'lib/v20230517/models.rb', line 7670

def DevTimeSections
  @DevTimeSections
end

#ScaleObject

Parameters:

  • TemplateId:

    模板ID

  • TemplateName:

    模板名称

  • TimeSections:

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

  • DevTimeSections:

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

  • Scale:

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

  • CreateAt:

    创建时间

  • UpdateAt:

    更新时间



7670
7671
7672
# File 'lib/v20230517/models.rb', line 7670

def Scale
  @Scale
end

#TemplateIdObject

Parameters:

  • TemplateId:

    模板ID

  • TemplateName:

    模板名称

  • TimeSections:

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

  • DevTimeSections:

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

  • Scale:

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

  • CreateAt:

    创建时间

  • UpdateAt:

    更新时间



7670
7671
7672
# File 'lib/v20230517/models.rb', line 7670

def TemplateId
  @TemplateId
end

#TemplateNameObject

Parameters:

  • TemplateId:

    模板ID

  • TemplateName:

    模板名称

  • TimeSections:

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

  • DevTimeSections:

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

  • Scale:

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

  • CreateAt:

    创建时间

  • UpdateAt:

    更新时间



7670
7671
7672
# File 'lib/v20230517/models.rb', line 7670

def TemplateName
  @TemplateName
end

#TimeSectionsObject

Parameters:

  • TemplateId:

    模板ID

  • TemplateName:

    模板名称

  • TimeSections:

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

  • DevTimeSections:

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

  • Scale:

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

  • CreateAt:

    创建时间

  • UpdateAt:

    更新时间



7670
7671
7672
# File 'lib/v20230517/models.rb', line 7670

def TimeSections
  @TimeSections
end

#UpdateAtObject

Parameters:

  • TemplateId:

    模板ID

  • TemplateName:

    模板名称

  • TimeSections:

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

  • DevTimeSections:

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

  • Scale:

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

  • CreateAt:

    创建时间

  • UpdateAt:

    更新时间



7670
7671
7672
# File 'lib/v20230517/models.rb', line 7670

def UpdateAt
  @UpdateAt
end

Instance Method Details

#deserialize(params) ⇒ Object



7682
7683
7684
7685
7686
7687
7688
7689
7690
7691
7692
7693
7694
7695
7696
7697
7698
7699
7700
7701
7702
7703
7704
# File 'lib/v20230517/models.rb', line 7682

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