public class UserActionEvent extends BaseEvent implements Buildable<UserActionEvent>, ApplicationEvent
Modifier and Type | Field and Description |
---|---|
String |
action |
UUID |
actioneeUserId |
UUID |
actionerUserId |
UUID |
actionId |
List<UUID> |
applicationIds |
String |
comment |
Email |
email |
boolean |
emailedUser |
java.time.ZonedDateTime |
expiry |
static java.time.ZonedDateTime |
Infinite |
String |
localizedAction |
String |
localizedDuration |
String |
localizedOption |
String |
localizedReason |
boolean |
notifyUser |
String |
option |
UserActionPhase |
phase |
String |
reason |
String |
reasonCode |
createInstant, id, tenantId
Constructor and Description |
---|
UserActionEvent() |
UserActionEvent(UUID actionId,
UUID actioneeUserId,
UUID actionerUserId,
List<UUID> applicationIds,
String action,
String localizedAction,
String option,
String localizedOption,
String reason,
String localizedReason,
String reasonCode,
java.time.ZonedDateTime expiry,
String localizedDuration,
UserActionPhase phase,
String comment,
boolean notifyUser,
boolean emailedUser,
Email email) |
Modifier and Type | Method and Description |
---|---|
boolean |
active() |
List<UUID> |
applicationIds() |
boolean |
equals(Object o) |
EventType |
getType() |
int |
hashCode() |
String |
toString() |
public static java.time.ZonedDateTime Infinite
public String action
public UUID actionId
public UUID actioneeUserId
public UUID actionerUserId
public String comment
public Email email
public boolean emailedUser
public java.time.ZonedDateTime expiry
public String localizedAction
public String localizedDuration
public String localizedOption
public String localizedReason
public boolean notifyUser
public String option
public UserActionPhase phase
public String reason
public String reasonCode
public UserActionEvent()
public UserActionEvent(UUID actionId, UUID actioneeUserId, UUID actionerUserId, List<UUID> applicationIds, String action, String localizedAction, String option, String localizedOption, String reason, String localizedReason, String reasonCode, java.time.ZonedDateTime expiry, String localizedDuration, UserActionPhase phase, String comment, boolean notifyUser, boolean emailedUser, Email email)
actionId
- The id that tracks this user action (the log id).actioneeUserId
- The user id of the person being actioned.actionerUserId
- The user id of the person that took the action.applicationIds
- The ids of the applications the action is being performed in.action
- the user actionlocalizedAction
- The localized action.option
- the action optionlocalizedOption
- The localized option.reason
- The user action reason.localizedReason
- The localized reason.reasonCode
- The user action reason code.expiry
- The expiration instant.localizedDuration
- The localized duration text.phase
- The phase for time-based user actions.comment
- A comment from the moderator.notifyUser
- A flag to tell the webhook to notify user of the action.emailedUser
- A flag indicating that FusionAuth emailed the user.email
- The email that should be sent to the end user.public boolean active()
public List<UUID> applicationIds()
applicationIds
in interface ApplicationEvent
public EventType getType()
Copyright © 2021. All rights reserved.