Class: TencentCloud::Cdn::V20180606::FilterRules

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

Overview

防盗刷配置规则

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(filtertype = nil, ruletype = nil, rulepaths = nil) ⇒ FilterRules

Returns a new instance of FilterRules.



5244
5245
5246
5247
5248
# File 'lib/v20180606/models.rb', line 5244

def initialize(filtertype=nil, ruletype=nil, rulepaths=nil)
  @FilterType = filtertype
  @RuleType = ruletype
  @RulePaths = rulepaths
end

Instance Attribute Details

#FilterTypeObject

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

Parameters:

  • FilterType:

    封禁类型

  • RuleType:

    封禁规则类型

  • RulePaths:

    封禁规则路径



5242
5243
5244
# File 'lib/v20180606/models.rb', line 5242

def FilterType
  @FilterType
end

#RulePathsObject

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

Parameters:

  • FilterType:

    封禁类型

  • RuleType:

    封禁规则类型

  • RulePaths:

    封禁规则路径



5242
5243
5244
# File 'lib/v20180606/models.rb', line 5242

def RulePaths
  @RulePaths
end

#RuleTypeObject

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

Parameters:

  • FilterType:

    封禁类型

  • RuleType:

    封禁规则类型

  • RulePaths:

    封禁规则路径



5242
5243
5244
# File 'lib/v20180606/models.rb', line 5242

def RuleType
  @RuleType
end

Instance Method Details

#deserialize(params) ⇒ Object



5250
5251
5252
5253
5254
# File 'lib/v20180606/models.rb', line 5250

def deserialize(params)
  @FilterType = params['FilterType']
  @RuleType = params['RuleType']
  @RulePaths = params['RulePaths']
end