Package ai.shipeasy.admin.model
Class UpdateOpsItemStatusRequest
java.lang.Object
ai.shipeasy.admin.model.UpdateOpsItemStatusRequest
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
comments="Generator version: 7.23.0")
public class UpdateOpsItemStatusRequest
extends Object
Triage-only update — the shape accepted for any item, and the ONLY shape for auto-filed `error`/`alert`/`measure_plan` tickets (their content is not user-editable).
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanstatic UpdateOpsItemStatusRequestCreate an instance of UpdateOpsItemStatusRequest given an JSON stringGet notifyGet priorityGet statusinthashCode()notify(OpsItemNotifyOrNull notify) priority(OpsItemPriorityOrNull priority) voidsetNotify(OpsItemNotifyOrNull notify) voidsetPriority(OpsItemPriorityOrNull priority) voidsetStatus(OpsItemStatus status) status(OpsItemStatus status) toJson()Convert an instance of UpdateOpsItemStatusRequest 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:
-
SERIALIZED_NAME_PRIORITY
- See Also:
-
SERIALIZED_NAME_NOTIFY
- See Also:
-
openapiFields
-
openapiRequiredFields
-
-
Constructor Details
-
UpdateOpsItemStatusRequest
public UpdateOpsItemStatusRequest()
-
-
Method Details
-
status
-
getStatus
Get status- Returns:
- status
-
setStatus
-
priority
-
getPriority
Get priority- Returns:
- priority
-
setPriority
-
notify
-
getNotify
Get notify- Returns:
- notify
-
setNotify
-
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 UpdateOpsItemStatusRequest
-
fromJson
Create an instance of UpdateOpsItemStatusRequest given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of UpdateOpsItemStatusRequest
- Throws:
IOException- if the JSON string is invalid with respect to UpdateOpsItemStatusRequest
-
toJson
Convert an instance of UpdateOpsItemStatusRequest to an JSON string- Returns:
- JSON string
-