Class: TencentCloud::Clb::V20180317::TypeInfo
- Inherits:
-
TencentCloud::Common::AbstractModel
- Object
- TencentCloud::Common::AbstractModel
- TencentCloud::Clb::V20180317::TypeInfo
- Defined in:
- lib/v20180317/models.rb
Overview
运营商类型信息
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(type = nil, specavailabilityset = nil) ⇒ TypeInfo
constructor
A new instance of TypeInfo.
Constructor Details
#initialize(type = nil, specavailabilityset = nil) ⇒ TypeInfo
Returns a new instance of TypeInfo.
8710 8711 8712 8713 |
# File 'lib/v20180317/models.rb', line 8710 def initialize(type=nil, specavailabilityset=nil) @Type = type @SpecAvailabilitySet = specavailabilityset end |
Instance Attribute Details
#SpecAvailabilitySet ⇒ Object
8708 8709 8710 |
# File 'lib/v20180317/models.rb', line 8708 def SpecAvailabilitySet @SpecAvailabilitySet end |
#Type ⇒ Object
8708 8709 8710 |
# File 'lib/v20180317/models.rb', line 8708 def Type @Type end |
Instance Method Details
#deserialize(params) ⇒ Object
8715 8716 8717 8718 8719 8720 8721 8722 8723 8724 8725 |
# File 'lib/v20180317/models.rb', line 8715 def deserialize(params) @Type = params['Type'] unless params['SpecAvailabilitySet'].nil? @SpecAvailabilitySet = [] params['SpecAvailabilitySet'].each do |i| specavailability_tmp = SpecAvailability.new specavailability_tmp.deserialize(i) @SpecAvailabilitySet << specavailability_tmp end end end |