Sha256: 0b3a0979633bf164a745cc84d160683f50366bc8640cefa07a1bb3fb877820be
Contents?: true
Size: 1.34 KB
Versions: 1
Compression:
Stored size: 1.34 KB
Contents
module AsposeImagingCloud # class JfifData < BaseObject attr_accessor :density_units, :version, :x_density, :y_density # attribute mapping from ruby-style variable name to JSON key def self.attribute_map { # :'density_units' => :'DensityUnits', # :'version' => :'Version', # :'x_density' => :'XDensity', # :'y_density' => :'YDensity' } end # attribute type def self.swagger_types { :'density_units' => :'String', :'version' => :'Integer', :'x_density' => :'Integer', :'y_density' => :'Integer' } 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[:'DensityUnits'] self.density_units = attributes[:'DensityUnits'] end if attributes[:'Version'] self.version = attributes[:'Version'] end if attributes[:'XDensity'] self.x_density = attributes[:'XDensity'] end if attributes[:'YDensity'] self.y_density = attributes[:'YDensity'] 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/jfif_data.rb |