Package ai.shipeasy.admin.model
Class UpdateErrorStatusRequest
java.lang.Object
ai.shipeasy.admin.model.UpdateErrorStatusRequest
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
comments="Generator version: 7.23.0")
public class UpdateErrorStatusRequest
extends Object
Body for `PATCH /api/admin/errors/{id}`. The only mutable field is `status` (open ⇄ resolved ⇄ ignored).
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classstatic enumNew triage state. -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanstatic UpdateErrorStatusRequestCreate an instance of UpdateErrorStatusRequest given an JSON stringNew triage state.inthashCode()voidtoJson()Convert an instance of UpdateErrorStatusRequest 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_STATUS
- See Also:
-
openapiFields
-
openapiRequiredFields
-
-
Constructor Details
-
UpdateErrorStatusRequest
public UpdateErrorStatusRequest()
-
-
Method Details
-
status
-
getStatus
New triage state. `resolved` reopens automatically on recurrence; `ignored` is sticky.- Returns:
- status
-
setStatus
-
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 UpdateErrorStatusRequest
-
fromJson
Create an instance of UpdateErrorStatusRequest given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of UpdateErrorStatusRequest
- Throws:
IOException- if the JSON string is invalid with respect to UpdateErrorStatusRequest
-
toJson
Convert an instance of UpdateErrorStatusRequest to an JSON string- Returns:
- JSON string
-