Class: GroupDocsAnnotationCloud::CreateFolderRequest

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

Overview

Request model for create_folder operation.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(path, storage_name = nil) ⇒ CreateFolderRequest

Initializes a new instance.

Parameters:

  • path

    Folder path to create e.g. ‘folder_1/folder_2/’

  • storage_name (defaults to: nil)

    Storage name



530
531
532
533
# File 'lib/groupdocs_annotation_cloud/api/folder_api.rb', line 530

def initialize(path, storage_name = nil)
   self.path = path
   self.storage_name = storage_name
end

Instance Attribute Details

#pathObject

Folder path to create e.g. ‘folder_1/folder_2/’



522
523
524
# File 'lib/groupdocs_annotation_cloud/api/folder_api.rb', line 522

def path
  @path
end

#storage_nameObject

Storage name



524
525
526
# File 'lib/groupdocs_annotation_cloud/api/folder_api.rb', line 524

def storage_name
  @storage_name
end