Class: TencentCloud::Iss::V20230517::ListForbidplayChannelsData

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

Overview

用户禁止播流的通道列表返回数据

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(pagenumber = nil, pagesize = nil, totalcount = nil, list = nil) ⇒ ListForbidplayChannelsData

Returns a new instance of ListForbidplayChannelsData.



4928
4929
4930
4931
4932
4933
# File 'lib/v20230517/models.rb', line 4928

def initialize(pagenumber=nil, pagesize=nil, totalcount=nil, list=nil)
  @PageNumber = pagenumber
  @PageSize = pagesize
  @TotalCount = totalcount
  @List = list
end

Instance Attribute Details

#ListObject

注意:此字段可能返回 null,表示取不到有效值。

Parameters:

  • PageNumber:

    第几页

  • PageSize:

    当前页的设备数量

  • TotalCount:

    本次查询的设备通道总数

  • List:

    设备通道信息列表



4926
4927
4928
# File 'lib/v20230517/models.rb', line 4926

def List
  @List
end

#PageNumberObject

注意:此字段可能返回 null,表示取不到有效值。

Parameters:

  • PageNumber:

    第几页

  • PageSize:

    当前页的设备数量

  • TotalCount:

    本次查询的设备通道总数

  • List:

    设备通道信息列表



4926
4927
4928
# File 'lib/v20230517/models.rb', line 4926

def PageNumber
  @PageNumber
end

#PageSizeObject

注意:此字段可能返回 null,表示取不到有效值。

Parameters:

  • PageNumber:

    第几页

  • PageSize:

    当前页的设备数量

  • TotalCount:

    本次查询的设备通道总数

  • List:

    设备通道信息列表



4926
4927
4928
# File 'lib/v20230517/models.rb', line 4926

def PageSize
  @PageSize
end

#TotalCountObject

注意:此字段可能返回 null,表示取不到有效值。

Parameters:

  • PageNumber:

    第几页

  • PageSize:

    当前页的设备数量

  • TotalCount:

    本次查询的设备通道总数

  • List:

    设备通道信息列表



4926
4927
4928
# File 'lib/v20230517/models.rb', line 4926

def TotalCount
  @TotalCount
end

Instance Method Details

#deserialize(params) ⇒ Object



4935
4936
4937
4938
4939
4940
4941
4942
4943
4944
4945
4946
4947
# File 'lib/v20230517/models.rb', line 4935

def deserialize(params)
  @PageNumber = params['PageNumber']
  @PageSize = params['PageSize']
  @TotalCount = params['TotalCount']
  unless params['List'].nil?
    @List = []
    params['List'].each do |i|
      channelattrinfo_tmp = ChannelAttrInfo.new
      channelattrinfo_tmp.deserialize(i)
      @List << channelattrinfo_tmp
    end
  end
end