Class: Rafflesia::OntologyOnboardingColumnRequest
- Inherits:
-
Types::BaseModel
- Object
- Types::BaseModel
- Rafflesia::OntologyOnboardingColumnRequest
- Defined in:
- lib/rafflesia/ontology/ontology_onboarding_column_request.rb
Constant Summary collapse
- HASH_ATTRS =
{ allowed_values: :allowed_values, coordinate_system: :coordinate_system, description: :description, examples: :examples, identifier_namespace: :identifier_namespace, is_nullable: :is_nullable, name: :name, null_meaning: :null_meaning, ordinal: :ordinal, type: :type, unit: :unit, value_kind: :value_kind }.freeze
Instance Attribute Summary collapse
-
#allowed_values ⇒ Object
Returns the value of attribute allowed_values.
-
#coordinate_system ⇒ Object
Returns the value of attribute coordinate_system.
-
#description ⇒ Object
Returns the value of attribute description.
-
#examples ⇒ Object
Returns the value of attribute examples.
-
#identifier_namespace ⇒ Object
Returns the value of attribute identifier_namespace.
-
#is_nullable ⇒ Object
Returns the value of attribute is_nullable.
-
#name ⇒ Object
Returns the value of attribute name.
-
#null_meaning ⇒ Object
Returns the value of attribute null_meaning.
-
#ordinal ⇒ Object
Returns the value of attribute ordinal.
-
#type ⇒ Object
Returns the value of attribute type.
-
#unit ⇒ Object
Returns the value of attribute unit.
-
#value_kind ⇒ Object
Returns the value of attribute value_kind.
Instance Method Summary collapse
-
#initialize(json) ⇒ OntologyOnboardingColumnRequest
constructor
A new instance of OntologyOnboardingColumnRequest.
Constructor Details
#initialize(json) ⇒ OntologyOnboardingColumnRequest
Returns a new instance of OntologyOnboardingColumnRequest.
37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 |
# File 'lib/rafflesia/ontology/ontology_onboarding_column_request.rb', line 37 def initialize(json) super() hash = self.class.normalize(json) @allowed_values = (hash[:allowed_values] || []) @coordinate_system = hash[:coordinate_system] @description = hash[:description] @examples = (hash[:examples] || []) @identifier_namespace = hash[:identifier_namespace] @is_nullable = hash[:is_nullable] @name = hash[:name] @null_meaning = hash[:null_meaning] @ordinal = hash[:ordinal] @type = hash[:type] @unit = hash[:unit] @value_kind = hash[:value_kind] end |
Instance Attribute Details
#allowed_values ⇒ Object
Returns the value of attribute allowed_values.
23 24 25 |
# File 'lib/rafflesia/ontology/ontology_onboarding_column_request.rb', line 23 def allowed_values @allowed_values end |
#coordinate_system ⇒ Object
Returns the value of attribute coordinate_system.
23 24 25 |
# File 'lib/rafflesia/ontology/ontology_onboarding_column_request.rb', line 23 def coordinate_system @coordinate_system end |
#description ⇒ Object
Returns the value of attribute description.
23 24 25 |
# File 'lib/rafflesia/ontology/ontology_onboarding_column_request.rb', line 23 def description @description end |
#examples ⇒ Object
Returns the value of attribute examples.
23 24 25 |
# File 'lib/rafflesia/ontology/ontology_onboarding_column_request.rb', line 23 def examples @examples end |
#identifier_namespace ⇒ Object
Returns the value of attribute identifier_namespace.
23 24 25 |
# File 'lib/rafflesia/ontology/ontology_onboarding_column_request.rb', line 23 def identifier_namespace @identifier_namespace end |
#is_nullable ⇒ Object
Returns the value of attribute is_nullable.
23 24 25 |
# File 'lib/rafflesia/ontology/ontology_onboarding_column_request.rb', line 23 def is_nullable @is_nullable end |
#name ⇒ Object
Returns the value of attribute name.
23 24 25 |
# File 'lib/rafflesia/ontology/ontology_onboarding_column_request.rb', line 23 def name @name end |
#null_meaning ⇒ Object
Returns the value of attribute null_meaning.
23 24 25 |
# File 'lib/rafflesia/ontology/ontology_onboarding_column_request.rb', line 23 def null_meaning @null_meaning end |
#ordinal ⇒ Object
Returns the value of attribute ordinal.
23 24 25 |
# File 'lib/rafflesia/ontology/ontology_onboarding_column_request.rb', line 23 def ordinal @ordinal end |
#type ⇒ Object
Returns the value of attribute type.
23 24 25 |
# File 'lib/rafflesia/ontology/ontology_onboarding_column_request.rb', line 23 def type @type end |
#unit ⇒ Object
Returns the value of attribute unit.
23 24 25 |
# File 'lib/rafflesia/ontology/ontology_onboarding_column_request.rb', line 23 def unit @unit end |
#value_kind ⇒ Object
Returns the value of attribute value_kind.
23 24 25 |
# File 'lib/rafflesia/ontology/ontology_onboarding_column_request.rb', line 23 def value_kind @value_kind end |