Class: Rafflesia::ArtifactMaterializeRequest
- Inherits:
-
Types::BaseModel
- Object
- Types::BaseModel
- Rafflesia::ArtifactMaterializeRequest
- Defined in:
- lib/rafflesia/artifacts/artifact_materialize_request.rb
Constant Summary collapse
- HASH_ATTRS =
{ allow_network: :allow_network, associate_map_models: :associate_map_models, download_emdb_maps: :download_emdb_maps, manifest_path: :manifest_path, max_download_bytes: :max_download_bytes, output_dir: :output_dir }.freeze
Instance Attribute Summary collapse
-
#allow_network ⇒ Object
Returns the value of attribute allow_network.
-
#associate_map_models ⇒ Object
Returns the value of attribute associate_map_models.
-
#download_emdb_maps ⇒ Object
Returns the value of attribute download_emdb_maps.
-
#manifest_path ⇒ Object
Returns the value of attribute manifest_path.
-
#max_download_bytes ⇒ Object
Returns the value of attribute max_download_bytes.
-
#output_dir ⇒ Object
Returns the value of attribute output_dir.
Instance Method Summary collapse
-
#initialize(json) ⇒ ArtifactMaterializeRequest
constructor
A new instance of ArtifactMaterializeRequest.
Constructor Details
#initialize(json) ⇒ ArtifactMaterializeRequest
Returns a new instance of ArtifactMaterializeRequest.
25 26 27 28 29 30 31 32 33 34 |
# File 'lib/rafflesia/artifacts/artifact_materialize_request.rb', line 25 def initialize(json) super() hash = self.class.normalize(json) @allow_network = hash[:allow_network] @associate_map_models = hash[:associate_map_models] @download_emdb_maps = hash[:download_emdb_maps] @manifest_path = hash[:manifest_path] @max_download_bytes = hash[:max_download_bytes] @output_dir = hash[:output_dir] end |
Instance Attribute Details
#allow_network ⇒ Object
Returns the value of attribute allow_network.
17 18 19 |
# File 'lib/rafflesia/artifacts/artifact_materialize_request.rb', line 17 def allow_network @allow_network end |
#associate_map_models ⇒ Object
Returns the value of attribute associate_map_models.
17 18 19 |
# File 'lib/rafflesia/artifacts/artifact_materialize_request.rb', line 17 def associate_map_models @associate_map_models end |
#download_emdb_maps ⇒ Object
Returns the value of attribute download_emdb_maps.
17 18 19 |
# File 'lib/rafflesia/artifacts/artifact_materialize_request.rb', line 17 def download_emdb_maps @download_emdb_maps end |
#manifest_path ⇒ Object
Returns the value of attribute manifest_path.
17 18 19 |
# File 'lib/rafflesia/artifacts/artifact_materialize_request.rb', line 17 def manifest_path @manifest_path end |
#max_download_bytes ⇒ Object
Returns the value of attribute max_download_bytes.
17 18 19 |
# File 'lib/rafflesia/artifacts/artifact_materialize_request.rb', line 17 def max_download_bytes @max_download_bytes end |
#output_dir ⇒ Object
Returns the value of attribute output_dir.
17 18 19 |
# File 'lib/rafflesia/artifacts/artifact_materialize_request.rb', line 17 def output_dir @output_dir end |