Sha256: e6ffcbb8aee07fde9efe94095baffc7f2d4be52da3e01df6fa4986b5cafe7ba8

Contents?: true

Size: 1.18 KB

Versions: 1

Compression:

Stored size: 1.18 KB

Contents

module AsposeImagingCloud
  # 
  class TiffProperties < BaseObject
    attr_accessor :frames, :byte_order, :exif_data
    # attribute mapping from ruby-style variable name to JSON key
    def self.attribute_map
      {
        
        # 
        :'frames' => :'Frames',
        
        # 
        :'byte_order' => :'ByteOrder',
        
        # 
        :'exif_data' => :'ExifData'
        
      }
    end

    # attribute type
    def self.swagger_types
      {
        :'frames' => :'Array<TiffFrame>',
        :'byte_order' => :'String',
        :'exif_data' => :'ExifData'
        
      }
    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[:'Frames']
        if (value = attributes[:'Frames']).is_a?(Array)
          self.frames = value
        end
      end
      
      if attributes[:'ByteOrder']
        self.byte_order = attributes[:'ByteOrder']
      end
      
      if attributes[:'ExifData']
        self.exif_data = attributes[:'ExifData']
      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/tiff_properties.rb