Class ContainerCreateResponse
java.lang.Object
io.github.alersrt.pod4j.openapi.model.ContainerCreateResponse
- All Implemented Interfaces:
Serializable
@Generated("org.openapitools.codegen.languages.JavaClientCodegen")
public class ContainerCreateResponse
extends Object
implements Serializable
ContainerCreateResponse is the response struct for creating a container
- See Also:
-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddWarningsItem(String warningsItem) booleanstatic ContainerCreateResponseCreate an instance of ContainerCreateResponse given an JSON string@NotNull StringgetId()ID of the container createdWarnings during container creationinthashCode()voidvoidsetWarnings(List<String> warnings) toJson()Convert an instance of ContainerCreateResponse 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_ID
- See Also:
-
SERIALIZED_NAME_WARNINGS
- See Also:
-
openapiFields
-
openapiRequiredFields
-
-
Constructor Details
-
ContainerCreateResponse
public ContainerCreateResponse()
-
-
Method Details
-
id
-
getId
ID of the container created- Returns:
- id
-
setId
-
warnings
-
addWarningsItem
-
getWarnings
Warnings during container creation- Returns:
- warnings
-
setWarnings
-
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 ContainerCreateResponse
-
fromJson
Create an instance of ContainerCreateResponse given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of ContainerCreateResponse
- Throws:
IOException- if the JSON string is invalid with respect to ContainerCreateResponse
-
toJson
Convert an instance of ContainerCreateResponse to an JSON string- Returns:
- JSON string
-