Sha256: dea21e255e04b90e5aa05812539586c8e6c828c0520798563da1c3cfca159b17

Contents?: true

Size: 1.19 KB

Versions: 1

Compression:

Stored size: 1.19 KB

Contents

module AsposeCellsCloud
  # 
  class ConditionalFormatting < BaseObject
    attr_accessor :sqref, :format_conditions, :link
    # attribute mapping from ruby-style variable name to JSON key
    def self.attribute_map
      {
        
        # 
        :'sqref' => :'sqref',
        
        # 
        :'format_conditions' => :'FormatConditions',
        
        # 
        :'link' => :'link'
        
      }
    end

    # attribute type
    def self.swagger_types
      {
        :'sqref' => :'String',
        :'format_conditions' => :'Array<FormatCondition>',
        :'link' => :'Link'
        
      }
    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[:'sqref']
        self.sqref = attributes[:'sqref']
      end
      
      if attributes[:'FormatConditions']
        if (value = attributes[:'FormatConditions']).is_a?(Array)
          self.format_conditions = value
        end
      end
      
      if attributes[:'link']
        self.link = attributes[:'link']
      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.rb