Sha256: 502f9e3909fec116fca2aaf9dd06daab5f363e9331741ea622d1739fb104433e

Contents?: true

Size: 984 Bytes

Versions: 5

Compression:

Stored size: 984 Bytes

Contents

module AsposeBarcodeCloud
  # 
  class Resolution < BaseObject
    attr_accessor :resolution_x, :resolution_y
    # attribute mapping from ruby-style variable name to JSON key
    def self.attribute_map
      {
        
        # 
        :'resolution_x' => :'ResolutionX',
        
        # 
        :'resolution_y' => :'ResolutionY'
        
      }
    end

    # attribute type
    def self.swagger_types
      {
        :'resolution_x' => :'Float',
        :'resolution_y' => :'Float'
        
      }
    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[:'ResolutionX']
        self.resolution_x = attributes[:'ResolutionX']
      end
      
      if attributes[:'ResolutionY']
        self.resolution_y = attributes[:'ResolutionY']
      end
      
    end

  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
aspose_barcode_cloud-1.0.4 lib/aspose_barcode_cloud/models/resolution.rb
aspose_barcode_cloud-1.0.3 lib/aspose_barcode_cloud/models/resolution.rb
aspose_barcode_cloud-1.0.2 lib/aspose_barcode_cloud/models/resolution.rb
aspose_barcode_cloud-1.0.1 lib/aspose_barcode_cloud/models/resolution.rb
aspose_barcode_cloud-1.0.0 lib/aspose_barcode_cloud/models/resolution.rb