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.



86
87
88
89
# File 'lib/v20180125/models.rb', line 86

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

Instance Attribute Details

#KeyObject

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

Parameters:

  • Key:

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

  • Value:

    字段的索引描述信息



84
85
86
# File 'lib/v20180125/models.rb', line 84

def Key
  @Key
end

#ValueObject

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

Parameters:

  • Key:

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

  • Value:

    字段的索引描述信息



84
85
86
# File 'lib/v20180125/models.rb', line 84

def Value
  @Value
end

Instance Method Details

#deserialize(params) ⇒ Object



91
92
93
94
95
96
97
# File 'lib/v20180125/models.rb', line 91

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