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.
13097 13098 13099 13100 13101 13102 13103 |
# File 'lib/v20190423/models.rb', line 13097 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
13095 13096 13097 |
# File 'lib/v20190423/models.rb', line 13095 def PrivateKey @PrivateKey end |
#SdkAppId ⇒ Object
13095 13096 13097 |
# File 'lib/v20190423/models.rb', line 13095 def SdkAppId @SdkAppId end |
#StrRoomId ⇒ Object
13095 13096 13097 |
# File 'lib/v20190423/models.rb', line 13095 def StrRoomId @StrRoomId end |
#UserId ⇒ Object
13095 13096 13097 |
# File 'lib/v20190423/models.rb', line 13095 def UserId @UserId end |
#UserSig ⇒ Object
13095 13096 13097 |
# File 'lib/v20190423/models.rb', line 13095 def UserSig @UserSig end |
Instance Method Details
#deserialize(params) ⇒ Object
13105 13106 13107 13108 13109 13110 13111 |
# File 'lib/v20190423/models.rb', line 13105 def deserialize(params) @SdkAppId = params['SdkAppId'] @UserId = params['UserId'] @UserSig = params['UserSig'] @StrRoomId = params['StrRoomId'] @PrivateKey = params['PrivateKey'] end |