Sha256: 78e665bacbc702e2dc92112cfddb2407b61088de910f3951f5bfb465a586c8fe

Contents?: true

Size: 1.04 KB

Versions: 1

Compression:

Stored size: 1.04 KB

Contents

module AsposeCellsCloud
  # 
  class DataBarBorder < BaseObject
    attr_accessor :color, :type
    # attribute mapping from ruby-style variable name to JSON key
    def self.attribute_map
      {
        
        # Gets or sets the border&#39;s color of data bars specified by a conditional formatting rule.
        :'color' => :'Color',
        
        # Gets or sets the border&#39;s type of data bars specified by a conditional formatting rule.
        :'type' => :'Type'
        
      }
    end

    # attribute type
    def self.swagger_types
      {
        :'color' => :'Color',
        :'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[:'Color']
        self.color = attributes[:'Color']
      end
      
      if attributes[:'Type']
        self.type = attributes[:'Type']
      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/data_bar_border.rb