Class: TencentCloud::Dc::V20180410::PortSpecification
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Dc::V20180410::PortSpecification
- Defined in:
- lib/v20180410/models.rb
Overview
端口规格
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(internationalname = nil, specification = nil, porttype = nil) ⇒ PortSpecification
constructor
A new instance of PortSpecification.
Constructor Details
#initialize(internationalname = nil, specification = nil, porttype = nil) ⇒ PortSpecification
Returns a new instance of PortSpecification.
2367 2368 2369 2370 2371 |
# File 'lib/v20180410/models.rb', line 2367 def initialize(internationalname=nil, specification=nil, porttype=nil) @InternationalName = internationalname @Specification = specification @PortType = porttype end |
Instance Attribute Details
#InternationalName ⇒ Object
2365 2366 2367 |
# File 'lib/v20180410/models.rb', line 2365 def InternationalName @InternationalName end |
#PortType ⇒ Object
2365 2366 2367 |
# File 'lib/v20180410/models.rb', line 2365 def PortType @PortType end |
#Specification ⇒ Object
2365 2366 2367 |
# File 'lib/v20180410/models.rb', line 2365 def Specification @Specification end |
Instance Method Details
#deserialize(params) ⇒ Object
2373 2374 2375 2376 2377 |
# File 'lib/v20180410/models.rb', line 2373 def deserialize(params) @InternationalName = params['InternationalName'] @Specification = params['Specification'] @PortType = params['PortType'] end |