Class: TencentCloud::Tem::V20201221::IngressRuleValue
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Tem::V20201221::IngressRuleValue
- Defined in:
- lib/v20201221/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.
1342 1343 1344 |
# File 'lib/v20201221/models.rb', line 1342 def initialize(paths=nil) @Paths = paths end |
Instance Attribute Details
#Paths ⇒ Object
1340 1341 1342 |
# File 'lib/v20201221/models.rb', line 1340 def Paths @Paths end |
Instance Method Details
#deserialize(params) ⇒ Object
1346 1347 1348 1349 1350 1351 1352 1353 1354 1355 |
# File 'lib/v20201221/models.rb', line 1346 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 |