Class: GroupDocsConversionCloud::ConvertDocumentDirectRequest
- Inherits:
-
Object
- Object
- GroupDocsConversionCloud::ConvertDocumentDirectRequest
- Defined in:
- lib/groupdocs_conversion_cloud/api/convert_api.rb
Overview
Request model for convert_document_direct operation.
Instance Attribute Summary collapse
-
#convert_options ⇒ Object
Conversion options.
-
#file ⇒ Object
Input file to convert.
-
#format ⇒ Object
Requested conversion format.
-
#from_page ⇒ Object
Page start conversion from.
-
#load_options ⇒ Object
Input file load options.
-
#pages_count ⇒ Object
Number of pages to convert.
Instance Method Summary collapse
-
#initialize(format, file, from_page = nil, pages_count = nil, load_options = nil, convert_options = nil) ⇒ ConvertDocumentDirectRequest
constructor
Initializes a new instance.
Constructor Details
#initialize(format, file, from_page = nil, pages_count = nil, load_options = nil, convert_options = nil) ⇒ ConvertDocumentDirectRequest
Initializes a new instance.
343 344 345 346 347 348 349 350 |
# File 'lib/groupdocs_conversion_cloud/api/convert_api.rb', line 343 def initialize(format, file, from_page = nil, pages_count = nil, = nil, = nil) self.format = format self.file = file self.from_page = from_page self.pages_count = pages_count self. = self. = end |
Instance Attribute Details
#convert_options ⇒ Object
Conversion options
333 334 335 |
# File 'lib/groupdocs_conversion_cloud/api/convert_api.rb', line 333 def @convert_options end |
#file ⇒ Object
Input file to convert
325 326 327 |
# File 'lib/groupdocs_conversion_cloud/api/convert_api.rb', line 325 def file @file end |
#format ⇒ Object
Requested conversion format
323 324 325 |
# File 'lib/groupdocs_conversion_cloud/api/convert_api.rb', line 323 def format @format end |
#from_page ⇒ Object
Page start conversion from
327 328 329 |
# File 'lib/groupdocs_conversion_cloud/api/convert_api.rb', line 327 def from_page @from_page end |
#load_options ⇒ Object
Input file load options
331 332 333 |
# File 'lib/groupdocs_conversion_cloud/api/convert_api.rb', line 331 def @load_options end |
#pages_count ⇒ Object
Number of pages to convert
329 330 331 |
# File 'lib/groupdocs_conversion_cloud/api/convert_api.rb', line 329 def pages_count @pages_count end |