Class: TencentCloud::Wedata::V20210820::Pair

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

Overview

键值对

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(key = nil, value = nil, id = nil) ⇒ Pair

Returns a new instance of Pair.



28192
28193
28194
28195
28196
# File 'lib/v20210820/models.rb', line 28192

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

Instance Attribute Details

#IdObject

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

Parameters:

  • Key:

    键名

  • Value:

  • Id:

    唯一标识



28190
28191
28192
# File 'lib/v20210820/models.rb', line 28190

def Id
  @Id
end

#KeyObject

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

Parameters:

  • Key:

    键名

  • Value:

  • Id:

    唯一标识



28190
28191
28192
# File 'lib/v20210820/models.rb', line 28190

def Key
  @Key
end

#ValueObject

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

Parameters:

  • Key:

    键名

  • Value:

  • Id:

    唯一标识



28190
28191
28192
# File 'lib/v20210820/models.rb', line 28190

def Value
  @Value
end

Instance Method Details

#deserialize(params) ⇒ Object



28198
28199
28200
28201
28202
# File 'lib/v20210820/models.rb', line 28198

def deserialize(params)
  @Key = params['Key']
  @Value = params['Value']
  @Id = params['Id']
end