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.



11861
11862
11863
11864
11865
# File 'lib/v20180606/models.rb', line 11861

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

Instance Attribute Details

#LogiOperatorObject

Parameters:

  • MatchKey:

    匹配关键字

  • LogiOperator:

    逻辑操作符,取值如下

  • MatchValue:

    匹配值。



11859
11860
11861
# File 'lib/v20180606/models.rb', line 11859

def LogiOperator
  @LogiOperator
end

#MatchKeyObject

Parameters:

  • MatchKey:

    匹配关键字

  • LogiOperator:

    逻辑操作符,取值如下

  • MatchValue:

    匹配值。



11859
11860
11861
# File 'lib/v20180606/models.rb', line 11859

def MatchKey
  @MatchKey
end

#MatchValueObject

Parameters:

  • MatchKey:

    匹配关键字

  • LogiOperator:

    逻辑操作符,取值如下

  • MatchValue:

    匹配值。



11859
11860
11861
# File 'lib/v20180606/models.rb', line 11859

def MatchValue
  @MatchValue
end

Instance Method Details

#deserialize(params) ⇒ Object



11867
11868
11869
11870
11871
# File 'lib/v20180606/models.rb', line 11867

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