Class: Rafflesia::DatabaseJoinCertificationRequest
- Inherits:
-
Types::BaseModel
- Object
- Types::BaseModel
- Rafflesia::DatabaseJoinCertificationRequest
- Defined in:
- lib/rafflesia/database_join_certifications/database_join_certification_request.rb
Constant Summary collapse
- HASH_ATTRS =
{ budget: :budget, dataset_name: :dataset_name, dataset_version: :dataset_version, from_database: :from_database, from_release: :from_release, ontology_digest: :ontology_digest, safety: :safety, to_database: :to_database, to_release: :to_release }.freeze
Instance Attribute Summary collapse
-
#budget ⇒ Object
Returns the value of attribute budget.
-
#dataset_name ⇒ Object
Returns the value of attribute dataset_name.
-
#dataset_version ⇒ Object
Returns the value of attribute dataset_version.
-
#from_database ⇒ Object
Returns the value of attribute from_database.
-
#from_release ⇒ Object
Returns the value of attribute from_release.
-
#ontology_digest ⇒ Object
Returns the value of attribute ontology_digest.
-
#safety ⇒ Object
Returns the value of attribute safety.
-
#to_database ⇒ Object
Returns the value of attribute to_database.
-
#to_release ⇒ Object
Returns the value of attribute to_release.
Instance Method Summary collapse
-
#initialize(json) ⇒ DatabaseJoinCertificationRequest
constructor
A new instance of DatabaseJoinCertificationRequest.
Constructor Details
#initialize(json) ⇒ DatabaseJoinCertificationRequest
Returns a new instance of DatabaseJoinCertificationRequest.
31 32 33 34 35 36 37 38 39 40 41 42 43 |
# File 'lib/rafflesia/database_join_certifications/database_join_certification_request.rb', line 31 def initialize(json) super() hash = self.class.normalize(json) @budget = hash[:budget] ? Rafflesia::QueryBudget.new(hash[:budget]) : nil @dataset_name = hash[:dataset_name] @dataset_version = hash[:dataset_version] @from_database = hash[:from_database] @from_release = hash[:from_release] @ontology_digest = hash[:ontology_digest] @safety = hash[:safety] @to_database = hash[:to_database] @to_release = hash[:to_release] end |
Instance Attribute Details
#budget ⇒ Object
Returns the value of attribute budget.
20 21 22 |
# File 'lib/rafflesia/database_join_certifications/database_join_certification_request.rb', line 20 def budget @budget end |
#dataset_name ⇒ Object
Returns the value of attribute dataset_name.
20 21 22 |
# File 'lib/rafflesia/database_join_certifications/database_join_certification_request.rb', line 20 def dataset_name @dataset_name end |
#dataset_version ⇒ Object
Returns the value of attribute dataset_version.
20 21 22 |
# File 'lib/rafflesia/database_join_certifications/database_join_certification_request.rb', line 20 def dataset_version @dataset_version end |
#from_database ⇒ Object
Returns the value of attribute from_database.
20 21 22 |
# File 'lib/rafflesia/database_join_certifications/database_join_certification_request.rb', line 20 def from_database @from_database end |
#from_release ⇒ Object
Returns the value of attribute from_release.
20 21 22 |
# File 'lib/rafflesia/database_join_certifications/database_join_certification_request.rb', line 20 def from_release @from_release end |
#ontology_digest ⇒ Object
Returns the value of attribute ontology_digest.
20 21 22 |
# File 'lib/rafflesia/database_join_certifications/database_join_certification_request.rb', line 20 def ontology_digest @ontology_digest end |
#safety ⇒ Object
Returns the value of attribute safety.
20 21 22 |
# File 'lib/rafflesia/database_join_certifications/database_join_certification_request.rb', line 20 def safety @safety end |
#to_database ⇒ Object
Returns the value of attribute to_database.
20 21 22 |
# File 'lib/rafflesia/database_join_certifications/database_join_certification_request.rb', line 20 def to_database @to_database end |
#to_release ⇒ Object
Returns the value of attribute to_release.
20 21 22 |
# File 'lib/rafflesia/database_join_certifications/database_join_certification_request.rb', line 20 def to_release @to_release end |