Class: GroupDocsConversionCloud::StartConvertRequest
- Inherits:
-
Object
- Object
- GroupDocsConversionCloud::StartConvertRequest
- Defined in:
- lib/groupdocs_conversion_cloud/api/async_api.rb
Overview
Request model for start_convert operation.
Instance Attribute Summary collapse
-
#file ⇒ Object
Input file to convert.
-
#format ⇒ Object
Requested conversion format.
-
#from_page ⇒ Object
Page start conversion from.
-
#pages_count ⇒ Object
Number of pages to convert.
Instance Method Summary collapse
-
#initialize(format, file, from_page = nil, pages_count = nil) ⇒ StartConvertRequest
constructor
Initializes a new instance.
Constructor Details
#initialize(format, file, from_page = nil, pages_count = nil) ⇒ StartConvertRequest
Initializes a new instance.
487 488 489 490 491 492 |
# File 'lib/groupdocs_conversion_cloud/api/async_api.rb', line 487 def initialize(format, file, from_page = nil, pages_count = nil) self.format = format self.file = file self.from_page = from_page self.pages_count = pages_count end |
Instance Attribute Details
#file ⇒ Object
Input file to convert
475 476 477 |
# File 'lib/groupdocs_conversion_cloud/api/async_api.rb', line 475 def file @file end |
#format ⇒ Object
Requested conversion format
473 474 475 |
# File 'lib/groupdocs_conversion_cloud/api/async_api.rb', line 473 def format @format end |
#from_page ⇒ Object
Page start conversion from
477 478 479 |
# File 'lib/groupdocs_conversion_cloud/api/async_api.rb', line 477 def from_page @from_page end |
#pages_count ⇒ Object
Number of pages to convert
479 480 481 |
# File 'lib/groupdocs_conversion_cloud/api/async_api.rb', line 479 def pages_count @pages_count end |