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

    • bytesReceived

      public Connection bytesReceived(@Nullable Long bytesReceived)
    • getBytesReceived

      @Nullable public Long getBytesReceived()
      Get bytesReceived
      Returns:
      bytesReceived
    • setBytesReceived

      public void setBytesReceived(@Nullable Long bytesReceived)
    • bytesSent

      public Connection bytesSent(@Nullable Long bytesSent)
    • getBytesSent

      @Nullable public Long getBytesSent()
      Get bytesSent
      Returns:
      bytesSent
    • setBytesSent

      public void setBytesSent(@Nullable Long bytesSent)
    • 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)
    • ja3

      public Connection ja3(@Nullable String ja3)
    • getJa3

      @Nullable public String getJa3()
      Get ja3
      Returns:
      ja3
    • setJa3

      public void setJa3(@Nullable String ja3)
    • ja3s

      public Connection ja3s(@Nullable String ja3s)
    • getJa3s

      @Nullable public String getJa3s()
      Get ja3s
      Returns:
      ja3s
    • setJa3s

      public void setJa3s(@Nullable String ja3s)
    • localIp

      public Connection localIp(@Nonnull String localIp)
    • getLocalIp

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

      public void setLocalIp(@Nonnull 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(@Nonnull String protocol)
    • getProtocol

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

      public void setProtocol(@Nonnull String protocol)
    • remoteIp

      public Connection remoteIp(@Nonnull String remoteIp)
    • getRemoteIp

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

      public void setRemoteIp(@Nonnull 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)
    • tcpCarvedFiles

      public Connection tcpCarvedFiles(@Nullable List<TcpCarvedFile> tcpCarvedFiles)
    • addTcpCarvedFilesItem

      public Connection addTcpCarvedFilesItem(TcpCarvedFile tcpCarvedFilesItem)
    • getTcpCarvedFiles

      @Nullable public List<TcpCarvedFile> getTcpCarvedFiles()
      Get tcpCarvedFiles
      Returns:
      tcpCarvedFiles
    • setTcpCarvedFiles

      public void setTcpCarvedFiles(@Nullable List<TcpCarvedFile> tcpCarvedFiles)
    • 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