Class: TencentCloud::Ame::V20190916::KTVRobotInfo

Inherits:
Common::AbstractModel
  • Object
show all
Defined in:
lib/v20190916/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:随机播放
  • .
  • #SetRealVolumeInput ⇒ Object
  • Play:播放
  • Pause:暂停
  • Destroy:销毁
  • TRTC
  • RepeatPlaylist:列表循环
  • Order:顺序播放
  • RepeatSingle:单曲循环
  • Shuffle:随机播放
  • .
  • #SetVolumeInput ⇒ 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, setvolumeinput = nil, setrealvolumeinput = nil) ⇒ KTVRobotInfo

    Returns a new instance of KTVRobotInfo.

    
    
    1950
    1951
    1952
    1953
    1954
    1955
    1956
    1957
    1958
    1959
    1960
    1961
    1962
    # File 'lib/v20190916/models.rb', line 1950
    
    def initialize(robotid=nil, status=nil, playlists=nil, curindex=nil, position=nil, setaudioparaminput=nil, joinroominput=nil, rtcsystem=nil, setplaymodeinput=nil, setvolumeinput=nil, setrealvolumeinput=nil)
      @RobotId = robotid
      @Status = status
      @Playlists = playlists
      @CurIndex = curindex
      @Position = position
      @SetAudioParamInput = setaudioparaminput
      @JoinRoomInput = joinroominput
      @RTCSystem = rtcsystem
      @SetPlayModeInput = setplaymodeinput
      @SetVolumeInput = setvolumeinput
      @SetRealVolumeInput = setrealvolumeinput
    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取值有:

    • SetVolumeInput: (del)

      音量,范围 0~100,默认为 50。(已废弃,请采用 SetRealVolumeInput )

    • SetRealVolumeInput:

      真实音量,范围 0~100,默认为 50。

    
    
    1948
    1949
    1950
    # File 'lib/v20190916/models.rb', line 1948
    
    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取值有:

    • SetVolumeInput: (del)

      音量,范围 0~100,默认为 50。(已废弃,请采用 SetRealVolumeInput )

    • SetRealVolumeInput:

      真实音量,范围 0~100,默认为 50。

    
    
    1948
    1949
    1950
    # File 'lib/v20190916/models.rb', line 1948
    
    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取值有:

    • SetVolumeInput: (del)

      音量,范围 0~100,默认为 50。(已废弃,请采用 SetRealVolumeInput )

    • SetRealVolumeInput:

      真实音量,范围 0~100,默认为 50。

    
    
    1948
    1949
    1950
    # File 'lib/v20190916/models.rb', line 1948
    
    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取值有:

    • SetVolumeInput: (del)

      音量,范围 0~100,默认为 50。(已废弃,请采用 SetRealVolumeInput )

    • SetRealVolumeInput:

      真实音量,范围 0~100,默认为 50。

    
    
    1948
    1949
    1950
    # File 'lib/v20190916/models.rb', line 1948
    
    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取值有:

    • SetVolumeInput: (del)

      音量,范围 0~100,默认为 50。(已废弃,请采用 SetRealVolumeInput )

    • SetRealVolumeInput:

      真实音量,范围 0~100,默认为 50。

    
    
    1948
    1949
    1950
    # File 'lib/v20190916/models.rb', line 1948
    
    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取值有:

    • SetVolumeInput: (del)

      音量,范围 0~100,默认为 50。(已废弃,请采用 SetRealVolumeInput )

    • SetRealVolumeInput:

      真实音量,范围 0~100,默认为 50。

    
    
    1948
    1949
    1950
    # File 'lib/v20190916/models.rb', line 1948
    
    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取值有:

    • SetVolumeInput: (del)

      音量,范围 0~100,默认为 50。(已废弃,请采用 SetRealVolumeInput )

    • SetRealVolumeInput:

      真实音量,范围 0~100,默认为 50。

    
    
    1948
    1949
    1950
    # File 'lib/v20190916/models.rb', line 1948
    
    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取值有:

    • SetVolumeInput: (del)

      音量,范围 0~100,默认为 50。(已废弃,请采用 SetRealVolumeInput )

    • SetRealVolumeInput:

      真实音量,范围 0~100,默认为 50。

    
    
    1948
    1949
    1950
    # File 'lib/v20190916/models.rb', line 1948
    
    def SetPlayModeInput
      @SetPlayModeInput
    end
    

    #SetRealVolumeInputObject

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

    • RobotId:

      机器人Id。

    • Status:

      状态,取值有:

    • Playlists:

      播放列表。

    • CurIndex:

      当前歌单索引位置。

    • Position:

      播放进度,单位:毫秒。

    • SetAudioParamInput:

      音频参数。

    • JoinRoomInput:

      进房信息。

    • RTCSystem:

      RTC厂商类型,取值有:

    • SetPlayModeInput:

      播放模式,PlayMode取值有:

    • SetVolumeInput: (del)

      音量,范围 0~100,默认为 50。(已废弃,请采用 SetRealVolumeInput )

    • SetRealVolumeInput:

      真实音量,范围 0~100,默认为 50。

    
    
    1948
    1949
    1950
    # File 'lib/v20190916/models.rb', line 1948
    
    def SetRealVolumeInput
      @SetRealVolumeInput
    end
    

    #SetVolumeInputObject

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

    • RobotId:

      机器人Id。

    • Status:

      状态,取值有:

    • Playlists:

      播放列表。

    • CurIndex:

      当前歌单索引位置。

    • Position:

      播放进度,单位:毫秒。

    • SetAudioParamInput:

      音频参数。

    • JoinRoomInput:

      进房信息。

    • RTCSystem:

      RTC厂商类型,取值有:

    • SetPlayModeInput:

      播放模式,PlayMode取值有:

    • SetVolumeInput: (del)

      音量,范围 0~100,默认为 50。(已废弃,请采用 SetRealVolumeInput )

    • SetRealVolumeInput:

      真实音量,范围 0~100,默认为 50。

    
    
    1948
    1949
    1950
    # File 'lib/v20190916/models.rb', line 1948
    
    def SetVolumeInput
      @SetVolumeInput
    end
    

    #StatusObject

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

    • RobotId:

      机器人Id。

    • Status:

      状态,取值有:

    • Playlists:

      播放列表。

    • CurIndex:

      当前歌单索引位置。

    • Position:

      播放进度,单位:毫秒。

    • SetAudioParamInput:

      音频参数。

    • JoinRoomInput:

      进房信息。

    • RTCSystem:

      RTC厂商类型,取值有:

    • SetPlayModeInput:

      播放模式,PlayMode取值有:

    • SetVolumeInput: (del)

      音量,范围 0~100,默认为 50。(已废弃,请采用 SetRealVolumeInput )

    • SetRealVolumeInput:

      真实音量,范围 0~100,默认为 50。

    
    
    1948
    1949
    1950
    # File 'lib/v20190916/models.rb', line 1948
    
    def Status
      @Status
    end
    

    Instance Method Details

    #deserialize(params) ⇒ Object

    
    
    1964
    1965
    1966
    1967
    1968
    1969
    1970
    1971
    1972
    1973
    1974
    1975
    1976
    1977
    1978
    1979
    1980
    1981
    1982
    1983
    1984
    1985
    1986
    1987
    1988
    1989
    1990
    1991
    # File 'lib/v20190916/models.rb', line 1964
    
    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
      unless params['SetVolumeInput'].nil?
        @SetVolumeInput = SetVolumeCommandInput.new
        @SetVolumeInput.deserialize(params['SetVolumeInput'])
      end
      unless params['SetRealVolumeInput'].nil?
        @SetRealVolumeInput = SetRealVolumeCommandInput.new
        @SetRealVolumeInput.deserialize(params['SetRealVolumeInput'])
      end
    end