Class: TencentCloud::Iotvideoindustry::V20201201::CreateLiveRecordPlanRequest

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

Overview

CreateLiveRecordPlan请求参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(planname = nil, plantype = nil, templateid = nil, recordstoragetime = nil, livechannelids = nil) ⇒ CreateLiveRecordPlanRequest

Returns a new instance of CreateLiveRecordPlanRequest.



734
735
736
737
738
739
740
# File 'lib/v20201201/models.rb', line 734

def initialize(planname=nil, plantype=nil, templateid=nil, recordstoragetime=nil, livechannelids=nil)
  @PlanName = planname
  @PlanType = plantype
  @TemplateId = templateid
  @RecordStorageTime = recordstoragetime
  @LiveChannelIds = livechannelids
end

Instance Attribute Details

#LiveChannelIdsObject

Parameters:

  • PlanName:

    录制计划名

  • PlanType:

    计划类型 1:固定直播 2:移动直播

  • TemplateId:

    时间模板ID,固定直播时为必填

  • RecordStorageTime:

    录制文件存储时长,单位天,默认30天

  • LiveChannelIds:

    绑定的直播频道ID列表



732
733
734
# File 'lib/v20201201/models.rb', line 732

def LiveChannelIds
  @LiveChannelIds
end

#PlanNameObject

Parameters:

  • PlanName:

    录制计划名

  • PlanType:

    计划类型 1:固定直播 2:移动直播

  • TemplateId:

    时间模板ID,固定直播时为必填

  • RecordStorageTime:

    录制文件存储时长,单位天,默认30天

  • LiveChannelIds:

    绑定的直播频道ID列表



732
733
734
# File 'lib/v20201201/models.rb', line 732

def PlanName
  @PlanName
end

#PlanTypeObject

Parameters:

  • PlanName:

    录制计划名

  • PlanType:

    计划类型 1:固定直播 2:移动直播

  • TemplateId:

    时间模板ID,固定直播时为必填

  • RecordStorageTime:

    录制文件存储时长,单位天,默认30天

  • LiveChannelIds:

    绑定的直播频道ID列表



732
733
734
# File 'lib/v20201201/models.rb', line 732

def PlanType
  @PlanType
end

#RecordStorageTimeObject

Parameters:

  • PlanName:

    录制计划名

  • PlanType:

    计划类型 1:固定直播 2:移动直播

  • TemplateId:

    时间模板ID,固定直播时为必填

  • RecordStorageTime:

    录制文件存储时长,单位天,默认30天

  • LiveChannelIds:

    绑定的直播频道ID列表



732
733
734
# File 'lib/v20201201/models.rb', line 732

def RecordStorageTime
  @RecordStorageTime
end

#TemplateIdObject

Parameters:

  • PlanName:

    录制计划名

  • PlanType:

    计划类型 1:固定直播 2:移动直播

  • TemplateId:

    时间模板ID,固定直播时为必填

  • RecordStorageTime:

    录制文件存储时长,单位天,默认30天

  • LiveChannelIds:

    绑定的直播频道ID列表



732
733
734
# File 'lib/v20201201/models.rb', line 732

def TemplateId
  @TemplateId
end

Instance Method Details

#deserialize(params) ⇒ Object



742
743
744
745
746
747
748
# File 'lib/v20201201/models.rb', line 742

def deserialize(params)
  @PlanName = params['PlanName']
  @PlanType = params['PlanType']
  @TemplateId = params['TemplateId']
  @RecordStorageTime = params['RecordStorageTime']
  @LiveChannelIds = params['LiveChannelIds']
end