Class: TencentCloud::Dc::V20180410::AccessPoint
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Dc::V20180410::AccessPoint
- Defined in:
- lib/v20180410/models.rb
Overview
接入点信息。
Instance Attribute Summary collapse
- #AccessPointId ⇒ Object
- #AccessPointName ⇒ Object
- #AccessPointServiceType ⇒ Object
- #AccessPointType ⇒ Object
- #Address ⇒ Object
- #Area ⇒ Object
- #AvailablePortInfo ⇒ Object
- #AvailablePortType ⇒ Object
- #City ⇒ Object
- #Coordinate ⇒ Object
- #IsMacSec ⇒ Object
- #LineOperator ⇒ Object
- #Location ⇒ Object
- #RegionId ⇒ Object
- #State ⇒ Object
- #Version ⇒ Object
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(accesspointname = nil, accesspointid = nil, state = nil, location = nil, lineoperator = nil, regionid = nil, availableporttype = nil, coordinate = nil, city = nil, area = nil, accesspointtype = nil, availableportinfo = nil, address = nil, ismacsec = nil, version = nil, accesspointservicetype = nil) ⇒ AccessPoint
constructor
A new instance of AccessPoint.
Constructor Details
#initialize(accesspointname = nil, accesspointid = nil, state = nil, location = nil, lineoperator = nil, regionid = nil, availableporttype = nil, coordinate = nil, city = nil, area = nil, accesspointtype = nil, availableportinfo = nil, address = nil, ismacsec = nil, version = nil, accesspointservicetype = nil) ⇒ AccessPoint
Returns a new instance of AccessPoint.
89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 |
# File 'lib/v20180410/models.rb', line 89 def initialize(accesspointname=nil, accesspointid=nil, state=nil, location=nil, lineoperator=nil, regionid=nil, availableporttype=nil, coordinate=nil, city=nil, area=nil, accesspointtype=nil, availableportinfo=nil, address=nil, ismacsec=nil, version=nil, accesspointservicetype=nil) @AccessPointName = accesspointname @AccessPointId = accesspointid @State = state @Location = location @LineOperator = lineoperator @RegionId = regionid @AvailablePortType = availableporttype @Coordinate = coordinate @City = city @Area = area @AccessPointType = accesspointtype @AvailablePortInfo = availableportinfo @Address = address @IsMacSec = ismacsec @Version = version @AccessPointServiceType = accesspointservicetype end |
Instance Attribute Details
#AccessPointId ⇒ Object
87 88 89 |
# File 'lib/v20180410/models.rb', line 87 def AccessPointId @AccessPointId end |
#AccessPointName ⇒ Object
87 88 89 |
# File 'lib/v20180410/models.rb', line 87 def AccessPointName @AccessPointName end |
#AccessPointServiceType ⇒ Object
87 88 89 |
# File 'lib/v20180410/models.rb', line 87 def AccessPointServiceType @AccessPointServiceType end |
#AccessPointType ⇒ Object
87 88 89 |
# File 'lib/v20180410/models.rb', line 87 def AccessPointType @AccessPointType end |
#Address ⇒ Object
87 88 89 |
# File 'lib/v20180410/models.rb', line 87 def Address @Address end |
#Area ⇒ Object
87 88 89 |
# File 'lib/v20180410/models.rb', line 87 def Area @Area end |
#AvailablePortInfo ⇒ Object
87 88 89 |
# File 'lib/v20180410/models.rb', line 87 def AvailablePortInfo @AvailablePortInfo end |
#AvailablePortType ⇒ Object
87 88 89 |
# File 'lib/v20180410/models.rb', line 87 def AvailablePortType @AvailablePortType end |
#City ⇒ Object
87 88 89 |
# File 'lib/v20180410/models.rb', line 87 def City @City end |
#Coordinate ⇒ Object
87 88 89 |
# File 'lib/v20180410/models.rb', line 87 def Coordinate @Coordinate end |
#IsMacSec ⇒ Object
87 88 89 |
# File 'lib/v20180410/models.rb', line 87 def IsMacSec @IsMacSec end |
#LineOperator ⇒ Object
87 88 89 |
# File 'lib/v20180410/models.rb', line 87 def LineOperator @LineOperator end |
#Location ⇒ Object
87 88 89 |
# File 'lib/v20180410/models.rb', line 87 def Location @Location end |
#RegionId ⇒ Object
87 88 89 |
# File 'lib/v20180410/models.rb', line 87 def RegionId @RegionId end |
#State ⇒ Object
87 88 89 |
# File 'lib/v20180410/models.rb', line 87 def State @State end |
#Version ⇒ Object
87 88 89 |
# File 'lib/v20180410/models.rb', line 87 def Version @Version end |
Instance Method Details
#deserialize(params) ⇒ Object
108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 |
# File 'lib/v20180410/models.rb', line 108 def deserialize(params) @AccessPointName = params['AccessPointName'] @AccessPointId = params['AccessPointId'] @State = params['State'] @Location = params['Location'] @LineOperator = params['LineOperator'] @RegionId = params['RegionId'] @AvailablePortType = params['AvailablePortType'] unless params['Coordinate'].nil? @Coordinate = Coordinate.new @Coordinate.deserialize(params['Coordinate']) end @City = params['City'] @Area = params['Area'] @AccessPointType = params['AccessPointType'] unless params['AvailablePortInfo'].nil? @AvailablePortInfo = [] params['AvailablePortInfo'].each do |i| portspecification_tmp = PortSpecification.new portspecification_tmp.deserialize(i) @AvailablePortInfo << portspecification_tmp end end @Address = params['Address'] @IsMacSec = params['IsMacSec'] @Version = params['Version'] @AccessPointServiceType = params['AccessPointServiceType'] end |