Class: GroupDocsSignatureCloud::DownloadFileRequest

Inherits:
Object
  • Object
show all
Defined in:
lib/groupdocs_signature_cloud/api/file_api.rb

Overview

Request model for download_file operation.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(path, storage_name = nil, version_id = nil) ⇒ DownloadFileRequest

Initializes a new instance.

Parameters:

  • path

    File path e.g. ‘/folder/file.ext’

  • storage_name (defaults to: nil)

    Storage name

  • version_id (defaults to: nil)

    File version ID to download



614
615
616
617
618
# File 'lib/groupdocs_signature_cloud/api/file_api.rb', line 614

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

#pathObject

File path e.g. ‘/folder/file.ext’



603
604
605
# File 'lib/groupdocs_signature_cloud/api/file_api.rb', line 603

def path
  @path
end

#storage_nameObject

Storage name



605
606
607
# File 'lib/groupdocs_signature_cloud/api/file_api.rb', line 605

def storage_name
  @storage_name
end

#version_idObject

File version ID to download



607
608
609
# File 'lib/groupdocs_signature_cloud/api/file_api.rb', line 607

def version_id
  @version_id
end