Class: TencentCloud::Trocket::V20230308::CustomMapEntry
- Inherits:
-
Common::AbstractModel
- Object
- Common::AbstractModel
- TencentCloud::Trocket::V20230308::CustomMapEntry
- Defined in:
- lib/v20230308/models.rb
Overview
map结构返回
Instance Attribute Summary collapse
-
#Key ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。.
-
#Value ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。.
Instance Method Summary collapse
- #deserialize(params) ⇒ Object
-
#initialize(key = nil, value = nil) ⇒ CustomMapEntry
constructor
A new instance of CustomMapEntry.
Constructor Details
#initialize(key = nil, value = nil) ⇒ CustomMapEntry
Returns a new instance of CustomMapEntry.
829 830 831 832 |
# File 'lib/v20230308/models.rb', line 829 def initialize(key=nil, value=nil) @Key = key @Value = value end |
Instance Attribute Details
#Key ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。
827 828 829 |
# File 'lib/v20230308/models.rb', line 827 def Key @Key end |
#Value ⇒ Object
注意:此字段可能返回 null,表示取不到有效值。 注意:此字段可能返回 null,表示取不到有效值。
827 828 829 |
# File 'lib/v20230308/models.rb', line 827 def Value @Value end |
Instance Method Details
#deserialize(params) ⇒ Object
834 835 836 837 |
# File 'lib/v20230308/models.rb', line 834 def deserialize(params) @Key = params['Key'] @Value = params['Value'] end |