Class JobListResponse.Item.Summary
-
- All Implemented Interfaces:
public final class JobListResponse.Item.Summary
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classJobListResponse.Item.Summary.BuilderA builder for Summary.
public final classJobListResponse.Item.Summary.HighestSeverityThe highest severity of any detections on the scan.
public final classJobListResponse.Item.Summary.SeverityThe highest severity of any detections on the scan, including "safe". Use
.summary.highest_severityinstead.
-
Method Summary
Modifier and Type Method Description final Optional<List<String>>detectionCategories()list of unique detection categories found final Optional<Long>detectionCount()total number of detections found final Optional<Long>fileCount()total number of files scanned final Optional<Long>filesFailedToScan()number of files that failed during scanning final Optional<Long>filesWithDetectionsCount()number of files that contain detections final Optional<JobListResponse.Item.Summary.HighestSeverity>highestSeverity()The highest severity of any detections on the scan. final Optional<JobListResponse.Item.Summary.Severity>severity()The highest severity of any detections on the scan, including "safe". final Optional<Long>unknownFiles()number of files with unknown file type final JsonField<List<String>>_detectionCategories()Returns the raw JSON value of detectionCategories. 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>_filesFailedToScan()Returns the raw JSON value of filesFailedToScan. final JsonField<Long>_filesWithDetectionsCount()Returns the raw JSON value of filesWithDetectionsCount. final JsonField<JobListResponse.Item.Summary.HighestSeverity>_highestSeverity()Returns the raw JSON value of highestSeverity. final JsonField<JobListResponse.Item.Summary.Severity>_severity()Returns the raw JSON value of severity. final JsonField<Long>_unknownFiles()Returns the raw JSON value of unknownFiles. final Map<String, JsonValue>_additionalProperties()final JobListResponse.Item.Summary.BuildertoBuilder()final JobListResponse.Item.Summaryvalidate()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.Summary.Builderbuilder()Returns a mutable builder for constructing an instance of Summary. -
-
Method Detail
-
detectionCategories
final Optional<List<String>> detectionCategories()
list of unique detection categories found
-
detectionCount
final Optional<Long> detectionCount()
total number of detections found
-
filesFailedToScan
final Optional<Long> filesFailedToScan()
number of files that failed during scanning
-
filesWithDetectionsCount
final Optional<Long> filesWithDetectionsCount()
number of files that contain detections
-
highestSeverity
final Optional<JobListResponse.Item.Summary.HighestSeverity> highestSeverity()
The highest severity of any detections on the scan.
-
severity
@Deprecated(message = "deprecated") final Optional<JobListResponse.Item.Summary.Severity> severity()
The highest severity of any detections on the scan, including "safe". Use
.summary.highest_severityinstead.
-
unknownFiles
final Optional<Long> unknownFiles()
number of files with unknown file type
-
_detectionCategories
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.
-
_detectionCount
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
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.
-
_filesFailedToScan
final JsonField<Long> _filesFailedToScan()
Returns the raw JSON value of filesFailedToScan.
Unlike filesFailedToScan, this method doesn't throw if the JSON field has an unexpected type.
-
_filesWithDetectionsCount
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.
-
_highestSeverity
final JsonField<JobListResponse.Item.Summary.HighestSeverity> _highestSeverity()
Returns the raw JSON value of highestSeverity.
Unlike highestSeverity, this method doesn't throw if the JSON field has an unexpected type.
-
_severity
@Deprecated(message = "deprecated") final JsonField<JobListResponse.Item.Summary.Severity> _severity()
Returns the raw JSON value of severity.
Unlike severity, this method doesn't throw if the JSON field has an unexpected type.
-
_unknownFiles
final JsonField<Long> _unknownFiles()
Returns the raw JSON value of unknownFiles.
Unlike unknownFiles, this method doesn't throw if the JSON field has an unexpected type.
-
_additionalProperties
final Map<String, JsonValue> _additionalProperties()
-
toBuilder
final JobListResponse.Item.Summary.Builder toBuilder()
-
validate
final JobListResponse.Item.Summary 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.Summary.Builder builder()
Returns a mutable builder for constructing an instance of Summary.
-
-
-
-