Class: TencentCloud::Trocket::V20230308::CustomMapEntry

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

Overview

map结构返回

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#KeyObject

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

Parameters:

  • Key:

    key

  • Value:

    value



827
828
829
# File 'lib/v20230308/models.rb', line 827

def Key
  @Key
end

#ValueObject

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

Parameters:

  • Key:

    key

  • Value:

    value



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