Class NetworkPruneReport
java.lang.Object
io.github.alersrt.pod4j.openapi.model.NetworkPruneReport
- All Implemented Interfaces:
Serializable
@Generated("org.openapitools.codegen.languages.JavaClientCodegen")
public class NetworkPruneReport
extends Object
implements Serializable
NetworkPruneReport containers the name of network and an error associated in its pruning (removal)
- See Also:
-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanstatic NetworkPruneReportCreate an instance of NetworkPruneReport given an JSON stringgetError()Get errorgetName()Get nameinthashCode()voidvoidtoJson()Convert an instance of NetworkPruneReport 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_ERROR
- See Also:
-
SERIALIZED_NAME_NAME
- See Also:
-
openapiFields
-
openapiRequiredFields
-
-
Constructor Details
-
NetworkPruneReport
public NetworkPruneReport()
-
-
Method Details
-
error
-
getError
Get error- Returns:
- error
-
setError
-
name
-
getName
Get name- Returns:
- name
-
setName
-
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 NetworkPruneReport
-
fromJson
Create an instance of NetworkPruneReport given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of NetworkPruneReport
- Throws:
IOException- if the JSON string is invalid with respect to NetworkPruneReport
-
toJson
Convert an instance of NetworkPruneReport to an JSON string- Returns:
- JSON string
-