Class: TencentCloud::Waf::V20180125::AccessKeyValueInfo

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(key = nil, value = nil) ⇒ AccessKeyValueInfo

Returns a new instance of AccessKeyValueInfo.



105
106
107
108
# File 'lib/v20180125/models.rb', line 105

def initialize(key=nil, value=nil)
  @Key = key
  @Value = value
end

Instance Attribute Details

#KeyObject

Parameters:

  • Key:

    需要配置键值或者元字段索引的字段

  • Value:

    字段的索引描述信息



103
104
105
# File 'lib/v20180125/models.rb', line 103

def Key
  @Key
end

#ValueObject

Parameters:

  • Key:

    需要配置键值或者元字段索引的字段

  • Value:

    字段的索引描述信息



103
104
105
# File 'lib/v20180125/models.rb', line 103

def Value
  @Value
end

Instance Method Details

#deserialize(params) ⇒ Object



110
111
112
113
114
115
116
# File 'lib/v20180125/models.rb', line 110

def deserialize(params)
  @Key = params['Key']
  unless params['Value'].nil?
    @Value = AccessValueInfo.new
    @Value.deserialize(params['Value'])
  end
end