Class: TencentCloud::Yinsuda::V20220527::CreateKTVRobotRequest
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Yinsuda::V20220527::CreateKTVRobotRequest
- Defined in:
- lib/v20220527/models.rb
Overview
CreateKTVRobot请求参数结构体
Instance Attribute Summary collapse
-
#AppName ⇒ Object
<li>TRTC</li>.
-
#JoinRoomInput ⇒ Object
<li>TRTC</li>.
-
#RTCSystem ⇒ Object
<li>TRTC</li>.
-
#SyncRobotCommands ⇒ Object
<li>TRTC</li>.
-
#UserId ⇒ Object
<li>TRTC</li>.
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(appname = nil, userid = nil, rtcsystem = nil, joinroominput = nil, syncrobotcommands = nil) ⇒ CreateKTVRobotRequest
constructor
A new instance of CreateKTVRobotRequest.
Constructor Details
#initialize(appname = nil, userid = nil, rtcsystem = nil, joinroominput = nil, syncrobotcommands = nil) ⇒ CreateKTVRobotRequest
Returns a new instance of CreateKTVRobotRequest.
204 205 206 207 208 209 210 |
# File 'lib/v20220527/models.rb', line 204 def initialize(appname=nil, userid=nil, rtcsystem=nil, joinroominput=nil, syncrobotcommands=nil) @AppName = appname @UserId = userid @RTCSystem = rtcsystem @JoinRoomInput = joinroominput @SyncRobotCommands = syncrobotcommands end |
Instance Attribute Details
#AppName ⇒ Object
<li>TRTC</li>
202 203 204 |
# File 'lib/v20220527/models.rb', line 202 def AppName @AppName end |
#JoinRoomInput ⇒ Object
<li>TRTC</li>
202 203 204 |
# File 'lib/v20220527/models.rb', line 202 def JoinRoomInput @JoinRoomInput end |
#RTCSystem ⇒ Object
<li>TRTC</li>
202 203 204 |
# File 'lib/v20220527/models.rb', line 202 def RTCSystem @RTCSystem end |
#SyncRobotCommands ⇒ Object
<li>TRTC</li>
202 203 204 |
# File 'lib/v20220527/models.rb', line 202 def SyncRobotCommands @SyncRobotCommands end |
#UserId ⇒ Object
<li>TRTC</li>
202 203 204 |
# File 'lib/v20220527/models.rb', line 202 def UserId @UserId end |
Instance Method Details
#deserialize(params) ⇒ Object
212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 |
# File 'lib/v20220527/models.rb', line 212 def deserialize(params) @AppName = params['AppName'] @UserId = params['UserId'] @RTCSystem = params['RTCSystem'] unless params['JoinRoomInput'].nil? @JoinRoomInput = JoinRoomInput.new @JoinRoomInput.deserialize(params['JoinRoomInput']) end unless params['SyncRobotCommands'].nil? @SyncRobotCommands = [] params['SyncRobotCommands'].each do |i| syncrobotcommand_tmp = SyncRobotCommand.new syncrobotcommand_tmp.deserialize(i) @SyncRobotCommands << syncrobotcommand_tmp end end end |