module AsposeCellsCloud # class ConditionalFormattingValue < BaseObject attr_accessor :is_gte, :type, :value # attribute mapping from ruby-style variable name to JSON key def self.attribute_map { # Get or set the Greater Than Or Equal flag. Use only for icon sets, determines whether this threshold value uses the greater than or equal to operator. 'false' indicates 'greater than' is used instead of 'greater than or equal to'. Default value is true. :'is_gte' => :'IsGTE', # Get or set the type of this conditional formatting value object. Setting the type to FormatConditionValueType.Min or FormatConditionValueType.Max will auto set 'Value' to null. :'type' => :'Type', # Get or set the value of this conditional formatting value object. It should be used in conjunction with Type. :'value' => :'Value' } end # attribute type def self.swagger_types { :'is_gte' => :'BOOLEAN', :'type' => :'String', :'value' => :'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[:'IsGTE'] self.is_gte = attributes[:'IsGTE'] end if attributes[:'Type'] self.type = attributes[:'Type'] end if attributes[:'Value'] self.value = attributes[:'Value'] end end end end