Class IdResponse
java.lang.Object
io.github.alersrt.pod4j.openapi.model.IdResponse
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
date="2024-11-19T11:19:05.435500352+07:00[Asia/Barnaul]",
comments="Generator version: 7.7.0")
public class IdResponse
extends Object
IDResponse Response to an API call that returns just an Id
-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanstatic IdResponseCreate an instance of IdResponse given an JSON stringgetId()The id of the newly created object.inthashCode()voidtoJson()Convert an instance of IdResponse 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:
-
openapiFields
-
openapiRequiredFields
-
-
Constructor Details
-
IdResponse
public IdResponse()
-
-
Method Details
-
id
-
getId
The id of the newly created object.- Returns:
- id
-
setId
-
equals
-
hashCode
public int hashCode() -
toString
-
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 IdResponse
-
fromJson
Create an instance of IdResponse given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of IdResponse
- Throws:
IOException- if the JSON string is invalid with respect to IdResponse
-
toJson
Convert an instance of IdResponse to an JSON string- Returns:
- JSON string
-