Class: TencentCloud::Ame::V20190916::Album

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

Overview

Album

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(albumname = nil, imagepathmap = nil) ⇒ Album

Returns a new instance of Album.



30
31
32
33
# File 'lib/v20190916/models.rb', line 30

def initialize(albumname=nil, imagepathmap=nil)
  @AlbumName = albumname
  @ImagePathMap = imagepathmap
end

Instance Attribute Details

#AlbumNameObject

注意:此字段可能返回 null,表示取不到有效值。

Parameters:

  • AlbumName:

    专辑名

  • ImagePathMap:

    专辑图片大小及类别



28
29
30
# File 'lib/v20190916/models.rb', line 28

def AlbumName
  @AlbumName
end

#ImagePathMapObject

注意:此字段可能返回 null,表示取不到有效值。

Parameters:

  • AlbumName:

    专辑名

  • ImagePathMap:

    专辑图片大小及类别



28
29
30
# File 'lib/v20190916/models.rb', line 28

def ImagePathMap
  @ImagePathMap
end

Instance Method Details

#deserialize(params) ⇒ Object



35
36
37
38
39
40
41
42
43
44
45
# File 'lib/v20190916/models.rb', line 35

def deserialize(params)
  @AlbumName = params['AlbumName']
  unless params['ImagePathMap'].nil?
    @ImagePathMap = []
    params['ImagePathMap'].each do |i|
      imagepath_tmp = ImagePath.new
      imagepath_tmp.deserialize(i)
      @ImagePathMap << imagepath_tmp
    end
  end
end