Package ai.reveng.model
Class Connection
java.lang.Object
ai.reveng.model.Connection
@Generated("org.openapitools.codegen.languages.JavaClientCodegen")
public class Connection
extends Object
Connection
-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddEventsItem(ReportEvent eventsItem) addTcpCarvedFilesItem(TcpCarvedFile tcpCarvedFilesItem) bytesReceived(Long bytesReceived) booleanevents(List<ReportEvent> events) static ConnectionCreate an instance of Connection given an JSON stringGet bytesReceivedGet bytesSentGet eventsgetJa3()Get ja3getJa3s()Get ja3sGet localIpGet localPortGet protocolGet remoteIpGet remotePortGet tcpCarvedFilesinthashCode()remotePort(Object remotePort) voidsetBytesReceived(Long bytesReceived) voidsetBytesSent(Long bytesSent) voidsetEvents(List<ReportEvent> events) voidvoidvoidsetLocalIp(String localIp) voidsetLocalPort(Object localPort) voidsetProtocol(String protocol) voidsetRemoteIp(String remoteIp) voidsetRemotePort(Object remotePort) voidsetTcpCarvedFiles(List<TcpCarvedFile> tcpCarvedFiles) tcpCarvedFiles(List<TcpCarvedFile> tcpCarvedFiles) toJson()Convert an instance of Connection 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_BYTES_RECEIVED
- See Also:
-
SERIALIZED_NAME_BYTES_SENT
- See Also:
-
SERIALIZED_NAME_EVENTS
- See Also:
-
SERIALIZED_NAME_JA3
- See Also:
-
SERIALIZED_NAME_JA3S
- See Also:
-
SERIALIZED_NAME_LOCAL_IP
- See Also:
-
SERIALIZED_NAME_LOCAL_PORT
- See Also:
-
SERIALIZED_NAME_PROTOCOL
- See Also:
-
SERIALIZED_NAME_REMOTE_IP
- See Also:
-
SERIALIZED_NAME_REMOTE_PORT
- See Also:
-
SERIALIZED_NAME_TCP_CARVED_FILES
- See Also:
-
openapiFields
-
openapiRequiredFields
-
-
Constructor Details
-
Connection
public Connection()
-
-
Method Details
-
bytesReceived
-
getBytesReceived
Get bytesReceived- Returns:
- bytesReceived
-
setBytesReceived
-
bytesSent
-
getBytesSent
Get bytesSent- Returns:
- bytesSent
-
setBytesSent
-
events
-
addEventsItem
-
getEvents
Get events- Returns:
- events
-
setEvents
-
ja3
-
getJa3
Get ja3- Returns:
- ja3
-
setJa3
-
ja3s
-
getJa3s
Get ja3s- Returns:
- ja3s
-
setJa3s
-
localIp
-
getLocalIp
Get localIp- Returns:
- localIp
-
setLocalIp
-
localPort
-
getLocalPort
Get localPort- Returns:
- localPort
-
setLocalPort
-
protocol
-
getProtocol
Get protocol- Returns:
- protocol
-
setProtocol
-
remoteIp
-
getRemoteIp
Get remoteIp- Returns:
- remoteIp
-
setRemoteIp
-
remotePort
-
getRemotePort
Get remotePort- Returns:
- remotePort
-
setRemotePort
-
tcpCarvedFiles
-
addTcpCarvedFilesItem
-
getTcpCarvedFiles
Get tcpCarvedFiles- Returns:
- tcpCarvedFiles
-
setTcpCarvedFiles
-
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 Connection
-
fromJson
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
Convert an instance of Connection to an JSON string- Returns:
- JSON string
-