Class: AsposeWordsCloud::DeleteFolderRequest

Inherits:
Object
  • Object
show all
Defined in:
lib/aspose_words_cloud/models/requests/DeleteFolderRequest.rb

Overview

Request model for delete_folder operation.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(path, storage_name = nil, recursive = nil) ⇒ DeleteFolderRequest

Initializes a new instance.

Parameters:

  • path

    Folder path e.g. /Folder1s

  • storage_name (defaults to: nil)

    Storage name

  • recursive (defaults to: nil)

    Enable to delete folders, subfolders and files



47
48
49
50
51
# File 'lib/aspose_words_cloud/models/requests/DeleteFolderRequest.rb', line 47

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

Instance Attribute Details

#pathObject

Folder path e.g. /Folder1s



36
37
38
# File 'lib/aspose_words_cloud/models/requests/DeleteFolderRequest.rb', line 36

def path
  @path
end

#recursiveObject

Enable to delete folders, subfolders and files



40
41
42
# File 'lib/aspose_words_cloud/models/requests/DeleteFolderRequest.rb', line 40

def recursive
  @recursive
end

#storage_nameObject

Storage name



38
39
40
# File 'lib/aspose_words_cloud/models/requests/DeleteFolderRequest.rb', line 38

def storage_name
  @storage_name
end