Class: Rafflesia::ArchiveMemberFindRequest
- Inherits:
-
Types::BaseModel
- Object
- Types::BaseModel
- Rafflesia::ArchiveMemberFindRequest
- Defined in:
- lib/rafflesia/artifacts/archive_member_find_request.rb
Constant Summary collapse
- HASH_ATTRS =
{ allow_network: :allow_network, archive_object_id: :archive_object_id, content_type: :content_type, extract: :extract, file_name: :file_name, include_extensions: :include_extensions, inventory_object_id: :inventory_object_id, inventory_path: :inventory_path, kind: :kind, max_download_bytes: :max_download_bytes, max_extracted_members: :max_extracted_members, max_matches: :max_matches, max_member_bytes: :max_member_bytes, output_dir: :output_dir, path_substrings: :path_substrings, query_names: :query_names, query_suffixes: :query_suffixes, url: :url }.freeze
Instance Attribute Summary collapse
-
#allow_network ⇒ Object
Returns the value of attribute allow_network.
-
#archive_object_id ⇒ Object
Returns the value of attribute archive_object_id.
-
#content_type ⇒ Object
Returns the value of attribute content_type.
-
#extract ⇒ Object
Returns the value of attribute extract.
-
#file_name ⇒ Object
Returns the value of attribute file_name.
-
#include_extensions ⇒ Object
Returns the value of attribute include_extensions.
-
#inventory_object_id ⇒ Object
Returns the value of attribute inventory_object_id.
-
#inventory_path ⇒ Object
Returns the value of attribute inventory_path.
-
#kind ⇒ Object
Returns the value of attribute kind.
-
#max_download_bytes ⇒ Object
Returns the value of attribute max_download_bytes.
-
#max_extracted_members ⇒ Object
Returns the value of attribute max_extracted_members.
-
#max_matches ⇒ Object
Returns the value of attribute max_matches.
-
#max_member_bytes ⇒ Object
Returns the value of attribute max_member_bytes.
-
#output_dir ⇒ Object
Returns the value of attribute output_dir.
-
#path_substrings ⇒ Object
Returns the value of attribute path_substrings.
-
#query_names ⇒ Object
Returns the value of attribute query_names.
-
#query_suffixes ⇒ Object
Returns the value of attribute query_suffixes.
-
#url ⇒ Object
Returns the value of attribute url.
Instance Method Summary collapse
-
#initialize(json) ⇒ ArchiveMemberFindRequest
constructor
A new instance of ArchiveMemberFindRequest.
Constructor Details
#initialize(json) ⇒ ArchiveMemberFindRequest
Returns a new instance of ArchiveMemberFindRequest.
49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 |
# File 'lib/rafflesia/artifacts/archive_member_find_request.rb', line 49 def initialize(json) super() hash = self.class.normalize(json) @allow_network = hash[:allow_network] @archive_object_id = hash[:archive_object_id] @content_type = hash[:content_type] @extract = hash[:extract] @file_name = hash[:file_name] @include_extensions = (hash[:include_extensions] || []) @inventory_object_id = hash[:inventory_object_id] @inventory_path = hash[:inventory_path] @kind = hash[:kind] @max_download_bytes = hash[:max_download_bytes] @max_extracted_members = hash[:max_extracted_members] @max_matches = hash[:max_matches] @max_member_bytes = hash[:max_member_bytes] @output_dir = hash[:output_dir] @path_substrings = (hash[:path_substrings] || []) @query_names = (hash[:query_names] || []) @query_suffixes = (hash[:query_suffixes] || []) @url = hash[:url] end |
Instance Attribute Details
#allow_network ⇒ Object
Returns the value of attribute allow_network.
29 30 31 |
# File 'lib/rafflesia/artifacts/archive_member_find_request.rb', line 29 def allow_network @allow_network end |
#archive_object_id ⇒ Object
Returns the value of attribute archive_object_id.
29 30 31 |
# File 'lib/rafflesia/artifacts/archive_member_find_request.rb', line 29 def archive_object_id @archive_object_id end |
#content_type ⇒ Object
Returns the value of attribute content_type.
29 30 31 |
# File 'lib/rafflesia/artifacts/archive_member_find_request.rb', line 29 def content_type @content_type end |
#extract ⇒ Object
Returns the value of attribute extract.
29 30 31 |
# File 'lib/rafflesia/artifacts/archive_member_find_request.rb', line 29 def extract @extract end |
#file_name ⇒ Object
Returns the value of attribute file_name.
29 30 31 |
# File 'lib/rafflesia/artifacts/archive_member_find_request.rb', line 29 def file_name @file_name end |
#include_extensions ⇒ Object
Returns the value of attribute include_extensions.
29 30 31 |
# File 'lib/rafflesia/artifacts/archive_member_find_request.rb', line 29 def include_extensions @include_extensions end |
#inventory_object_id ⇒ Object
Returns the value of attribute inventory_object_id.
29 30 31 |
# File 'lib/rafflesia/artifacts/archive_member_find_request.rb', line 29 def inventory_object_id @inventory_object_id end |
#inventory_path ⇒ Object
Returns the value of attribute inventory_path.
29 30 31 |
# File 'lib/rafflesia/artifacts/archive_member_find_request.rb', line 29 def inventory_path @inventory_path end |
#kind ⇒ Object
Returns the value of attribute kind.
29 30 31 |
# File 'lib/rafflesia/artifacts/archive_member_find_request.rb', line 29 def kind @kind end |
#max_download_bytes ⇒ Object
Returns the value of attribute max_download_bytes.
29 30 31 |
# File 'lib/rafflesia/artifacts/archive_member_find_request.rb', line 29 def max_download_bytes @max_download_bytes end |
#max_extracted_members ⇒ Object
Returns the value of attribute max_extracted_members.
29 30 31 |
# File 'lib/rafflesia/artifacts/archive_member_find_request.rb', line 29 def max_extracted_members @max_extracted_members end |
#max_matches ⇒ Object
Returns the value of attribute max_matches.
29 30 31 |
# File 'lib/rafflesia/artifacts/archive_member_find_request.rb', line 29 def max_matches @max_matches end |
#max_member_bytes ⇒ Object
Returns the value of attribute max_member_bytes.
29 30 31 |
# File 'lib/rafflesia/artifacts/archive_member_find_request.rb', line 29 def max_member_bytes @max_member_bytes end |
#output_dir ⇒ Object
Returns the value of attribute output_dir.
29 30 31 |
# File 'lib/rafflesia/artifacts/archive_member_find_request.rb', line 29 def output_dir @output_dir end |
#path_substrings ⇒ Object
Returns the value of attribute path_substrings.
29 30 31 |
# File 'lib/rafflesia/artifacts/archive_member_find_request.rb', line 29 def path_substrings @path_substrings end |
#query_names ⇒ Object
Returns the value of attribute query_names.
29 30 31 |
# File 'lib/rafflesia/artifacts/archive_member_find_request.rb', line 29 def query_names @query_names end |
#query_suffixes ⇒ Object
Returns the value of attribute query_suffixes.
29 30 31 |
# File 'lib/rafflesia/artifacts/archive_member_find_request.rb', line 29 def query_suffixes @query_suffixes end |
#url ⇒ Object
Returns the value of attribute url.
29 30 31 |
# File 'lib/rafflesia/artifacts/archive_member_find_request.rb', line 29 def url @url end |