Sha256: d1a65e958335b54d7fd0e3ac085a5e8c168cbd76785af7c2f298e1de720b33a1

Contents?: true

Size: 1.31 KB

Versions: 1

Compression:

Stored size: 1.31 KB

Contents

module AsposeImagingCloud
  # 
  class TiffFrame < BaseObject
    attr_accessor :frame_options, :height, :width, :exif_data
    # attribute mapping from ruby-style variable name to JSON key
    def self.attribute_map
      {
        
        # 
        :'frame_options' => :'FrameOptions',
        
        # 
        :'height' => :'Height',
        
        # 
        :'width' => :'Width',
        
        # 
        :'exif_data' => :'ExifData'
        
      }
    end

    # attribute type
    def self.swagger_types
      {
        :'frame_options' => :'TiffOptions',
        :'height' => :'Integer',
        :'width' => :'Integer',
        :'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[:'FrameOptions']
        self.frame_options = attributes[:'FrameOptions']
      end
      
      if attributes[:'Height']
        self.height = attributes[:'Height']
      end
      
      if attributes[:'Width']
        self.width = attributes[:'Width']
      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_frame.rb