Class: Rafflesia::OntologyOnboardingReviewedAnchorRequest
- Inherits:
-
Types::BaseModel
- Object
- Types::BaseModel
- Rafflesia::OntologyOnboardingReviewedAnchorRequest
- Defined in:
- lib/rafflesia/ontology/ontology_onboarding_reviewed_anchor_request.rb
Constant Summary collapse
- HASH_ATTRS =
{ cardinality: :cardinality, coordinate_notes: :coordinate_notes, remote_columns: :remote_columns, review_digest: :review_digest, review_id: :review_id, semantic_basis: :semantic_basis, to_relation: :to_relation }.freeze
Instance Attribute Summary collapse
-
#cardinality ⇒ Object
Returns the value of attribute cardinality.
-
#coordinate_notes ⇒ Object
Returns the value of attribute coordinate_notes.
-
#remote_columns ⇒ Object
Returns the value of attribute remote_columns.
-
#review_digest ⇒ Object
Returns the value of attribute review_digest.
-
#review_id ⇒ Object
Returns the value of attribute review_id.
-
#semantic_basis ⇒ Object
Returns the value of attribute semantic_basis.
-
#to_relation ⇒ Object
Returns the value of attribute to_relation.
Instance Method Summary collapse
-
#initialize(json) ⇒ OntologyOnboardingReviewedAnchorRequest
constructor
A new instance of OntologyOnboardingReviewedAnchorRequest.
Constructor Details
#initialize(json) ⇒ OntologyOnboardingReviewedAnchorRequest
Returns a new instance of OntologyOnboardingReviewedAnchorRequest.
27 28 29 30 31 32 33 34 35 36 37 |
# File 'lib/rafflesia/ontology/ontology_onboarding_reviewed_anchor_request.rb', line 27 def initialize(json) super() hash = self.class.normalize(json) @cardinality = hash[:cardinality] @coordinate_notes = hash[:coordinate_notes] @remote_columns = (hash[:remote_columns] || []) @review_digest = hash[:review_digest] @review_id = hash[:review_id] @semantic_basis = hash[:semantic_basis] @to_relation = hash[:to_relation] end |
Instance Attribute Details
#cardinality ⇒ Object
Returns the value of attribute cardinality.
18 19 20 |
# File 'lib/rafflesia/ontology/ontology_onboarding_reviewed_anchor_request.rb', line 18 def cardinality @cardinality end |
#coordinate_notes ⇒ Object
Returns the value of attribute coordinate_notes.
18 19 20 |
# File 'lib/rafflesia/ontology/ontology_onboarding_reviewed_anchor_request.rb', line 18 def coordinate_notes @coordinate_notes end |
#remote_columns ⇒ Object
Returns the value of attribute remote_columns.
18 19 20 |
# File 'lib/rafflesia/ontology/ontology_onboarding_reviewed_anchor_request.rb', line 18 def remote_columns @remote_columns end |
#review_digest ⇒ Object
Returns the value of attribute review_digest.
18 19 20 |
# File 'lib/rafflesia/ontology/ontology_onboarding_reviewed_anchor_request.rb', line 18 def review_digest @review_digest end |
#review_id ⇒ Object
Returns the value of attribute review_id.
18 19 20 |
# File 'lib/rafflesia/ontology/ontology_onboarding_reviewed_anchor_request.rb', line 18 def review_id @review_id end |
#semantic_basis ⇒ Object
Returns the value of attribute semantic_basis.
18 19 20 |
# File 'lib/rafflesia/ontology/ontology_onboarding_reviewed_anchor_request.rb', line 18 def semantic_basis @semantic_basis end |
#to_relation ⇒ Object
Returns the value of attribute to_relation.
18 19 20 |
# File 'lib/rafflesia/ontology/ontology_onboarding_reviewed_anchor_request.rb', line 18 def to_relation @to_relation end |