Class: TencentCloud::Cdn::V20180606::ScdnAclRule

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(matchkey = nil, logioperator = nil, matchvalue = nil) ⇒ ScdnAclRule

Returns a new instance of ScdnAclRule.



11880
11881
11882
11883
11884
# File 'lib/v20180606/models.rb', line 11880

def initialize(matchkey=nil, logioperator=nil, matchvalue=nil)
  @MatchKey = matchkey
  @LogiOperator = logioperator
  @MatchValue = matchvalue
end

Instance Attribute Details

#LogiOperatorObject

Parameters:

  • MatchKey:

    匹配关键字

  • LogiOperator:

    逻辑操作符,取值如下

  • MatchValue:

    匹配值。



11878
11879
11880
# File 'lib/v20180606/models.rb', line 11878

def LogiOperator
  @LogiOperator
end

#MatchKeyObject

Parameters:

  • MatchKey:

    匹配关键字

  • LogiOperator:

    逻辑操作符,取值如下

  • MatchValue:

    匹配值。



11878
11879
11880
# File 'lib/v20180606/models.rb', line 11878

def MatchKey
  @MatchKey
end

#MatchValueObject

Parameters:

  • MatchKey:

    匹配关键字

  • LogiOperator:

    逻辑操作符,取值如下

  • MatchValue:

    匹配值。



11878
11879
11880
# File 'lib/v20180606/models.rb', line 11878

def MatchValue
  @MatchValue
end

Instance Method Details

#deserialize(params) ⇒ Object



11886
11887
11888
11889
11890
# File 'lib/v20180606/models.rb', line 11886

def deserialize(params)
  @MatchKey = params['MatchKey']
  @LogiOperator = params['LogiOperator']
  @MatchValue = params['MatchValue']
end