Class ScanReport.FileResult
-
- All Implemented Interfaces:
public final class ScanReport.FileResult
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classScanReport.FileResult.BuilderA builder for FileResult.
public final classScanReport.FileResult.Detailspublic final classScanReport.FileResult.Detectionpublic final classScanReport.FileResult.Statusstatus of the scan
-
Method Summary
-
-
Method Detail
-
details
final ScanReport.FileResult.Details details()
-
detections
final List<ScanReport.FileResult.Detection> detections()
-
endTime
final OffsetDateTime endTime()
time the scan ended
-
fileInstanceId
final String fileInstanceId()
unique ID of the file
-
fileLocation
final String fileLocation()
full file path
-
seen
final OffsetDateTime seen()
time the scan was seen at
-
startTime
final OffsetDateTime startTime()
time the scan started
-
status
final ScanReport.FileResult.Status status()
status of the scan
-
_details
final JsonField<ScanReport.FileResult.Details> _details()
Returns the raw JSON value of details.
Unlike details, this method doesn't throw if the JSON field has an unexpected type.
-
_detections
final JsonField<List<ScanReport.FileResult.Detection>> _detections()
Returns the raw JSON value of detections.
Unlike detections, 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.
-
_fileInstanceId
final JsonField<String> _fileInstanceId()
Returns the raw JSON value of fileInstanceId.
Unlike fileInstanceId, this method doesn't throw if the JSON field has an unexpected type.
-
_fileLocation
final JsonField<String> _fileLocation()
Returns the raw JSON value of fileLocation.
Unlike fileLocation, this method doesn't throw if the JSON field has an unexpected type.
-
_seen
final JsonField<OffsetDateTime> _seen()
Returns the raw JSON value of seen.
Unlike seen, 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<ScanReport.FileResult.Status> _status()
Returns the raw JSON value of status.
Unlike status, this method doesn't throw if the JSON field has an unexpected type.
-
_fileError
final JsonField<List<String>> _fileError()
Returns the raw JSON value of fileError.
Unlike fileError, this method doesn't throw if the JSON field has an unexpected type.
-
_additionalProperties
final Map<String, JsonValue> _additionalProperties()
-
toBuilder
final ScanReport.FileResult.Builder toBuilder()
-
validate
final ScanReport.FileResult validate()
-
builder
final static ScanReport.FileResult.Builder builder()
Returns a mutable builder for constructing an instance of FileResult.
The following fields are required:
.details() .detections() .endTime() .fileInstanceId() .fileLocation() .seen() .startTime() .status()
-
-
-
-