Class: TencentCloud::Tem::V20210701::IngressRuleValue

Inherits:
Common::AbstractModel
  • Object
show all
Defined in:
lib/v20210701/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.



3141
3142
3143
# File 'lib/v20210701/models.rb', line 3141

def initialize(paths=nil)
  @Paths = paths
end

Instance Attribute Details

#PathsObject

Parameters:

  • Paths:

    rule 整体配置



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