Package org.openapitools.client.model
Class CloudStorageVirusScanResult
java.lang.Object
org.openapitools.client.model.CloudStorageVirusScanResult
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
date="2026-01-28T05:47:48.932093700Z[Etc/UTC]",
comments="Generator version: 7.12.0")
public class CloudStorageVirusScanResult
extends Object
Result of running a virus scan on cloud storage
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final String -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddFoundVirusesItem(CloudStorageVirusFound foundVirusesItem) cleanResult(Boolean cleanResult) containsContentModerationRejection(Boolean containsContentModerationRejection) containsExecutable(Boolean containsExecutable) containsHtml(Boolean containsHtml) containsInsecureDeserialization(Boolean containsInsecureDeserialization) containsInvalidFile(Boolean containsInvalidFile) containsMacros(Boolean containsMacros) containsOleEmbeddedObject(Boolean containsOleEmbeddedObject) containsPasswordProtectedFile(Boolean containsPasswordProtectedFile) containsRestrictedFileFormat(Boolean containsRestrictedFileFormat) containsScript(Boolean containsScript) containsUnsafeArchive(Boolean containsUnsafeArchive) containsXmlExternalEntities(Boolean containsXmlExternalEntities) booleanReturn true if this CloudStorageVirusScanResult object is equal to o.errorDetailedDescription(String errorDetailedDescription) foundViruses(List<CloudStorageVirusFound> foundViruses) True if the scan contained no viruses, false otherwiseSet to true when using NSFW Content Moderation in the Cloudmersive Storage Protect product (disabled by default)True if the scan contained an executable (application code), which can be a significant risk factorTrue if the uploaded file contains HTML, which can be a significant risk factorTrue if the uploaded file contains embedded Insecure Deserialization threats of other embedded threats within the document, which can be a significant risk factorTrue if the scan contained an invalid file (such as a PDF that is not a valid PDF, Word Document that is not a valid Word Document, etc.), which can be a significant risk factorTrue if the uploaded file contains embedded Macros of other embedded threats within the document, which can be a significant risk factorTrue if the uploaded file contains an OLE embedded object, which can be a significant risk factorTrue if the scan contained a password protected or encrypted file, which can be a significant risk factorTrue if the uploaded file is of a type that is not allowed based on the optional restrictFileTypes parameter, false otherwise; if restrictFileTypes is not set, this will always be falseTrue if the scan contained a script (such as a PHP script, Python script, etc.) which can be a significant risk factorTrue if the uploaded file contains unsafe archive (e.g.True if the uploaded file contains embedded XML External Entity threats of other embedded threats within the document, which can be a significant risk factorDetailed error message if the operation was not successfulSize in bytes of the file that was retrieved and scannedArray of viruses found, if anyTrue if the operation of retrieving the file, and scanning it were successfully completed, false if the file could not be downloaded from cloud storage, or if the file could not be scanned.For file format verification-supported file formats, the contents-verified file format of the file.inthashCode()voidsetCleanResult(Boolean cleanResult) voidsetContainsContentModerationRejection(Boolean containsContentModerationRejection) voidsetContainsExecutable(Boolean containsExecutable) voidsetContainsHtml(Boolean containsHtml) voidsetContainsInsecureDeserialization(Boolean containsInsecureDeserialization) voidsetContainsInvalidFile(Boolean containsInvalidFile) voidsetContainsMacros(Boolean containsMacros) voidsetContainsOleEmbeddedObject(Boolean containsOleEmbeddedObject) voidsetContainsPasswordProtectedFile(Boolean containsPasswordProtectedFile) voidsetContainsRestrictedFileFormat(Boolean containsRestrictedFileFormat) voidsetContainsScript(Boolean containsScript) voidsetContainsUnsafeArchive(Boolean containsUnsafeArchive) voidsetContainsXmlExternalEntities(Boolean containsXmlExternalEntities) voidsetErrorDetailedDescription(String errorDetailedDescription) voidsetFileSize(Long fileSize) voidsetFoundViruses(List<CloudStorageVirusFound> foundViruses) voidsetSuccessful(Boolean successful) voidsetVerifiedFileFormat(String verifiedFileFormat) successful(Boolean successful) toString()Convert the instance into URL query string.toUrlQueryString(String prefix) Convert the instance into URL query string.verifiedFileFormat(String verifiedFileFormat)
-
Field Details
-
JSON_PROPERTY_SUCCESSFUL
- See Also:
-
JSON_PROPERTY_CLEAN_RESULT
- See Also:
-
JSON_PROPERTY_FOUND_VIRUSES
- See Also:
-
JSON_PROPERTY_ERROR_DETAILED_DESCRIPTION
- See Also:
-
JSON_PROPERTY_FILE_SIZE
- See Also:
-
JSON_PROPERTY_CONTAINS_CONTENT_MODERATION_REJECTION
- See Also:
-
JSON_PROPERTY_CONTAINS_EXECUTABLE
- See Also:
-
JSON_PROPERTY_CONTAINS_INVALID_FILE
- See Also:
-
JSON_PROPERTY_CONTAINS_SCRIPT
- See Also:
-
JSON_PROPERTY_CONTAINS_PASSWORD_PROTECTED_FILE
- See Also:
-
JSON_PROPERTY_CONTAINS_RESTRICTED_FILE_FORMAT
- See Also:
-
JSON_PROPERTY_CONTAINS_MACROS
- See Also:
-
JSON_PROPERTY_CONTAINS_XML_EXTERNAL_ENTITIES
- See Also:
-
JSON_PROPERTY_CONTAINS_INSECURE_DESERIALIZATION
- See Also:
-
JSON_PROPERTY_CONTAINS_HTML
- See Also:
-
JSON_PROPERTY_CONTAINS_UNSAFE_ARCHIVE
- See Also:
-
JSON_PROPERTY_CONTAINS_OLE_EMBEDDED_OBJECT
- See Also:
-
JSON_PROPERTY_VERIFIED_FILE_FORMAT
- See Also:
-
-
Constructor Details
-
CloudStorageVirusScanResult
public CloudStorageVirusScanResult()
-
-
Method Details
-
successful
-
getSuccessful
True if the operation of retrieving the file, and scanning it were successfully completed, false if the file could not be downloaded from cloud storage, or if the file could not be scanned. Note that successful completion does not mean the file is clean; for the output of the virus scanning operation itself, use the CleanResult and FoundViruses parameters.- Returns:
- successful
-
setSuccessful
-
cleanResult
-
getCleanResult
True if the scan contained no viruses, false otherwise- Returns:
- cleanResult
-
setCleanResult
-
foundViruses
public CloudStorageVirusScanResult foundViruses(@Nullable List<CloudStorageVirusFound> foundViruses) -
addFoundVirusesItem
-
getFoundViruses
Array of viruses found, if any- Returns:
- foundViruses
-
setFoundViruses
-
errorDetailedDescription
public CloudStorageVirusScanResult errorDetailedDescription(@Nullable String errorDetailedDescription) -
getErrorDetailedDescription
Detailed error message if the operation was not successful- Returns:
- errorDetailedDescription
-
setErrorDetailedDescription
-
fileSize
-
getFileSize
Size in bytes of the file that was retrieved and scanned- Returns:
- fileSize
-
setFileSize
-
containsContentModerationRejection
public CloudStorageVirusScanResult containsContentModerationRejection(@Nullable Boolean containsContentModerationRejection) -
getContainsContentModerationRejection
Set to true when using NSFW Content Moderation in the Cloudmersive Storage Protect product (disabled by default)- Returns:
- containsContentModerationRejection
-
setContainsContentModerationRejection
public void setContainsContentModerationRejection(@Nullable Boolean containsContentModerationRejection) -
containsExecutable
-
getContainsExecutable
True if the scan contained an executable (application code), which can be a significant risk factor- Returns:
- containsExecutable
-
setContainsExecutable
-
containsInvalidFile
-
getContainsInvalidFile
True if the scan contained an invalid file (such as a PDF that is not a valid PDF, Word Document that is not a valid Word Document, etc.), which can be a significant risk factor- Returns:
- containsInvalidFile
-
setContainsInvalidFile
-
containsScript
-
getContainsScript
True if the scan contained a script (such as a PHP script, Python script, etc.) which can be a significant risk factor- Returns:
- containsScript
-
setContainsScript
-
containsPasswordProtectedFile
public CloudStorageVirusScanResult containsPasswordProtectedFile(@Nullable Boolean containsPasswordProtectedFile) -
getContainsPasswordProtectedFile
True if the scan contained a password protected or encrypted file, which can be a significant risk factor- Returns:
- containsPasswordProtectedFile
-
setContainsPasswordProtectedFile
-
containsRestrictedFileFormat
public CloudStorageVirusScanResult containsRestrictedFileFormat(@Nullable Boolean containsRestrictedFileFormat) -
getContainsRestrictedFileFormat
True if the uploaded file is of a type that is not allowed based on the optional restrictFileTypes parameter, false otherwise; if restrictFileTypes is not set, this will always be false- Returns:
- containsRestrictedFileFormat
-
setContainsRestrictedFileFormat
-
containsMacros
-
getContainsMacros
True if the uploaded file contains embedded Macros of other embedded threats within the document, which can be a significant risk factor- Returns:
- containsMacros
-
setContainsMacros
-
containsXmlExternalEntities
public CloudStorageVirusScanResult containsXmlExternalEntities(@Nullable Boolean containsXmlExternalEntities) -
getContainsXmlExternalEntities
True if the uploaded file contains embedded XML External Entity threats of other embedded threats within the document, which can be a significant risk factor- Returns:
- containsXmlExternalEntities
-
setContainsXmlExternalEntities
-
containsInsecureDeserialization
public CloudStorageVirusScanResult containsInsecureDeserialization(@Nullable Boolean containsInsecureDeserialization) -
getContainsInsecureDeserialization
True if the uploaded file contains embedded Insecure Deserialization threats of other embedded threats within the document, which can be a significant risk factor- Returns:
- containsInsecureDeserialization
-
setContainsInsecureDeserialization
-
containsHtml
-
getContainsHtml
True if the uploaded file contains HTML, which can be a significant risk factor- Returns:
- containsHtml
-
setContainsHtml
-
containsUnsafeArchive
-
getContainsUnsafeArchive
True if the uploaded file contains unsafe archive (e.g. zip) content, such as a Zip Bomb, or other configurations of a zip file that could lead to an unsafe extraction- Returns:
- containsUnsafeArchive
-
setContainsUnsafeArchive
-
containsOleEmbeddedObject
public CloudStorageVirusScanResult containsOleEmbeddedObject(@Nullable Boolean containsOleEmbeddedObject) -
getContainsOleEmbeddedObject
True if the uploaded file contains an OLE embedded object, which can be a significant risk factor- Returns:
- containsOleEmbeddedObject
-
setContainsOleEmbeddedObject
-
verifiedFileFormat
-
getVerifiedFileFormat
For file format verification-supported file formats, the contents-verified file format of the file. Null indicates that the file format is not supported for contents verification. If a Virus or Malware is found, this field will always be set to Null.- Returns:
- verifiedFileFormat
-
setVerifiedFileFormat
-
equals
Return true if this CloudStorageVirusScanResult object is equal to o. -
hashCode
public int hashCode() -
toString
-
toUrlQueryString
Convert the instance into URL query string.- Returns:
- URL query string
-
toUrlQueryString
Convert the instance into URL query string.- Parameters:
prefix- prefix of the query string- Returns:
- URL query string
-