Class: TencentCloud::Dc::V20180410::PortSpecification

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

Overview

端口规格

Instance Attribute Summary collapse

Instance Method Summary collapse

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

Parameters:

  • InternationalName: —

    端口名称

  • Specification: —

    端口规格(M)

  • PortType: —

    端口类型:T-电口,X-光口



2365
2366
2367
# File 'lib/v20180410/models.rb', line 2365

def InternationalName
  @InternationalName
end

#PortType ⇒ Object

Parameters:

  • InternationalName: —

    端口名称

  • Specification: —

    端口规格(M)

  • PortType: —

    端口类型:T-电口,X-光口



2365
2366
2367
# File 'lib/v20180410/models.rb', line 2365

def PortType
  @PortType
end

#Specification ⇒ Object

Parameters:

  • InternationalName: —

    端口名称

  • Specification: —

    端口规格(M)

  • PortType: —

    端口类型:T-电口,X-光口



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