Class: TencentCloud::Goosefs::V20220519::GooseFSxBuildElement
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Goosefs::V20220519::GooseFSxBuildElement
- Defined in:
- lib/v20220519/models.rb
Overview
GooseFSx创建时候的属性
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(model = nil, capacity = nil, mappedbucketlist = nil) ⇒ GooseFSxBuildElement
constructor
A new instance of GooseFSxBuildElement.
Constructor Details
#initialize(model = nil, capacity = nil, mappedbucketlist = nil) ⇒ GooseFSxBuildElement
Returns a new instance of GooseFSxBuildElement.
1372 1373 1374 1375 1376 |
# File 'lib/v20220519/models.rb', line 1372 def initialize(model=nil, capacity=nil, mappedbucketlist=nil) @Model = model @Capacity = capacity @MappedBucketList = mappedbucketlist end |
Instance Attribute Details
#Capacity ⇒ Object
1370 1371 1372 |
# File 'lib/v20220519/models.rb', line 1370 def Capacity @Capacity end |
#MappedBucketList ⇒ Object
1370 1371 1372 |
# File 'lib/v20220519/models.rb', line 1370 def MappedBucketList @MappedBucketList end |
#Model ⇒ Object
1370 1371 1372 |
# File 'lib/v20220519/models.rb', line 1370 def Model @Model end |
Instance Method Details
#deserialize(params) ⇒ Object
1378 1379 1380 1381 1382 1383 1384 1385 1386 1387 1388 1389 |
# File 'lib/v20220519/models.rb', line 1378 def deserialize(params) @Model = params['Model'] @Capacity = params['Capacity'] unless params['MappedBucketList'].nil? @MappedBucketList = [] params['MappedBucketList'].each do |i| mappedbucket_tmp = MappedBucket.new mappedbucket_tmp.deserialize(i) @MappedBucketList << mappedbucket_tmp end end end |