class TencentCloud::Trtc::V20190722::DescribeRoomInformationResponse
DescribeRoomInformation返回参数结构体
Attributes
RequestId[RW]
@param Total: 返回当页数据总数 @type Total: Integer @param RoomList: 房间信息列表 @type RoomList: Array @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 @type RequestId: String
RoomList[RW]
@param Total: 返回当页数据总数 @type Total: Integer @param RoomList: 房间信息列表 @type RoomList: Array @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 @type RequestId: String
Total[RW]
@param Total: 返回当页数据总数 @type Total: Integer @param RoomList: 房间信息列表 @type RoomList: Array @param RequestId: 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 @type RequestId: String
Public Class Methods
new(total=nil, roomlist=nil, requestid=nil)
click to toggle source
# File lib/v20190722/models.rb, line 850 def initialize(total=nil, roomlist=nil, requestid=nil) @Total = total @RoomList = roomlist @RequestId = requestid end
Public Instance Methods
deserialize(params)
click to toggle source
# File lib/v20190722/models.rb, line 856 def deserialize(params) @Total = params['Total'] unless params['RoomList'].nil? @RoomList = [] params['RoomList'].each do |i| roomstate_tmp = RoomState.new roomstate_tmp.deserialize(i) @RoomList << roomstate_tmp end end @RequestId = params['RequestId'] end