Class: Rafflesia::BiosearchQueryProfileIngestRequest
- Inherits:
-
Types::BaseModel
- Object
- Types::BaseModel
- Rafflesia::BiosearchQueryProfileIngestRequest
- Defined in:
- lib/rafflesia/biosearch/biosearch_query_profile_ingest_request.rb
Constant Summary collapse
- HASH_ATTRS =
{ allow_duplicate: :allow_duplicate, dry_run: :dry_run, expected_row_count: :expected_row_count, ingest_mode: :ingest_mode, insert_chunk_bytes: :insert_chunk_bytes, path: :path }.freeze
Instance Attribute Summary collapse
-
#allow_duplicate ⇒ Object
Returns the value of attribute allow_duplicate.
-
#dry_run ⇒ Object
Returns the value of attribute dry_run.
-
#expected_row_count ⇒ Object
Returns the value of attribute expected_row_count.
-
#ingest_mode ⇒ Object
Returns the value of attribute ingest_mode.
-
#insert_chunk_bytes ⇒ Object
Returns the value of attribute insert_chunk_bytes.
-
#path ⇒ Object
Returns the value of attribute path.
Instance Method Summary collapse
-
#initialize(json) ⇒ BiosearchQueryProfileIngestRequest
constructor
A new instance of BiosearchQueryProfileIngestRequest.
Constructor Details
#initialize(json) ⇒ BiosearchQueryProfileIngestRequest
Returns a new instance of BiosearchQueryProfileIngestRequest.
25 26 27 28 29 30 31 32 33 34 |
# File 'lib/rafflesia/biosearch/biosearch_query_profile_ingest_request.rb', line 25 def initialize(json) super() hash = self.class.normalize(json) @allow_duplicate = hash[:allow_duplicate] @dry_run = hash[:dry_run] @expected_row_count = hash[:expected_row_count] @ingest_mode = hash[:ingest_mode] @insert_chunk_bytes = hash[:insert_chunk_bytes] @path = hash[:path] end |
Instance Attribute Details
#allow_duplicate ⇒ Object
Returns the value of attribute allow_duplicate.
17 18 19 |
# File 'lib/rafflesia/biosearch/biosearch_query_profile_ingest_request.rb', line 17 def allow_duplicate @allow_duplicate end |
#dry_run ⇒ Object
Returns the value of attribute dry_run.
17 18 19 |
# File 'lib/rafflesia/biosearch/biosearch_query_profile_ingest_request.rb', line 17 def dry_run @dry_run end |
#expected_row_count ⇒ Object
Returns the value of attribute expected_row_count.
17 18 19 |
# File 'lib/rafflesia/biosearch/biosearch_query_profile_ingest_request.rb', line 17 def expected_row_count @expected_row_count end |
#ingest_mode ⇒ Object
Returns the value of attribute ingest_mode.
17 18 19 |
# File 'lib/rafflesia/biosearch/biosearch_query_profile_ingest_request.rb', line 17 def ingest_mode @ingest_mode end |
#insert_chunk_bytes ⇒ Object
Returns the value of attribute insert_chunk_bytes.
17 18 19 |
# File 'lib/rafflesia/biosearch/biosearch_query_profile_ingest_request.rb', line 17 def insert_chunk_bytes @insert_chunk_bytes end |
#path ⇒ Object
Returns the value of attribute path.
17 18 19 |
# File 'lib/rafflesia/biosearch/biosearch_query_profile_ingest_request.rb', line 17 def path @path end |