module AsposeCellsCloud # class NegativeBarFormat < BaseObject attr_accessor :border_color, :border_color_type, :color, :color_type # attribute mapping from ruby-style variable name to JSON key def self.attribute_map { # Gets or sets a FormatColor object that you can use to specify the border color for negative data bars. :'border_color' => :'BorderColor', # Gets whether to use the same border color as positive data bars. :'border_color_type' => :'BorderColorType', # Gets or sets a FormatColor object that you can use to specify the fill color for negative data bars. :'color' => :'Color', # Gets or sets whether to use the same fill color as positive data bars. :'color_type' => :'ColorType' } end # attribute type def self.swagger_types { :'border_color' => :'Color', :'border_color_type' => :'String', :'color' => :'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[:'BorderColor'] self.border_color = attributes[:'BorderColor'] end if attributes[:'BorderColorType'] self.border_color_type = attributes[:'BorderColorType'] end if attributes[:'Color'] self.color = attributes[:'Color'] end if attributes[:'ColorType'] self.color_type = attributes[:'ColorType'] end end end end