Class: GroupDocsAnnotationCloud::DownloadFileRequest
- Inherits:
-
Object
- Object
- GroupDocsAnnotationCloud::DownloadFileRequest
- Defined in:
- lib/groupdocs_annotation_cloud/api/file_api.rb
Overview
Request model for download_file operation.
Instance Attribute Summary collapse
-
#path ⇒ Object
File path e.g.
-
#storage_name ⇒ Object
Storage name.
-
#version_id ⇒ Object
File version ID to download.
Instance Method Summary collapse
-
#initialize(path, storage_name = nil, version_id = nil) ⇒ DownloadFileRequest
constructor
Initializes a new instance.
Constructor Details
#initialize(path, storage_name = nil, version_id = nil) ⇒ DownloadFileRequest
Initializes a new instance.
609 610 611 612 613 |
# File 'lib/groupdocs_annotation_cloud/api/file_api.rb', line 609 def initialize(path, storage_name = nil, version_id = nil) self.path = path self.storage_name = storage_name self.version_id = version_id end |
Instance Attribute Details
#path ⇒ Object
File path e.g. ‘/folder/file.ext’
598 599 600 |
# File 'lib/groupdocs_annotation_cloud/api/file_api.rb', line 598 def path @path end |
#storage_name ⇒ Object
Storage name
600 601 602 |
# File 'lib/groupdocs_annotation_cloud/api/file_api.rb', line 600 def storage_name @storage_name end |
#version_id ⇒ Object
File version ID to download
602 603 604 |
# File 'lib/groupdocs_annotation_cloud/api/file_api.rb', line 602 def version_id @version_id end |