Class: DingSDK::MetadataFields::Field

Inherits:
Object
  • Object
show all
Defined in:
lib/ding_sdk/utils/metadata_fields.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(name, type, metadata) ⇒ Field

Returns a new instance of Field.



13
14
15
16
17
# File 'lib/ding_sdk/utils/metadata_fields.rb', line 13

def initialize(name, type, )
  @name = name
  @type = type
  @metadata = 
end

Instance Attribute Details

#metadataObject

Returns the value of attribute metadata.



11
12
13
# File 'lib/ding_sdk/utils/metadata_fields.rb', line 11

def 
  @metadata
end

#nameObject

Returns the value of attribute name.



11
12
13
# File 'lib/ding_sdk/utils/metadata_fields.rb', line 11

def name
  @name
end

#typeObject

Returns the value of attribute type.



11
12
13
# File 'lib/ding_sdk/utils/metadata_fields.rb', line 11

def type
  @type
end