Package org.openapitools.client.model
Class WebsiteScanRequest
java.lang.Object
org.openapitools.client.model.WebsiteScanRequest
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
date="2026-01-27T23:59:36.607801Z[Etc/UTC]",
comments="Generator version: 7.12.0")
public class WebsiteScanRequest
extends Object
Request to scan a website for malicious content
-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanstatic WebsiteScanRequestCreate an instance of WebsiteScanRequest given an JSON stringgetUrl()URL of the website to scan; should begin with http:// or https://inthashCode()voidtoJson()Convert an instance of WebsiteScanRequest to an JSON stringtoString()static voidvalidateJsonElement(com.google.gson.JsonElement jsonElement) Validates the JSON Element and throws an exception if issues found
-
Field Details
-
SERIALIZED_NAME_URL
- See Also:
-
openapiFields
-
openapiRequiredFields
-
-
Constructor Details
-
WebsiteScanRequest
public WebsiteScanRequest()
-
-
Method Details
-
url
-
getUrl
URL of the website to scan; should begin with http:// or https://- Returns:
- url
-
setUrl
-
equals
-
hashCode
public int hashCode() -
toString
-
validateJsonElement
Validates the JSON Element and throws an exception if issues found- Parameters:
jsonElement- JSON Element- Throws:
IOException- if the JSON Element is invalid with respect to WebsiteScanRequest
-
fromJson
Create an instance of WebsiteScanRequest given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of WebsiteScanRequest
- Throws:
IOException- if the JSON string is invalid with respect to WebsiteScanRequest
-
toJson
Convert an instance of WebsiteScanRequest to an JSON string- Returns:
- JSON string
-