Class: TencentCloud::Tem::V20210701::IngressRuleValue
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Tem::V20210701::IngressRuleValue
- Defined in:
- lib/v20210701/models.rb
Overview
Ingress Rule Value 配置
Instance Attribute Summary collapse
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(paths = nil) ⇒ IngressRuleValue
constructor
A new instance of IngressRuleValue.
Constructor Details
#initialize(paths = nil) ⇒ IngressRuleValue
Returns a new instance of IngressRuleValue.
3141 3142 3143 |
# File 'lib/v20210701/models.rb', line 3141 def initialize(paths=nil) @Paths = paths end |
Instance Attribute Details
#Paths ⇒ Object
3139 3140 3141 |
# File 'lib/v20210701/models.rb', line 3139 def Paths @Paths end |
Instance Method Details
#deserialize(params) ⇒ Object
3145 3146 3147 3148 3149 3150 3151 3152 3153 3154 |
# File 'lib/v20210701/models.rb', line 3145 def deserialize(params) unless params['Paths'].nil? @Paths = [] params['Paths'].each do |i| ingressrulepath_tmp = IngressRulePath.new ingressrulepath_tmp.deserialize(i) @Paths << ingressrulepath_tmp end end end |