Sha256: a49a7a4a5bfd6069f1797f069d143bba1028502104a51a5f400742733b825b07

Contents?: true

Size: 1.45 KB

Versions: 5

Compression:

Stored size: 1.45 KB

Contents

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

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
aspose_cells_cloud-1.0.10 lib/aspose_cells_cloud/models/calculation_options.rb
aspose_cells_cloud-1.0.9 lib/aspose_cells_cloud/models/calculation_options.rb
aspose_cells_cloud-1.0.8 lib/aspose_cells_cloud/models/calculation_options.rb
aspose_cells_cloud-1.0.7 lib/aspose_cells_cloud/models/calculation_options.rb
aspose_cells_cloud-1.0.6 lib/aspose_cells_cloud/models/calculation_options.rb