Class: GroupDocsAnnotationCloud::MoveFolderRequest

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



687
688
689
690
691
692
# File 'lib/groupdocs_annotation_cloud/api/folder_api.rb', line 687

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’



675
676
677
# File 'lib/groupdocs_annotation_cloud/api/folder_api.rb', line 675

def dest_path
  @dest_path
end

#dest_storage_nameObject

Destination storage name



679
680
681
# File 'lib/groupdocs_annotation_cloud/api/folder_api.rb', line 679

def dest_storage_name
  @dest_storage_name
end

#src_pathObject

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



673
674
675
# File 'lib/groupdocs_annotation_cloud/api/folder_api.rb', line 673

def src_path
  @src_path
end

#src_storage_nameObject

Source storage name



677
678
679
# File 'lib/groupdocs_annotation_cloud/api/folder_api.rb', line 677

def src_storage_name
  @src_storage_name
end