Class: TencentCloud::Dc::V20180410::BgpPeer
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Dc::V20180410::BgpPeer
- Defined in:
- lib/v20180410/models.rb
Overview
bgp参数,包括CloudAsn,Asn,AuthKey
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(cloudasn = nil, asn = nil, authkey = nil) ⇒ BgpPeer
constructor
A new instance of BgpPeer.
Constructor Details
#initialize(cloudasn = nil, asn = nil, authkey = nil) ⇒ BgpPeer
Returns a new instance of BgpPeer.
241 242 243 244 245 |
# File 'lib/v20180410/models.rb', line 241 def initialize(cloudasn=nil, asn=nil, authkey=nil) @CloudAsn = cloudasn @Asn = asn @AuthKey = authkey end |
Instance Attribute Details
#Asn ⇒ Object
239 240 241 |
# File 'lib/v20180410/models.rb', line 239 def Asn @Asn end |
#AuthKey ⇒ Object
239 240 241 |
# File 'lib/v20180410/models.rb', line 239 def AuthKey @AuthKey end |
#CloudAsn ⇒ Object
239 240 241 |
# File 'lib/v20180410/models.rb', line 239 def CloudAsn @CloudAsn end |
Instance Method Details
#deserialize(params) ⇒ Object
247 248 249 250 251 |
# File 'lib/v20180410/models.rb', line 247 def deserialize(params) @CloudAsn = params['CloudAsn'] @Asn = params['Asn'] @AuthKey = params['AuthKey'] end |