Class: TencentCloud::Ame::V20190916::DescribeKTVTopListRequest

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

Overview

DescribeKTVTopList请求参数结构体

Instance Attribute Summary collapse

  • #Type ⇒ Object
  • Hot, 热歌榜。
  • Week, 周榜。
  • Month, 月榜。
  • .

    Instance Method Summary collapse

    Constructor Details

    #initialize(type = nil, period = nil) ⇒ DescribeKTVTopListRequest

    Returns a new instance of DescribeKTVTopListRequest.

    
    
    1124
    1125
    1126
    1127
    # File 'lib/v20190916/models.rb', line 1124
    
    def initialize(type=nil, period=nil)
      @Type = type
      @Period = period
    end

    Instance Attribute Details

    #PeriodObject

  • Hot, 热歌榜。
  • Week, 周榜。
  • Month, 月榜。
  • Parameters:

    • Type:

      榜单类型。默认Hot

    • Period:

      榜单周期 默认为Week

    
    
    1122
    1123
    1124
    # File 'lib/v20190916/models.rb', line 1122
    
    def Period
      @Period
    end

    #TypeObject

  • Hot, 热歌榜。
  • Week, 周榜。
  • Month, 月榜。
  • Parameters:

    • Type:

      榜单类型。默认Hot

    • Period:

      榜单周期 默认为Week

    
    
    1122
    1123
    1124
    # File 'lib/v20190916/models.rb', line 1122
    
    def Type
      @Type
    end

    Instance Method Details

    #deserialize(params) ⇒ Object

    
    
    1129
    1130
    1131
    1132
    # File 'lib/v20190916/models.rb', line 1129
    
    def deserialize(params)
      @Type = params['Type']
      @Period = params['Period']
    end