Class: TencentCloud::Ame::V20190916::DescribeMusicRequest

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

Overview

DescribeMusic请求参数结构体

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(itemid = nil, identityid = nil, subitemtype = nil, ssl = nil) ⇒ DescribeMusicRequest

Returns a new instance of DescribeMusicRequest.



1227
1228
1229
1230
1231
1232
# File 'lib/v20190916/models.rb', line 1227

def initialize(itemid=nil, identityid=nil, subitemtype=nil, ssl=nil)
  @ItemId = itemid
  @IdentityId = identityid
  @SubItemType = subitemtype
  @Ssl = ssl
end

Instance Attribute Details

#IdentityIdObject

MP3-320K-FTD 为获取320kbps已核验歌曲完整资源。Values:Y , N(default)

Parameters:

  • ItemId:

    歌曲ID

  • IdentityId:

    在应用前端播放音乐C端用户的唯一标识。无需是账户信息,用户唯一标识即可。

  • SubItemType:

    MP3-320K-FTD-P 为获取320kbps歌曲热门片段。

  • Ssl:

    CDN URL Protocol:HTTP or HTTPS/SSL



1225
1226
1227
# File 'lib/v20190916/models.rb', line 1225

def IdentityId
  @IdentityId
end

#ItemIdObject

MP3-320K-FTD 为获取320kbps已核验歌曲完整资源。Values:Y , N(default)

Parameters:

  • ItemId:

    歌曲ID

  • IdentityId:

    在应用前端播放音乐C端用户的唯一标识。无需是账户信息,用户唯一标识即可。

  • SubItemType:

    MP3-320K-FTD-P 为获取320kbps歌曲热门片段。

  • Ssl:

    CDN URL Protocol:HTTP or HTTPS/SSL



1225
1226
1227
# File 'lib/v20190916/models.rb', line 1225

def ItemId
  @ItemId
end

#SslObject

MP3-320K-FTD 为获取320kbps已核验歌曲完整资源。Values:Y , N(default)

Parameters:

  • ItemId:

    歌曲ID

  • IdentityId:

    在应用前端播放音乐C端用户的唯一标识。无需是账户信息,用户唯一标识即可。

  • SubItemType:

    MP3-320K-FTD-P 为获取320kbps歌曲热门片段。

  • Ssl:

    CDN URL Protocol:HTTP or HTTPS/SSL



1225
1226
1227
# File 'lib/v20190916/models.rb', line 1225

def Ssl
  @Ssl
end

#SubItemTypeObject

MP3-320K-FTD 为获取320kbps已核验歌曲完整资源。Values:Y , N(default)

Parameters:

  • ItemId:

    歌曲ID

  • IdentityId:

    在应用前端播放音乐C端用户的唯一标识。无需是账户信息,用户唯一标识即可。

  • SubItemType:

    MP3-320K-FTD-P 为获取320kbps歌曲热门片段。

  • Ssl:

    CDN URL Protocol:HTTP or HTTPS/SSL



1225
1226
1227
# File 'lib/v20190916/models.rb', line 1225

def SubItemType
  @SubItemType
end

Instance Method Details

#deserialize(params) ⇒ Object



1234
1235
1236
1237
1238
1239
# File 'lib/v20190916/models.rb', line 1234

def deserialize(params)
  @ItemId = params['ItemId']
  @IdentityId = params['IdentityId']
  @SubItemType = params['SubItemType']
  @Ssl = params['Ssl']
end