Class: TencentCloud::Ame::V20190916::SetPlayModeCommandInput

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

Overview

设置播放模式

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(playmode = nil) ⇒ SetPlayModeCommandInput

Returns a new instance of SetPlayModeCommandInput.



2736
2737
2738
# File 'lib/v20190916/models.rb', line 2736

def initialize(playmode=nil)
  @PlayMode = playmode
end

Instance Attribute Details

#PlayModeObject

  • RepeatPlaylist:列表循环
  • Order:顺序播放
  • RepeatSingle:单曲循环
  • Shuffle:随机播放
  • Parameters:

    • PlayMode:

      播放模式,取值有:

    
    
    2734
    2735
    2736
    # File 'lib/v20190916/models.rb', line 2734
    
    def PlayMode
      @PlayMode
    end

    Instance Method Details

    #deserialize(params) ⇒ Object

    
    
    2740
    2741
    2742
    # File 'lib/v20190916/models.rb', line 2740
    
    def deserialize(params)
      @PlayMode = params['PlayMode']
    end