Class: Rafflesia::DatasetSourceSnapshotImportRequest
- Inherits:
-
Types::BaseModel
- Object
- Types::BaseModel
- Rafflesia::DatasetSourceSnapshotImportRequest
- Defined in:
- lib/rafflesia/datasets/dataset_source_snapshot_import_request.rb
Constant Summary collapse
- HASH_ATTRS =
{ batch_rows: :batch_rows, checkpoint_path: :checkpoint_path, database: :database, format: :format, import_mode: :import_mode, input_object_id: :input_object_id, input_path: :input_path, output_dir: :output_dir, parser: :parser, release: :release, resume: :resume, source: :source, version: :version }.freeze
Instance Attribute Summary collapse
-
#batch_rows ⇒ Object
Returns the value of attribute batch_rows.
-
#checkpoint_path ⇒ Object
Returns the value of attribute checkpoint_path.
-
#database ⇒ Object
Returns the value of attribute database.
-
#format ⇒ Object
Returns the value of attribute format.
-
#import_mode ⇒ Object
Returns the value of attribute import_mode.
-
#input_object_id ⇒ Object
Returns the value of attribute input_object_id.
-
#input_path ⇒ Object
Returns the value of attribute input_path.
-
#output_dir ⇒ Object
Returns the value of attribute output_dir.
-
#parser ⇒ Object
Returns the value of attribute parser.
-
#release ⇒ Object
Returns the value of attribute release.
-
#resume ⇒ Object
Returns the value of attribute resume.
-
#source ⇒ Object
Returns the value of attribute source.
-
#version ⇒ Object
Returns the value of attribute version.
Instance Method Summary collapse
-
#initialize(json) ⇒ DatasetSourceSnapshotImportRequest
constructor
A new instance of DatasetSourceSnapshotImportRequest.
Constructor Details
#initialize(json) ⇒ DatasetSourceSnapshotImportRequest
Returns a new instance of DatasetSourceSnapshotImportRequest.
39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 |
# File 'lib/rafflesia/datasets/dataset_source_snapshot_import_request.rb', line 39 def initialize(json) super() hash = self.class.normalize(json) @batch_rows = hash[:batch_rows] @checkpoint_path = hash[:checkpoint_path] @database = hash[:database] @format = hash[:format] @import_mode = hash[:import_mode] @input_object_id = hash[:input_object_id] @input_path = hash[:input_path] @output_dir = hash[:output_dir] @parser = hash[:parser] @release = hash[:release] @resume = hash[:resume] @source = hash[:source] @version = hash[:version] end |
Instance Attribute Details
#batch_rows ⇒ Object
Returns the value of attribute batch_rows.
24 25 26 |
# File 'lib/rafflesia/datasets/dataset_source_snapshot_import_request.rb', line 24 def batch_rows @batch_rows end |
#checkpoint_path ⇒ Object
Returns the value of attribute checkpoint_path.
24 25 26 |
# File 'lib/rafflesia/datasets/dataset_source_snapshot_import_request.rb', line 24 def checkpoint_path @checkpoint_path end |
#database ⇒ Object
Returns the value of attribute database.
24 25 26 |
# File 'lib/rafflesia/datasets/dataset_source_snapshot_import_request.rb', line 24 def database @database end |
#format ⇒ Object
Returns the value of attribute format.
24 25 26 |
# File 'lib/rafflesia/datasets/dataset_source_snapshot_import_request.rb', line 24 def format @format end |
#import_mode ⇒ Object
Returns the value of attribute import_mode.
24 25 26 |
# File 'lib/rafflesia/datasets/dataset_source_snapshot_import_request.rb', line 24 def import_mode @import_mode end |
#input_object_id ⇒ Object
Returns the value of attribute input_object_id.
24 25 26 |
# File 'lib/rafflesia/datasets/dataset_source_snapshot_import_request.rb', line 24 def input_object_id @input_object_id end |
#input_path ⇒ Object
Returns the value of attribute input_path.
24 25 26 |
# File 'lib/rafflesia/datasets/dataset_source_snapshot_import_request.rb', line 24 def input_path @input_path end |
#output_dir ⇒ Object
Returns the value of attribute output_dir.
24 25 26 |
# File 'lib/rafflesia/datasets/dataset_source_snapshot_import_request.rb', line 24 def output_dir @output_dir end |
#parser ⇒ Object
Returns the value of attribute parser.
24 25 26 |
# File 'lib/rafflesia/datasets/dataset_source_snapshot_import_request.rb', line 24 def parser @parser end |
#release ⇒ Object
Returns the value of attribute release.
24 25 26 |
# File 'lib/rafflesia/datasets/dataset_source_snapshot_import_request.rb', line 24 def release @release end |
#resume ⇒ Object
Returns the value of attribute resume.
24 25 26 |
# File 'lib/rafflesia/datasets/dataset_source_snapshot_import_request.rb', line 24 def resume @resume end |
#source ⇒ Object
Returns the value of attribute source.
24 25 26 |
# File 'lib/rafflesia/datasets/dataset_source_snapshot_import_request.rb', line 24 def source @source end |
#version ⇒ Object
Returns the value of attribute version.
24 25 26 |
# File 'lib/rafflesia/datasets/dataset_source_snapshot_import_request.rb', line 24 def version @version end |