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.



3120
3121
3122
3123
# File 'lib/v20210701/models.rb', line 3120

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

Instance Attribute Details

#BackendObject

Parameters:

  • Path:

    path 信息

  • Backend:

    backend 配置



3118
3119
3120
# File 'lib/v20210701/models.rb', line 3118

def Backend
  @Backend
end

#PathObject

Parameters:

  • Path:

    path 信息

  • Backend:

    backend 配置



3118
3119
3120
# File 'lib/v20210701/models.rb', line 3118

def Path
  @Path
end

Instance Method Details

#deserialize(params) ⇒ Object



3125
3126
3127
3128
3129
3130
3131
# File 'lib/v20210701/models.rb', line 3125

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