Class: GroupDocsSignatureCloud::MoveFileRequest

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

Overview

Request model for move_file operation.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(src_path, dest_path, src_storage_name = nil, dest_storage_name = nil, version_id = nil) ⇒ MoveFileRequest

Initializes a new instance.

Parameters:

  • src_path

    Source file path e.g. ‘/src.ext’

  • dest_path

    Destination file path e.g. ‘/dest.ext’

  • src_storage_name (defaults to: nil)

    Source storage name

  • dest_storage_name (defaults to: nil)

    Destination storage name

  • version_id (defaults to: nil)

    File version ID to move



673
674
675
676
677
678
679
# File 'lib/groupdocs_signature_cloud/api/file_api.rb', line 673

def initialize(src_path, dest_path, src_storage_name = nil, dest_storage_name = nil, version_id = nil)
   self.src_path = src_path
   self.dest_path = dest_path
   self.src_storage_name = src_storage_name
   self.dest_storage_name = dest_storage_name
   self.version_id = version_id
end

Instance Attribute Details

#dest_pathObject

Destination file path e.g. ‘/dest.ext’



658
659
660
# File 'lib/groupdocs_signature_cloud/api/file_api.rb', line 658

def dest_path
  @dest_path
end

#dest_storage_nameObject

Destination storage name



662
663
664
# File 'lib/groupdocs_signature_cloud/api/file_api.rb', line 662

def dest_storage_name
  @dest_storage_name
end

#src_pathObject

Source file path e.g. ‘/src.ext’



656
657
658
# File 'lib/groupdocs_signature_cloud/api/file_api.rb', line 656

def src_path
  @src_path
end

#src_storage_nameObject

Source storage name



660
661
662
# File 'lib/groupdocs_signature_cloud/api/file_api.rb', line 660

def src_storage_name
  @src_storage_name
end

#version_idObject

File version ID to move



664
665
666
# File 'lib/groupdocs_signature_cloud/api/file_api.rb', line 664

def version_id
  @version_id
end