Sha256: 79258953a7a8d2c9442bb412a16ac8a2aa3a959d3f38502878d938c5346f8a9e

Contents?: true

Size: 1.52 KB

Versions: 10

Compression:

Stored size: 1.52 KB

Contents

module AsposeCellsCloud
  # 
  class CellsColor < BaseObject
    attr_accessor :color, :color_index, :is_shape_color, :theme_color, :type
    # attribute mapping from ruby-style variable name to JSON key
    def self.attribute_map
      {
        
        # 
        :'color' => :'Color',
        
        # 
        :'color_index' => :'ColorIndex',
        
        # 
        :'is_shape_color' => :'IsShapeColor',
        
        # 
        :'theme_color' => :'ThemeColor',
        
        # 
        :'type' => :'Type'
        
      }
    end

    # attribute type
    def self.swagger_types
      {
        :'color' => :'Color',
        :'color_index' => :'Integer',
        :'is_shape_color' => :'BOOLEAN',
        :'theme_color' => :'ThemeColor',
        :'type' => :'String'
        
      }
    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[:'Color']
        self.color = attributes[:'Color']
      end
      
      if attributes[:'ColorIndex']
        self.color_index = attributes[:'ColorIndex']
      end
      
      if attributes[:'IsShapeColor']
        self.is_shape_color = attributes[:'IsShapeColor']
      end
      
      if attributes[:'ThemeColor']
        self.theme_color = attributes[:'ThemeColor']
      end
      
      if attributes[:'Type']
        self.type = attributes[:'Type']
      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/cells_color.rb
aspose_cells_cloud-1.0.9 lib/aspose_cells_cloud/models/cells_color.rb
aspose_cells_cloud-1.0.8 lib/aspose_cells_cloud/models/cells_color.rb
aspose_cells_cloud-1.0.7 lib/aspose_cells_cloud/models/cells_color.rb
aspose_cells_cloud-1.0.6 lib/aspose_cells_cloud/models/cells_color.rb
aspose_cells_cloud-1.0.5 lib/aspose_cells_cloud/models/cells_color.rb
aspose_cells_cloud-1.0.3 lib/aspose_cells_cloud/models/cells_color.rb
aspose_cells_cloud-1.0.2 lib/aspose_cells_cloud/models/cells_color.rb
aspose_cells_cloud-1.0.1 lib/aspose_cells_cloud/models/cells_color.rb
aspose_cells_cloud-1.0.0 lib/aspose_cells_cloud/models/cells_color.rb