module AsposeCellsCloud # class IconSet < BaseObject attr_accessor :cf_icons, :cfvos, :is_custom, :reverse, :show_value, :icon_set_type # attribute mapping from ruby-style variable name to JSON key def self.attribute_map { # Get theAspose.Cells.ConditionalFormattingIcon from the collection :'cf_icons' => :'CfIcons', # Get the CFValueObjects instance. :'cfvos' => :'Cfvos', # Indicates whether the icon set is custom. Default value is false. :'is_custom' => :'IsCustom', # Get or set the flag indicating whether to reverses the default order of the icons in this icon set. Default value is false. :'reverse' => :'Reverse', # Get or set the flag indicating whether to show the values of the cells on which this icon set is applied. Default value is true. :'show_value' => :'ShowValue', # Get or Set the icon set type to display. Setting the type will auto check if the current Cfvos's count is accord with the new type. If not accord, old Cfvos will be cleaned and default Cfvos will be added. :'icon_set_type' => :'IconSetType' } end # attribute type def self.swagger_types { :'cf_icons' => :'Array', :'cfvos' => :'Array', :'is_custom' => :'BOOLEAN', :'reverse' => :'BOOLEAN', :'show_value' => :'BOOLEAN', :'icon_set_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[:'CfIcons'] if (value = attributes[:'CfIcons']).is_a?(Array) self.cf_icons = value end end if attributes[:'Cfvos'] if (value = attributes[:'Cfvos']).is_a?(Array) self.cfvos = value end end if attributes[:'IsCustom'] self.is_custom = attributes[:'IsCustom'] end if attributes[:'Reverse'] self.reverse = attributes[:'Reverse'] end if attributes[:'ShowValue'] self.show_value = attributes[:'ShowValue'] end if attributes[:'IconSetType'] self.icon_set_type = attributes[:'IconSetType'] end end end end