Class: TencentCloud::Waf::V20180125::AccessRuleTagInfo

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

Overview

DescribeAccessIndex接口的出参

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(casesensitive = nil, keyvalues = nil) ⇒ AccessRuleTagInfo

Returns a new instance of AccessRuleTagInfo.



302
303
304
305
# File 'lib/v20180125/models.rb', line 302

def initialize(casesensitive=nil, keyvalues=nil)
  @CaseSensitive = casesensitive
  @KeyValues = keyvalues
end

Instance Attribute Details

#CaseSensitiveObject

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

Parameters:

  • CaseSensitive:

    是否大小写敏感

  • KeyValues:

    标签索引配置中的字段信息



300
301
302
# File 'lib/v20180125/models.rb', line 300

def CaseSensitive
  @CaseSensitive
end

#KeyValuesObject

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

Parameters:

  • CaseSensitive:

    是否大小写敏感

  • KeyValues:

    标签索引配置中的字段信息



300
301
302
# File 'lib/v20180125/models.rb', line 300

def KeyValues
  @KeyValues
end

Instance Method Details

#deserialize(params) ⇒ Object



307
308
309
310
311
312
313
314
315
316
317
# File 'lib/v20180125/models.rb', line 307

def deserialize(params)
  @CaseSensitive = params['CaseSensitive']
  unless params['KeyValues'].nil?
    @KeyValues = []
    params['KeyValues'].each do |i|
      accesskeyvalueinfo_tmp = AccessKeyValueInfo.new
      accesskeyvalueinfo_tmp.deserialize(i)
      @KeyValues << accesskeyvalueinfo_tmp
    end
  end
end