module AsposeCellsCloud # class CalculationOptions < BaseObject attr_accessor :calc_stack_size, :ignore_error, :precision_strategy, :recursive # attribute mapping from ruby-style variable name to JSON key def self.attribute_map { # :'calc_stack_size' => :'CalcStackSize', # :'ignore_error' => :'IgnoreError', # :'precision_strategy' => :'PrecisionStrategy', # :'recursive' => :'Recursive' } end # attribute type def self.swagger_types { :'calc_stack_size' => :'Integer', :'ignore_error' => :'BOOLEAN', :'precision_strategy' => :'String', :'recursive' => :'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[:'CalcStackSize'] self.calc_stack_size = attributes[:'CalcStackSize'] end if attributes[:'IgnoreError'] self.ignore_error = attributes[:'IgnoreError'] end if attributes[:'PrecisionStrategy'] self.precision_strategy = attributes[:'PrecisionStrategy'] end if attributes[:'Recursive'] self.recursive = attributes[:'Recursive'] end end end end