Class: GroupDocsSignatureCloud::ObjectExistsRequest

Inherits:
Object
  • Object
show all
Defined in:
lib/groupdocs_signature_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



493
494
495
496
497
# File 'lib/groupdocs_signature_cloud/api/storage_api.rb', line 493

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’



482
483
484
# File 'lib/groupdocs_signature_cloud/api/storage_api.rb', line 482

def path
  @path
end

#storage_nameObject

Storage name



484
485
486
# File 'lib/groupdocs_signature_cloud/api/storage_api.rb', line 484

def storage_name
  @storage_name
end

#version_idObject

File version ID



486
487
488
# File 'lib/groupdocs_signature_cloud/api/storage_api.rb', line 486

def version_id
  @version_id
end