Class: TencentCloud::Waf::V20180125::PathItem

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

Overview

指定限流path和对应的method

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(path = nil, method = nil) ⇒ PathItem

Returns a new instance of PathItem.



17075
17076
17077
17078
# File 'lib/v20180125/models.rb', line 17075

def initialize(path=nil, method=nil)
  @Path = path
  @Method = method
end

Instance Attribute Details

#MethodObject

Parameters:

  • Path:

    请求路径

  • Method:

    请求方法



17073
17074
17075
# File 'lib/v20180125/models.rb', line 17073

def Method
  @Method
end

#PathObject

Parameters:

  • Path:

    请求路径

  • Method:

    请求方法



17073
17074
17075
# File 'lib/v20180125/models.rb', line 17073

def Path
  @Path
end

Instance Method Details

#deserialize(params) ⇒ Object



17080
17081
17082
17083
# File 'lib/v20180125/models.rb', line 17080

def deserialize(params)
  @Path = params['Path']
  @Method = params['Method']
end