Class JobListResponse.Item
-
- All Implemented Interfaces:
public final class JobListResponse.ItemA scan report without any file results.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classJobListResponse.Item.BuilderA builder for Item.
public final classJobListResponse.Item.Inventorypublic final classJobListResponse.Item.Statusstatus of the scan
public final classJobListResponse.Item.Summarypublic final classJobListResponse.Item.Compliancepublic final classJobListResponse.Item.SeverityThe highest severity of any detections on the scan, including "safe". Use
.summary.highest_severityinstead.
-
Method Summary
Modifier and Type Method Description final LongdetectionCount()number of detections found; use .summary.detection_countinsteadfinal LongfileCount()number of files scanned; use .summary.file_countinsteadfinal LongfilesWithDetectionsCount()number of files with detections found; use .summary.files_with_detections_countinsteadfinal JobListResponse.Item.Inventoryinventory()final StringscanId()unique identifier for the scan final OffsetDateTimestartTime()time the scan started final JobListResponse.Item.Statusstatus()status of the scan final JobListResponse.Item.Summarysummary()final Stringversion()scanner version final Optional<String>schemaVersion()version of the scan report schema format final Optional<JobListResponse.Item.Compliance>compliance()final Optional<List<String>>detectionCategories()list of detection categories found; use .summary.detection_categoriesinsteadfinal Optional<OffsetDateTime>endTime()time the scan ended final Optional<Boolean>hasGenealogy()if there is model geneaology info available final Optional<JobListResponse.Item.Severity>severity()The highest severity of any detections on the scan, including "safe". final JsonField<Long>_detectionCount()Returns the raw JSON value of detectionCount. final JsonField<Long>_fileCount()Returns the raw JSON value of fileCount. final JsonField<Long>_filesWithDetectionsCount()Returns the raw JSON value of filesWithDetectionsCount. final JsonField<JobListResponse.Item.Inventory>_inventory()Returns the raw JSON value of inventory. final JsonField<String>_scanId()Returns the raw JSON value of scanId. final JsonField<OffsetDateTime>_startTime()Returns the raw JSON value of startTime. final JsonField<JobListResponse.Item.Status>_status()Returns the raw JSON value of status. final JsonField<JobListResponse.Item.Summary>_summary()Returns the raw JSON value of summary. final JsonField<String>_version()Returns the raw JSON value of version. final JsonField<String>_schemaVersion()Returns the raw JSON value of schemaVersion. final JsonField<JobListResponse.Item.Compliance>_compliance()Returns the raw JSON value of compliance. final JsonField<List<String>>_detectionCategories()Returns the raw JSON value of detectionCategories. final JsonField<OffsetDateTime>_endTime()Returns the raw JSON value of endTime. final JsonField<Boolean>_hasGenealogy()Returns the raw JSON value of hasGenealogy. final JsonField<JobListResponse.Item.Severity>_severity()Returns the raw JSON value of severity. final Map<String, JsonValue>_additionalProperties()final JobListResponse.Item.BuildertoBuilder()final JobListResponse.Itemvalidate()Validates that the types of all values in this object match their expected types recursively. final BooleanisValid()Booleanequals(Object other)IntegerhashCode()StringtoString()final static JobListResponse.Item.Builderbuilder()Returns a mutable builder for constructing an instance of Item. -
-
Method Detail
-
detectionCount
@Deprecated(message = "deprecated") final Long detectionCount()
number of detections found; use
.summary.detection_countinstead
-
fileCount
@Deprecated(message = "deprecated") final Long fileCount()
number of files scanned; use
.summary.file_countinstead
-
filesWithDetectionsCount
@Deprecated(message = "deprecated") final Long filesWithDetectionsCount()
number of files with detections found; use
.summary.files_with_detections_countinstead
-
inventory
final JobListResponse.Item.Inventory inventory()
-
startTime
final OffsetDateTime startTime()
time the scan started
-
status
final JobListResponse.Item.Status status()
status of the scan
-
summary
final JobListResponse.Item.Summary summary()
-
schemaVersion
final Optional<String> schemaVersion()
version of the scan report schema format
-
compliance
final Optional<JobListResponse.Item.Compliance> compliance()
-
detectionCategories
@Deprecated(message = "deprecated") final Optional<List<String>> detectionCategories()
list of detection categories found; use
.summary.detection_categoriesinstead
-
endTime
final Optional<OffsetDateTime> endTime()
time the scan ended
-
hasGenealogy
final Optional<Boolean> hasGenealogy()
if there is model geneaology info available
-
severity
@Deprecated(message = "deprecated") final Optional<JobListResponse.Item.Severity> severity()
The highest severity of any detections on the scan, including "safe". Use
.summary.highest_severityinstead.
-
_detectionCount
@Deprecated(message = "deprecated") final JsonField<Long> _detectionCount()
Returns the raw JSON value of detectionCount.
Unlike detectionCount, this method doesn't throw if the JSON field has an unexpected type.
-
_fileCount
@Deprecated(message = "deprecated") final JsonField<Long> _fileCount()
Returns the raw JSON value of fileCount.
Unlike fileCount, this method doesn't throw if the JSON field has an unexpected type.
-
_filesWithDetectionsCount
@Deprecated(message = "deprecated") final JsonField<Long> _filesWithDetectionsCount()
Returns the raw JSON value of filesWithDetectionsCount.
Unlike filesWithDetectionsCount, this method doesn't throw if the JSON field has an unexpected type.
-
_inventory
final JsonField<JobListResponse.Item.Inventory> _inventory()
Returns the raw JSON value of inventory.
Unlike inventory, this method doesn't throw if the JSON field has an unexpected type.
-
_scanId
final JsonField<String> _scanId()
Returns the raw JSON value of scanId.
Unlike scanId, this method doesn't throw if the JSON field has an unexpected type.
-
_startTime
final JsonField<OffsetDateTime> _startTime()
Returns the raw JSON value of startTime.
Unlike startTime, this method doesn't throw if the JSON field has an unexpected type.
-
_status
final JsonField<JobListResponse.Item.Status> _status()
Returns the raw JSON value of status.
Unlike status, this method doesn't throw if the JSON field has an unexpected type.
-
_summary
final JsonField<JobListResponse.Item.Summary> _summary()
Returns the raw JSON value of summary.
Unlike summary, this method doesn't throw if the JSON field has an unexpected type.
-
_version
final JsonField<String> _version()
Returns the raw JSON value of version.
Unlike version, this method doesn't throw if the JSON field has an unexpected type.
-
_schemaVersion
final JsonField<String> _schemaVersion()
Returns the raw JSON value of schemaVersion.
Unlike schemaVersion, this method doesn't throw if the JSON field has an unexpected type.
-
_compliance
final JsonField<JobListResponse.Item.Compliance> _compliance()
Returns the raw JSON value of compliance.
Unlike compliance, this method doesn't throw if the JSON field has an unexpected type.
-
_detectionCategories
@Deprecated(message = "deprecated") final JsonField<List<String>> _detectionCategories()
Returns the raw JSON value of detectionCategories.
Unlike detectionCategories, this method doesn't throw if the JSON field has an unexpected type.
-
_endTime
final JsonField<OffsetDateTime> _endTime()
Returns the raw JSON value of endTime.
Unlike endTime, this method doesn't throw if the JSON field has an unexpected type.
-
_hasGenealogy
final JsonField<Boolean> _hasGenealogy()
Returns the raw JSON value of hasGenealogy.
Unlike hasGenealogy, this method doesn't throw if the JSON field has an unexpected type.
-
_severity
@Deprecated(message = "deprecated") final JsonField<JobListResponse.Item.Severity> _severity()
Returns the raw JSON value of severity.
Unlike severity, this method doesn't throw if the JSON field has an unexpected type.
-
_additionalProperties
final Map<String, JsonValue> _additionalProperties()
-
toBuilder
final JobListResponse.Item.Builder toBuilder()
-
validate
final JobListResponse.Item validate()
Validates that the types of all values in this object match their expected types recursively.
This method is not forwards compatible with new types from the API for existing fields.
-
builder
final static JobListResponse.Item.Builder builder()
Returns a mutable builder for constructing an instance of Item.
The following fields are required:
.detectionCount() .fileCount() .filesWithDetectionsCount() .inventory() .scanId() .startTime() .status() .summary() .version()
-
-
-
-