Package org.openapitools.client.model
Class BarcodeAdvancedScanResult
java.lang.Object
org.openapitools.client.model.BarcodeAdvancedScanResult
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
date="2025-11-03T00:26:55.543571700Z[Etc/UTC]",
comments="Generator version: 7.12.0")
public class BarcodeAdvancedScanResult
extends Object
Result of the advanced barcode scan
-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddResultBarcodesItem(BarcodeAdvancedResultItem resultBarcodesItem) barcodeCount(Integer barcodeCount) booleanerrorMessage(String errorMessage) static BarcodeAdvancedScanResultCreate an instance of BarcodeAdvancedScanResult given an JSON stringNumber of barcodes readError message if anyResults of performing the barcode scan operationTrue if the operation was successful, false otherwiseinthashCode()resultBarcodes(List<BarcodeAdvancedResultItem> resultBarcodes) voidsetBarcodeCount(Integer barcodeCount) voidsetErrorMessage(String errorMessage) voidsetResultBarcodes(List<BarcodeAdvancedResultItem> resultBarcodes) voidsetSuccessful(Boolean successful) successful(Boolean successful) toJson()Convert an instance of BarcodeAdvancedScanResult 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_RESULT_BARCODES
- See Also:
-
SERIALIZED_NAME_BARCODE_COUNT
- See Also:
-
SERIALIZED_NAME_ERROR_MESSAGE
- See Also:
-
openapiFields
-
openapiRequiredFields
-
-
Constructor Details
-
BarcodeAdvancedScanResult
public BarcodeAdvancedScanResult()
-
-
Method Details
-
successful
-
getSuccessful
True if the operation was successful, false otherwise- Returns:
- successful
-
setSuccessful
-
resultBarcodes
public BarcodeAdvancedScanResult resultBarcodes(@Nullable List<BarcodeAdvancedResultItem> resultBarcodes) -
addResultBarcodesItem
public BarcodeAdvancedScanResult addResultBarcodesItem(BarcodeAdvancedResultItem resultBarcodesItem) -
getResultBarcodes
Results of performing the barcode scan operation- Returns:
- resultBarcodes
-
setResultBarcodes
-
barcodeCount
-
getBarcodeCount
Number of barcodes read- Returns:
- barcodeCount
-
setBarcodeCount
-
errorMessage
-
getErrorMessage
Error message if any- Returns:
- errorMessage
-
setErrorMessage
-
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 BarcodeAdvancedScanResult
-
fromJson
Create an instance of BarcodeAdvancedScanResult given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of BarcodeAdvancedScanResult
- Throws:
IOException- if the JSON string is invalid with respect to BarcodeAdvancedScanResult
-
toJson
Convert an instance of BarcodeAdvancedScanResult to an JSON string- Returns:
- JSON string
-