Class Connection

java.lang.Object
ai.reveng.model.Connection

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

  • Constructor Details

    • Connection

      public Connection()
  • Method Details

    • events

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

      public Connection addEventsItem(ReportEvent eventsItem)
    • getEvents

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

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

      public Connection localIp(@Nullable String localIp)
    • getLocalIp

      @Nullable public String getLocalIp()
      Get localIp
      Returns:
      localIp
    • setLocalIp

      public void setLocalIp(@Nullable String localIp)
    • localPort

      public Connection localPort(@Nullable Object localPort)
    • getLocalPort

      @Nullable public Object getLocalPort()
      Get localPort
      Returns:
      localPort
    • setLocalPort

      public void setLocalPort(@Nullable Object localPort)
    • protocol

      public Connection protocol(@Nullable String protocol)
    • getProtocol

      @Nullable public String getProtocol()
      Get protocol
      Returns:
      protocol
    • setProtocol

      public void setProtocol(@Nullable String protocol)
    • remoteIp

      public Connection remoteIp(@Nullable String remoteIp)
    • getRemoteIp

      @Nullable public String getRemoteIp()
      Get remoteIp
      Returns:
      remoteIp
    • setRemoteIp

      public void setRemoteIp(@Nullable String remoteIp)
    • remotePort

      public Connection remotePort(@Nullable Object remotePort)
    • getRemotePort

      @Nullable public Object getRemotePort()
      Get remotePort
      Returns:
      remotePort
    • setRemotePort

      public void setRemotePort(@Nullable Object remotePort)
    • putAdditionalProperty

      public Connection 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 Connection 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 Connection
    • fromJson

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

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