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.
1028 1029 1030 1031 1032 |
# File 'lib/v20220519/models.rb', line 1028 def initialize(model=nil, capacity=nil, mappedbucketlist=nil) @Model = model @Capacity = capacity @MappedBucketList = mappedbucketlist end |
Instance Attribute Details
#Capacity ⇒ Object
1026 1027 1028 |
# File 'lib/v20220519/models.rb', line 1026 def Capacity @Capacity end |
#MappedBucketList ⇒ Object
1026 1027 1028 |
# File 'lib/v20220519/models.rb', line 1026 def MappedBucketList @MappedBucketList end |
#Model ⇒ Object
1026 1027 1028 |
# File 'lib/v20220519/models.rb', line 1026 def Model @Model end |
Instance Method Details
#deserialize(params) ⇒ Object
1034 1035 1036 1037 1038 1039 1040 1041 1042 1043 1044 1045 |
# File 'lib/v20220519/models.rb', line 1034 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 |