Class: TencentCloud::Tem::V20201221::IngressRuleValue

Inherits:
Common::AbstractModel
  • Object
show all
Defined in:
lib/v20201221/models.rb

Overview

Ingress Rule Value 配置

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#PathsObject

Parameters:

  • Paths:

    rule 整体配置



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