Class: TencentCloud::Tem::V20201221::IngressRulePath
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Tem::V20201221::IngressRulePath
- Defined in:
- lib/v20201221/models.rb
Overview
Ingress Rule Path 配置
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(path = nil, backend = nil) ⇒ IngressRulePath
constructor
A new instance of IngressRulePath.
Constructor Details
#initialize(path = nil, backend = nil) ⇒ IngressRulePath
Returns a new instance of IngressRulePath.
1321 1322 1323 1324 |
# File 'lib/v20201221/models.rb', line 1321 def initialize(path=nil, backend=nil) @Path = path @Backend = backend end |
Instance Attribute Details
#Backend ⇒ Object
1319 1320 1321 |
# File 'lib/v20201221/models.rb', line 1319 def Backend @Backend end |
#Path ⇒ Object
1319 1320 1321 |
# File 'lib/v20201221/models.rb', line 1319 def Path @Path end |
Instance Method Details
#deserialize(params) ⇒ Object
1326 1327 1328 1329 1330 1331 1332 |
# File 'lib/v20201221/models.rb', line 1326 def deserialize(params) @Path = params['Path'] unless params['Backend'].nil? @Backend = IngressRuleBackend.new @Backend.deserialize(params['Backend']) end end |