Class HttpRequest

java.lang.Object
ai.reveng.model.HttpRequest

@Generated("org.openapitools.codegen.languages.JavaClientCodegen") public class HttpRequest extends Object
HttpRequest
  • Field Details

  • Constructor Details

    • HttpRequest

      public HttpRequest()
  • Method Details

    • events

      public HttpRequest events(@Nullable List<ReportEvent> events)
    • addEventsItem

      public HttpRequest addEventsItem(ReportEvent eventsItem)
    • getEvents

      @Nullable public List<ReportEvent> getEvents()
      Get events
      Returns:
      events
    • setEvents

      public void setEvents(@Nullable List<ReportEvent> events)
    • extraHeaders

      public HttpRequest extraHeaders(@Nullable List<String> extraHeaders)
    • addExtraHeadersItem

      public HttpRequest addExtraHeadersItem(String extraHeadersItem)
    • getExtraHeaders

      @Nullable public List<String> getExtraHeaders()
      Get extraHeaders
      Returns:
      extraHeaders
    • setExtraHeaders

      public void setExtraHeaders(@Nullable List<String> extraHeaders)
    • flags

      public HttpRequest flags(@Nullable Long flags)
    • getFlags

      @Nullable public Long getFlags()
      Get flags
      Returns:
      flags
    • setFlags

      public void setFlags(@Nullable Long flags)
    • password

      public HttpRequest password(@Nullable String password)
    • getPassword

      @Nullable public String getPassword()
      Get password
      Returns:
      password
    • setPassword

      public void setPassword(@Nullable String password)
    • path

      public HttpRequest path(@Nullable String path)
    • getPath

      @Nullable public String getPath()
      Get path
      Returns:
      path
    • setPath

      public void setPath(@Nullable String path)
    • postData

      public HttpRequest postData(@Nullable String postData)
    • getPostData

      @Nullable public String getPostData()
      Get postData
      Returns:
      postData
    • setPostData

      public void setPostData(@Nullable String postData)
    • proxy

      public HttpRequest proxy(@Nullable String proxy)
    • getProxy

      @Nullable public String getProxy()
      Get proxy
      Returns:
      proxy
    • setProxy

      public void setProxy(@Nullable String proxy)
    • proxyBypass

      public HttpRequest proxyBypass(@Nullable String proxyBypass)
    • getProxyBypass

      @Nullable public String getProxyBypass()
      Get proxyBypass
      Returns:
      proxyBypass
    • setProxyBypass

      public void setProxyBypass(@Nullable String proxyBypass)
    • referer

      public HttpRequest referer(@Nullable String referer)
    • getReferer

      @Nullable public String getReferer()
      Get referer
      Returns:
      referer
    • setReferer

      public void setReferer(@Nullable String referer)
    • serverName

      public HttpRequest serverName(@Nullable String serverName)
    • getServerName

      @Nullable public String getServerName()
      Get serverName
      Returns:
      serverName
    • setServerName

      public void setServerName(@Nullable String serverName)
    • serverPort

      public HttpRequest serverPort(@Nullable Long serverPort)
    • getServerPort

      @Nullable public Long getServerPort()
      Get serverPort
      Returns:
      serverPort
    • setServerPort

      public void setServerPort(@Nullable Long serverPort)
    • service

      public HttpRequest service(@Nullable Long service)
    • getService

      @Nullable public Long getService()
      Get service
      Returns:
      service
    • setService

      public void setService(@Nullable Long service)
    • userAgent

      public HttpRequest userAgent(@Nullable String userAgent)
    • getUserAgent

      @Nullable public String getUserAgent()
      Get userAgent
      Returns:
      userAgent
    • setUserAgent

      public void setUserAgent(@Nullable String userAgent)
    • username

      public HttpRequest username(@Nullable String username)
    • getUsername

      @Nullable public String getUsername()
      Get username
      Returns:
      username
    • setUsername

      public void setUsername(@Nullable String username)
    • verb

      public HttpRequest verb(@Nullable String verb)
    • getVerb

      @Nullable public String getVerb()
      Get verb
      Returns:
      verb
    • setVerb

      public void setVerb(@Nullable String verb)
    • version

      public HttpRequest version(@Nullable String version)
    • getVersion

      @Nullable public String getVersion()
      Get version
      Returns:
      version
    • setVersion

      public void setVersion(@Nullable String version)
    • putAdditionalProperty

      public HttpRequest putAdditionalProperty(String key, Object value)
      Set the additional (undeclared) property with the specified name and value. If the property does not already exist, create it otherwise replace it.
      Parameters:
      key - name of the property
      value - value of the property
      Returns:
      the HttpRequest instance itself
    • getAdditionalProperties

      public Map<String,Object> getAdditionalProperties()
      Return the additional (undeclared) property.
      Returns:
      a map of objects
    • getAdditionalProperty

      public Object getAdditionalProperty(String key)
      Return the additional (undeclared) property with the specified name.
      Parameters:
      key - name of the property
      Returns:
      an object
    • 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 HttpRequest
    • fromJson

      public static HttpRequest fromJson(String jsonString) throws IOException
      Create an instance of HttpRequest given an JSON string
      Parameters:
      jsonString - JSON string
      Returns:
      An instance of HttpRequest
      Throws:
      IOException - if the JSON string is invalid with respect to HttpRequest
    • toJson

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