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) booleanevents(List<ReportEvent> events) static ConnectionCreate an instance of Connection given an JSON stringReturn the additional (undeclared) property.Return the additional (undeclared) property with the specified name.Get eventsGet localIpGet localPortGet protocolGet remoteIpGet remotePortinthashCode()putAdditionalProperty(String key, Object value) Set the additional (undeclared) property with the specified name and value.remotePort(Object remotePort) voidsetEvents(List<ReportEvent> events) voidsetLocalIp(String localIp) voidsetLocalPort(Object localPort) voidsetProtocol(String protocol) voidsetRemoteIp(String remoteIp) voidsetRemotePort(Object remotePort) 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_EVENTS
- 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:
-
openapiFields
-
openapiRequiredFields
-
-
Constructor Details
-
Connection
public Connection()
-
-
Method Details
-
events
-
addEventsItem
-
getEvents
Get events- Returns:
- events
-
setEvents
-
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
-
putAdditionalProperty
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 propertyvalue- value of the property- Returns:
- the Connection instance itself
-
getAdditionalProperties
Return the additional (undeclared) property.- Returns:
- a map of objects
-
getAdditionalProperty
Return the additional (undeclared) property with the specified name.- Parameters:
key- name of the property- Returns:
- an object
-
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
-