Class: GroupDocsConversionCloud::GetSupportedConversionTypesRequest

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

Overview

Request model for get_supported_conversion_types operation.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(file_path = nil, storage_name = nil, format = nil) ⇒ GetSupportedConversionTypesRequest

Initializes a new instance.

Parameters:

  • file_path (defaults to: nil)

    Absolute path to a document in the storage

  • storage_name (defaults to: nil)

    StorageName which contains the document

  • format (defaults to: nil)

    If provided only supported conversions for specified format will be returned



341
342
343
344
345
# File 'lib/groupdocs_conversion_cloud/api/info_api.rb', line 341

def initialize(file_path = nil, storage_name = nil, format = nil)
   self.file_path = file_path
   self.storage_name = storage_name
   self.format = format
end

Instance Attribute Details

#file_pathObject

Absolute path to a document in the storage



330
331
332
# File 'lib/groupdocs_conversion_cloud/api/info_api.rb', line 330

def file_path
  @file_path
end

#formatObject

If provided only supported conversions for specified format will be returned



334
335
336
# File 'lib/groupdocs_conversion_cloud/api/info_api.rb', line 334

def format
  @format
end

#storage_nameObject

StorageName which contains the document



332
333
334
# File 'lib/groupdocs_conversion_cloud/api/info_api.rb', line 332

def storage_name
  @storage_name
end