Class: TencentCloud::Iss::V20230517::RecordSliceInfo

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, list = nil) ⇒ RecordSliceInfo

Returns a new instance of RecordSliceInfo.



6604
6605
6606
6607
# File 'lib/v20230517/models.rb', line 6604

def initialize(planid=nil, list=nil)
  @PlanId = planid
  @List = list
end

Instance Attribute Details

#ListObject

Parameters:

  • PlanId:

    计划ID

  • List:

    录像切片开始和结束时间列表



6602
6603
6604
# File 'lib/v20230517/models.rb', line 6602

def List
  @List
end

#PlanIdObject

Parameters:

  • PlanId:

    计划ID

  • List:

    录像切片开始和结束时间列表



6602
6603
6604
# File 'lib/v20230517/models.rb', line 6602

def PlanId
  @PlanId
end

Instance Method Details

#deserialize(params) ⇒ Object



6609
6610
6611
6612
6613
6614
6615
6616
6617
6618
6619
# File 'lib/v20230517/models.rb', line 6609

def deserialize(params)
  @PlanId = params['PlanId']
  unless params['List'].nil?
    @List = []
    params['List'].each do |i|
      recordtimeline_tmp = RecordTimeLine.new
      recordtimeline_tmp.deserialize(i)
      @List << recordtimeline_tmp
    end
  end
end