Class: TencentCloud::Mongodb::V20190725::SpecificationInfo
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Mongodb::V20190725::SpecificationInfo
- Defined in:
- lib/v20190725/models.rb
Overview
实例规格信息。
Instance Attribute Summary collapse
-
#Region ⇒ Object
- 1:支持。 - 0:不支持。.
-
#SpecItems ⇒ Object
- 1:支持。 - 0:不支持。.
-
#SupportMultiAZ ⇒ Object
- 1:支持。 - 0:不支持。.
-
#Zone ⇒ Object
- 1:支持。 - 0:不支持。.
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(region = nil, zone = nil, specitems = nil, supportmultiaz = nil) ⇒ SpecificationInfo
constructor
A new instance of SpecificationInfo.
Constructor Details
#initialize(region = nil, zone = nil, specitems = nil, supportmultiaz = nil) ⇒ SpecificationInfo
Returns a new instance of SpecificationInfo.
6194 6195 6196 6197 6198 6199 |
# File 'lib/v20190725/models.rb', line 6194 def initialize(region=nil, zone=nil, specitems=nil, supportmultiaz=nil) @Region = region @Zone = zone @SpecItems = specitems @SupportMultiAZ = supportmultiaz end |
Instance Attribute Details
#Region ⇒ Object
- 1:支持。
- 0:不支持。
6192 6193 6194 |
# File 'lib/v20190725/models.rb', line 6192 def Region @Region end |
#SpecItems ⇒ Object
- 1:支持。
- 0:不支持。
6192 6193 6194 |
# File 'lib/v20190725/models.rb', line 6192 def SpecItems @SpecItems end |
#SupportMultiAZ ⇒ Object
- 1:支持。
- 0:不支持。
6192 6193 6194 |
# File 'lib/v20190725/models.rb', line 6192 def SupportMultiAZ @SupportMultiAZ end |
#Zone ⇒ Object
- 1:支持。
- 0:不支持。
6192 6193 6194 |
# File 'lib/v20190725/models.rb', line 6192 def Zone @Zone end |
Instance Method Details
#deserialize(params) ⇒ Object
6201 6202 6203 6204 6205 6206 6207 6208 6209 6210 6211 6212 6213 |
# File 'lib/v20190725/models.rb', line 6201 def deserialize(params) @Region = params['Region'] @Zone = params['Zone'] unless params['SpecItems'].nil? @SpecItems = [] params['SpecItems'].each do |i| specitem_tmp = SpecItem.new specitem_tmp.deserialize(i) @SpecItems << specitem_tmp end end @SupportMultiAZ = params['SupportMultiAZ'] end |