class TencentCloud::Ame::V20190916::CreateKTVRobotRequest
CreateKTVRobot请求参数结构体
def deserialize(params)
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
def initialize(rtcsystem=nil, joinroominput=nil, applicationlicenseinput=nil, syncrobotcommands=nil)
def initialize(rtcsystem=nil, joinroominput=nil, applicationlicenseinput=nil, syncrobotcommands=nil) @RTCSystem = rtcsystem @JoinRoomInput = joinroominput @ApplicationLicenseInput = applicationlicenseinput @SyncRobotCommands = syncrobotcommands end