Class: GroupDocsSignatureCloud::CopyFolderRequest

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

Overview

Request model for copy_folder operation.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

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

Initializes a new instance.

Parameters:

  • src_path

    Source folder path e.g. ‘/src’

  • dest_path

    Destination folder path e.g. ‘/dst’

  • src_storage_name (defaults to: nil)

    Source storage name

  • dest_storage_name (defaults to: nil)

    Destination storage name



484
485
486
487
488
489
# File 'lib/groupdocs_signature_cloud/api/folder_api.rb', line 484

def initialize(src_path, dest_path, src_storage_name = nil, dest_storage_name = 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
end

Instance Attribute Details

#dest_pathObject

Destination folder path e.g. ‘/dst’



472
473
474
# File 'lib/groupdocs_signature_cloud/api/folder_api.rb', line 472

def dest_path
  @dest_path
end

#dest_storage_nameObject

Destination storage name



476
477
478
# File 'lib/groupdocs_signature_cloud/api/folder_api.rb', line 476

def dest_storage_name
  @dest_storage_name
end

#src_pathObject

Source folder path e.g. ‘/src’



470
471
472
# File 'lib/groupdocs_signature_cloud/api/folder_api.rb', line 470

def src_path
  @src_path
end

#src_storage_nameObject

Source storage name



474
475
476
# File 'lib/groupdocs_signature_cloud/api/folder_api.rb', line 474

def src_storage_name
  @src_storage_name
end