Class JobRequestParams.Inventory
-
- All Implemented Interfaces:
public final class JobRequestParams.Inventory
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classJobRequestParams.Inventory.BuilderA builder for Inventory.
public final classJobRequestParams.Inventory.RequestSourceIdentifies the system that requested the scan
public final classJobRequestParams.Inventory.ScanTargetSpecifies what to scan. Must provide at least one of: deep_scan with file location details, provider_details, or both.
-
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 StringrequestingEntity()Entity that requested the scan final Optional<String>origin()Specifies the platform or service where the model originated before being scanned final Optional<JobRequestParams.Inventory.RequestSource>requestSource()Identifies the system that requested the scan final Optional<String>requestedScanLocation()DEPRECATED: Use scan_targetinstead.final Optional<JobRequestParams.Inventory.ScanTarget>scanTarget()Specifies what to 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>_requestingEntity()Returns the raw JSON value of requestingEntity. final JsonField<String>_origin()Returns the raw JSON value of origin. final JsonField<JobRequestParams.Inventory.RequestSource>_requestSource()Returns the raw JSON value of requestSource. final JsonField<String>_requestedScanLocation()Returns the raw JSON value of requestedScanLocation. final JsonField<JobRequestParams.Inventory.ScanTarget>_scanTarget()Returns the raw JSON value of scanTarget. final Map<String, JsonValue>_additionalProperties()final JobRequestParams.Inventory.BuildertoBuilder()final JobRequestParams.Inventoryvalidate()final BooleanisValid()Booleanequals(Object other)IntegerhashCode()StringtoString()final static JobRequestParams.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.
-
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<JobRequestParams.Inventory.RequestSource> requestSource()
Identifies the system that requested the scan
-
requestedScanLocation
@Deprecated(message = "deprecated") final Optional<String> requestedScanLocation()
DEPRECATED: Use
scan_targetinstead. Location of files to be scanned. Maintained for backwards compatibility. If bothrequested_scan_locationandscan_targetare provided,scan_targettakes precedence.
-
scanTarget
final Optional<JobRequestParams.Inventory.ScanTarget> scanTarget()
Specifies what to scan. Must provide at least one of: deep_scan with file location details, provider_details, or both.
-
_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.
-
_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<JobRequestParams.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.
-
_requestedScanLocation
@Deprecated(message = "deprecated") 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.
-
_scanTarget
final JsonField<JobRequestParams.Inventory.ScanTarget> _scanTarget()
Returns the raw JSON value of scanTarget.
Unlike scanTarget, this method doesn't throw if the JSON field has an unexpected type.
-
_additionalProperties
final Map<String, JsonValue> _additionalProperties()
-
toBuilder
final JobRequestParams.Inventory.Builder toBuilder()
-
validate
final JobRequestParams.Inventory validate()
-
builder
final static JobRequestParams.Inventory.Builder builder()
Returns a mutable builder for constructing an instance of Inventory.
The following fields are required:
.modelName() .modelVersion() .requestingEntity()
-
-
-
-