Class ScanJob.Inventory
-
- All Implemented Interfaces:
public final class ScanJob.Inventory
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classScanJob.Inventory.BuilderA builder for Inventory.
public final classScanJob.Inventory.RequestSourceIdentifies the system that requested the scan
-
Method Summary
Modifier and Type Method Description final StringmodelName()Name of the model final StringmodelVersion()If you do not provide a version, one will be generated for you. final StringrequestedScanLocation()Location to be scanned final StringrequestingEntity()Entity that requested the scan final Optional<String>origin()Specifies the platform or service where the model originated before being scanned final Optional<ScanJob.Inventory.RequestSource>requestSource()Identifies the system that requested the scan final JsonField<String>_modelName()Returns the raw JSON value of modelName. final JsonField<String>_modelVersion()Returns the raw JSON value of modelVersion. final JsonField<String>_requestedScanLocation()Returns the raw JSON value of requestedScanLocation. final JsonField<String>_requestingEntity()Returns the raw JSON value of requestingEntity. final JsonField<String>_origin()Returns the raw JSON value of origin. final JsonField<ScanJob.Inventory.RequestSource>_requestSource()Returns the raw JSON value of requestSource. final Map<String, JsonValue>_additionalProperties()final ScanJob.Inventory.BuildertoBuilder()final ScanJob.Inventoryvalidate()final BooleanisValid()Booleanequals(Object other)IntegerhashCode()StringtoString()final static ScanJob.Inventory.Builderbuilder()Returns a mutable builder for constructing an instance of Inventory. -
-
Method Detail
-
modelVersion
final String modelVersion()
If you do not provide a version, one will be generated for you.
-
requestedScanLocation
final String requestedScanLocation()
Location to be scanned
-
requestingEntity
final String requestingEntity()
Entity that requested the scan
-
origin
final Optional<String> origin()
Specifies the platform or service where the model originated before being scanned
-
requestSource
final Optional<ScanJob.Inventory.RequestSource> requestSource()
Identifies the system that requested the scan
-
_modelName
final JsonField<String> _modelName()
Returns the raw JSON value of modelName.
Unlike modelName, this method doesn't throw if the JSON field has an unexpected type.
-
_modelVersion
final JsonField<String> _modelVersion()
Returns the raw JSON value of modelVersion.
Unlike modelVersion, this method doesn't throw if the JSON field has an unexpected type.
-
_requestedScanLocation
final JsonField<String> _requestedScanLocation()
Returns the raw JSON value of requestedScanLocation.
Unlike requestedScanLocation, this method doesn't throw if the JSON field has an unexpected type.
-
_requestingEntity
final JsonField<String> _requestingEntity()
Returns the raw JSON value of requestingEntity.
Unlike requestingEntity, this method doesn't throw if the JSON field has an unexpected type.
-
_origin
final JsonField<String> _origin()
Returns the raw JSON value of origin.
Unlike origin, this method doesn't throw if the JSON field has an unexpected type.
-
_requestSource
final JsonField<ScanJob.Inventory.RequestSource> _requestSource()
Returns the raw JSON value of requestSource.
Unlike requestSource, this method doesn't throw if the JSON field has an unexpected type.
-
_additionalProperties
final Map<String, JsonValue> _additionalProperties()
-
toBuilder
final ScanJob.Inventory.Builder toBuilder()
-
validate
final ScanJob.Inventory validate()
-
builder
final static ScanJob.Inventory.Builder builder()
Returns a mutable builder for constructing an instance of Inventory.
The following fields are required:
.modelName() .modelVersion() .requestedScanLocation() .requestingEntity()
-
-
-
-