Class: TencentCloud::Goosefs::V20220519::GooseFSxAttribute
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Goosefs::V20220519::GooseFSxAttribute
- 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, clientmanagernodelist = nil) ⇒ GooseFSxAttribute
constructor
A new instance of GooseFSxAttribute.
Constructor Details
#initialize(model = nil, capacity = nil, mappedbucketlist = nil, clientmanagernodelist = nil) ⇒ GooseFSxAttribute
1332 1333 1334 1335 1336 1337 |
# File 'lib/v20220519/models.rb', line 1332 def initialize(model=nil, capacity=nil, mappedbucketlist=nil, clientmanagernodelist=nil) @Model = model @Capacity = capacity @MappedBucketList = mappedbucketlist @ClientManagerNodeList = clientmanagernodelist end |
Instance Attribute Details
#Capacity ⇒ Object
1330 1331 1332 |
# File 'lib/v20220519/models.rb', line 1330 def Capacity @Capacity end |
#ClientManagerNodeList ⇒ Object
1330 1331 1332 |
# File 'lib/v20220519/models.rb', line 1330 def ClientManagerNodeList @ClientManagerNodeList end |
#MappedBucketList ⇒ Object
1330 1331 1332 |
# File 'lib/v20220519/models.rb', line 1330 def MappedBucketList @MappedBucketList end |
#Model ⇒ Object
1330 1331 1332 |
# File 'lib/v20220519/models.rb', line 1330 def Model @Model end |
Instance Method Details
#deserialize(params) ⇒ Object
1339 1340 1341 1342 1343 1344 1345 1346 1347 1348 1349 1350 1351 1352 1353 1354 1355 1356 1357 1358 |
# File 'lib/v20220519/models.rb', line 1339 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 unless params['ClientManagerNodeList'].nil? @ClientManagerNodeList = [] params['ClientManagerNodeList'].each do |i| clientclustermanagernodeinfo_tmp = ClientClusterManagerNodeInfo.new clientclustermanagernodeinfo_tmp.deserialize(i) @ClientManagerNodeList << clientclustermanagernodeinfo_tmp end end end |