Class: TencentCloud::Iss::V20230517::RecordPlanOptData

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

Overview

实时上云计划添加和修改的返回数据

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(planid = nil, planname = nil, templateid = nil, describe = nil, lifecycle = nil, streamtype = nil, repairmode = nil) ⇒ RecordPlanOptData

Returns a new instance of RecordPlanOptData.



6471
6472
6473
6474
6475
6476
6477
6478
6479
# File 'lib/v20230517/models.rb', line 6471

def initialize(planid=nil, planname=nil, templateid=nil, describe=nil, lifecycle=nil, streamtype=nil, repairmode=nil)
  @PlanId = planid
  @PlanName = planname
  @TemplateId = templateid
  @Describe = describe
  @LifeCycle = lifecycle
  @StreamType = streamtype
  @RepairMode = repairmode
end

Instance Attribute Details

#DescribeObject

Parameters:

  • PlanId:

    上云计划ID

  • PlanName:

    上云计划名称

  • TemplateId:

    上云模板ID

  • Describe:

    上云计划描述

  • LifeCycle:

    云文件生命周期

  • StreamType:

    码流类型,default:设备默认码流类型,main:主码流,sub:子码流,其他根据设备能力集自定义

  • RepairMode:

    录像补录模式(0:不启用,1:启用)



6469
6470
6471
# File 'lib/v20230517/models.rb', line 6469

def Describe
  @Describe
end

#LifeCycleObject

Parameters:

  • PlanId:

    上云计划ID

  • PlanName:

    上云计划名称

  • TemplateId:

    上云模板ID

  • Describe:

    上云计划描述

  • LifeCycle:

    云文件生命周期

  • StreamType:

    码流类型,default:设备默认码流类型,main:主码流,sub:子码流,其他根据设备能力集自定义

  • RepairMode:

    录像补录模式(0:不启用,1:启用)



6469
6470
6471
# File 'lib/v20230517/models.rb', line 6469

def LifeCycle
  @LifeCycle
end

#PlanIdObject

Parameters:

  • PlanId:

    上云计划ID

  • PlanName:

    上云计划名称

  • TemplateId:

    上云模板ID

  • Describe:

    上云计划描述

  • LifeCycle:

    云文件生命周期

  • StreamType:

    码流类型,default:设备默认码流类型,main:主码流,sub:子码流,其他根据设备能力集自定义

  • RepairMode:

    录像补录模式(0:不启用,1:启用)



6469
6470
6471
# File 'lib/v20230517/models.rb', line 6469

def PlanId
  @PlanId
end

#PlanNameObject

Parameters:

  • PlanId:

    上云计划ID

  • PlanName:

    上云计划名称

  • TemplateId:

    上云模板ID

  • Describe:

    上云计划描述

  • LifeCycle:

    云文件生命周期

  • StreamType:

    码流类型,default:设备默认码流类型,main:主码流,sub:子码流,其他根据设备能力集自定义

  • RepairMode:

    录像补录模式(0:不启用,1:启用)



6469
6470
6471
# File 'lib/v20230517/models.rb', line 6469

def PlanName
  @PlanName
end

#RepairModeObject

Parameters:

  • PlanId:

    上云计划ID

  • PlanName:

    上云计划名称

  • TemplateId:

    上云模板ID

  • Describe:

    上云计划描述

  • LifeCycle:

    云文件生命周期

  • StreamType:

    码流类型,default:设备默认码流类型,main:主码流,sub:子码流,其他根据设备能力集自定义

  • RepairMode:

    录像补录模式(0:不启用,1:启用)



6469
6470
6471
# File 'lib/v20230517/models.rb', line 6469

def RepairMode
  @RepairMode
end

#StreamTypeObject

Parameters:

  • PlanId:

    上云计划ID

  • PlanName:

    上云计划名称

  • TemplateId:

    上云模板ID

  • Describe:

    上云计划描述

  • LifeCycle:

    云文件生命周期

  • StreamType:

    码流类型,default:设备默认码流类型,main:主码流,sub:子码流,其他根据设备能力集自定义

  • RepairMode:

    录像补录模式(0:不启用,1:启用)



6469
6470
6471
# File 'lib/v20230517/models.rb', line 6469

def StreamType
  @StreamType
end

#TemplateIdObject

Parameters:

  • PlanId:

    上云计划ID

  • PlanName:

    上云计划名称

  • TemplateId:

    上云模板ID

  • Describe:

    上云计划描述

  • LifeCycle:

    云文件生命周期

  • StreamType:

    码流类型,default:设备默认码流类型,main:主码流,sub:子码流,其他根据设备能力集自定义

  • RepairMode:

    录像补录模式(0:不启用,1:启用)



6469
6470
6471
# File 'lib/v20230517/models.rb', line 6469

def TemplateId
  @TemplateId
end

Instance Method Details

#deserialize(params) ⇒ Object



6481
6482
6483
6484
6485
6486
6487
6488
6489
6490
6491
6492
# File 'lib/v20230517/models.rb', line 6481

def deserialize(params)
  @PlanId = params['PlanId']
  @PlanName = params['PlanName']
  @TemplateId = params['TemplateId']
  @Describe = params['Describe']
  unless params['LifeCycle'].nil?
    @LifeCycle = LifeCycleData.new
    @LifeCycle.deserialize(params['LifeCycle'])
  end
  @StreamType = params['StreamType']
  @RepairMode = params['RepairMode']
end