Class: TencentCloud::Iotexplorer::V20190423::TRTCParams
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Iotexplorer::V20190423::TRTCParams
- Defined in:
- lib/v20190423/models.rb
Overview
TRTC 的参数 可以用来加入房间
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(sdkappid = nil, userid = nil, usersig = nil, strroomid = nil, privatekey = nil) ⇒ TRTCParams
constructor
A new instance of TRTCParams.
Constructor Details
#initialize(sdkappid = nil, userid = nil, usersig = nil, strroomid = nil, privatekey = nil) ⇒ TRTCParams
Returns a new instance of TRTCParams.
13113 13114 13115 13116 13117 13118 13119 |
# File 'lib/v20190423/models.rb', line 13113 def initialize(sdkappid=nil, userid=nil, usersig=nil, strroomid=nil, privatekey=nil) @SdkAppId = sdkappid @UserId = userid @UserSig = usersig @StrRoomId = strroomid @PrivateKey = privatekey end |
Instance Attribute Details
#PrivateKey ⇒ Object
13111 13112 13113 |
# File 'lib/v20190423/models.rb', line 13111 def PrivateKey @PrivateKey end |
#SdkAppId ⇒ Object
13111 13112 13113 |
# File 'lib/v20190423/models.rb', line 13111 def SdkAppId @SdkAppId end |
#StrRoomId ⇒ Object
13111 13112 13113 |
# File 'lib/v20190423/models.rb', line 13111 def StrRoomId @StrRoomId end |
#UserId ⇒ Object
13111 13112 13113 |
# File 'lib/v20190423/models.rb', line 13111 def UserId @UserId end |
#UserSig ⇒ Object
13111 13112 13113 |
# File 'lib/v20190423/models.rb', line 13111 def UserSig @UserSig end |
Instance Method Details
#deserialize(params) ⇒ Object
13121 13122 13123 13124 13125 13126 13127 |
# File 'lib/v20190423/models.rb', line 13121 def deserialize(params) @SdkAppId = params['SdkAppId'] @UserId = params['UserId'] @UserSig = params['UserSig'] @StrRoomId = params['StrRoomId'] @PrivateKey = params['PrivateKey'] end |