Class: Rafflesia::SourceMetricLinksExportRequest
- Inherits:
-
Types::BaseModel
- Object
- Types::BaseModel
- Rafflesia::SourceMetricLinksExportRequest
- Defined in:
- lib/rafflesia/artifacts/source_metric_links_export_request.rb
Constant Summary collapse
- HASH_ATTRS =
{ database: :database, max_links: :max_links, metric_names: :metric_names, output_format: :output_format, output_relation: :output_relation, pairs_table_object_id: :pairs_table_object_id, pairs_table_path: :pairs_table_path, partition_by: :partition_by, preview_limit: :preview_limit, relation: :relation, release: :release, sort_by: :sort_by, source_metrics_table_object_id: :source_metrics_table_object_id, source_metrics_table_path: :source_metrics_table_path, source_sample_regex: :source_sample_regex }.freeze
Instance Attribute Summary collapse
-
#database ⇒ Object
Returns the value of attribute database.
-
#max_links ⇒ Object
Returns the value of attribute max_links.
-
#metric_names ⇒ Object
Returns the value of attribute metric_names.
-
#output_format ⇒ Object
Returns the value of attribute output_format.
-
#output_relation ⇒ Object
Returns the value of attribute output_relation.
-
#pairs_table_object_id ⇒ Object
Returns the value of attribute pairs_table_object_id.
-
#pairs_table_path ⇒ Object
Returns the value of attribute pairs_table_path.
-
#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.
-
#source_metrics_table_object_id ⇒ Object
Returns the value of attribute source_metrics_table_object_id.
-
#source_metrics_table_path ⇒ Object
Returns the value of attribute source_metrics_table_path.
-
#source_sample_regex ⇒ Object
Returns the value of attribute source_sample_regex.
Instance Method Summary collapse
-
#initialize(json) ⇒ SourceMetricLinksExportRequest
constructor
A new instance of SourceMetricLinksExportRequest.
Constructor Details
#initialize(json) ⇒ SourceMetricLinksExportRequest
Returns a new instance of SourceMetricLinksExportRequest.
43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 |
# File 'lib/rafflesia/artifacts/source_metric_links_export_request.rb', line 43 def initialize(json) super() hash = self.class.normalize(json) @database = hash[:database] @max_links = hash[:max_links] @metric_names = (hash[:metric_names] || []) @output_format = hash[:output_format] @output_relation = hash[:output_relation] @pairs_table_object_id = hash[:pairs_table_object_id] @pairs_table_path = hash[:pairs_table_path] @partition_by = (hash[:partition_by] || []) @preview_limit = hash[:preview_limit] @relation = hash[:relation] @release = hash[:release] @sort_by = (hash[:sort_by] || []) @source_metrics_table_object_id = hash[:source_metrics_table_object_id] @source_metrics_table_path = hash[:source_metrics_table_path] @source_sample_regex = hash[:source_sample_regex] end |
Instance Attribute Details
#database ⇒ Object
Returns the value of attribute database.
26 27 28 |
# File 'lib/rafflesia/artifacts/source_metric_links_export_request.rb', line 26 def database @database end |
#max_links ⇒ Object
Returns the value of attribute max_links.
26 27 28 |
# File 'lib/rafflesia/artifacts/source_metric_links_export_request.rb', line 26 def max_links @max_links end |
#metric_names ⇒ Object
Returns the value of attribute metric_names.
26 27 28 |
# File 'lib/rafflesia/artifacts/source_metric_links_export_request.rb', line 26 def metric_names @metric_names end |
#output_format ⇒ Object
Returns the value of attribute output_format.
26 27 28 |
# File 'lib/rafflesia/artifacts/source_metric_links_export_request.rb', line 26 def output_format @output_format end |
#output_relation ⇒ Object
Returns the value of attribute output_relation.
26 27 28 |
# File 'lib/rafflesia/artifacts/source_metric_links_export_request.rb', line 26 def output_relation @output_relation end |
#pairs_table_object_id ⇒ Object
Returns the value of attribute pairs_table_object_id.
26 27 28 |
# File 'lib/rafflesia/artifacts/source_metric_links_export_request.rb', line 26 def pairs_table_object_id @pairs_table_object_id end |
#pairs_table_path ⇒ Object
Returns the value of attribute pairs_table_path.
26 27 28 |
# File 'lib/rafflesia/artifacts/source_metric_links_export_request.rb', line 26 def pairs_table_path @pairs_table_path end |
#partition_by ⇒ Object
Returns the value of attribute partition_by.
26 27 28 |
# File 'lib/rafflesia/artifacts/source_metric_links_export_request.rb', line 26 def partition_by @partition_by end |
#preview_limit ⇒ Object
Returns the value of attribute preview_limit.
26 27 28 |
# File 'lib/rafflesia/artifacts/source_metric_links_export_request.rb', line 26 def preview_limit @preview_limit end |
#relation ⇒ Object
Returns the value of attribute relation.
26 27 28 |
# File 'lib/rafflesia/artifacts/source_metric_links_export_request.rb', line 26 def relation @relation end |
#release ⇒ Object
Returns the value of attribute release.
26 27 28 |
# File 'lib/rafflesia/artifacts/source_metric_links_export_request.rb', line 26 def release @release end |
#sort_by ⇒ Object
Returns the value of attribute sort_by.
26 27 28 |
# File 'lib/rafflesia/artifacts/source_metric_links_export_request.rb', line 26 def sort_by @sort_by end |
#source_metrics_table_object_id ⇒ Object
Returns the value of attribute source_metrics_table_object_id.
26 27 28 |
# File 'lib/rafflesia/artifacts/source_metric_links_export_request.rb', line 26 def source_metrics_table_object_id @source_metrics_table_object_id end |
#source_metrics_table_path ⇒ Object
Returns the value of attribute source_metrics_table_path.
26 27 28 |
# File 'lib/rafflesia/artifacts/source_metric_links_export_request.rb', line 26 def source_metrics_table_path @source_metrics_table_path end |
#source_sample_regex ⇒ Object
Returns the value of attribute source_sample_regex.
26 27 28 |
# File 'lib/rafflesia/artifacts/source_metric_links_export_request.rb', line 26 def source_sample_regex @source_sample_regex end |