Class: TencentCloud::Wedata::V20210820::RecordField

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

Overview

通用记录字段,与服务端约定传入合法的键值对

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(name = nil, value = nil) ⇒ RecordField

Returns a new instance of RecordField.



29290
29291
29292
29293
# File 'lib/v20210820/models.rb', line 29290

def initialize(name=nil, value=nil)
  @Name = name
  @Value = value
end

Instance Attribute Details

#NameObject

Parameters:

  • Name:

    字段名称,拓展字段名称

  • Value:

    字段值,拓展字段值



29288
29289
29290
# File 'lib/v20210820/models.rb', line 29288

def Name
  @Name
end

#ValueObject

Parameters:

  • Name:

    字段名称,拓展字段名称

  • Value:

    字段值,拓展字段值



29288
29289
29290
# File 'lib/v20210820/models.rb', line 29288

def Value
  @Value
end

Instance Method Details

#deserialize(params) ⇒ Object



29295
29296
29297
29298
# File 'lib/v20210820/models.rb', line 29295

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