Class: Rafflesia::SequenceSeedIndexObjectReadBudget
- Inherits:
-
Types::BaseModel
- Object
- Types::BaseModel
- Rafflesia::SequenceSeedIndexObjectReadBudget
- Defined in:
- lib/rafflesia/datasets/sequence_seed_index_object_read_budget.rb
Constant Summary collapse
- HASH_ATTRS =
{ is_configured: :is_configured, is_within_budget: :is_within_budget, materialized_database_bytes: :materialized_database_bytes, max_object_bytes: :max_object_bytes, max_object_reads: :max_object_reads, planned_object_bytes: :planned_object_bytes, planned_object_read_count: :planned_object_read_count, reasons: :reasons, require_zero_materialization: :require_zero_materialization }.freeze
Instance Attribute Summary collapse
-
#is_configured ⇒ Object
Returns the value of attribute is_configured.
-
#is_within_budget ⇒ Object
Returns the value of attribute is_within_budget.
-
#materialized_database_bytes ⇒ Object
Returns the value of attribute materialized_database_bytes.
-
#max_object_bytes ⇒ Object
Returns the value of attribute max_object_bytes.
-
#max_object_reads ⇒ Object
Returns the value of attribute max_object_reads.
-
#planned_object_bytes ⇒ Object
Returns the value of attribute planned_object_bytes.
-
#planned_object_read_count ⇒ Object
Returns the value of attribute planned_object_read_count.
-
#reasons ⇒ Object
Returns the value of attribute reasons.
-
#require_zero_materialization ⇒ Object
Returns the value of attribute require_zero_materialization.
Instance Method Summary collapse
-
#initialize(json) ⇒ SequenceSeedIndexObjectReadBudget
constructor
A new instance of SequenceSeedIndexObjectReadBudget.
Constructor Details
#initialize(json) ⇒ SequenceSeedIndexObjectReadBudget
Returns a new instance of SequenceSeedIndexObjectReadBudget.
31 32 33 34 35 36 37 38 39 40 41 42 43 |
# File 'lib/rafflesia/datasets/sequence_seed_index_object_read_budget.rb', line 31 def initialize(json) super() hash = self.class.normalize(json) @is_configured = hash[:is_configured] @is_within_budget = hash[:is_within_budget] @materialized_database_bytes = hash[:materialized_database_bytes] @max_object_bytes = hash[:max_object_bytes] @max_object_reads = hash[:max_object_reads] @planned_object_bytes = hash[:planned_object_bytes] @planned_object_read_count = hash[:planned_object_read_count] @reasons = (hash[:reasons] || []) @require_zero_materialization = hash[:require_zero_materialization] end |
Instance Attribute Details
#is_configured ⇒ Object
Returns the value of attribute is_configured.
20 21 22 |
# File 'lib/rafflesia/datasets/sequence_seed_index_object_read_budget.rb', line 20 def is_configured @is_configured end |
#is_within_budget ⇒ Object
Returns the value of attribute is_within_budget.
20 21 22 |
# File 'lib/rafflesia/datasets/sequence_seed_index_object_read_budget.rb', line 20 def is_within_budget @is_within_budget end |
#materialized_database_bytes ⇒ Object
Returns the value of attribute materialized_database_bytes.
20 21 22 |
# File 'lib/rafflesia/datasets/sequence_seed_index_object_read_budget.rb', line 20 def materialized_database_bytes @materialized_database_bytes end |
#max_object_bytes ⇒ Object
Returns the value of attribute max_object_bytes.
20 21 22 |
# File 'lib/rafflesia/datasets/sequence_seed_index_object_read_budget.rb', line 20 def max_object_bytes @max_object_bytes end |
#max_object_reads ⇒ Object
Returns the value of attribute max_object_reads.
20 21 22 |
# File 'lib/rafflesia/datasets/sequence_seed_index_object_read_budget.rb', line 20 def max_object_reads @max_object_reads end |
#planned_object_bytes ⇒ Object
Returns the value of attribute planned_object_bytes.
20 21 22 |
# File 'lib/rafflesia/datasets/sequence_seed_index_object_read_budget.rb', line 20 def planned_object_bytes @planned_object_bytes end |
#planned_object_read_count ⇒ Object
Returns the value of attribute planned_object_read_count.
20 21 22 |
# File 'lib/rafflesia/datasets/sequence_seed_index_object_read_budget.rb', line 20 def planned_object_read_count @planned_object_read_count end |
#reasons ⇒ Object
Returns the value of attribute reasons.
20 21 22 |
# File 'lib/rafflesia/datasets/sequence_seed_index_object_read_budget.rb', line 20 def reasons @reasons end |
#require_zero_materialization ⇒ Object
Returns the value of attribute require_zero_materialization.
20 21 22 |
# File 'lib/rafflesia/datasets/sequence_seed_index_object_read_budget.rb', line 20 def require_zero_materialization @require_zero_materialization end |