Class: GroupDocsConversionCloud::GetFileVersionsRequest

Inherits:
Object
  • Object
show all
Defined in:
lib/groupdocs_conversion_cloud/api/storage_api.rb

Overview

Request model for get_file_versions operation.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(path, storage_name = nil) ⇒ GetFileVersionsRequest

Initializes a new instance.

Parameters:

  • path

    File path e.g. ‘/file.ext’

  • storage_name (defaults to: nil)

    Storage name



438
439
440
441
# File 'lib/groupdocs_conversion_cloud/api/storage_api.rb', line 438

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

Instance Attribute Details

#pathObject

File path e.g. ‘/file.ext’



430
431
432
# File 'lib/groupdocs_conversion_cloud/api/storage_api.rb', line 430

def path
  @path
end

#storage_nameObject

Storage name



432
433
434
# File 'lib/groupdocs_conversion_cloud/api/storage_api.rb', line 432

def storage_name
  @storage_name
end