Class: Dynamicloud::API::Model::RecordField

Inherits:
Object
  • Object
show all
Defined in:
lib/dynamic_model.rb

Overview

Represents a field in Dynamicloud.

Author:

  • Eleazar Gomez

Since:

  • 9/2/15

Version:

  • 1.0.0

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeRecordField

Returns a new instance of RecordField.

Since:

  • 9/2/15



91
92
93
94
95
96
97
98
99
100
101
# File 'lib/dynamic_model.rb', line 91

def initialize
  @id = -1
  @identifier = nil
  @label = nil
  @comment = nil
  @uniqueness = false
  @required = false
  @type = nil
  @items = nil
  @mid = -1
end

Instance Attribute Details

#commentObject

Since:

  • 9/2/15



89
90
91
# File 'lib/dynamic_model.rb', line 89

def comment
  @comment
end

#idObject

Since:

  • 9/2/15



89
90
91
# File 'lib/dynamic_model.rb', line 89

def id
  @id
end

#identifierObject

Since:

  • 9/2/15



89
90
91
# File 'lib/dynamic_model.rb', line 89

def identifier
  @identifier
end

#itemsObject

Since:

  • 9/2/15



89
90
91
# File 'lib/dynamic_model.rb', line 89

def items
  @items
end

#labelObject

Since:

  • 9/2/15



89
90
91
# File 'lib/dynamic_model.rb', line 89

def label
  @label
end

#midObject

Since:

  • 9/2/15



89
90
91
# File 'lib/dynamic_model.rb', line 89

def mid
  @mid
end

#requiredObject

Since:

  • 9/2/15



89
90
91
# File 'lib/dynamic_model.rb', line 89

def required
  @required
end

#typeObject

Since:

  • 9/2/15



89
90
91
# File 'lib/dynamic_model.rb', line 89

def type
  @type
end

#uniquenessObject

Since:

  • 9/2/15



89
90
91
# File 'lib/dynamic_model.rb', line 89

def uniqueness
  @uniqueness
end