Class Action
- java.lang.Object
-
- com.redhat.cloud.notifications.ingress.Action
-
@Generated("jsonschema2pojo") public class Action extends Object
Notification messageGenerated with https://hellosean1025.github.io/json-schema-visual-editor/
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classAction.ActionBuilderstatic classAction.ActionBuilderBase<T extends Action>
-
Constructor Summary
Constructors Constructor Description Action()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object other)StringgetAccountId()Account idStringgetApplication()Application nameStringgetBundle()Bundle nameContextgetContext()ContextList<Event>getEvents()(Required)StringgetEventType()Event type nameUUIDgetId()Id of the Event as UUID4StringgetOrgId()Organization idList<Recipient>getRecipients()Applications can add extra email recipients by adding entries to this array.LocalDateTimegetTimestamp()Sent timestampStringgetVersion()Version of the notification schemainthashCode()voidsetAccountId(String accountId)Account idvoidsetApplication(String application)Application namevoidsetBundle(String bundle)Bundle namevoidsetContext(Context context)ContextvoidsetEvents(List<Event> events)(Required)voidsetEventType(String eventType)Event type namevoidsetId(UUID id)Id of the Event as UUID4voidsetOrgId(String orgId)Organization idvoidsetRecipients(List<Recipient> recipients)Applications can add extra email recipients by adding entries to this array.voidsetTimestamp(LocalDateTime timestamp)Sent timestampvoidsetVersion(String version)Version of the notification schemaStringtoString()
-
-
-
Method Detail
-
getVersion
public String getVersion()
Version of the notification schema
-
setVersion
public void setVersion(String version)
Version of the notification schema
-
getId
public UUID getId()
Id of the Event as UUID4
-
setId
public void setId(UUID id)
Id of the Event as UUID4
-
getBundle
public String getBundle()
Bundle nameBundle name as used during application registration (Required)
-
setBundle
public void setBundle(String bundle)
Bundle nameBundle name as used during application registration (Required)
-
getApplication
public String getApplication()
Application nameApplication name as used during application registration (Required)
-
setApplication
public void setApplication(String application)
Application nameApplication name as used during application registration (Required)
-
getEventType
public String getEventType()
Event type nameEvent type name as used during application registration (Required)
-
setEventType
public void setEventType(String eventType)
Event type nameEvent type name as used during application registration (Required)
-
getTimestamp
public LocalDateTime getTimestamp()
Sent timestampISO-8601 formatted date (per platform convention) when the message was sent in UTC. Dates with timezones/offsets are rejected. (Required)
-
setTimestamp
public void setTimestamp(LocalDateTime timestamp)
Sent timestampISO-8601 formatted date (per platform convention) when the message was sent in UTC. Dates with timezones/offsets are rejected. (Required)
-
getAccountId
public String getAccountId()
Account id(Required)
-
setAccountId
public void setAccountId(String accountId)
Account id(Required)
-
getOrgId
public String getOrgId()
Organization id
-
setOrgId
public void setOrgId(String orgId)
Organization id
-
getContext
public Context getContext()
ContextExtra information common to all events sent.
-
setContext
public void setContext(Context context)
ContextExtra information common to all events sent.
-
getRecipients
public List<Recipient> getRecipients()
Applications can add extra email recipients by adding entries to this array. This setting extends whatever the Administrators configured in their Notifications settings. This won't override notification's administrator settings - this will extend the settings.
-
setRecipients
public void setRecipients(List<Recipient> recipients)
Applications can add extra email recipients by adding entries to this array. This setting extends whatever the Administrators configured in their Notifications settings. This won't override notification's administrator settings - this will extend the settings.
-
-