Class: GroupDocsEditorCloud::CopyFolderRequest

Inherits:
Object
  • Object
show all
Defined in:
lib/groupdocs_editor_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



479
480
481
482
483
484
# File 'lib/groupdocs_editor_cloud/api/folder_api.rb', line 479

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’



467
468
469
# File 'lib/groupdocs_editor_cloud/api/folder_api.rb', line 467

def dest_path
  @dest_path
end

#dest_storage_nameObject

Destination storage name



471
472
473
# File 'lib/groupdocs_editor_cloud/api/folder_api.rb', line 471

def dest_storage_name
  @dest_storage_name
end

#src_pathObject

Source folder path e.g. ‘/src’



465
466
467
# File 'lib/groupdocs_editor_cloud/api/folder_api.rb', line 465

def src_path
  @src_path
end

#src_storage_nameObject

Source storage name



469
470
471
# File 'lib/groupdocs_editor_cloud/api/folder_api.rb', line 469

def src_storage_name
  @src_storage_name
end