Class ScanReport.FileResult.Details
-
- All Implemented Interfaces:
public final class ScanReport.FileResult.Details
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classScanReport.FileResult.Details.BuilderA builder for Details.
public final classScanReport.FileResult.Details.FileTypeDetails
-
Method Summary
Modifier and Type Method Description final StringestimatedTime()estimated time to scan the file final StringfileType()type of the file final Stringsha256()hexadecimal sha256 hash of file final Optional<String>fileSize()size of the file in human readable format final Optional<Long>fileSizeBytes()size of the file in bytes final Optional<ScanReport.FileResult.Details.FileTypeDetails>fileTypeDetails()final Optional<String>md5()hexadecimal md5 hash of file final Optional<String>tlsh()TLSH hash of file final JsonField<String>_estimatedTime()Returns the raw JSON value of estimatedTime. final JsonField<String>_fileType()Returns the raw JSON value of fileType. final JsonField<String>_sha256()Returns the raw JSON value of sha256. final JsonField<String>_fileSize()Returns the raw JSON value of fileSize. final JsonField<Long>_fileSizeBytes()Returns the raw JSON value of fileSizeBytes. final JsonField<ScanReport.FileResult.Details.FileTypeDetails>_fileTypeDetails()Returns the raw JSON value of fileTypeDetails. final JsonField<String>_md5()Returns the raw JSON value of md5. final JsonField<String>_tlsh()Returns the raw JSON value of tlsh. final Map<String, JsonValue>_additionalProperties()final ScanReport.FileResult.Details.BuildertoBuilder()final ScanReport.FileResult.Detailsvalidate()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.Details.Builderbuilder()Returns a mutable builder for constructing an instance of Details. -
-
Method Detail
-
estimatedTime
final String estimatedTime()
estimated time to scan the file
-
fileSizeBytes
final Optional<Long> fileSizeBytes()
size of the file in bytes
-
fileTypeDetails
final Optional<ScanReport.FileResult.Details.FileTypeDetails> fileTypeDetails()
-
_estimatedTime
final JsonField<String> _estimatedTime()
Returns the raw JSON value of estimatedTime.
Unlike estimatedTime, this method doesn't throw if the JSON field has an unexpected type.
-
_fileType
final JsonField<String> _fileType()
Returns the raw JSON value of fileType.
Unlike fileType, this method doesn't throw if the JSON field has an unexpected type.
-
_sha256
final JsonField<String> _sha256()
Returns the raw JSON value of sha256.
Unlike sha256, this method doesn't throw if the JSON field has an unexpected type.
-
_fileSize
final JsonField<String> _fileSize()
Returns the raw JSON value of fileSize.
Unlike fileSize, this method doesn't throw if the JSON field has an unexpected type.
-
_fileSizeBytes
final JsonField<Long> _fileSizeBytes()
Returns the raw JSON value of fileSizeBytes.
Unlike fileSizeBytes, this method doesn't throw if the JSON field has an unexpected type.
-
_fileTypeDetails
final JsonField<ScanReport.FileResult.Details.FileTypeDetails> _fileTypeDetails()
Returns the raw JSON value of fileTypeDetails.
Unlike fileTypeDetails, this method doesn't throw if the JSON field has an unexpected type.
-
_md5
final JsonField<String> _md5()
Returns the raw JSON value of md5.
Unlike md5, this method doesn't throw if the JSON field has an unexpected type.
-
_tlsh
final JsonField<String> _tlsh()
Returns the raw JSON value of tlsh.
Unlike tlsh, this method doesn't throw if the JSON field has an unexpected type.
-
_additionalProperties
final Map<String, JsonValue> _additionalProperties()
-
toBuilder
final ScanReport.FileResult.Details.Builder toBuilder()
-
validate
final ScanReport.FileResult.Details 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.Details.Builder builder()
Returns a mutable builder for constructing an instance of Details.
The following fields are required:
.estimatedTime() .fileType() .sha256()
-
-
-
-