Package com.cloudmersive.virusscan.model
Class WebsiteScanResult
java.lang.Object
com.cloudmersive.virusscan.model.WebsiteScanResult
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
date="2026-04-23T09:02:52.381637500-07:00[America/Los_Angeles]",
comments="Generator version: 7.12.0")
public class WebsiteScanResult
extends Object
Result of running a website scan
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enumType of threat returned; can be None, Malware, ForcedDownload or Phishing -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddFoundVirusesItem(VirusFound foundVirusesItem) cleanResult(Boolean cleanResult) booleanReturn true if this WebsiteScanResult object is equal to o.foundViruses(List<VirusFound> foundViruses) True if the scan contained no threats, false otherwiseArray of viruses found, if anyThe remote server URL HTTP reasponse code; useful for debugging issues with scanning; typically if the remote server returns a 200 or 300-series code this means a successful response, while a 400 or 500 series code would represent an error returned from the remote server for the provided URL.Type of threat returned; can be None, Malware, ForcedDownload or PhishinginthashCode()voidsetCleanResult(Boolean cleanResult) voidsetFoundViruses(List<VirusFound> foundViruses) voidsetWebsiteHttpResponseCode(Integer websiteHttpResponseCode) voidsetWebsiteThreatType(WebsiteScanResult.WebsiteThreatTypeEnum websiteThreatType) toString()Convert the instance into URL query string.toUrlQueryString(String prefix) Convert the instance into URL query string.websiteHttpResponseCode(Integer websiteHttpResponseCode) websiteThreatType(WebsiteScanResult.WebsiteThreatTypeEnum websiteThreatType)
-
Field Details
-
JSON_PROPERTY_CLEAN_RESULT
- See Also:
-
JSON_PROPERTY_WEBSITE_THREAT_TYPE
- See Also:
-
JSON_PROPERTY_FOUND_VIRUSES
- See Also:
-
JSON_PROPERTY_WEBSITE_HTTP_RESPONSE_CODE
- See Also:
-
-
Constructor Details
-
WebsiteScanResult
public WebsiteScanResult()
-
-
Method Details
-
cleanResult
-
getCleanResult
True if the scan contained no threats, false otherwise- Returns:
- cleanResult
-
setCleanResult
-
websiteThreatType
public WebsiteScanResult websiteThreatType(@Nullable WebsiteScanResult.WebsiteThreatTypeEnum websiteThreatType) -
getWebsiteThreatType
Type of threat returned; can be None, Malware, ForcedDownload or Phishing- Returns:
- websiteThreatType
-
setWebsiteThreatType
public void setWebsiteThreatType(@Nullable WebsiteScanResult.WebsiteThreatTypeEnum websiteThreatType) -
foundViruses
-
addFoundVirusesItem
-
getFoundViruses
Array of viruses found, if any- Returns:
- foundViruses
-
setFoundViruses
-
websiteHttpResponseCode
-
getWebsiteHttpResponseCode
The remote server URL HTTP reasponse code; useful for debugging issues with scanning; typically if the remote server returns a 200 or 300-series code this means a successful response, while a 400 or 500 series code would represent an error returned from the remote server for the provided URL.- Returns:
- websiteHttpResponseCode
-
setWebsiteHttpResponseCode
-
equals
Return true if this WebsiteScanResult 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
-