Package ai.shipeasy.admin.model
Class NotifyOpsResponse
java.lang.Object
ai.shipeasy.admin.model.NotifyOpsResponse
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
comments="Generator version: 7.23.0")
public class NotifyOpsResponse
extends Object
Response for `POST /api/admin/notifications`.
-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiondispatched(Boolean dispatched) booleanstatic NotifyOpsResponseCreate an instance of NotifyOpsResponse given an JSON stringThe dedupe key the escalation was recorded under.`true` if a new escalation was dispatched; `false` on an idempotent repeat.inthashCode()voidsetDedupeKey(String dedupeKey) voidsetDispatched(Boolean dispatched) toJson()Convert an instance of NotifyOpsResponse 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_DEDUPE_KEY
- See Also:
-
SERIALIZED_NAME_DISPATCHED
- See Also:
-
openapiFields
-
openapiRequiredFields
-
-
Constructor Details
-
NotifyOpsResponse
public NotifyOpsResponse()
-
-
Method Details
-
dedupeKey
-
getDedupeKey
The dedupe key the escalation was recorded under.- Returns:
- dedupeKey
-
setDedupeKey
-
dispatched
-
getDispatched
`true` if a new escalation was dispatched; `false` on an idempotent repeat.- Returns:
- dispatched
-
setDispatched
-
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 NotifyOpsResponse
-
fromJson
Create an instance of NotifyOpsResponse given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of NotifyOpsResponse
- Throws:
IOException- if the JSON string is invalid with respect to NotifyOpsResponse
-
toJson
Convert an instance of NotifyOpsResponse to an JSON string- Returns:
- JSON string
-