Class: TencentCloud::Tem::V20210701::IngressRulePath
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Tem::V20210701::IngressRulePath
- Defined in:
- lib/v20210701/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.
3120 3121 3122 3123 |
# File 'lib/v20210701/models.rb', line 3120 def initialize(path=nil, backend=nil) @Path = path @Backend = backend end |
Instance Attribute Details
#Backend ⇒ Object
3118 3119 3120 |
# File 'lib/v20210701/models.rb', line 3118 def Backend @Backend end |
#Path ⇒ Object
3118 3119 3120 |
# File 'lib/v20210701/models.rb', line 3118 def Path @Path end |
Instance Method Details
#deserialize(params) ⇒ Object
3125 3126 3127 3128 3129 3130 3131 |
# File 'lib/v20210701/models.rb', line 3125 def deserialize(params) @Path = params['Path'] unless params['Backend'].nil? @Backend = IngressRuleBackend.new @Backend.deserialize(params['Backend']) end end |