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.



3083
3084
3085
# File 'lib/v20210701/models.rb', line 3083

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

Instance Attribute Details

#PathsObject

Parameters:

  • Paths:

    rule 整体配置



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