Sha256: f6ffd01d3c6f368580bf8f11f7f49a3807471916b9ba97bf4fbc022b38083ed7
Contents?: true
Size: 1.82 KB
Versions: 10
Compression:
Stored size: 1.82 KB
Contents
module AsposeCellsCloud # class DrawingFillFormat < BaseObject attr_accessor :type, :solid_fill, :pattern_fill, :texture_fill, :gradient_fill, :image_data # attribute mapping from ruby-style variable name to JSON key def self.attribute_map { # :'type' => :'Type', # :'solid_fill' => :'SolidFill', # :'pattern_fill' => :'PatternFill', # :'texture_fill' => :'TextureFill', # :'gradient_fill' => :'GradientFill', # :'image_data' => :'ImageData' } end # attribute type def self.swagger_types { :'type' => :'String', :'solid_fill' => :'DrawingSolidFill', :'pattern_fill' => :'DrawingPatternFill', :'texture_fill' => :'DrawingTextureFill', :'gradient_fill' => :'DrawingGradientFill', :'image_data' => :'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[:'Type'] self.type = attributes[:'Type'] end if attributes[:'SolidFill'] self.solid_fill = attributes[:'SolidFill'] end if attributes[:'PatternFill'] self.pattern_fill = attributes[:'PatternFill'] end if attributes[:'TextureFill'] self.texture_fill = attributes[:'TextureFill'] end if attributes[:'GradientFill'] self.gradient_fill = attributes[:'GradientFill'] end if attributes[:'ImageData'] self.image_data = attributes[:'ImageData'] end end end end
Version data entries
10 entries across 10 versions & 1 rubygems