Class RemoteSocket
java.lang.Object
io.github.alersrt.pod4j.openapi.model.RemoteSocket
- All Implemented Interfaces:
Serializable
@Generated("org.openapitools.codegen.languages.JavaClientCodegen")
public class RemoteSocket
extends Object
implements Serializable
RemoteSocket describes information about the API socket
- See Also:
-
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 voidvalidateJsonObject(com.google.gson.JsonObject jsonObj) Validates the JSON Object 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
-
validateJsonObject
Validates the JSON Object and throws an exception if issues found- Parameters:
jsonObj- JSON Object- Throws:
IOException- if the JSON Object 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
-