Sha256: 126e8b3937416b276c6f03589ba1f162c3801ff04186dac0bf56586e7f9309ab
Contents?: true
Size: 1.24 KB
Versions: 1
Compression:
Stored size: 1.24 KB
Contents
module AsposeImagingCloud # class GifProperties < BaseObject attr_accessor :background_color, :has_trailer, :pixel_aspect_ratio # attribute mapping from ruby-style variable name to JSON key def self.attribute_map { # :'background_color' => :'BackgroundColor', # :'has_trailer' => :'HasTrailer', # :'pixel_aspect_ratio' => :'PixelAspectRatio' } end # attribute type def self.swagger_types { :'background_color' => :'String', :'has_trailer' => :'BOOLEAN', :'pixel_aspect_ratio' => :'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[:'BackgroundColor'] self.background_color = attributes[:'BackgroundColor'] end if attributes[:'HasTrailer'] self.has_trailer = attributes[:'HasTrailer'] end if attributes[:'PixelAspectRatio'] self.pixel_aspect_ratio = attributes[:'PixelAspectRatio'] end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
aspose_imaging_cloud-1.0.0 | lib/aspose_imaging_cloud/models/gif_properties.rb |