Class: TencentCloud::Ame::V20190916::DescribeItemsRequest

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

Overview

DescribeItems请求参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(offset = nil, limit = nil, categoryid = nil, categorycode = nil) ⇒ DescribeItemsRequest

Returns a new instance of DescribeItemsRequest.



526
527
528
529
530
531
# File 'lib/v20190916/models.rb', line 526

def initialize(offset=nil, limit=nil, categoryid=nil, categorycode=nil)
  @Offset = offset
  @Limit = limit
  @CategoryId = categoryid
  @CategoryCode = categorycode
end

Instance Attribute Details

#CategoryCodeObject

Parameters:

  • Offset:

    offset (Default = 0),(当前页-1) * Limit

  • Limit:

    条数,必须大于0,最大值为30

  • CategoryId:

    (电台/歌单)ID,CategoryId和CategoryCode两个必传1个,可以从<a href=“cloud.tencent.com/document/product/1155/40109”>获取分类内容(Station)列表接口</a>中获取。

  • CategoryCode:

    (电台/歌单)ID,CategoryId和CategoryCode两个必传1个,可以从<a href=“cloud.tencent.com/document/product/1155/40109”>获取分类内容(Station)列表接口</a>中获取。



524
525
526
# File 'lib/v20190916/models.rb', line 524

def CategoryCode
  @CategoryCode
end

#CategoryIdObject

Parameters:

  • Offset:

    offset (Default = 0),(当前页-1) * Limit

  • Limit:

    条数,必须大于0,最大值为30

  • CategoryId:

    (电台/歌单)ID,CategoryId和CategoryCode两个必传1个,可以从<a href=“cloud.tencent.com/document/product/1155/40109”>获取分类内容(Station)列表接口</a>中获取。

  • CategoryCode:

    (电台/歌单)ID,CategoryId和CategoryCode两个必传1个,可以从<a href=“cloud.tencent.com/document/product/1155/40109”>获取分类内容(Station)列表接口</a>中获取。



524
525
526
# File 'lib/v20190916/models.rb', line 524

def CategoryId
  @CategoryId
end

#LimitObject

Parameters:

  • Offset:

    offset (Default = 0),(当前页-1) * Limit

  • Limit:

    条数,必须大于0,最大值为30

  • CategoryId:

    (电台/歌单)ID,CategoryId和CategoryCode两个必传1个,可以从<a href=“cloud.tencent.com/document/product/1155/40109”>获取分类内容(Station)列表接口</a>中获取。

  • CategoryCode:

    (电台/歌单)ID,CategoryId和CategoryCode两个必传1个,可以从<a href=“cloud.tencent.com/document/product/1155/40109”>获取分类内容(Station)列表接口</a>中获取。



524
525
526
# File 'lib/v20190916/models.rb', line 524

def Limit
  @Limit
end

#OffsetObject

Parameters:

  • Offset:

    offset (Default = 0),(当前页-1) * Limit

  • Limit:

    条数,必须大于0,最大值为30

  • CategoryId:

    (电台/歌单)ID,CategoryId和CategoryCode两个必传1个,可以从<a href=“cloud.tencent.com/document/product/1155/40109”>获取分类内容(Station)列表接口</a>中获取。

  • CategoryCode:

    (电台/歌单)ID,CategoryId和CategoryCode两个必传1个,可以从<a href=“cloud.tencent.com/document/product/1155/40109”>获取分类内容(Station)列表接口</a>中获取。



524
525
526
# File 'lib/v20190916/models.rb', line 524

def Offset
  @Offset
end

Instance Method Details

#deserialize(params) ⇒ Object



533
534
535
536
537
538
# File 'lib/v20190916/models.rb', line 533

def deserialize(params)
  @Offset = params['Offset']
  @Limit = params['Limit']
  @CategoryId = params['CategoryId']
  @CategoryCode = params['CategoryCode']
end