Class: AsposeSlidesCloud::TiffExportOptions
- Inherits:
-
BaseObject
- Object
- BaseObject
- AsposeSlidesCloud::TiffExportOptions
- Defined in:
- lib/aspose_slides_cloud/models/tiff_export_options.rb
Instance Attribute Summary collapse
-
#compression ⇒ Object
Returns the value of attribute compression.
-
#dpi_x ⇒ Object
Returns the value of attribute dpi_x.
-
#dpi_y ⇒ Object
Returns the value of attribute dpi_y.
-
#export_format ⇒ Object
Returns the value of attribute export_format.
-
#height ⇒ Object
Returns the value of attribute height.
-
#width ⇒ Object
Returns the value of attribute width.
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 = {}) ⇒ TiffExportOptions
constructor
A new instance of TiffExportOptions.
Methods inherited from BaseObject
#_deserialize, #_to_hash, #build_from_hash, #to_body, #to_hash, #to_s
Constructor Details
#initialize(attributes = {}) ⇒ TiffExportOptions
Returns a new instance of TiffExportOptions.
43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 |
# File 'lib/aspose_slides_cloud/models/tiff_export_options.rb', line 43 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[:'Width'] self.width = attributes[:'Width'] end if attributes[:'Height'] self.height = attributes[:'Height'] end if attributes[:'DpiX'] self.dpi_x = attributes[:'DpiX'] end if attributes[:'DpiY'] self.dpi_y = attributes[:'DpiY'] end if attributes[:'Compression'] self.compression = attributes[:'Compression'] end if attributes[:'ExportFormat'] self.export_format = attributes[:'ExportFormat'] end end |
Instance Attribute Details
#compression ⇒ Object
Returns the value of attribute compression.
4 5 6 |
# File 'lib/aspose_slides_cloud/models/tiff_export_options.rb', line 4 def compression @compression end |
#dpi_x ⇒ Object
Returns the value of attribute dpi_x.
4 5 6 |
# File 'lib/aspose_slides_cloud/models/tiff_export_options.rb', line 4 def dpi_x @dpi_x end |
#dpi_y ⇒ Object
Returns the value of attribute dpi_y.
4 5 6 |
# File 'lib/aspose_slides_cloud/models/tiff_export_options.rb', line 4 def dpi_y @dpi_y end |
#export_format ⇒ Object
Returns the value of attribute export_format.
4 5 6 |
# File 'lib/aspose_slides_cloud/models/tiff_export_options.rb', line 4 def export_format @export_format end |
#height ⇒ Object
Returns the value of attribute height.
4 5 6 |
# File 'lib/aspose_slides_cloud/models/tiff_export_options.rb', line 4 def height @height end |
#width ⇒ Object
Returns the value of attribute width.
4 5 6 |
# File 'lib/aspose_slides_cloud/models/tiff_export_options.rb', line 4 def width @width 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 20 21 22 23 24 25 26 27 28 |
# File 'lib/aspose_slides_cloud/models/tiff_export_options.rb', line 6 def self.attribute_map { # :'width' => :'Width', # :'height' => :'Height', # :'dpi_x' => :'DpiX', # :'dpi_y' => :'DpiY', # :'compression' => :'Compression', # :'export_format' => :'ExportFormat' } end |
.swagger_types ⇒ Object
attribute type
31 32 33 34 35 36 37 38 39 40 41 |
# File 'lib/aspose_slides_cloud/models/tiff_export_options.rb', line 31 def self.swagger_types { :'width' => :'Integer', :'height' => :'Integer', :'dpi_x' => :'Integer', :'dpi_y' => :'Integer', :'compression' => :'String', :'export_format' => :'String' } end |