Class: TencentCloud::Ame::V20190916::PackageItem

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

Overview

曲库包歌曲信息

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(orderid = nil, trackname = nil, itemid = nil, img = nil, artistname = nil, duration = nil, authorizedarea = nil, tags = nil) ⇒ PackageItem

Returns a new instance of PackageItem.



2442
2443
2444
2445
2446
2447
2448
2449
2450
2451
# File 'lib/v20190916/models.rb', line 2442

def initialize(orderid=nil, trackname=nil, itemid=nil, img=nil, artistname=nil, duration=nil, authorizedarea=nil, tags=nil)
  @OrderId = orderid
  @TrackName = trackname
  @ItemID = itemid
  @Img = img
  @ArtistName = artistname
  @Duration = duration
  @AuthorizedArea = authorizedarea
  @Tags = tags
end

Instance Attribute Details

#ArtistNameObject

Parameters:

  • OrderId:

    订单id

  • TrackName:

    歌曲名

  • ItemID:

    歌曲ID

  • Img:

    专辑图片

  • ArtistName:

    歌手名

  • Duration:

    歌曲时长

  • AuthorizedArea:

    授权区域,global: 全球 CN: 中国

  • Tags:

    标签数组



2440
2441
2442
# File 'lib/v20190916/models.rb', line 2440

def ArtistName
  @ArtistName
end

#AuthorizedAreaObject

Parameters:

  • OrderId:

    订单id

  • TrackName:

    歌曲名

  • ItemID:

    歌曲ID

  • Img:

    专辑图片

  • ArtistName:

    歌手名

  • Duration:

    歌曲时长

  • AuthorizedArea:

    授权区域,global: 全球 CN: 中国

  • Tags:

    标签数组



2440
2441
2442
# File 'lib/v20190916/models.rb', line 2440

def AuthorizedArea
  @AuthorizedArea
end

#DurationObject

Parameters:

  • OrderId:

    订单id

  • TrackName:

    歌曲名

  • ItemID:

    歌曲ID

  • Img:

    专辑图片

  • ArtistName:

    歌手名

  • Duration:

    歌曲时长

  • AuthorizedArea:

    授权区域,global: 全球 CN: 中国

  • Tags:

    标签数组



2440
2441
2442
# File 'lib/v20190916/models.rb', line 2440

def Duration
  @Duration
end

#ImgObject

Parameters:

  • OrderId:

    订单id

  • TrackName:

    歌曲名

  • ItemID:

    歌曲ID

  • Img:

    专辑图片

  • ArtistName:

    歌手名

  • Duration:

    歌曲时长

  • AuthorizedArea:

    授权区域,global: 全球 CN: 中国

  • Tags:

    标签数组



2440
2441
2442
# File 'lib/v20190916/models.rb', line 2440

def Img
  @Img
end

#ItemIDObject

Parameters:

  • OrderId:

    订单id

  • TrackName:

    歌曲名

  • ItemID:

    歌曲ID

  • Img:

    专辑图片

  • ArtistName:

    歌手名

  • Duration:

    歌曲时长

  • AuthorizedArea:

    授权区域,global: 全球 CN: 中国

  • Tags:

    标签数组



2440
2441
2442
# File 'lib/v20190916/models.rb', line 2440

def ItemID
  @ItemID
end

#OrderIdObject

Parameters:

  • OrderId:

    订单id

  • TrackName:

    歌曲名

  • ItemID:

    歌曲ID

  • Img:

    专辑图片

  • ArtistName:

    歌手名

  • Duration:

    歌曲时长

  • AuthorizedArea:

    授权区域,global: 全球 CN: 中国

  • Tags:

    标签数组



2440
2441
2442
# File 'lib/v20190916/models.rb', line 2440

def OrderId
  @OrderId
end

#TagsObject

Parameters:

  • OrderId:

    订单id

  • TrackName:

    歌曲名

  • ItemID:

    歌曲ID

  • Img:

    专辑图片

  • ArtistName:

    歌手名

  • Duration:

    歌曲时长

  • AuthorizedArea:

    授权区域,global: 全球 CN: 中国

  • Tags:

    标签数组



2440
2441
2442
# File 'lib/v20190916/models.rb', line 2440

def Tags
  @Tags
end

#TrackNameObject

Parameters:

  • OrderId:

    订单id

  • TrackName:

    歌曲名

  • ItemID:

    歌曲ID

  • Img:

    专辑图片

  • ArtistName:

    歌手名

  • Duration:

    歌曲时长

  • AuthorizedArea:

    授权区域,global: 全球 CN: 中国

  • Tags:

    标签数组



2440
2441
2442
# File 'lib/v20190916/models.rb', line 2440

def TrackName
  @TrackName
end

Instance Method Details

#deserialize(params) ⇒ Object



2453
2454
2455
2456
2457
2458
2459
2460
2461
2462
# File 'lib/v20190916/models.rb', line 2453

def deserialize(params)
  @OrderId = params['OrderId']
  @TrackName = params['TrackName']
  @ItemID = params['ItemID']
  @Img = params['Img']
  @ArtistName = params['ArtistName']
  @Duration = params['Duration']
  @AuthorizedArea = params['AuthorizedArea']
  @Tags = params['Tags']
end