Class WebsiteScanRequest

java.lang.Object
org.openapitools.client.model.WebsiteScanRequest

@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", date="2025-11-03T08:41:21.483351Z[Etc/UTC]", comments="Generator version: 7.12.0") public class WebsiteScanRequest extends Object
Request to scan a website for malicious content
  • Field Details

  • Constructor Details

    • WebsiteScanRequest

      public WebsiteScanRequest()
  • Method Details

    • url

    • getUrl

      @Nullable public String getUrl()
      URL of the website to scan; should begin with http:// or https://
      Returns:
      url
    • setUrl

      public void setUrl(@Nullable String url)
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • validateJsonElement

      public static void validateJsonElement(com.google.gson.JsonElement jsonElement) throws IOException
      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

      public static WebsiteScanRequest fromJson(String jsonString) throws IOException
      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

      public String toJson()
      Convert an instance of WebsiteScanRequest to an JSON string
      Returns:
      JSON string