Class: AsposeSlidesCloud::HtmlExportOptions
- Inherits:
-
BaseObject
- Object
- BaseObject
- AsposeSlidesCloud::HtmlExportOptions
- Defined in:
- lib/aspose_slides_cloud/models/html_export_options.rb
Instance Attribute Summary collapse
-
#export_format ⇒ Object
Returns the value of attribute export_format.
-
#save_as_zip ⇒ Object
Returns the value of attribute save_as_zip.
-
#sub_directory_name ⇒ Object
Returns the value of attribute sub_directory_name.
Class Method Summary collapse
-
.attribute_map ⇒ Object
attribute mapping from ruby-style variable name to JSON key.
-
.swagger_types ⇒ Object
attribute type.
Instance Method Summary collapse
-
#initialize(attributes = {}) ⇒ HtmlExportOptions
constructor
A new instance of HtmlExportOptions.
Methods inherited from BaseObject
#_deserialize, #_to_hash, #build_from_hash, #to_body, #to_hash, #to_s
Constructor Details
#initialize(attributes = {}) ⇒ HtmlExportOptions
Returns a new instance of HtmlExportOptions.
31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 |
# File 'lib/aspose_slides_cloud/models/html_export_options.rb', line 31 def initialize(attributes = {}) return if !attributes.is_a?(Hash) || attributes.empty? # convert string to symbol for hash key attributes = attributes.inject({}){|memo,(k,v)| memo[k.to_sym] = v; memo} if attributes[:'SaveAsZip'] self.save_as_zip = attributes[:'SaveAsZip'] end if attributes[:'SubDirectoryName'] self.sub_directory_name = attributes[:'SubDirectoryName'] end if attributes[:'ExportFormat'] self.export_format = attributes[:'ExportFormat'] end end |
Instance Attribute Details
#export_format ⇒ Object
Returns the value of attribute export_format.
4 5 6 |
# File 'lib/aspose_slides_cloud/models/html_export_options.rb', line 4 def export_format @export_format end |
#save_as_zip ⇒ Object
Returns the value of attribute save_as_zip.
4 5 6 |
# File 'lib/aspose_slides_cloud/models/html_export_options.rb', line 4 def save_as_zip @save_as_zip end |
#sub_directory_name ⇒ Object
Returns the value of attribute sub_directory_name.
4 5 6 |
# File 'lib/aspose_slides_cloud/models/html_export_options.rb', line 4 def sub_directory_name @sub_directory_name end |
Class Method Details
.attribute_map ⇒ Object
attribute mapping from ruby-style variable name to JSON key
6 7 8 9 10 11 12 13 14 15 16 17 18 19 |
# File 'lib/aspose_slides_cloud/models/html_export_options.rb', line 6 def self.attribute_map { # :'save_as_zip' => :'SaveAsZip', # :'sub_directory_name' => :'SubDirectoryName', # :'export_format' => :'ExportFormat' } end |
.swagger_types ⇒ Object
attribute type
22 23 24 25 26 27 28 29 |
# File 'lib/aspose_slides_cloud/models/html_export_options.rb', line 22 def self.swagger_types { :'save_as_zip' => :'BOOLEAN', :'sub_directory_name' => :'String', :'export_format' => :'String' } end |