Class: TencentCloud::Yinsuda::V20220527::KTVRobotInfo

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

Overview

机器人信息

Instance Attribute Summary collapse

  • #JoinRoomInput ⇒ Object
  • Play:播放
  • Pause:暂停
  • Destroy:销毁
  • TRTC
  • RepeatPlaylist:列表循环
  • Order:顺序播放
  • RepeatSingle:单曲循环
  • Shuffle:随机播放
  • .
  • #Playlists ⇒ Object
  • Play:播放
  • Pause:暂停
  • Destroy:销毁
  • TRTC
  • RepeatPlaylist:列表循环
  • Order:顺序播放
  • RepeatSingle:单曲循环
  • Shuffle:随机播放
  • .
  • #Position ⇒ Object
  • Play:播放
  • Pause:暂停
  • Destroy:销毁
  • TRTC
  • RepeatPlaylist:列表循环
  • Order:顺序播放
  • RepeatSingle:单曲循环
  • Shuffle:随机播放
  • .
  • #RobotId ⇒ Object
  • Play:播放
  • Pause:暂停
  • Destroy:销毁
  • TRTC
  • RepeatPlaylist:列表循环
  • Order:顺序播放
  • RepeatSingle:单曲循环
  • Shuffle:随机播放
  • .
  • #RTCSystem ⇒ Object
  • Play:播放
  • Pause:暂停
  • Destroy:销毁
  • TRTC
  • RepeatPlaylist:列表循环
  • Order:顺序播放
  • RepeatSingle:单曲循环
  • Shuffle:随机播放
  • .
  • #SetAudioParamInput ⇒ Object
  • Play:播放
  • Pause:暂停
  • Destroy:销毁
  • TRTC
  • RepeatPlaylist:列表循环
  • Order:顺序播放
  • RepeatSingle:单曲循环
  • Shuffle:随机播放
  • .
  • #SetPlayModeInput ⇒ Object
  • Play:播放
  • Pause:暂停
  • Destroy:销毁
  • TRTC
  • RepeatPlaylist:列表循环
  • Order:顺序播放
  • RepeatSingle:单曲循环
  • Shuffle:随机播放
  • .
  • #Status ⇒ Object
  • Play:播放
  • Pause:暂停
  • Destroy:销毁
  • TRTC
  • RepeatPlaylist:列表循环
  • Order:顺序播放
  • RepeatSingle:单曲循环
  • Shuffle:随机播放
  • .

    Instance Method Summary collapse

    Constructor Details

    #initialize(robotid = nil, status = nil, playlists = nil, curindex = nil, position = nil, setaudioparaminput = nil, joinroominput = nil, rtcsystem = nil, setplaymodeinput = nil) ⇒ KTVRobotInfo

    Returns a new instance of KTVRobotInfo.

    
    
    1395
    1396
    1397
    1398
    1399
    1400
    1401
    1402
    1403
    1404
    1405
    # File 'lib/v20220527/models.rb', line 1395
    
    def initialize(robotid=nil, status=nil, playlists=nil, curindex=nil, position=nil, setaudioparaminput=nil, joinroominput=nil, rtcsystem=nil, setplaymodeinput=nil)
      @RobotId = robotid
      @Status = status
      @Playlists = playlists
      @CurIndex = curindex
      @Position = position
      @SetAudioParamInput = setaudioparaminput
      @JoinRoomInput = joinroominput
      @RTCSystem = rtcsystem
      @SetPlayModeInput = setplaymodeinput
    end

    Instance Attribute Details

    #CurIndexObject

  • Play:播放
  • Pause:暂停
  • Destroy:销毁
  • TRTC
  • RepeatPlaylist:列表循环
  • Order:顺序播放
  • RepeatSingle:单曲循环
  • Shuffle:随机播放
  • Parameters:

    • RobotId:

      机器人Id。

    • Status:

      状态,取值有:

    • Playlists:

      播放列表。

    • CurIndex:

      当前歌单索引位置。

    • Position:

      播放进度,单位:毫秒。

    • SetAudioParamInput:

      音频参数。

    • JoinRoomInput:

      进房信息。

    • RTCSystem:

      RTC厂商类型,取值有:

    • SetPlayModeInput:

      播放模式,PlayMode取值有:

    
    
    1393
    1394
    1395
    # File 'lib/v20220527/models.rb', line 1393
    
    def CurIndex
      @CurIndex
    end

    #JoinRoomInputObject

  • Play:播放
  • Pause:暂停
  • Destroy:销毁
  • TRTC
  • RepeatPlaylist:列表循环
  • Order:顺序播放
  • RepeatSingle:单曲循环
  • Shuffle:随机播放
  • Parameters:

    • RobotId:

      机器人Id。

    • Status:

      状态,取值有:

    • Playlists:

      播放列表。

    • CurIndex:

      当前歌单索引位置。

    • Position:

      播放进度,单位:毫秒。

    • SetAudioParamInput:

      音频参数。

    • JoinRoomInput:

      进房信息。

    • RTCSystem:

      RTC厂商类型,取值有:

    • SetPlayModeInput:

      播放模式,PlayMode取值有:

    
    
    1393
    1394
    1395
    # File 'lib/v20220527/models.rb', line 1393
    
    def JoinRoomInput
      @JoinRoomInput
    end

    #PlaylistsObject

  • Play:播放
  • Pause:暂停
  • Destroy:销毁
  • TRTC
  • RepeatPlaylist:列表循环
  • Order:顺序播放
  • RepeatSingle:单曲循环
  • Shuffle:随机播放
  • Parameters:

    • RobotId:

      机器人Id。

    • Status:

      状态,取值有:

    • Playlists:

      播放列表。

    • CurIndex:

      当前歌单索引位置。

    • Position:

      播放进度,单位:毫秒。

    • SetAudioParamInput:

      音频参数。

    • JoinRoomInput:

      进房信息。

    • RTCSystem:

      RTC厂商类型,取值有:

    • SetPlayModeInput:

      播放模式,PlayMode取值有:

    
    
    1393
    1394
    1395
    # File 'lib/v20220527/models.rb', line 1393
    
    def Playlists
      @Playlists
    end

    #PositionObject

  • Play:播放
  • Pause:暂停
  • Destroy:销毁
  • TRTC
  • RepeatPlaylist:列表循环
  • Order:顺序播放
  • RepeatSingle:单曲循环
  • Shuffle:随机播放
  • Parameters:

    • RobotId:

      机器人Id。

    • Status:

      状态,取值有:

    • Playlists:

      播放列表。

    • CurIndex:

      当前歌单索引位置。

    • Position:

      播放进度,单位:毫秒。

    • SetAudioParamInput:

      音频参数。

    • JoinRoomInput:

      进房信息。

    • RTCSystem:

      RTC厂商类型,取值有:

    • SetPlayModeInput:

      播放模式,PlayMode取值有:

    
    
    1393
    1394
    1395
    # File 'lib/v20220527/models.rb', line 1393
    
    def Position
      @Position
    end

    #RobotIdObject

  • Play:播放
  • Pause:暂停
  • Destroy:销毁
  • TRTC
  • RepeatPlaylist:列表循环
  • Order:顺序播放
  • RepeatSingle:单曲循环
  • Shuffle:随机播放
  • Parameters:

    • RobotId:

      机器人Id。

    • Status:

      状态,取值有:

    • Playlists:

      播放列表。

    • CurIndex:

      当前歌单索引位置。

    • Position:

      播放进度,单位:毫秒。

    • SetAudioParamInput:

      音频参数。

    • JoinRoomInput:

      进房信息。

    • RTCSystem:

      RTC厂商类型,取值有:

    • SetPlayModeInput:

      播放模式,PlayMode取值有:

    
    
    1393
    1394
    1395
    # File 'lib/v20220527/models.rb', line 1393
    
    def RobotId
      @RobotId
    end

    #RTCSystemObject

  • Play:播放
  • Pause:暂停
  • Destroy:销毁
  • TRTC
  • RepeatPlaylist:列表循环
  • Order:顺序播放
  • RepeatSingle:单曲循环
  • Shuffle:随机播放
  • Parameters:

    • RobotId:

      机器人Id。

    • Status:

      状态,取值有:

    • Playlists:

      播放列表。

    • CurIndex:

      当前歌单索引位置。

    • Position:

      播放进度,单位:毫秒。

    • SetAudioParamInput:

      音频参数。

    • JoinRoomInput:

      进房信息。

    • RTCSystem:

      RTC厂商类型,取值有:

    • SetPlayModeInput:

      播放模式,PlayMode取值有:

    
    
    1393
    1394
    1395
    # File 'lib/v20220527/models.rb', line 1393
    
    def RTCSystem
      @RTCSystem
    end

    #SetAudioParamInputObject

  • Play:播放
  • Pause:暂停
  • Destroy:销毁
  • TRTC
  • RepeatPlaylist:列表循环
  • Order:顺序播放
  • RepeatSingle:单曲循环
  • Shuffle:随机播放
  • Parameters:

    • RobotId:

      机器人Id。

    • Status:

      状态,取值有:

    • Playlists:

      播放列表。

    • CurIndex:

      当前歌单索引位置。

    • Position:

      播放进度,单位:毫秒。

    • SetAudioParamInput:

      音频参数。

    • JoinRoomInput:

      进房信息。

    • RTCSystem:

      RTC厂商类型,取值有:

    • SetPlayModeInput:

      播放模式,PlayMode取值有:

    
    
    1393
    1394
    1395
    # File 'lib/v20220527/models.rb', line 1393
    
    def SetAudioParamInput
      @SetAudioParamInput
    end

    #SetPlayModeInputObject

  • Play:播放
  • Pause:暂停
  • Destroy:销毁
  • TRTC
  • RepeatPlaylist:列表循环
  • Order:顺序播放
  • RepeatSingle:单曲循环
  • Shuffle:随机播放
  • Parameters:

    • RobotId:

      机器人Id。

    • Status:

      状态,取值有:

    • Playlists:

      播放列表。

    • CurIndex:

      当前歌单索引位置。

    • Position:

      播放进度,单位:毫秒。

    • SetAudioParamInput:

      音频参数。

    • JoinRoomInput:

      进房信息。

    • RTCSystem:

      RTC厂商类型,取值有:

    • SetPlayModeInput:

      播放模式,PlayMode取值有:

    
    
    1393
    1394
    1395
    # File 'lib/v20220527/models.rb', line 1393
    
    def SetPlayModeInput
      @SetPlayModeInput
    end

    #StatusObject

  • Play:播放
  • Pause:暂停
  • Destroy:销毁
  • TRTC
  • RepeatPlaylist:列表循环
  • Order:顺序播放
  • RepeatSingle:单曲循环
  • Shuffle:随机播放
  • Parameters:

    • RobotId:

      机器人Id。

    • Status:

      状态,取值有:

    • Playlists:

      播放列表。

    • CurIndex:

      当前歌单索引位置。

    • Position:

      播放进度,单位:毫秒。

    • SetAudioParamInput:

      音频参数。

    • JoinRoomInput:

      进房信息。

    • RTCSystem:

      RTC厂商类型,取值有:

    • SetPlayModeInput:

      播放模式,PlayMode取值有:

    
    
    1393
    1394
    1395
    # File 'lib/v20220527/models.rb', line 1393
    
    def Status
      @Status
    end

    Instance Method Details

    #deserialize(params) ⇒ Object

    
    
    1407
    1408
    1409
    1410
    1411
    1412
    1413
    1414
    1415
    1416
    1417
    1418
    1419
    1420
    1421
    1422
    1423
    1424
    1425
    1426
    # File 'lib/v20220527/models.rb', line 1407
    
    def deserialize(params)
      @RobotId = params['RobotId']
      @Status = params['Status']
      @Playlists = params['Playlists']
      @CurIndex = params['CurIndex']
      @Position = params['Position']
      unless params['SetAudioParamInput'].nil?
        @SetAudioParamInput = SetAudioParamCommandInput.new
        @SetAudioParamInput.deserialize(params['SetAudioParamInput'])
      end
      unless params['JoinRoomInput'].nil?
        @JoinRoomInput = JoinRoomInput.new
        @JoinRoomInput.deserialize(params['JoinRoomInput'])
      end
      @RTCSystem = params['RTCSystem']
      unless params['SetPlayModeInput'].nil?
        @SetPlayModeInput = SetPlayModeCommandInput.new
        @SetPlayModeInput.deserialize(params['SetPlayModeInput'])
      end
    end