Class: TencentCloud::Tem::V20210701::IngressRulePath

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

Overview

Ingress Rule Path 配置

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(path = nil, backend = nil) ⇒ IngressRulePath

Returns a new instance of IngressRulePath.



3062
3063
3064
3065
# File 'lib/v20210701/models.rb', line 3062

def initialize(path=nil, backend=nil)
  @Path = path
  @Backend = backend
end

Instance Attribute Details

#BackendObject

Parameters:

  • Path:

    path 信息

  • Backend:

    backend 配置



3060
3061
3062
# File 'lib/v20210701/models.rb', line 3060

def Backend
  @Backend
end

#PathObject

Parameters:

  • Path:

    path 信息

  • Backend:

    backend 配置



3060
3061
3062
# File 'lib/v20210701/models.rb', line 3060

def Path
  @Path
end

Instance Method Details

#deserialize(params) ⇒ Object



3067
3068
3069
3070
3071
3072
3073
# File 'lib/v20210701/models.rb', line 3067

def deserialize(params)
  @Path = params['Path']
  unless params['Backend'].nil?
    @Backend = IngressRuleBackend.new
    @Backend.deserialize(params['Backend'])
  end
end