Sha256: ceb7451c2712903bdc9d512bb8a49e8a044c95ef19f97cbcea131ff959006e16

Contents?: true

Size: 1.48 KB

Versions: 10

Compression:

Stored size: 1.48 KB

Contents

module AsposeCellsCloud
  # 
  class DataSorter < BaseObject
    attr_accessor :case_sensitive, :has_headers, :key_list, :sort_left_to_right
    # attribute mapping from ruby-style variable name to JSON key
    def self.attribute_map
      {
        
        # 
        :'case_sensitive' => :'CaseSensitive',
        
        # 
        :'has_headers' => :'HasHeaders',
        
        # 
        :'key_list' => :'KeyList',
        
        # 
        :'sort_left_to_right' => :'SortLeftToRight'
        
      }
    end

    # attribute type
    def self.swagger_types
      {
        :'case_sensitive' => :'BOOLEAN',
        :'has_headers' => :'BOOLEAN',
        :'key_list' => :'Array<SortKey>',
        :'sort_left_to_right' => :'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[:'CaseSensitive']
        self.case_sensitive = attributes[:'CaseSensitive']
      end
      
      if attributes[:'HasHeaders']
        self.has_headers = attributes[:'HasHeaders']
      end
      
      if attributes[:'KeyList']
        if (value = attributes[:'KeyList']).is_a?(Array)
          self.key_list = value
        end
      end
      
      if attributes[:'SortLeftToRight']
        self.sort_left_to_right = attributes[:'SortLeftToRight']
      end
      
    end

  end
end

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
aspose_cells_cloud-1.0.10 lib/aspose_cells_cloud/models/data_sorter.rb
aspose_cells_cloud-1.0.9 lib/aspose_cells_cloud/models/data_sorter.rb
aspose_cells_cloud-1.0.8 lib/aspose_cells_cloud/models/data_sorter.rb
aspose_cells_cloud-1.0.7 lib/aspose_cells_cloud/models/data_sorter.rb
aspose_cells_cloud-1.0.6 lib/aspose_cells_cloud/models/data_sorter.rb
aspose_cells_cloud-1.0.5 lib/aspose_cells_cloud/models/data_sorter.rb
aspose_cells_cloud-1.0.3 lib/aspose_cells_cloud/models/data_sorter.rb
aspose_cells_cloud-1.0.2 lib/aspose_cells_cloud/models/data_sorter.rb
aspose_cells_cloud-1.0.1 lib/aspose_cells_cloud/models/data_sorter.rb
aspose_cells_cloud-1.0.0 lib/aspose_cells_cloud/models/data_sorter.rb