Package com.courier.models.auditevents
Class AuditEvent.Actor
-
- All Implemented Interfaces:
public final class AuditEvent.Actor
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classAuditEvent.Actor.BuilderA builder for Actor.
-
Method Summary
Modifier and Type Method Description final Stringid()final Optional<String>email()final JsonField<String>_id()Returns the raw JSON value of id. final JsonField<String>_email()Returns the raw JSON value of email. final Map<String, JsonValue>_additionalProperties()final AuditEvent.Actor.BuildertoBuilder()final AuditEvent.Actorvalidate()Validates that the types of all values in this object match their expected types recursively. final BooleanisValid()Booleanequals(Object other)IntegerhashCode()StringtoString()final static AuditEvent.Actor.Builderbuilder()Returns a mutable builder for constructing an instance of Actor. -
-
Method Detail
-
_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.
-
_email
final JsonField<String> _email()
Returns the raw JSON value of email.
Unlike email, this method doesn't throw if the JSON field has an unexpected type.
-
_additionalProperties
final Map<String, JsonValue> _additionalProperties()
-
toBuilder
final AuditEvent.Actor.Builder toBuilder()
-
validate
final AuditEvent.Actor 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 AuditEvent.Actor.Builder builder()
Returns a mutable builder for constructing an instance of Actor.
The following fields are required:
.id()
-
-
-
-