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
Modifier and Type Method Description final ScanReport.FileResult.Detailsdetails()final List<ScanReport.FileResult.Detection>detections()final OffsetDateTimeendTime()time the scan ended final StringfileInstanceId()unique ID of the file final StringfileLocation()full file path final OffsetDateTimeseen()time the scan was seen at final OffsetDateTimestartTime()time the scan started final ScanReport.FileResult.Statusstatus()status of the scan final Optional<List<String>>fileError()Error messages returned by the scanner final JsonField<ScanReport.FileResult.Details>_details()Returns the raw JSON value of details. final JsonField<List<ScanReport.FileResult.Detection>>_detections()Returns the raw JSON value of detections. final JsonField<OffsetDateTime>_endTime()Returns the raw JSON value of endTime. final JsonField<String>_fileInstanceId()Returns the raw JSON value of fileInstanceId. final JsonField<String>_fileLocation()Returns the raw JSON value of fileLocation. final JsonField<OffsetDateTime>_seen()Returns the raw JSON value of seen. final JsonField<OffsetDateTime>_startTime()Returns the raw JSON value of startTime. final JsonField<ScanReport.FileResult.Status>_status()Returns the raw JSON value of status. final JsonField<List<String>>_fileError()Returns the raw JSON value of fileError. final Map<String, JsonValue>_additionalProperties()final ScanReport.FileResult.BuildertoBuilder()final ScanReport.FileResultvalidate()Validates that the types of all values in this object match their expected types recursively. final BooleanisValid()Booleanequals(Object other)IntegerhashCode()StringtoString()final static ScanReport.FileResult.Builderbuilder()Returns a mutable builder for constructing an instance of FileResult. -
-
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()
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 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()
-
-
-
-