Class: TencentCloud::Mna::V20210119::L3ConnInfo
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Mna::V20210119::L3ConnInfo
- Defined in:
- lib/v20210119/models.rb
Overview
三层互通规则信息
Instance Attribute Summary collapse
- #Cidr1 ⇒ Object
- #Cidr2 ⇒ Object
- #Description ⇒ Object
- #DeviceId1 ⇒ Object
- #DeviceId2 ⇒ Object
- #Enable ⇒ Object
- #L3ConnId ⇒ Object
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(l3connid = nil, deviceid1 = nil, cidr1 = nil, deviceid2 = nil, cidr2 = nil, enable = nil, description = nil) ⇒ L3ConnInfo
constructor
A new instance of L3ConnInfo.
Constructor Details
#initialize(l3connid = nil, deviceid1 = nil, cidr1 = nil, deviceid2 = nil, cidr2 = nil, enable = nil, description = nil) ⇒ L3ConnInfo
Returns a new instance of L3ConnInfo.
2244 2245 2246 2247 2248 2249 2250 2251 2252 |
# File 'lib/v20210119/models.rb', line 2244 def initialize(l3connid=nil, deviceid1=nil, cidr1=nil, deviceid2=nil, cidr2=nil, enable=nil, description=nil) @L3ConnId = l3connid @DeviceId1 = deviceid1 @Cidr1 = cidr1 @DeviceId2 = deviceid2 @Cidr2 = cidr2 @Enable = enable @Description = description end |
Instance Attribute Details
#Cidr1 ⇒ Object
2242 2243 2244 |
# File 'lib/v20210119/models.rb', line 2242 def Cidr1 @Cidr1 end |
#Cidr2 ⇒ Object
2242 2243 2244 |
# File 'lib/v20210119/models.rb', line 2242 def Cidr2 @Cidr2 end |
#Description ⇒ Object
2242 2243 2244 |
# File 'lib/v20210119/models.rb', line 2242 def Description @Description end |
#DeviceId1 ⇒ Object
2242 2243 2244 |
# File 'lib/v20210119/models.rb', line 2242 def DeviceId1 @DeviceId1 end |
#DeviceId2 ⇒ Object
2242 2243 2244 |
# File 'lib/v20210119/models.rb', line 2242 def DeviceId2 @DeviceId2 end |
#Enable ⇒ Object
2242 2243 2244 |
# File 'lib/v20210119/models.rb', line 2242 def Enable @Enable end |
#L3ConnId ⇒ Object
2242 2243 2244 |
# File 'lib/v20210119/models.rb', line 2242 def L3ConnId @L3ConnId end |
Instance Method Details
#deserialize(params) ⇒ Object
2254 2255 2256 2257 2258 2259 2260 2261 2262 |
# File 'lib/v20210119/models.rb', line 2254 def deserialize(params) @L3ConnId = params['L3ConnId'] @DeviceId1 = params['DeviceId1'] @Cidr1 = params['Cidr1'] @DeviceId2 = params['DeviceId2'] @Cidr2 = params['Cidr2'] @Enable = params['Enable'] @Description = params['Description'] end |