Class: Rafflesia::DatasetSourceSnapshotPreflightRequest
- Inherits:
-
Types::BaseModel
- Object
- Types::BaseModel
- Rafflesia::DatasetSourceSnapshotPreflightRequest
- Defined in:
- lib/rafflesia/datasets/dataset_source_snapshot_preflight_request.rb
Constant Summary collapse
- HASH_ATTRS =
{ additional_working_bytes: :additional_working_bytes, artifact_kind: :artifact_kind, minimum_free_bytes: :minimum_free_bytes, source: :source, url: :url }.freeze
Instance Attribute Summary collapse
-
#additional_working_bytes ⇒ Object
Returns the value of attribute additional_working_bytes.
-
#artifact_kind ⇒ Object
Returns the value of attribute artifact_kind.
-
#minimum_free_bytes ⇒ Object
Returns the value of attribute minimum_free_bytes.
-
#source ⇒ Object
Returns the value of attribute source.
-
#url ⇒ Object
Returns the value of attribute url.
Instance Method Summary collapse
-
#initialize(json) ⇒ DatasetSourceSnapshotPreflightRequest
constructor
A new instance of DatasetSourceSnapshotPreflightRequest.
Constructor Details
#initialize(json) ⇒ DatasetSourceSnapshotPreflightRequest
Returns a new instance of DatasetSourceSnapshotPreflightRequest.
23 24 25 26 27 28 29 30 31 |
# File 'lib/rafflesia/datasets/dataset_source_snapshot_preflight_request.rb', line 23 def initialize(json) super() hash = self.class.normalize(json) @additional_working_bytes = hash[:additional_working_bytes] @artifact_kind = hash[:artifact_kind] @minimum_free_bytes = hash[:minimum_free_bytes] @source = hash[:source] @url = hash[:url] end |
Instance Attribute Details
#additional_working_bytes ⇒ Object
Returns the value of attribute additional_working_bytes.
16 17 18 |
# File 'lib/rafflesia/datasets/dataset_source_snapshot_preflight_request.rb', line 16 def additional_working_bytes @additional_working_bytes end |
#artifact_kind ⇒ Object
Returns the value of attribute artifact_kind.
16 17 18 |
# File 'lib/rafflesia/datasets/dataset_source_snapshot_preflight_request.rb', line 16 def artifact_kind @artifact_kind end |
#minimum_free_bytes ⇒ Object
Returns the value of attribute minimum_free_bytes.
16 17 18 |
# File 'lib/rafflesia/datasets/dataset_source_snapshot_preflight_request.rb', line 16 def minimum_free_bytes @minimum_free_bytes end |
#source ⇒ Object
Returns the value of attribute source.
16 17 18 |
# File 'lib/rafflesia/datasets/dataset_source_snapshot_preflight_request.rb', line 16 def source @source end |
#url ⇒ Object
Returns the value of attribute url.
16 17 18 |
# File 'lib/rafflesia/datasets/dataset_source_snapshot_preflight_request.rb', line 16 def url @url end |