Class: TencentCloud::Ame::V20190916::Album
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Ame::V20190916::Album
- Defined in:
- lib/v20190916/models.rb
Overview
Album
Instance Attribute Summary collapse
-
#AlbumName ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。.
-
#ImagePathMap ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。.
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(albumname = nil, imagepathmap = nil) ⇒ Album
constructor
A new instance of Album.
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
#AlbumName ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。
28 29 30 |
# File 'lib/v20190916/models.rb', line 28 def AlbumName @AlbumName end |
#ImagePathMap ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。
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 |