Class: TencentCloud::Ame::V20190916::CreateKTVRobotRequest

Inherits:
Common::AbstractModel
  • Object
show all
Defined in:
lib/v20190916/models.rb

Overview

CreateKTVRobot请求参数结构体

Instance Attribute Summary collapse

  • #JoinRoomInput ⇒ Object
  • TRTC
  • .
  • #RTCSystem ⇒ Object
  • TRTC
  • .
  • #SyncRobotCommands ⇒ Object
  • TRTC
  • .

    Instance Method Summary collapse

    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

    #ApplicationLicenseInputObject

  • TRTC
  • Parameters:

    • RTCSystem:

      RTC厂商类型,取值有:

    • JoinRoomInput:

      进房参数。

    • ApplicationLicenseInput:

      license基础信息

    • SyncRobotCommands:

      创建机器人时初始化参数。

    
    
    217
    218
    219
    # File 'lib/v20190916/models.rb', line 217
    
    def ApplicationLicenseInput
      @ApplicationLicenseInput
    end

    #JoinRoomInputObject

  • TRTC
  • Parameters:

    • RTCSystem:

      RTC厂商类型,取值有:

    • JoinRoomInput:

      进房参数。

    • ApplicationLicenseInput:

      license基础信息

    • SyncRobotCommands:

      创建机器人时初始化参数。

    
    
    217
    218
    219
    # File 'lib/v20190916/models.rb', line 217
    
    def JoinRoomInput
      @JoinRoomInput
    end

    #RTCSystemObject

  • TRTC
  • Parameters:

    • RTCSystem:

      RTC厂商类型,取值有:

    • JoinRoomInput:

      进房参数。

    • ApplicationLicenseInput:

      license基础信息

    • SyncRobotCommands:

      创建机器人时初始化参数。

    
    
    217
    218
    219
    # File 'lib/v20190916/models.rb', line 217
    
    def RTCSystem
      @RTCSystem
    end

    #SyncRobotCommandsObject

  • TRTC
  • Parameters:

    • RTCSystem:

      RTC厂商类型,取值有:

    • JoinRoomInput:

      进房参数。

    • ApplicationLicenseInput:

      license基础信息

    • SyncRobotCommands:

      创建机器人时初始化参数。

    
    
    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