Package org.openapitools.client.model
Class BarcodeScanResult
java.lang.Object
org.openapitools.client.model.BarcodeScanResult
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
date="2025-11-03T00:26:55.543571700Z[Etc/UTC]",
comments="Generator version: 7.12.0")
public class BarcodeScanResult
extends Object
Result of the barcode scan
-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbarcodeType(String barcodeType) booleanstatic BarcodeScanResultCreate an instance of BarcodeScanResult given an JSON stringThe type of the barcode; possible values are AZTEC, CODABAR, CODE_39, CODE_93, CODE_128, DATA_MATRIX, EAN_8, EAN_13, ITF, MAXICODE, PDF_417, QR_CODE, RSS_14, RSS_EXPANDED, UPC_A, UPC_E, All_1D, UPC_EAN_EXTENSION, MSI, PLESSEY, IMBThe barcode textTrue if the operation was successful, false otherwiseinthashCode()voidsetBarcodeType(String barcodeType) voidsetRawText(String rawText) voidsetSuccessful(Boolean successful) successful(Boolean successful) toJson()Convert an instance of BarcodeScanResult to an JSON stringtoString()static voidvalidateJsonElement(com.google.gson.JsonElement jsonElement) Validates the JSON Element and throws an exception if issues found
-
Field Details
-
SERIALIZED_NAME_SUCCESSFUL
- See Also:
-
SERIALIZED_NAME_BARCODE_TYPE
- See Also:
-
SERIALIZED_NAME_RAW_TEXT
- See Also:
-
openapiFields
-
openapiRequiredFields
-
-
Constructor Details
-
BarcodeScanResult
public BarcodeScanResult()
-
-
Method Details
-
successful
-
getSuccessful
True if the operation was successful, false otherwise- Returns:
- successful
-
setSuccessful
-
barcodeType
-
getBarcodeType
The type of the barcode; possible values are AZTEC, CODABAR, CODE_39, CODE_93, CODE_128, DATA_MATRIX, EAN_8, EAN_13, ITF, MAXICODE, PDF_417, QR_CODE, RSS_14, RSS_EXPANDED, UPC_A, UPC_E, All_1D, UPC_EAN_EXTENSION, MSI, PLESSEY, IMB- Returns:
- barcodeType
-
setBarcodeType
-
rawText
-
getRawText
The barcode text- Returns:
- rawText
-
setRawText
-
equals
-
hashCode
public int hashCode() -
toString
-
validateJsonElement
Validates the JSON Element and throws an exception if issues found- Parameters:
jsonElement- JSON Element- Throws:
IOException- if the JSON Element is invalid with respect to BarcodeScanResult
-
fromJson
Create an instance of BarcodeScanResult given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of BarcodeScanResult
- Throws:
IOException- if the JSON string is invalid with respect to BarcodeScanResult
-
toJson
Convert an instance of BarcodeScanResult to an JSON string- Returns:
- JSON string
-