Class: RunApi::Core::BaseModel::Field

Inherits:
Struct
  • Object
show all
Defined in:
lib/runapi/core/base_model.rb

Instance Attribute Summary collapse

Instance Attribute Details

#enumObject

Returns the value of attribute enum

Returns:

  • (Object)

    the current value of enum



7
8
9
# File 'lib/runapi/core/base_model.rb', line 7

def enum
  @enum
end

#item_typeObject

Returns the value of attribute item_type

Returns:

  • (Object)

    the current value of item_type



7
8
9
# File 'lib/runapi/core/base_model.rb', line 7

def item_type
  @item_type
end

#nameObject

Returns the value of attribute name

Returns:

  • (Object)

    the current value of name



7
8
9
# File 'lib/runapi/core/base_model.rb', line 7

def name
  @name
end

#requiredObject

Returns the value of attribute required

Returns:

  • (Object)

    the current value of required



7
8
9
# File 'lib/runapi/core/base_model.rb', line 7

def required
  @required
end

#typeObject

Returns the value of attribute type

Returns:

  • (Object)

    the current value of type



7
8
9
# File 'lib/runapi/core/base_model.rb', line 7

def type
  @type
end