Sha256: c8fdf04cfbad3e792ea6ebdeb310ae8e6293399aea30a7d5288be7e616a40c09

Contents?: true

Size: 1.62 KB

Versions: 1

Compression:

Stored size: 1.62 KB

Contents

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. &#39;false&#39; indicates &#39;greater than&#39; is used instead of &#39;greater than or equal to&#39;. 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 &#39;Value&#39; 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

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_value.rb