Class: TencentCloud::Iss::V20230517::UpdateRecordPlanData

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

Overview

修改实时上云录像计划的数据

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(planname = nil, templateid = nil, describe = nil, streamtype = nil, lifecycle = nil, add = nil, del = nil, organizationid = nil, repairmode = nil) ⇒ UpdateRecordPlanData



7818
7819
7820
7821
7822
7823
7824
7825
7826
7827
7828
# File 'lib/v20230517/models.rb', line 7818

def initialize(planname=nil, templateid=nil, describe=nil, streamtype=nil, lifecycle=nil, add=nil, del=nil, organizationid=nil, repairmode=nil)
  @PlanName = planname
  @TemplateId = templateid
  @Describe = describe
  @StreamType = streamtype
  @LifeCycle = lifecycle
  @Add = add
  @Del = del
  @OrganizationId = organizationid
  @RepairMode = repairmode
end

Instance Attribute Details

#AddObject



7816
7817
7818
# File 'lib/v20230517/models.rb', line 7816

def Add
  @Add
end

#DelObject



7816
7817
7818
# File 'lib/v20230517/models.rb', line 7816

def Del
  @Del
end

#DescribeObject



7816
7817
7818
# File 'lib/v20230517/models.rb', line 7816

def Describe
  @Describe
end

#LifeCycleObject



7816
7817
7818
# File 'lib/v20230517/models.rb', line 7816

def LifeCycle
  @LifeCycle
end

#OrganizationIdObject



7816
7817
7818
# File 'lib/v20230517/models.rb', line 7816

def OrganizationId
  @OrganizationId
end

#PlanNameObject



7816
7817
7818
# File 'lib/v20230517/models.rb', line 7816

def PlanName
  @PlanName
end

#RepairModeObject



7816
7817
7818
# File 'lib/v20230517/models.rb', line 7816

def RepairMode
  @RepairMode
end

#StreamTypeObject



7816
7817
7818
# File 'lib/v20230517/models.rb', line 7816

def StreamType
  @StreamType
end

#TemplateIdObject



7816
7817
7818
# File 'lib/v20230517/models.rb', line 7816

def TemplateId
  @TemplateId
end

Instance Method Details

#deserialize(params) ⇒ Object



7830
7831
7832
7833
7834
7835
7836
7837
7838
7839
7840
7841
7842
7843
7844
7845
7846
7847
7848
7849
7850
# File 'lib/v20230517/models.rb', line 7830

def deserialize(params)
  @PlanName = params['PlanName']
  @TemplateId = params['TemplateId']
  @Describe = params['Describe']
  @StreamType = params['StreamType']
  unless params['LifeCycle'].nil?
    @LifeCycle = LifeCycleData.new
    @LifeCycle.deserialize(params['LifeCycle'])
  end
  unless params['Add'].nil?
    @Add = []
    params['Add'].each do |i|
      channelinfo_tmp = ChannelInfo.new
      channelinfo_tmp.deserialize(i)
      @Add << channelinfo_tmp
    end
  end
  @Del = params['Del']
  @OrganizationId = params['OrganizationId']
  @RepairMode = params['RepairMode']
end