Sha256: 7102a3db561654f038a5d7b98c1cb480254767ff08b4837414bea1fe18185072
Contents?: true
Size: 1.67 KB
Versions: 4
Compression:
Stored size: 1.67 KB
Contents
module AsposeSlidesCloud # class TiffExportOptions < BaseObject attr_accessor :width, :height, :dpi_x, :dpi_y, :compression, :export_format # attribute mapping from ruby-style variable name to JSON key def self.attribute_map { # :'width' => :'Width', # :'height' => :'Height', # :'dpi_x' => :'DpiX', # :'dpi_y' => :'DpiY', # :'compression' => :'Compression', # :'export_format' => :'ExportFormat' } end # attribute type def self.swagger_types { :'width' => :'Integer', :'height' => :'Integer', :'dpi_x' => :'Integer', :'dpi_y' => :'Integer', :'compression' => :'String', :'export_format' => :'String' } end 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 end end
Version data entries
4 entries across 4 versions & 1 rubygems