Class: Rafflesia::ArchiveSourceMetricsExportRequest
- Inherits:
-
Types::BaseModel
- Object
- Types::BaseModel
- Rafflesia::ArchiveSourceMetricsExportRequest
- Defined in:
- lib/rafflesia/artifacts/archive_source_metrics_export_request.rb
Constant Summary collapse
- HASH_ATTRS =
{ database: :database, include_path_substrings: :include_path_substrings, inventory_object_id: :inventory_object_id, inventory_path: :inventory_path, max_depth: :max_depth, max_files: :max_files, max_object_bytes: :max_object_bytes, output_format: :output_format, output_relation: :output_relation, partition_by: :partition_by, preview_limit: :preview_limit, relation: :relation, release: :release, sort_by: :sort_by }.freeze
Instance Attribute Summary collapse
-
#database ⇒ Object
Returns the value of attribute database.
-
#include_path_substrings ⇒ Object
Returns the value of attribute include_path_substrings.
-
#inventory_object_id ⇒ Object
Returns the value of attribute inventory_object_id.
-
#inventory_path ⇒ Object
Returns the value of attribute inventory_path.
-
#max_depth ⇒ Object
Returns the value of attribute max_depth.
-
#max_files ⇒ Object
Returns the value of attribute max_files.
-
#max_object_bytes ⇒ Object
Returns the value of attribute max_object_bytes.
-
#output_format ⇒ Object
Returns the value of attribute output_format.
-
#output_relation ⇒ Object
Returns the value of attribute output_relation.
-
#partition_by ⇒ Object
Returns the value of attribute partition_by.
-
#preview_limit ⇒ Object
Returns the value of attribute preview_limit.
-
#relation ⇒ Object
Returns the value of attribute relation.
-
#release ⇒ Object
Returns the value of attribute release.
-
#sort_by ⇒ Object
Returns the value of attribute sort_by.
Instance Method Summary collapse
-
#initialize(json) ⇒ ArchiveSourceMetricsExportRequest
constructor
A new instance of ArchiveSourceMetricsExportRequest.
Constructor Details
#initialize(json) ⇒ ArchiveSourceMetricsExportRequest
Returns a new instance of ArchiveSourceMetricsExportRequest.
41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 |
# File 'lib/rafflesia/artifacts/archive_source_metrics_export_request.rb', line 41 def initialize(json) super() hash = self.class.normalize(json) @database = hash[:database] @include_path_substrings = (hash[:include_path_substrings] || []) @inventory_object_id = hash[:inventory_object_id] @inventory_path = hash[:inventory_path] @max_depth = hash[:max_depth] @max_files = hash[:max_files] @max_object_bytes = hash[:max_object_bytes] @output_format = hash[:output_format] @output_relation = hash[:output_relation] @partition_by = (hash[:partition_by] || []) @preview_limit = hash[:preview_limit] @relation = hash[:relation] @release = hash[:release] @sort_by = (hash[:sort_by] || []) end |
Instance Attribute Details
#database ⇒ Object
Returns the value of attribute database.
25 26 27 |
# File 'lib/rafflesia/artifacts/archive_source_metrics_export_request.rb', line 25 def database @database end |
#include_path_substrings ⇒ Object
Returns the value of attribute include_path_substrings.
25 26 27 |
# File 'lib/rafflesia/artifacts/archive_source_metrics_export_request.rb', line 25 def include_path_substrings @include_path_substrings end |
#inventory_object_id ⇒ Object
Returns the value of attribute inventory_object_id.
25 26 27 |
# File 'lib/rafflesia/artifacts/archive_source_metrics_export_request.rb', line 25 def inventory_object_id @inventory_object_id end |
#inventory_path ⇒ Object
Returns the value of attribute inventory_path.
25 26 27 |
# File 'lib/rafflesia/artifacts/archive_source_metrics_export_request.rb', line 25 def inventory_path @inventory_path end |
#max_depth ⇒ Object
Returns the value of attribute max_depth.
25 26 27 |
# File 'lib/rafflesia/artifacts/archive_source_metrics_export_request.rb', line 25 def max_depth @max_depth end |
#max_files ⇒ Object
Returns the value of attribute max_files.
25 26 27 |
# File 'lib/rafflesia/artifacts/archive_source_metrics_export_request.rb', line 25 def max_files @max_files end |
#max_object_bytes ⇒ Object
Returns the value of attribute max_object_bytes.
25 26 27 |
# File 'lib/rafflesia/artifacts/archive_source_metrics_export_request.rb', line 25 def max_object_bytes @max_object_bytes end |
#output_format ⇒ Object
Returns the value of attribute output_format.
25 26 27 |
# File 'lib/rafflesia/artifacts/archive_source_metrics_export_request.rb', line 25 def output_format @output_format end |
#output_relation ⇒ Object
Returns the value of attribute output_relation.
25 26 27 |
# File 'lib/rafflesia/artifacts/archive_source_metrics_export_request.rb', line 25 def output_relation @output_relation end |
#partition_by ⇒ Object
Returns the value of attribute partition_by.
25 26 27 |
# File 'lib/rafflesia/artifacts/archive_source_metrics_export_request.rb', line 25 def partition_by @partition_by end |
#preview_limit ⇒ Object
Returns the value of attribute preview_limit.
25 26 27 |
# File 'lib/rafflesia/artifacts/archive_source_metrics_export_request.rb', line 25 def preview_limit @preview_limit end |
#relation ⇒ Object
Returns the value of attribute relation.
25 26 27 |
# File 'lib/rafflesia/artifacts/archive_source_metrics_export_request.rb', line 25 def relation @relation end |
#release ⇒ Object
Returns the value of attribute release.
25 26 27 |
# File 'lib/rafflesia/artifacts/archive_source_metrics_export_request.rb', line 25 def release @release end |
#sort_by ⇒ Object
Returns the value of attribute sort_by.
25 26 27 |
# File 'lib/rafflesia/artifacts/archive_source_metrics_export_request.rb', line 25 def sort_by @sort_by end |