Class: TencentCloud::Goosefs::V20220519::GooseFSxAttribute

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

Overview

GooseFSx文件系统的属性

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#CapacityObject



1330
1331
1332
# File 'lib/v20220519/models.rb', line 1330

def Capacity
  @Capacity
end

#ClientManagerNodeListObject



1330
1331
1332
# File 'lib/v20220519/models.rb', line 1330

def ClientManagerNodeList
  @ClientManagerNodeList
end

#MappedBucketListObject



1330
1331
1332
# File 'lib/v20220519/models.rb', line 1330

def MappedBucketList
  @MappedBucketList
end

#ModelObject



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