Class: TencentCloud::Ame::V20190916::PackageItem
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Ame::V20190916::PackageItem
- Defined in:
- lib/v20190916/models.rb
Overview
曲库包歌曲信息
Instance Attribute Summary collapse
- #ArtistName ⇒ Object
- #AuthorizedArea ⇒ Object
- #Duration ⇒ Object
- #Img ⇒ Object
- #ItemID ⇒ Object
- #OrderId ⇒ Object
- #Tags ⇒ Object
- #TrackName ⇒ Object
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(orderid = nil, trackname = nil, itemid = nil, img = nil, artistname = nil, duration = nil, authorizedarea = nil, tags = nil) ⇒ PackageItem
constructor
A new instance of PackageItem.
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, =nil, =nil) @OrderId = orderid @TrackName = trackname @ItemID = itemid @Img = img @ArtistName = artistname @Duration = duration @AuthorizedArea = @Tags = end |
Instance Attribute Details
#ArtistName ⇒ Object
2440 2441 2442 |
# File 'lib/v20190916/models.rb', line 2440 def ArtistName @ArtistName end |
#AuthorizedArea ⇒ Object
2440 2441 2442 |
# File 'lib/v20190916/models.rb', line 2440 def AuthorizedArea @AuthorizedArea end |
#Duration ⇒ Object
2440 2441 2442 |
# File 'lib/v20190916/models.rb', line 2440 def Duration @Duration end |
#Img ⇒ Object
2440 2441 2442 |
# File 'lib/v20190916/models.rb', line 2440 def Img @Img end |
#ItemID ⇒ Object
2440 2441 2442 |
# File 'lib/v20190916/models.rb', line 2440 def ItemID @ItemID end |
#OrderId ⇒ Object
2440 2441 2442 |
# File 'lib/v20190916/models.rb', line 2440 def OrderId @OrderId end |
#Tags ⇒ Object
2440 2441 2442 |
# File 'lib/v20190916/models.rb', line 2440 def Tags @Tags end |
#TrackName ⇒ Object
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 |