Package ai.shipeasy.admin.model
Class CreateOpsItemResponse
java.lang.Object
ai.shipeasy.admin.model.CreateOpsItemResponse
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
comments="Generator version: 7.23.0")
public class CreateOpsItemResponse
extends Object
Response for `POST /api/admin/ops`.
-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanstatic CreateOpsItemResponseCreate an instance of CreateOpsItemResponse given an JSON stringgetId()Newly created item id.Per-project item number assigned to the new item.inthashCode()number(BigDecimal number) voidvoidsetNumber(BigDecimal number) toJson()Convert an instance of CreateOpsItemResponse 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_NUMBER
- See Also:
-
openapiFields
-
openapiRequiredFields
-
-
Constructor Details
-
CreateOpsItemResponse
public CreateOpsItemResponse()
-
-
Method Details
-
id
-
getId
Newly created item id.- Returns:
- id
-
setId
-
number
-
getNumber
Per-project item number assigned to the new item.- Returns:
- number
-
setNumber
-
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 CreateOpsItemResponse
-
fromJson
Create an instance of CreateOpsItemResponse given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of CreateOpsItemResponse
- Throws:
IOException- if the JSON string is invalid with respect to CreateOpsItemResponse
-
toJson
Convert an instance of CreateOpsItemResponse to an JSON string- Returns:
- JSON string
-