Class: TencentCloud::Ame::V20190916::SyncKTVRobotCommandRequest

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

Overview

SyncKTVRobotCommand请求参数结构体

Instance Attribute Summary collapse

  • #PlayCommandInput ⇒ Object
  • Play:播放
  • Pause:暂停
  • SwitchPrevious:上一首
  • SwitchNext:下一首
  • SetPlayMode:设置播放模式
  • Seek:调整播放进度
  • SetPlaylist:歌单变更
  • SetAudioParam:音频参数变更
  • SendMessage:发送自定义消息
  • SetDestroyMode:设置销毁模式
  • SetVolume:设置音量(已废弃,请采用 SetRealVolume)
  • SetRealVolume:设置真实音量
  • (已废弃,请采用 SetRealVolumeCommandInput ).
  • #RobotId ⇒ Object
  • Play:播放
  • Pause:暂停
  • SwitchPrevious:上一首
  • SwitchNext:下一首
  • SetPlayMode:设置播放模式
  • Seek:调整播放进度
  • SetPlaylist:歌单变更
  • SetAudioParam:音频参数变更
  • SendMessage:发送自定义消息
  • SetDestroyMode:设置销毁模式
  • SetVolume:设置音量(已废弃,请采用 SetRealVolume)
  • SetRealVolume:设置真实音量
  • (已废弃,请采用 SetRealVolumeCommandInput ).
  • #SeekCommandInput ⇒ Object
  • Play:播放
  • Pause:暂停
  • SwitchPrevious:上一首
  • SwitchNext:下一首
  • SetPlayMode:设置播放模式
  • Seek:调整播放进度
  • SetPlaylist:歌单变更
  • SetAudioParam:音频参数变更
  • SendMessage:发送自定义消息
  • SetDestroyMode:设置销毁模式
  • SetVolume:设置音量(已废弃,请采用 SetRealVolume)
  • SetRealVolume:设置真实音量
  • (已废弃,请采用 SetRealVolumeCommandInput ).
  • #SendMessageCommandInput ⇒ Object
  • Play:播放
  • Pause:暂停
  • SwitchPrevious:上一首
  • SwitchNext:下一首
  • SetPlayMode:设置播放模式
  • Seek:调整播放进度
  • SetPlaylist:歌单变更
  • SetAudioParam:音频参数变更
  • SendMessage:发送自定义消息
  • SetDestroyMode:设置销毁模式
  • SetVolume:设置音量(已废弃,请采用 SetRealVolume)
  • SetRealVolume:设置真实音量
  • (已废弃,请采用 SetRealVolumeCommandInput ).
  • #SetAudioParamCommandInput ⇒ Object
  • Play:播放
  • Pause:暂停
  • SwitchPrevious:上一首
  • SwitchNext:下一首
  • SetPlayMode:设置播放模式
  • Seek:调整播放进度
  • SetPlaylist:歌单变更
  • SetAudioParam:音频参数变更
  • SendMessage:发送自定义消息
  • SetDestroyMode:设置销毁模式
  • SetVolume:设置音量(已废弃,请采用 SetRealVolume)
  • SetRealVolume:设置真实音量
  • (已废弃,请采用 SetRealVolumeCommandInput ).
  • #SetDestroyModeCommandInput ⇒ Object
  • Play:播放
  • Pause:暂停
  • SwitchPrevious:上一首
  • SwitchNext:下一首
  • SetPlayMode:设置播放模式
  • Seek:调整播放进度
  • SetPlaylist:歌单变更
  • SetAudioParam:音频参数变更
  • SendMessage:发送自定义消息
  • SetDestroyMode:设置销毁模式
  • SetVolume:设置音量(已废弃,请采用 SetRealVolume)
  • SetRealVolume:设置真实音量
  • (已废弃,请采用 SetRealVolumeCommandInput ).
  • #SetPlaylistCommandInput ⇒ Object
  • Play:播放
  • Pause:暂停
  • SwitchPrevious:上一首
  • SwitchNext:下一首
  • SetPlayMode:设置播放模式
  • Seek:调整播放进度
  • SetPlaylist:歌单变更
  • SetAudioParam:音频参数变更
  • SendMessage:发送自定义消息
  • SetDestroyMode:设置销毁模式
  • SetVolume:设置音量(已废弃,请采用 SetRealVolume)
  • SetRealVolume:设置真实音量
  • (已废弃,请采用 SetRealVolumeCommandInput ).
  • #SetPlayModeCommandInput ⇒ Object
  • Play:播放
  • Pause:暂停
  • SwitchPrevious:上一首
  • SwitchNext:下一首
  • SetPlayMode:设置播放模式
  • Seek:调整播放进度
  • SetPlaylist:歌单变更
  • SetAudioParam:音频参数变更
  • SendMessage:发送自定义消息
  • SetDestroyMode:设置销毁模式
  • SetVolume:设置音量(已废弃,请采用 SetRealVolume)
  • SetRealVolume:设置真实音量
  • (已废弃,请采用 SetRealVolumeCommandInput ).
  • #SetRealVolumeCommandInput ⇒ Object
  • Play:播放
  • Pause:暂停
  • SwitchPrevious:上一首
  • SwitchNext:下一首
  • SetPlayMode:设置播放模式
  • Seek:调整播放进度
  • SetPlaylist:歌单变更
  • SetAudioParam:音频参数变更
  • SendMessage:发送自定义消息
  • SetDestroyMode:设置销毁模式
  • SetVolume:设置音量(已废弃,请采用 SetRealVolume)
  • SetRealVolume:设置真实音量
  • (已废弃,请采用 SetRealVolumeCommandInput ).
  • #SetVolumeCommandInput ⇒ Object
  • Play:播放
  • Pause:暂停
  • SwitchPrevious:上一首
  • SwitchNext:下一首
  • SetPlayMode:设置播放模式
  • Seek:调整播放进度
  • SetPlaylist:歌单变更
  • SetAudioParam:音频参数变更
  • SendMessage:发送自定义消息
  • SetDestroyMode:设置销毁模式
  • SetVolume:设置音量(已废弃,请采用 SetRealVolume)
  • SetRealVolume:设置真实音量
  • (已废弃,请采用 SetRealVolumeCommandInput ).

    Instance Method Summary collapse

    Constructor Details

    #initialize(robotid = nil, command = nil, playcommandinput = nil, setplaylistcommandinput = nil, seekcommandinput = nil, setaudioparamcommandinput = nil, sendmessagecommandinput = nil, setplaymodecommandinput = nil, setdestroymodecommandinput = nil, setvolumecommandinput = nil, setrealvolumecommandinput = nil) ⇒ SyncKTVRobotCommandRequest

    Returns a new instance of SyncKTVRobotCommandRequest.

    
    
    2920
    2921
    2922
    2923
    2924
    2925
    2926
    2927
    2928
    2929
    2930
    2931
    2932
    # File 'lib/v20190916/models.rb', line 2920
    
    def initialize(robotid=nil, command=nil, playcommandinput=nil, setplaylistcommandinput=nil, seekcommandinput=nil, setaudioparamcommandinput=nil, sendmessagecommandinput=nil, setplaymodecommandinput=nil, setdestroymodecommandinput=nil, setvolumecommandinput=nil, setrealvolumecommandinput=nil)
      @RobotId = robotid
      @Command = command
      @PlayCommandInput = playcommandinput
      @SetPlaylistCommandInput = setplaylistcommandinput
      @SeekCommandInput = seekcommandinput
      @SetAudioParamCommandInput = setaudioparamcommandinput
      @SendMessageCommandInput = sendmessagecommandinput
      @SetPlayModeCommandInput = setplaymodecommandinput
      @SetDestroyModeCommandInput = setdestroymodecommandinput
      @SetVolumeCommandInput = setvolumecommandinput
      @SetRealVolumeCommandInput = setrealvolumecommandinput
    end
    

    Instance Attribute Details

    #CommandObject

  • Play:播放
  • Pause:暂停
  • SwitchPrevious:上一首
  • SwitchNext:下一首
  • SetPlayMode:设置播放模式
  • Seek:调整播放进度
  • SetPlaylist:歌单变更
  • SetAudioParam:音频参数变更
  • SendMessage:发送自定义消息
  • SetDestroyMode:设置销毁模式
  • SetVolume:设置音量(已废弃,请采用 SetRealVolume)
  • SetRealVolume:设置真实音量
  • (已废弃,请采用 SetRealVolumeCommandInput )

    Parameters:

    • RobotId:

      机器人Id。

    • Command:

      指令,取值有:

    • PlayCommandInput:

      播放参数。

    • SetPlaylistCommandInput:

      播放列表变更信息,当Command取SetPlaylist时,必填。

    • SeekCommandInput:

      播放进度,当Command取Seek时,必填。

    • SetAudioParamCommandInput:

      音频参数,当Command取SetAudioParam时,必填。

    • SendMessageCommandInput:

      自定义消息,当Command取SendMessage时,必填。

    • SetPlayModeCommandInput:

      播放模式,当Command取SetPlayMode时,必填。

    • SetDestroyModeCommandInput:

      销毁模式,当Command取SetDestroyMode时,必填。

    • SetVolumeCommandInput: (del)

      音量,当Command取SetVolume时,必填。

    • SetRealVolumeCommandInput:

      真实音量,当Command取SetRealVolume时,必填。

    
    
    2918
    2919
    2920
    # File 'lib/v20190916/models.rb', line 2918
    
    def Command
      @Command
    end
    

    #PlayCommandInputObject

  • Play:播放
  • Pause:暂停
  • SwitchPrevious:上一首
  • SwitchNext:下一首
  • SetPlayMode:设置播放模式
  • Seek:调整播放进度
  • SetPlaylist:歌单变更
  • SetAudioParam:音频参数变更
  • SendMessage:发送自定义消息
  • SetDestroyMode:设置销毁模式
  • SetVolume:设置音量(已废弃,请采用 SetRealVolume)
  • SetRealVolume:设置真实音量
  • (已废弃,请采用 SetRealVolumeCommandInput )

    Parameters:

    • RobotId:

      机器人Id。

    • Command:

      指令,取值有:

    • PlayCommandInput:

      播放参数。

    • SetPlaylistCommandInput:

      播放列表变更信息,当Command取SetPlaylist时,必填。

    • SeekCommandInput:

      播放进度,当Command取Seek时,必填。

    • SetAudioParamCommandInput:

      音频参数,当Command取SetAudioParam时,必填。

    • SendMessageCommandInput:

      自定义消息,当Command取SendMessage时,必填。

    • SetPlayModeCommandInput:

      播放模式,当Command取SetPlayMode时,必填。

    • SetDestroyModeCommandInput:

      销毁模式,当Command取SetDestroyMode时,必填。

    • SetVolumeCommandInput: (del)

      音量,当Command取SetVolume时,必填。

    • SetRealVolumeCommandInput:

      真实音量,当Command取SetRealVolume时,必填。

    
    
    2918
    2919
    2920
    # File 'lib/v20190916/models.rb', line 2918
    
    def PlayCommandInput
      @PlayCommandInput
    end
    

    #RobotIdObject

  • Play:播放
  • Pause:暂停
  • SwitchPrevious:上一首
  • SwitchNext:下一首
  • SetPlayMode:设置播放模式
  • Seek:调整播放进度
  • SetPlaylist:歌单变更
  • SetAudioParam:音频参数变更
  • SendMessage:发送自定义消息
  • SetDestroyMode:设置销毁模式
  • SetVolume:设置音量(已废弃,请采用 SetRealVolume)
  • SetRealVolume:设置真实音量
  • (已废弃,请采用 SetRealVolumeCommandInput )

    Parameters:

    • RobotId:

      机器人Id。

    • Command:

      指令,取值有:

    • PlayCommandInput:

      播放参数。

    • SetPlaylistCommandInput:

      播放列表变更信息,当Command取SetPlaylist时,必填。

    • SeekCommandInput:

      播放进度,当Command取Seek时,必填。

    • SetAudioParamCommandInput:

      音频参数,当Command取SetAudioParam时,必填。

    • SendMessageCommandInput:

      自定义消息,当Command取SendMessage时,必填。

    • SetPlayModeCommandInput:

      播放模式,当Command取SetPlayMode时,必填。

    • SetDestroyModeCommandInput:

      销毁模式,当Command取SetDestroyMode时,必填。

    • SetVolumeCommandInput: (del)

      音量,当Command取SetVolume时,必填。

    • SetRealVolumeCommandInput:

      真实音量,当Command取SetRealVolume时,必填。

    
    
    2918
    2919
    2920
    # File 'lib/v20190916/models.rb', line 2918
    
    def RobotId
      @RobotId
    end
    

    #SeekCommandInputObject

  • Play:播放
  • Pause:暂停
  • SwitchPrevious:上一首
  • SwitchNext:下一首
  • SetPlayMode:设置播放模式
  • Seek:调整播放进度
  • SetPlaylist:歌单变更
  • SetAudioParam:音频参数变更
  • SendMessage:发送自定义消息
  • SetDestroyMode:设置销毁模式
  • SetVolume:设置音量(已废弃,请采用 SetRealVolume)
  • SetRealVolume:设置真实音量
  • (已废弃,请采用 SetRealVolumeCommandInput )

    Parameters:

    • RobotId:

      机器人Id。

    • Command:

      指令,取值有:

    • PlayCommandInput:

      播放参数。

    • SetPlaylistCommandInput:

      播放列表变更信息,当Command取SetPlaylist时,必填。

    • SeekCommandInput:

      播放进度,当Command取Seek时,必填。

    • SetAudioParamCommandInput:

      音频参数,当Command取SetAudioParam时,必填。

    • SendMessageCommandInput:

      自定义消息,当Command取SendMessage时,必填。

    • SetPlayModeCommandInput:

      播放模式,当Command取SetPlayMode时,必填。

    • SetDestroyModeCommandInput:

      销毁模式,当Command取SetDestroyMode时,必填。

    • SetVolumeCommandInput: (del)

      音量,当Command取SetVolume时,必填。

    • SetRealVolumeCommandInput:

      真实音量,当Command取SetRealVolume时,必填。

    
    
    2918
    2919
    2920
    # File 'lib/v20190916/models.rb', line 2918
    
    def SeekCommandInput
      @SeekCommandInput
    end
    

    #SendMessageCommandInputObject

  • Play:播放
  • Pause:暂停
  • SwitchPrevious:上一首
  • SwitchNext:下一首
  • SetPlayMode:设置播放模式
  • Seek:调整播放进度
  • SetPlaylist:歌单变更
  • SetAudioParam:音频参数变更
  • SendMessage:发送自定义消息
  • SetDestroyMode:设置销毁模式
  • SetVolume:设置音量(已废弃,请采用 SetRealVolume)
  • SetRealVolume:设置真实音量
  • (已废弃,请采用 SetRealVolumeCommandInput )

    Parameters:

    • RobotId:

      机器人Id。

    • Command:

      指令,取值有:

    • PlayCommandInput:

      播放参数。

    • SetPlaylistCommandInput:

      播放列表变更信息,当Command取SetPlaylist时,必填。

    • SeekCommandInput:

      播放进度,当Command取Seek时,必填。

    • SetAudioParamCommandInput:

      音频参数,当Command取SetAudioParam时,必填。

    • SendMessageCommandInput:

      自定义消息,当Command取SendMessage时,必填。

    • SetPlayModeCommandInput:

      播放模式,当Command取SetPlayMode时,必填。

    • SetDestroyModeCommandInput:

      销毁模式,当Command取SetDestroyMode时,必填。

    • SetVolumeCommandInput: (del)

      音量,当Command取SetVolume时,必填。

    • SetRealVolumeCommandInput:

      真实音量,当Command取SetRealVolume时,必填。

    
    
    2918
    2919
    2920
    # File 'lib/v20190916/models.rb', line 2918
    
    def SendMessageCommandInput
      @SendMessageCommandInput
    end
    

    #SetAudioParamCommandInputObject

  • Play:播放
  • Pause:暂停
  • SwitchPrevious:上一首
  • SwitchNext:下一首
  • SetPlayMode:设置播放模式
  • Seek:调整播放进度
  • SetPlaylist:歌单变更
  • SetAudioParam:音频参数变更
  • SendMessage:发送自定义消息
  • SetDestroyMode:设置销毁模式
  • SetVolume:设置音量(已废弃,请采用 SetRealVolume)
  • SetRealVolume:设置真实音量
  • (已废弃,请采用 SetRealVolumeCommandInput )

    Parameters:

    • RobotId:

      机器人Id。

    • Command:

      指令,取值有:

    • PlayCommandInput:

      播放参数。

    • SetPlaylistCommandInput:

      播放列表变更信息,当Command取SetPlaylist时,必填。

    • SeekCommandInput:

      播放进度,当Command取Seek时,必填。

    • SetAudioParamCommandInput:

      音频参数,当Command取SetAudioParam时,必填。

    • SendMessageCommandInput:

      自定义消息,当Command取SendMessage时,必填。

    • SetPlayModeCommandInput:

      播放模式,当Command取SetPlayMode时,必填。

    • SetDestroyModeCommandInput:

      销毁模式,当Command取SetDestroyMode时,必填。

    • SetVolumeCommandInput: (del)

      音量,当Command取SetVolume时,必填。

    • SetRealVolumeCommandInput:

      真实音量,当Command取SetRealVolume时,必填。

    
    
    2918
    2919
    2920
    # File 'lib/v20190916/models.rb', line 2918
    
    def SetAudioParamCommandInput
      @SetAudioParamCommandInput
    end
    

    #SetDestroyModeCommandInputObject

  • Play:播放
  • Pause:暂停
  • SwitchPrevious:上一首
  • SwitchNext:下一首
  • SetPlayMode:设置播放模式
  • Seek:调整播放进度
  • SetPlaylist:歌单变更
  • SetAudioParam:音频参数变更
  • SendMessage:发送自定义消息
  • SetDestroyMode:设置销毁模式
  • SetVolume:设置音量(已废弃,请采用 SetRealVolume)
  • SetRealVolume:设置真实音量
  • (已废弃,请采用 SetRealVolumeCommandInput )

    Parameters:

    • RobotId:

      机器人Id。

    • Command:

      指令,取值有:

    • PlayCommandInput:

      播放参数。

    • SetPlaylistCommandInput:

      播放列表变更信息,当Command取SetPlaylist时,必填。

    • SeekCommandInput:

      播放进度,当Command取Seek时,必填。

    • SetAudioParamCommandInput:

      音频参数,当Command取SetAudioParam时,必填。

    • SendMessageCommandInput:

      自定义消息,当Command取SendMessage时,必填。

    • SetPlayModeCommandInput:

      播放模式,当Command取SetPlayMode时,必填。

    • SetDestroyModeCommandInput:

      销毁模式,当Command取SetDestroyMode时,必填。

    • SetVolumeCommandInput: (del)

      音量,当Command取SetVolume时,必填。

    • SetRealVolumeCommandInput:

      真实音量,当Command取SetRealVolume时,必填。

    
    
    2918
    2919
    2920
    # File 'lib/v20190916/models.rb', line 2918
    
    def SetDestroyModeCommandInput
      @SetDestroyModeCommandInput
    end
    

    #SetPlaylistCommandInputObject

  • Play:播放
  • Pause:暂停
  • SwitchPrevious:上一首
  • SwitchNext:下一首
  • SetPlayMode:设置播放模式
  • Seek:调整播放进度
  • SetPlaylist:歌单变更
  • SetAudioParam:音频参数变更
  • SendMessage:发送自定义消息
  • SetDestroyMode:设置销毁模式
  • SetVolume:设置音量(已废弃,请采用 SetRealVolume)
  • SetRealVolume:设置真实音量
  • (已废弃,请采用 SetRealVolumeCommandInput )

    Parameters:

    • RobotId:

      机器人Id。

    • Command:

      指令,取值有:

    • PlayCommandInput:

      播放参数。

    • SetPlaylistCommandInput:

      播放列表变更信息,当Command取SetPlaylist时,必填。

    • SeekCommandInput:

      播放进度,当Command取Seek时,必填。

    • SetAudioParamCommandInput:

      音频参数,当Command取SetAudioParam时,必填。

    • SendMessageCommandInput:

      自定义消息,当Command取SendMessage时,必填。

    • SetPlayModeCommandInput:

      播放模式,当Command取SetPlayMode时,必填。

    • SetDestroyModeCommandInput:

      销毁模式,当Command取SetDestroyMode时,必填。

    • SetVolumeCommandInput: (del)

      音量,当Command取SetVolume时,必填。

    • SetRealVolumeCommandInput:

      真实音量,当Command取SetRealVolume时,必填。

    
    
    2918
    2919
    2920
    # File 'lib/v20190916/models.rb', line 2918
    
    def SetPlaylistCommandInput
      @SetPlaylistCommandInput
    end
    

    #SetPlayModeCommandInputObject

  • Play:播放
  • Pause:暂停
  • SwitchPrevious:上一首
  • SwitchNext:下一首
  • SetPlayMode:设置播放模式
  • Seek:调整播放进度
  • SetPlaylist:歌单变更
  • SetAudioParam:音频参数变更
  • SendMessage:发送自定义消息
  • SetDestroyMode:设置销毁模式
  • SetVolume:设置音量(已废弃,请采用 SetRealVolume)
  • SetRealVolume:设置真实音量
  • (已废弃,请采用 SetRealVolumeCommandInput )

    Parameters:

    • RobotId:

      机器人Id。

    • Command:

      指令,取值有:

    • PlayCommandInput:

      播放参数。

    • SetPlaylistCommandInput:

      播放列表变更信息,当Command取SetPlaylist时,必填。

    • SeekCommandInput:

      播放进度,当Command取Seek时,必填。

    • SetAudioParamCommandInput:

      音频参数,当Command取SetAudioParam时,必填。

    • SendMessageCommandInput:

      自定义消息,当Command取SendMessage时,必填。

    • SetPlayModeCommandInput:

      播放模式,当Command取SetPlayMode时,必填。

    • SetDestroyModeCommandInput:

      销毁模式,当Command取SetDestroyMode时,必填。

    • SetVolumeCommandInput: (del)

      音量,当Command取SetVolume时,必填。

    • SetRealVolumeCommandInput:

      真实音量,当Command取SetRealVolume时,必填。

    
    
    2918
    2919
    2920
    # File 'lib/v20190916/models.rb', line 2918
    
    def SetPlayModeCommandInput
      @SetPlayModeCommandInput
    end
    

    #SetRealVolumeCommandInputObject

  • Play:播放
  • Pause:暂停
  • SwitchPrevious:上一首
  • SwitchNext:下一首
  • SetPlayMode:设置播放模式
  • Seek:调整播放进度
  • SetPlaylist:歌单变更
  • SetAudioParam:音频参数变更
  • SendMessage:发送自定义消息
  • SetDestroyMode:设置销毁模式
  • SetVolume:设置音量(已废弃,请采用 SetRealVolume)
  • SetRealVolume:设置真实音量
  • (已废弃,请采用 SetRealVolumeCommandInput )

    Parameters:

    • RobotId:

      机器人Id。

    • Command:

      指令,取值有:

    • PlayCommandInput:

      播放参数。

    • SetPlaylistCommandInput:

      播放列表变更信息,当Command取SetPlaylist时,必填。

    • SeekCommandInput:

      播放进度,当Command取Seek时,必填。

    • SetAudioParamCommandInput:

      音频参数,当Command取SetAudioParam时,必填。

    • SendMessageCommandInput:

      自定义消息,当Command取SendMessage时,必填。

    • SetPlayModeCommandInput:

      播放模式,当Command取SetPlayMode时,必填。

    • SetDestroyModeCommandInput:

      销毁模式,当Command取SetDestroyMode时,必填。

    • SetVolumeCommandInput: (del)

      音量,当Command取SetVolume时,必填。

    • SetRealVolumeCommandInput:

      真实音量,当Command取SetRealVolume时,必填。

    
    
    2918
    2919
    2920
    # File 'lib/v20190916/models.rb', line 2918
    
    def SetRealVolumeCommandInput
      @SetRealVolumeCommandInput
    end
    

    #SetVolumeCommandInputObject

  • Play:播放
  • Pause:暂停
  • SwitchPrevious:上一首
  • SwitchNext:下一首
  • SetPlayMode:设置播放模式
  • Seek:调整播放进度
  • SetPlaylist:歌单变更
  • SetAudioParam:音频参数变更
  • SendMessage:发送自定义消息
  • SetDestroyMode:设置销毁模式
  • SetVolume:设置音量(已废弃,请采用 SetRealVolume)
  • SetRealVolume:设置真实音量
  • (已废弃,请采用 SetRealVolumeCommandInput )

    Parameters:

    • RobotId:

      机器人Id。

    • Command:

      指令,取值有:

    • PlayCommandInput:

      播放参数。

    • SetPlaylistCommandInput:

      播放列表变更信息,当Command取SetPlaylist时,必填。

    • SeekCommandInput:

      播放进度,当Command取Seek时,必填。

    • SetAudioParamCommandInput:

      音频参数,当Command取SetAudioParam时,必填。

    • SendMessageCommandInput:

      自定义消息,当Command取SendMessage时,必填。

    • SetPlayModeCommandInput:

      播放模式,当Command取SetPlayMode时,必填。

    • SetDestroyModeCommandInput:

      销毁模式,当Command取SetDestroyMode时,必填。

    • SetVolumeCommandInput: (del)

      音量,当Command取SetVolume时,必填。

    • SetRealVolumeCommandInput:

      真实音量,当Command取SetRealVolume时,必填。

    
    
    2918
    2919
    2920
    # File 'lib/v20190916/models.rb', line 2918
    
    def SetVolumeCommandInput
      @SetVolumeCommandInput
    end
    

    Instance Method Details

    #deserialize(params) ⇒ Object

    
    
    2934
    2935
    2936
    2937
    2938
    2939
    2940
    2941
    2942
    2943
    2944
    2945
    2946
    2947
    2948
    2949
    2950
    2951
    2952
    2953
    2954
    2955
    2956
    2957
    2958
    2959
    2960
    2961
    2962
    2963
    2964
    2965
    2966
    2967
    2968
    2969
    2970
    2971
    2972
    2973
    # File 'lib/v20190916/models.rb', line 2934
    
    def deserialize(params)
      @RobotId = params['RobotId']
      @Command = params['Command']
      unless params['PlayCommandInput'].nil?
        @PlayCommandInput = PlayCommandInput.new
        @PlayCommandInput.deserialize(params['PlayCommandInput'])
      end
      unless params['SetPlaylistCommandInput'].nil?
        @SetPlaylistCommandInput = SetPlaylistCommandInput.new
        @SetPlaylistCommandInput.deserialize(params['SetPlaylistCommandInput'])
      end
      unless params['SeekCommandInput'].nil?
        @SeekCommandInput = SeekCommandInput.new
        @SeekCommandInput.deserialize(params['SeekCommandInput'])
      end
      unless params['SetAudioParamCommandInput'].nil?
        @SetAudioParamCommandInput = SetAudioParamCommandInput.new
        @SetAudioParamCommandInput.deserialize(params['SetAudioParamCommandInput'])
      end
      unless params['SendMessageCommandInput'].nil?
        @SendMessageCommandInput = SendMessageCommandInput.new
        @SendMessageCommandInput.deserialize(params['SendMessageCommandInput'])
      end
      unless params['SetPlayModeCommandInput'].nil?
        @SetPlayModeCommandInput = SetPlayModeCommandInput.new
        @SetPlayModeCommandInput.deserialize(params['SetPlayModeCommandInput'])
      end
      unless params['SetDestroyModeCommandInput'].nil?
        @SetDestroyModeCommandInput = SetDestroyModeCommandInput.new
        @SetDestroyModeCommandInput.deserialize(params['SetDestroyModeCommandInput'])
      end
      unless params['SetVolumeCommandInput'].nil?
        @SetVolumeCommandInput = SetVolumeCommandInput.new
        @SetVolumeCommandInput.deserialize(params['SetVolumeCommandInput'])
      end
      unless params['SetRealVolumeCommandInput'].nil?
        @SetRealVolumeCommandInput = SetRealVolumeCommandInput.new
        @SetRealVolumeCommandInput.deserialize(params['SetRealVolumeCommandInput'])
      end
    end