Interface ScanReport.Inventory.Visitor
-
- All Implemented Interfaces:
public interface ScanReport.Inventory.Visitor<T extends Object>
-
-
Method Summary
Modifier and Type Method Description abstract TvisitScanModelDetailsV3(ScanReport.Inventory.ScanModelDetailsV3 scanModelDetailsV3)abstract TvisitScanModelIdsV3(ScanReport.Inventory.ScanModelIdsV3 scanModelIdsV3)abstract TvisitScanModelComboV3(ScanReport.Inventory.ScanModelComboV3 scanModelComboV3)Tunknown(JsonValue json)Maps an unknown variant of Inventory to a value of type T. -
-
Method Detail
-
visitScanModelDetailsV3
abstract T visitScanModelDetailsV3(ScanReport.Inventory.ScanModelDetailsV3 scanModelDetailsV3)
-
visitScanModelIdsV3
abstract T visitScanModelIdsV3(ScanReport.Inventory.ScanModelIdsV3 scanModelIdsV3)
-
visitScanModelComboV3
abstract T visitScanModelComboV3(ScanReport.Inventory.ScanModelComboV3 scanModelComboV3)
-
unknown
T unknown(JsonValue json)
Maps an unknown variant of Inventory to a value of type T.
An instance of Inventory can contain an unknown variant if it was deserialized from data that doesn't match any known variant. For example, if the SDK is on an older version than the API, then the API may respond with new variants that the SDK is unaware of.
-
-
-
-