class AsposeBarcodeCloud::BarcodeReader
Attributes
barcodes_count[RW]
binarization_hints[RW]
checksum_validation[RW]
rotation_angle[RW]
strip_fnc[RW]
Public Class Methods
attribute_map()
click to toggle source
attribute mapping from ruby-style variable name to JSON key
# File lib/aspose_barcode_cloud/models/barcode_reader.rb, line 6 def self.attribute_map { # :'checksum_validation' => :'ChecksumValidation', # :'strip_fnc' => :'StripFNC', # :'barcodes_count' => :'BarcodesCount', # :'rotation_angle' => :'RotationAngle', # :'binarization_hints' => :'BinarizationHints' } end
new(attributes = {})
click to toggle source
# File lib/aspose_barcode_cloud/models/barcode_reader.rb, line 39 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
swagger_types()
click to toggle source
attribute type
# File lib/aspose_barcode_cloud/models/barcode_reader.rb, line 28 def self.swagger_types { :'checksum_validation' => :'String', :'strip_fnc' => :'BOOLEAN', :'barcodes_count' => :'Integer', :'rotation_angle' => :'Integer', :'binarization_hints' => :'String' } end