Class: TencentCloud::Yinsuda::V20220527::TRTCJoinRoomInput

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

Overview

TRTC推流进房信息

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(sign = nil, roomid = nil, sdkappid = nil, userid = nil, roomidtype = nil) ⇒ TRTCJoinRoomInput

Returns a new instance of TRTCJoinRoomInput.



2120
2121
2122
2123
2124
2125
2126
# File 'lib/v20220527/models.rb', line 2120

def initialize(sign=nil, roomid=nil, sdkappid=nil, userid=nil, roomidtype=nil)
  @Sign = sign
  @RoomId = roomid
  @SdkAppId = sdkappid
  @UserId = userid
  @RoomIdType = roomidtype
end

Instance Attribute Details

#RoomIdObject

Integer:数字类型String:字符串类型默认为:Integer 。注意:此字段可能返回 null,表示取不到有效值。



2118
2119
2120
# File 'lib/v20220527/models.rb', line 2118

def RoomId
  @RoomId
end

#RoomIdTypeObject

Integer:数字类型String:字符串类型默认为:Integer 。注意:此字段可能返回 null,表示取不到有效值。



2118
2119
2120
# File 'lib/v20220527/models.rb', line 2118

def RoomIdType
  @RoomIdType
end

#SdkAppIdObject

Integer:数字类型String:字符串类型默认为:Integer 。注意:此字段可能返回 null,表示取不到有效值。



2118
2119
2120
# File 'lib/v20220527/models.rb', line 2118

def SdkAppId
  @SdkAppId
end

#SignObject

Integer:数字类型String:字符串类型默认为:Integer 。注意:此字段可能返回 null,表示取不到有效值。



2118
2119
2120
# File 'lib/v20220527/models.rb', line 2118

def Sign
  @Sign
end

#UserIdObject

Integer:数字类型String:字符串类型默认为:Integer 。注意:此字段可能返回 null,表示取不到有效值。



2118
2119
2120
# File 'lib/v20220527/models.rb', line 2118

def UserId
  @UserId
end

Instance Method Details

#deserialize(params) ⇒ Object



2128
2129
2130
2131
2132
2133
2134
# File 'lib/v20220527/models.rb', line 2128

def deserialize(params)
  @Sign = params['Sign']
  @RoomId = params['RoomId']
  @SdkAppId = params['SdkAppId']
  @UserId = params['UserId']
  @RoomIdType = params['RoomIdType']
end