Class: Rafflesia::ObjectArtifactImportRequest
- Inherits:
-
Types::BaseModel
- Object
- Types::BaseModel
- Rafflesia::ObjectArtifactImportRequest
- Defined in:
- lib/rafflesia/objects/object_artifact_import_request.rb
Constant Summary collapse
- HASH_ATTRS =
{ allow_incomplete: :allow_incomplete, archive_inventory_object_id: :archive_inventory_object_id, archive_inventory_path: :archive_inventory_path, archive_required_member_paths: :archive_required_member_paths, dataset_name: :dataset_name, dataset_version: :dataset_version, dependency_manifest_ids: :dependency_manifest_ids, is_collection: :is_collection, kind: :kind, layout_prefix: :layout_prefix, license: :license, marker_paths: :marker_paths, mount_path: :mount_path, name: :name, output_dir: :output_dir, path: :path, shard_size_bytes: :shard_size_bytes, source_uri: :source_uri, tool_name: :tool_name, tool_version: :tool_version, version: :version }.freeze
Instance Attribute Summary collapse
-
#allow_incomplete ⇒ Object
Returns the value of attribute allow_incomplete.
-
#archive_inventory_object_id ⇒ Object
Returns the value of attribute archive_inventory_object_id.
-
#archive_inventory_path ⇒ Object
Returns the value of attribute archive_inventory_path.
-
#archive_required_member_paths ⇒ Object
Returns the value of attribute archive_required_member_paths.
-
#dataset_name ⇒ Object
Returns the value of attribute dataset_name.
-
#dataset_version ⇒ Object
Returns the value of attribute dataset_version.
-
#dependency_manifest_ids ⇒ Object
Returns the value of attribute dependency_manifest_ids.
-
#is_collection ⇒ Object
Returns the value of attribute is_collection.
-
#kind ⇒ Object
Returns the value of attribute kind.
-
#layout_prefix ⇒ Object
Returns the value of attribute layout_prefix.
-
#license ⇒ Object
Returns the value of attribute license.
-
#marker_paths ⇒ Object
Returns the value of attribute marker_paths.
-
#mount_path ⇒ Object
Returns the value of attribute mount_path.
-
#name ⇒ Object
Returns the value of attribute name.
-
#output_dir ⇒ Object
Returns the value of attribute output_dir.
-
#path ⇒ Object
Returns the value of attribute path.
-
#shard_size_bytes ⇒ Object
Returns the value of attribute shard_size_bytes.
-
#source_uri ⇒ Object
Returns the value of attribute source_uri.
-
#tool_name ⇒ Object
Returns the value of attribute tool_name.
-
#tool_version ⇒ Object
Returns the value of attribute tool_version.
-
#version ⇒ Object
Returns the value of attribute version.
Instance Method Summary collapse
-
#initialize(json) ⇒ ObjectArtifactImportRequest
constructor
A new instance of ObjectArtifactImportRequest.
Constructor Details
#initialize(json) ⇒ ObjectArtifactImportRequest
Returns a new instance of ObjectArtifactImportRequest.
55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 |
# File 'lib/rafflesia/objects/object_artifact_import_request.rb', line 55 def initialize(json) super() hash = self.class.normalize(json) @allow_incomplete = hash[:allow_incomplete] @archive_inventory_object_id = hash[:archive_inventory_object_id] @archive_inventory_path = hash[:archive_inventory_path] @archive_required_member_paths = (hash[:archive_required_member_paths] || []) @dataset_name = hash[:dataset_name] @dataset_version = hash[:dataset_version] @dependency_manifest_ids = (hash[:dependency_manifest_ids] || []) @is_collection = hash[:is_collection] @kind = hash[:kind] @layout_prefix = hash[:layout_prefix] @license = hash[:license] @marker_paths = (hash[:marker_paths] || []) @mount_path = hash[:mount_path] @name = hash[:name] @output_dir = hash[:output_dir] @path = hash[:path] @shard_size_bytes = hash[:shard_size_bytes] @source_uri = hash[:source_uri] @tool_name = hash[:tool_name] @tool_version = hash[:tool_version] @version = hash[:version] end |
Instance Attribute Details
#allow_incomplete ⇒ Object
Returns the value of attribute allow_incomplete.
32 33 34 |
# File 'lib/rafflesia/objects/object_artifact_import_request.rb', line 32 def allow_incomplete @allow_incomplete end |
#archive_inventory_object_id ⇒ Object
Returns the value of attribute archive_inventory_object_id.
32 33 34 |
# File 'lib/rafflesia/objects/object_artifact_import_request.rb', line 32 def archive_inventory_object_id @archive_inventory_object_id end |
#archive_inventory_path ⇒ Object
Returns the value of attribute archive_inventory_path.
32 33 34 |
# File 'lib/rafflesia/objects/object_artifact_import_request.rb', line 32 def archive_inventory_path @archive_inventory_path end |
#archive_required_member_paths ⇒ Object
Returns the value of attribute archive_required_member_paths.
32 33 34 |
# File 'lib/rafflesia/objects/object_artifact_import_request.rb', line 32 def archive_required_member_paths @archive_required_member_paths end |
#dataset_name ⇒ Object
Returns the value of attribute dataset_name.
32 33 34 |
# File 'lib/rafflesia/objects/object_artifact_import_request.rb', line 32 def dataset_name @dataset_name end |
#dataset_version ⇒ Object
Returns the value of attribute dataset_version.
32 33 34 |
# File 'lib/rafflesia/objects/object_artifact_import_request.rb', line 32 def dataset_version @dataset_version end |
#dependency_manifest_ids ⇒ Object
Returns the value of attribute dependency_manifest_ids.
32 33 34 |
# File 'lib/rafflesia/objects/object_artifact_import_request.rb', line 32 def dependency_manifest_ids @dependency_manifest_ids end |
#is_collection ⇒ Object
Returns the value of attribute is_collection.
32 33 34 |
# File 'lib/rafflesia/objects/object_artifact_import_request.rb', line 32 def is_collection @is_collection end |
#kind ⇒ Object
Returns the value of attribute kind.
32 33 34 |
# File 'lib/rafflesia/objects/object_artifact_import_request.rb', line 32 def kind @kind end |
#layout_prefix ⇒ Object
Returns the value of attribute layout_prefix.
32 33 34 |
# File 'lib/rafflesia/objects/object_artifact_import_request.rb', line 32 def layout_prefix @layout_prefix end |
#license ⇒ Object
Returns the value of attribute license.
32 33 34 |
# File 'lib/rafflesia/objects/object_artifact_import_request.rb', line 32 def license @license end |
#marker_paths ⇒ Object
Returns the value of attribute marker_paths.
32 33 34 |
# File 'lib/rafflesia/objects/object_artifact_import_request.rb', line 32 def marker_paths @marker_paths end |
#mount_path ⇒ Object
Returns the value of attribute mount_path.
32 33 34 |
# File 'lib/rafflesia/objects/object_artifact_import_request.rb', line 32 def mount_path @mount_path end |
#name ⇒ Object
Returns the value of attribute name.
32 33 34 |
# File 'lib/rafflesia/objects/object_artifact_import_request.rb', line 32 def name @name end |
#output_dir ⇒ Object
Returns the value of attribute output_dir.
32 33 34 |
# File 'lib/rafflesia/objects/object_artifact_import_request.rb', line 32 def output_dir @output_dir end |
#path ⇒ Object
Returns the value of attribute path.
32 33 34 |
# File 'lib/rafflesia/objects/object_artifact_import_request.rb', line 32 def path @path end |
#shard_size_bytes ⇒ Object
Returns the value of attribute shard_size_bytes.
32 33 34 |
# File 'lib/rafflesia/objects/object_artifact_import_request.rb', line 32 def shard_size_bytes @shard_size_bytes end |
#source_uri ⇒ Object
Returns the value of attribute source_uri.
32 33 34 |
# File 'lib/rafflesia/objects/object_artifact_import_request.rb', line 32 def source_uri @source_uri end |
#tool_name ⇒ Object
Returns the value of attribute tool_name.
32 33 34 |
# File 'lib/rafflesia/objects/object_artifact_import_request.rb', line 32 def tool_name @tool_name end |
#tool_version ⇒ Object
Returns the value of attribute tool_version.
32 33 34 |
# File 'lib/rafflesia/objects/object_artifact_import_request.rb', line 32 def tool_version @tool_version end |
#version ⇒ Object
Returns the value of attribute version.
32 33 34 |
# File 'lib/rafflesia/objects/object_artifact_import_request.rb', line 32 def version @version end |