Class: AsposeWordsCloud::DeleteFileRequest

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

Overview

Request model for delete_file operation.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(path, storage_name = nil, version_id = nil) ⇒ DeleteFileRequest

Initializes a new instance.

Parameters:

  • path

    Path of the file including file name and extension e.g. /Folder1/file.ext

  • storage_name (defaults to: nil)

    Storage name

  • version_id (defaults to: nil)

    File version ID to delete



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

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

Instance Attribute Details

#pathObject

Path of the file including file name and extension e.g. /Folder1/file.ext



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

def path
  @path
end

#storage_nameObject

Storage name



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

def storage_name
  @storage_name
end

#version_idObject

File version ID to delete



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

def version_id
  @version_id
end