Sha256: 2cce1bae029b7fef08d6d74882aec02caa6720f3f604f23ada764c8a2cad8fba

Contents?: true

Size: 1.18 KB

Versions: 1

Compression:

Stored size: 1.18 KB

Contents

module AsposeImagingCloud
  # 
  class JpegProperties < BaseObject
    attr_accessor :comment, :jpeg_exif_data, :jpeg_jfif_data
    # attribute mapping from ruby-style variable name to JSON key
    def self.attribute_map
      {
        
        # 
        :'comment' => :'Comment',
        
        # 
        :'jpeg_exif_data' => :'JpegExifData',
        
        # 
        :'jpeg_jfif_data' => :'JpegJfifData'
        
      }
    end

    # attribute type
    def self.swagger_types
      {
        :'comment' => :'String',
        :'jpeg_exif_data' => :'JpegExifData',
        :'jpeg_jfif_data' => :'JfifData'
        
      }
    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[:'Comment']
        self.comment = attributes[:'Comment']
      end
      
      if attributes[:'JpegExifData']
        self.jpeg_exif_data = attributes[:'JpegExifData']
      end
      
      if attributes[:'JpegJfifData']
        self.jpeg_jfif_data = attributes[:'JpegJfifData']
      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/jpeg_properties.rb