Class: GroupDocsConversionCloud::DeleteFolderRequest

Inherits:
Object
  • Object
show all
Defined in:
lib/groupdocs_conversion_cloud/api/folder_api.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. ‘/folder’

  • storage_name (defaults to: nil)

    Storage name

  • recursive (defaults to: nil)

    Enable to delete folders, subfolders and files



582
583
584
585
586
# File 'lib/groupdocs_conversion_cloud/api/folder_api.rb', line 582

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. ‘/folder’



571
572
573
# File 'lib/groupdocs_conversion_cloud/api/folder_api.rb', line 571

def path
  @path
end

#recursiveObject

Enable to delete folders, subfolders and files



575
576
577
# File 'lib/groupdocs_conversion_cloud/api/folder_api.rb', line 575

def recursive
  @recursive
end

#storage_nameObject

Storage name



573
574
575
# File 'lib/groupdocs_conversion_cloud/api/folder_api.rb', line 573

def storage_name
  @storage_name
end