module AsposeCellsCloud # class PdfSaveOptions < BaseObject attr_accessor :calculate_formula, :check_font_compatibility, :compliance, :default_font, :one_page_per_sheet, :printing_page_type, :desired_ppi, :jpeg_quality, :save_format, :cached_file_folder, :clear_data, :create_directory, :enable_http_compression, :refresh_chart_cache, :sort_names, :validate_merged_areas # attribute mapping from ruby-style variable name to JSON key def self.attribute_map { # :'calculate_formula' => :'CalculateFormula', # :'check_font_compatibility' => :'CheckFontCompatibility', # :'compliance' => :'Compliance', # :'default_font' => :'DefaultFont', # :'one_page_per_sheet' => :'OnePagePerSheet', # :'printing_page_type' => :'PrintingPageType', # :'desired_ppi' => :'desiredPPI', # :'jpeg_quality' => :'jpegQuality', # :'save_format' => :'SaveFormat', # :'cached_file_folder' => :'CachedFileFolder', # :'clear_data' => :'ClearData', # :'create_directory' => :'CreateDirectory', # :'enable_http_compression' => :'EnableHTTPCompression', # :'refresh_chart_cache' => :'RefreshChartCache', # :'sort_names' => :'SortNames', # :'validate_merged_areas' => :'ValidateMergedAreas' } end # attribute type def self.swagger_types { :'calculate_formula' => :'BOOLEAN', :'check_font_compatibility' => :'BOOLEAN', :'compliance' => :'String', :'default_font' => :'String', :'one_page_per_sheet' => :'BOOLEAN', :'printing_page_type' => :'String', :'desired_ppi' => :'String', :'jpeg_quality' => :'String', :'save_format' => :'String', :'cached_file_folder' => :'String', :'clear_data' => :'BOOLEAN', :'create_directory' => :'BOOLEAN', :'enable_http_compression' => :'BOOLEAN', :'refresh_chart_cache' => :'BOOLEAN', :'sort_names' => :'BOOLEAN', :'validate_merged_areas' => :'BOOLEAN' } 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[:'CalculateFormula'] self.calculate_formula = attributes[:'CalculateFormula'] end if attributes[:'CheckFontCompatibility'] self.check_font_compatibility = attributes[:'CheckFontCompatibility'] end if attributes[:'Compliance'] self.compliance = attributes[:'Compliance'] end if attributes[:'DefaultFont'] self.default_font = attributes[:'DefaultFont'] end if attributes[:'OnePagePerSheet'] self.one_page_per_sheet = attributes[:'OnePagePerSheet'] end if attributes[:'PrintingPageType'] self.printing_page_type = attributes[:'PrintingPageType'] end if attributes[:'desiredPPI'] self.desired_ppi = attributes[:'desiredPPI'] end if attributes[:'jpegQuality'] self.jpeg_quality = attributes[:'jpegQuality'] end if attributes[:'SaveFormat'] self.save_format = attributes[:'SaveFormat'] end if attributes[:'CachedFileFolder'] self.cached_file_folder = attributes[:'CachedFileFolder'] end if attributes[:'ClearData'] self.clear_data = attributes[:'ClearData'] end if attributes[:'CreateDirectory'] self.create_directory = attributes[:'CreateDirectory'] end if attributes[:'EnableHTTPCompression'] self.enable_http_compression = attributes[:'EnableHTTPCompression'] end if attributes[:'RefreshChartCache'] self.refresh_chart_cache = attributes[:'RefreshChartCache'] end if attributes[:'SortNames'] self.sort_names = attributes[:'SortNames'] end if attributes[:'ValidateMergedAreas'] self.validate_merged_areas = attributes[:'ValidateMergedAreas'] end end end end