Class: GroupDocsConversionCloud::ObjectExistsRequest

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

Overview

Request model for object_exists operation.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

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

Initializes a new instance.

Parameters:

  • path

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

  • storage_name (defaults to: nil)

    Storage name

  • version_id (defaults to: nil)

    File version ID



490
491
492
493
494
# File 'lib/groupdocs_conversion_cloud/api/storage_api.rb', line 490

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

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



479
480
481
# File 'lib/groupdocs_conversion_cloud/api/storage_api.rb', line 479

def path
  @path
end

#storage_nameObject

Storage name



481
482
483
# File 'lib/groupdocs_conversion_cloud/api/storage_api.rb', line 481

def storage_name
  @storage_name
end

#version_idObject

File version ID



483
484
485
# File 'lib/groupdocs_conversion_cloud/api/storage_api.rb', line 483

def version_id
  @version_id
end