Class: TencentCloud::Iotvideoindustry::V20201201::DescribeLiveRecordPlanIdsResponse

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

Overview

DescribeLiveRecordPlanIds返回参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(totalcount = nil, plans = nil, requestid = nil) ⇒ DescribeLiveRecordPlanIdsResponse

Returns a new instance of DescribeLiveRecordPlanIdsResponse.



2922
2923
2924
2925
2926
# File 'lib/v20201201/models.rb', line 2922

def initialize(totalcount=nil, plans=nil, requestid=nil)
  @TotalCount = totalcount
  @Plans = plans
  @RequestId = requestid
end

Instance Attribute Details

#PlansObject

Parameters:

  • TotalCount:

    总个数

  • Plans:

    计划数组

  • RequestId:

    唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。



2920
2921
2922
# File 'lib/v20201201/models.rb', line 2920

def Plans
  @Plans
end

#RequestIdObject

Parameters:

  • TotalCount:

    总个数

  • Plans:

    计划数组

  • RequestId:

    唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。



2920
2921
2922
# File 'lib/v20201201/models.rb', line 2920

def RequestId
  @RequestId
end

#TotalCountObject

Parameters:

  • TotalCount:

    总个数

  • Plans:

    计划数组

  • RequestId:

    唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。



2920
2921
2922
# File 'lib/v20201201/models.rb', line 2920

def TotalCount
  @TotalCount
end

Instance Method Details

#deserialize(params) ⇒ Object



2928
2929
2930
2931
2932
2933
2934
2935
2936
2937
2938
2939
# File 'lib/v20201201/models.rb', line 2928

def deserialize(params)
  @TotalCount = params['TotalCount']
  unless params['Plans'].nil?
    @Plans = []
    params['Plans'].each do |i|
      liverecordplanitem_tmp = LiveRecordPlanItem.new
      liverecordplanitem_tmp.deserialize(i)
      @Plans << liverecordplanitem_tmp
    end
  end
  @RequestId = params['RequestId']
end