Class: TencentCloud::Waf::V20180125::LimitPath

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

Overview

限流Path

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(path = nil, type = nil) ⇒ LimitPath

Returns a new instance of LimitPath.



13121
13122
13123
13124
# File 'lib/v20180125/models.rb', line 13121

def initialize(path=nil, type=nil)
  @Path = path
  @Type = type
end

Instance Attribute Details

#PathObject

注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。

Parameters:

  • Path:

    限流路径

  • Type:

    匹配方式



13119
13120
13121
# File 'lib/v20180125/models.rb', line 13119

def Path
  @Path
end

#TypeObject

注意:此字段可能返回 null,表示取不到有效值。注意:此字段可能返回 null,表示取不到有效值。

Parameters:

  • Path:

    限流路径

  • Type:

    匹配方式



13119
13120
13121
# File 'lib/v20180125/models.rb', line 13119

def Type
  @Type
end

Instance Method Details

#deserialize(params) ⇒ Object



13126
13127
13128
13129
# File 'lib/v20180125/models.rb', line 13126

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