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'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