Class BetaWebhookUserProfileEnforcementActionOpenedEventData
-
- All Implemented Interfaces:
public final class BetaWebhookUserProfileEnforcementActionOpenedEventData
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classBetaWebhookUserProfileEnforcementActionOpenedEventData.BuilderA builder for BetaWebhookUserProfileEnforcementActionOpenedEventData.
-
Method Summary
Modifier and Type Method Description final Stringid()ID of the user profile the enforcement action is on. final StringenforcementActionId()ID ( enac_...) of the enforcement action that was opened or resolved.final StringorganizationId()final JsonValue_type()Expected to always return the following:
However, this method can be useful for debugging and logging (e.g.JsonValue.from("user_profile.enforcement_action_opened")final JsonField<String>_id()Returns the raw JSON value of id. final JsonField<String>_enforcementActionId()Returns the raw JSON value of enforcementActionId. final JsonField<String>_organizationId()Returns the raw JSON value of organizationId. final Map<String, JsonValue>_additionalProperties()final BetaWebhookUserProfileEnforcementActionOpenedEventData.BuildertoBuilder()final BetaWebhookUserProfileEnforcementActionOpenedEventDatavalidate()Validates that the types of all values in this object match their expected types recursively. final BooleanisValid()Booleanequals(Object other)IntegerhashCode()StringtoString()final static BetaWebhookUserProfileEnforcementActionOpenedEventData.Builderbuilder()Returns a mutable builder for constructing an instance of BetaWebhookUserProfileEnforcementActionOpenedEventData. -
-
Method Detail
-
enforcementActionId
final String enforcementActionId()
ID (
enac_...) of the enforcement action that was opened or resolved.
-
organizationId
final String organizationId()
-
_type
final JsonValue _type()
Expected to always return the following:
JsonValue.from("user_profile.enforcement_action_opened")However, this method can be useful for debugging and logging (e.g. if the server responded with an unexpected value).
-
_id
final JsonField<String> _id()
Returns the raw JSON value of id.
Unlike id, this method doesn't throw if the JSON field has an unexpected type.
-
_enforcementActionId
final JsonField<String> _enforcementActionId()
Returns the raw JSON value of enforcementActionId.
Unlike enforcementActionId, this method doesn't throw if the JSON field has an unexpected type.
-
_organizationId
final JsonField<String> _organizationId()
Returns the raw JSON value of organizationId.
Unlike organizationId, this method doesn't throw if the JSON field has an unexpected type.
-
_additionalProperties
final Map<String, JsonValue> _additionalProperties()
-
toBuilder
final BetaWebhookUserProfileEnforcementActionOpenedEventData.Builder toBuilder()
-
validate
final BetaWebhookUserProfileEnforcementActionOpenedEventData validate()
Validates that the types of all values in this object match their expected types recursively.
This method is not forwards compatible with new types from the API for existing fields.
-
builder
final static BetaWebhookUserProfileEnforcementActionOpenedEventData.Builder builder()
Returns a mutable builder for constructing an instance of BetaWebhookUserProfileEnforcementActionOpenedEventData.
The following fields are required:
.id() .enforcementActionId() .organizationId()
-
-
-
-