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.
3083 3084 3085 |
# File 'lib/v20210701/models.rb', line 3083 def initialize(paths=nil) @Paths = paths end |
Instance Attribute Details
#Paths ⇒ Object
3081 3082 3083 |
# File 'lib/v20210701/models.rb', line 3081 def Paths @Paths end |
Instance Method Details
#deserialize(params) ⇒ Object
3087 3088 3089 3090 3091 3092 3093 3094 3095 3096 |
# File 'lib/v20210701/models.rb', line 3087 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 |