Class: GroupDocsSignatureCloud::MoveFolderRequest

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

Overview

Request model for move_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) ⇒ MoveFolderRequest

Initializes a new instance.

Parameters:

  • src_path

    Folder path to move e.g. ‘/folder’

  • dest_path

    Destination folder path to move to e.g ‘/dst’

  • src_storage_name (defaults to: nil)

    Source storage name

  • dest_storage_name (defaults to: nil)

    Destination storage name



692
693
694
695
696
697
# File 'lib/groupdocs_signature_cloud/api/folder_api.rb', line 692

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 to move to e.g ‘/dst’



680
681
682
# File 'lib/groupdocs_signature_cloud/api/folder_api.rb', line 680

def dest_path
  @dest_path
end

#dest_storage_nameObject

Destination storage name



684
685
686
# File 'lib/groupdocs_signature_cloud/api/folder_api.rb', line 684

def dest_storage_name
  @dest_storage_name
end

#src_pathObject

Folder path to move e.g. ‘/folder’



678
679
680
# File 'lib/groupdocs_signature_cloud/api/folder_api.rb', line 678

def src_path
  @src_path
end

#src_storage_nameObject

Source storage name



682
683
684
# File 'lib/groupdocs_signature_cloud/api/folder_api.rb', line 682

def src_storage_name
  @src_storage_name
end