Class SlirpInfo
java.lang.Object
io.github.alersrt.pod4j.openapi.model.SlirpInfo
- All Implemented Interfaces:
Serializable
@Generated("org.openapitools.codegen.languages.JavaClientCodegen")
public class SlirpInfo
extends Object
implements Serializable
SlirpInfo describes the slirp executable that is being used
- See Also:
-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanexecutable(String executable) static SlirpInfoCreate an instance of SlirpInfo given an JSON stringGet executableGet _packageGet versioninthashCode()voidsetExecutable(String executable) voidsetPackage(String _package) voidsetVersion(String version) toJson()Convert an instance of SlirpInfo 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_EXECUTABLE
- See Also:
-
SERIALIZED_NAME_PACKAGE
- See Also:
-
SERIALIZED_NAME_VERSION
- See Also:
-
openapiFields
-
openapiRequiredFields
-
-
Constructor Details
-
SlirpInfo
public SlirpInfo()
-
-
Method Details
-
executable
-
getExecutable
Get executable- Returns:
- executable
-
setExecutable
-
_package
-
getPackage
Get _package- Returns:
- _package
-
setPackage
-
version
-
getVersion
Get version- Returns:
- version
-
setVersion
-
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 SlirpInfo
-
fromJson
Create an instance of SlirpInfo given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of SlirpInfo
- Throws:
IOException- if the JSON string is invalid with respect to SlirpInfo
-
toJson
Convert an instance of SlirpInfo to an JSON string- Returns:
- JSON string
-