Sha256: 0f841cca43fb7dc15c094666ce78ae6d32d5e0724eb033f5237d6dd17493ad8e
Contents?: true
Size: 1.22 KB
Versions: 5
Compression:
Stored size: 1.22 KB
Contents
module AsposeCellsCloud # class ColorFilterRequest < BaseObject attr_accessor :pattern, :foreground_color, :background_color # attribute mapping from ruby-style variable name to JSON key def self.attribute_map { # :'pattern' => :'Pattern', # :'foreground_color' => :'ForegroundColor', # :'background_color' => :'BackgroundColor' } end # attribute type def self.swagger_types { :'pattern' => :'String', :'foreground_color' => :'CellsColor', :'background_color' => :'CellsColor' } 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[:'Pattern'] self.pattern = attributes[:'Pattern'] end if attributes[:'ForegroundColor'] self.foreground_color = attributes[:'ForegroundColor'] end if attributes[:'BackgroundColor'] self.background_color = attributes[:'BackgroundColor'] end end end end
Version data entries
5 entries across 5 versions & 1 rubygems