Sha256: dc8439589acd9dcdf5aa98229aad5fe97ab7f22a1bff54e9f82a5ceb83488e3d

Contents?: true

Size: 1.19 KB

Versions: 6

Compression:

Stored size: 1.19 KB

Contents

module AsposeCellsCloud
  # 
  class ImportOption < BaseObject
    attr_accessor :destination_worksheet, :is_insert, :source
    # attribute mapping from ruby-style variable name to JSON key
    def self.attribute_map
      {
        
        # 
        :'destination_worksheet' => :'DestinationWorksheet',
        
        # 
        :'is_insert' => :'IsInsert',
        
        # 
        :'source' => :'Source'
        
      }
    end

    # attribute type
    def self.swagger_types
      {
        :'destination_worksheet' => :'String',
        :'is_insert' => :'BOOLEAN',
        :'source' => :'ImportSource'
        
      }
    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[:'DestinationWorksheet']
        self.destination_worksheet = attributes[:'DestinationWorksheet']
      end
      
      if attributes[:'IsInsert']
        self.is_insert = attributes[:'IsInsert']
      end
      
      if attributes[:'Source']
        self.source = attributes[:'Source']
      end
      
    end

  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

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