Class: TencentCloud::Ame::V20190916::CreateKTVRobotRequest
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Ame::V20190916::CreateKTVRobotRequest
- Defined in:
- lib/v20190916/models.rb
Overview
CreateKTVRobot请求参数结构体
Instance Attribute Summary collapse
-
#ApplicationLicenseInput ⇒ Object
<li>TRTC</li>.
-
#JoinRoomInput ⇒ Object
<li>TRTC</li>.
-
#RTCSystem ⇒ Object
<li>TRTC</li>.
-
#SyncRobotCommands ⇒ Object
<li>TRTC</li>.
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(rtcsystem = nil, joinroominput = nil, applicationlicenseinput = nil, syncrobotcommands = nil) ⇒ CreateKTVRobotRequest
constructor
A new instance of CreateKTVRobotRequest.
Constructor Details
#initialize(rtcsystem = nil, joinroominput = nil, applicationlicenseinput = nil, syncrobotcommands = nil) ⇒ CreateKTVRobotRequest
Returns a new instance of CreateKTVRobotRequest.
219 220 221 222 223 224 |
# File 'lib/v20190916/models.rb', line 219 def initialize(rtcsystem=nil, joinroominput=nil, applicationlicenseinput=nil, syncrobotcommands=nil) @RTCSystem = rtcsystem @JoinRoomInput = joinroominput @ApplicationLicenseInput = applicationlicenseinput @SyncRobotCommands = syncrobotcommands end |
Instance Attribute Details
#ApplicationLicenseInput ⇒ Object
<li>TRTC</li>
217 218 219 |
# File 'lib/v20190916/models.rb', line 217 def ApplicationLicenseInput @ApplicationLicenseInput end |
#JoinRoomInput ⇒ Object
<li>TRTC</li>
217 218 219 |
# File 'lib/v20190916/models.rb', line 217 def JoinRoomInput @JoinRoomInput end |
#RTCSystem ⇒ Object
<li>TRTC</li>
217 218 219 |
# File 'lib/v20190916/models.rb', line 217 def RTCSystem @RTCSystem end |
#SyncRobotCommands ⇒ Object
<li>TRTC</li>
217 218 219 |
# File 'lib/v20190916/models.rb', line 217 def SyncRobotCommands @SyncRobotCommands end |
Instance Method Details
#deserialize(params) ⇒ Object
226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 |
# File 'lib/v20190916/models.rb', line 226 def deserialize(params) @RTCSystem = params['RTCSystem'] unless params['JoinRoomInput'].nil? @JoinRoomInput = JoinRoomInput.new @JoinRoomInput.deserialize(params['JoinRoomInput']) end unless params['ApplicationLicenseInput'].nil? @ApplicationLicenseInput = ApplicationLicenseInput.new @ApplicationLicenseInput.deserialize(params['ApplicationLicenseInput']) 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 |