Class RemoteSocket
java.lang.Object
io.github.alersrt.pod4j.openapi.model.RemoteSocket
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
date="2024-11-19T11:19:05.435500352+07:00[Asia/Barnaul]",
comments="Generator version: 7.7.0")
public class RemoteSocket
extends Object
RemoteSocket describes information about the API socket
-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanstatic RemoteSocketCreate an instance of RemoteSocket given an JSON stringGet existsgetPath()Get pathinthashCode()voidvoidtoJson()Convert an instance of RemoteSocket 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_EXISTS
- See Also:
-
SERIALIZED_NAME_PATH
- See Also:
-
openapiFields
-
openapiRequiredFields
-
-
Constructor Details
-
RemoteSocket
public RemoteSocket()
-
-
Method Details
-
exists
-
getExists
Get exists- Returns:
- exists
-
setExists
-
path
-
getPath
Get path- Returns:
- path
-
setPath
-
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 RemoteSocket
-
fromJson
Create an instance of RemoteSocket given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of RemoteSocket
- Throws:
IOException- if the JSON string is invalid with respect to RemoteSocket
-
toJson
Convert an instance of RemoteSocket to an JSON string- Returns:
- JSON string
-