Sha256: 95492dc7e84f7d45058fa46a40652dfdbb94595943417b5feeb4b2280a246f64

Contents?: true

Size: 1.19 KB

Versions: 1

Compression:

Stored size: 1.19 KB

Contents

module AsposeCellsCloud
  # 
  class ConditionalFormattingIcon < BaseObject
    attr_accessor :image_data, :index, :type
    # attribute mapping from ruby-style variable name to JSON key
    def self.attribute_map
      {
        
        # Gets the icon set data.
        :'image_data' => :'ImageData',
        
        # Gets and sets the icon&#39;s index in the icon set.
        :'index' => :'Index',
        
        # Gets and sets the icon set type.
        :'type' => :'Type'
        
      }
    end

    # attribute type
    def self.swagger_types
      {
        :'image_data' => :'String',
        :'index' => :'Integer',
        :'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[:'ImageData']
        self.image_data = attributes[:'ImageData']
      end
      
      if attributes[:'Index']
        self.index = attributes[:'Index']
      end
      
      if attributes[:'Type']
        self.type = attributes[:'Type']
      end
      
    end

  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
aspose_cells_cloud-1.0.10 lib/aspose_cells_cloud/models/conditional_formatting_icon.rb