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

#initialize ⇒ RecordField

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

#comment ⇒ Object

Since:

  • 9/2/15



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

def comment
  @comment
end

#id ⇒ Object

Since:

  • 9/2/15



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

def id
  @id
end

#identifier ⇒ Object

Since:

  • 9/2/15



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

def identifier
  @identifier
end

#items ⇒ Object

Since:

  • 9/2/15



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

def items
  @items
end

#label ⇒ Object

Since:

  • 9/2/15



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

def label
  @label
end

#mid ⇒ Object

Since:

  • 9/2/15



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

def mid
  @mid
end

#required ⇒ Object

Since:

  • 9/2/15



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

def required
  @required
end

#type ⇒ Object

Since:

  • 9/2/15



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

def type
  @type
end

#uniqueness ⇒ Object

Since:

  • 9/2/15



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

def uniqueness
  @uniqueness
end