Class CreateResponse
java.lang.Object
io.github.alersrt.pod4j.openapi.model.CreateResponse
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
date="2024-11-29T01:29:49.168634544+07:00[Asia/Barnaul]",
comments="Generator version: 7.7.0")
public class CreateResponse
extends Object
OK response to ContainerCreate operation
-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddWarningsItem(String warningsItem) booleanstatic CreateResponseCreate an instance of CreateResponse given an JSON string@NotNull StringgetId()The ID of the created containerWarnings encountered when creating the containerinthashCode()voidvoidsetWarnings(List<String> warnings) toJson()Convert an instance of CreateResponse 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_ID
- See Also:
-
SERIALIZED_NAME_WARNINGS
- See Also:
-
openapiFields
-
openapiRequiredFields
-
-
Constructor Details
-
CreateResponse
public CreateResponse()
-
-
Method Details
-
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 CreateResponse
-
fromJson
Create an instance of CreateResponse given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of CreateResponse
- Throws:
IOException- if the JSON string is invalid with respect to CreateResponse
-
id
-
getId
The ID of the created container- Returns:
- id
-
setId
-
warnings
-
addWarningsItem
-
getWarnings
Warnings encountered when creating the container- Returns:
- warnings
-
setWarnings
-
equals
-
hashCode
public int hashCode() -
toString
-
toJson
Convert an instance of CreateResponse to an JSON string- Returns:
- JSON string
-