Sha256: b96f4e352e4cca54493d85058af12e892cc535d6c1fd9b63736fc3598abbb826
Contents?: true
Size: 1.72 KB
Versions: 5
Compression:
Stored size: 1.72 KB
Contents
module AsposeBarcodeCloud # class BarcodeReader < BaseObject attr_accessor :checksum_validation, :strip_fnc, :barcodes_count, :rotation_angle, :binarization_hints # attribute mapping from ruby-style variable name to JSON key def self.attribute_map { # :'checksum_validation' => :'ChecksumValidation', # :'strip_fnc' => :'StripFNC', # :'barcodes_count' => :'BarcodesCount', # :'rotation_angle' => :'RotationAngle', # :'binarization_hints' => :'BinarizationHints' } end # attribute type def self.swagger_types { :'checksum_validation' => :'String', :'strip_fnc' => :'BOOLEAN', :'barcodes_count' => :'Integer', :'rotation_angle' => :'Integer', :'binarization_hints' => :'String' } 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[:'ChecksumValidation'] self.checksum_validation = attributes[:'ChecksumValidation'] end if attributes[:'StripFNC'] self.strip_fnc = attributes[:'StripFNC'] end if attributes[:'BarcodesCount'] self.barcodes_count = attributes[:'BarcodesCount'] end if attributes[:'RotationAngle'] self.rotation_angle = attributes[:'RotationAngle'] end if attributes[:'BinarizationHints'] self.binarization_hints = attributes[:'BinarizationHints'] end end end end
Version data entries
5 entries across 5 versions & 1 rubygems