Class: TencentCloud::Waf::V20180125::AccessKeyValueInfo
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Waf::V20180125::AccessKeyValueInfo
- Defined in:
- lib/v20180125/models.rb
Overview
用于 DescribeAccessIndex 的出参
Instance Attribute Summary collapse
-
#Key ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。.
-
#Value ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。.
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(key = nil, value = nil) ⇒ AccessKeyValueInfo
constructor
A new instance of AccessKeyValueInfo.
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
#Key ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。
84 85 86 |
# File 'lib/v20180125/models.rb', line 84 def Key @Key end |
#Value ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。
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 |