Package ai.shipeasy.admin.model
Class NotifyOpsRequest
java.lang.Object
ai.shipeasy.admin.model.NotifyOpsRequest
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
comments="Generator version: 7.23.0")
public class NotifyOpsRequest
extends Object
Body for `POST /api/admin/notifications`. In `title`, `summary`, and each step, reference admin entities inline with tokens — `#42` (feedback item), `@gate:<name>` (alias `@flag:`), `@experiment:<name>` (`@exp:`), `@config:<name>`, `@killswitch:<name>` (`@ks:`), `@metric:<name>`, `@universe:<name>`, `@alert:<name>` — where `<name>` is the entity's immutable name/slug (e.g. `features.checkout`). The dashboard renders each token as a live hover chip deep-linking to the entity; tokens degrade to plain text elsewhere, so they're always safe to use.
-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddStepsItem(String stepsItem) booleanstatic NotifyOpsRequestCreate an instance of NotifyOpsRequest given an JSON stringStable per-escalation key (e.g.getHref()Dashboard-relative deep link to the related item.getSteps()Ordered steps the human should take to unblock — self-contained (the human reads only this card, not the agent's transcript), 3–6 steps, each naming the exact file, command, env var, or dashboard page.One sentence: why it can't be fixed in code.getTitle()One-line headline of what's blocked.inthashCode()voidsetDedupeKey(String dedupeKey) voidvoidvoidsetSummary(String summary) voidtoJson()Convert an instance of NotifyOpsRequest 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_TITLE
- See Also:
-
SERIALIZED_NAME_SUMMARY
- See Also:
-
SERIALIZED_NAME_STEPS
- See Also:
-
SERIALIZED_NAME_HREF
- See Also:
-
SERIALIZED_NAME_DEDUPE_KEY
- See Also:
-
openapiFields
-
openapiRequiredFields
-
-
Constructor Details
-
NotifyOpsRequest
public NotifyOpsRequest()
-
-
Method Details
-
title
-
getTitle
One-line headline of what's blocked.- Returns:
- title
-
setTitle
-
summary
-
getSummary
One sentence: why it can't be fixed in code. Renders markdown.- Returns:
- summary
-
setSummary
-
steps
-
addStepsItem
-
getSteps
Ordered steps the human should take to unblock — self-contained (the human reads only this card, not the agent's transcript), 3–6 steps, each naming the exact file, command, env var, or dashboard page. Renders markdown.- Returns:
- steps
-
setSteps
-
href
-
getHref
Dashboard-relative deep link to the related item. `null` is accepted and treated as \"no link\".- Returns:
- href
-
setHref
-
dedupeKey
-
getDedupeKey
Stable per-escalation key (e.g. `feedback:7`) so re-runs dedupe to one row.- Returns:
- dedupeKey
-
setDedupeKey
-
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 NotifyOpsRequest
-
fromJson
Create an instance of NotifyOpsRequest given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of NotifyOpsRequest
- Throws:
IOException- if the JSON string is invalid with respect to NotifyOpsRequest
-
toJson
Convert an instance of NotifyOpsRequest to an JSON string- Returns:
- JSON string
-