Class AudienceMember
-
- All Implemented Interfaces:
public final class AudienceMemberAn audience member.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classAudienceMember.BuilderA builder for AudienceMember.
-
Method Summary
Modifier and Type Method Description final String_typename()The typename of the schema. final OffsetDateTimeaddedAt()Timestamp when the resource was created. final Useruser()A /concepts/users represents an individual in your system who can receive notifications through Knock. final StringuserId()The ID for the user that you set when identifying them in Knock. final Optional<String>tenant()The unique identifier for the tenant. final JsonField<String>__typename()Returns the raw JSON value of _typename. final JsonField<OffsetDateTime>_addedAt()Returns the raw JSON value of addedAt. final JsonField<User>_user()Returns the raw JSON value of user. final JsonField<String>_userId()Returns the raw JSON value of userId. final JsonField<String>_tenant()Returns the raw JSON value of tenant. final Map<String, JsonValue>_additionalProperties()final AudienceMember.BuildertoBuilder()final AudienceMembervalidate()final BooleanisValid()Booleanequals(Object other)IntegerhashCode()StringtoString()final static AudienceMember.Builderbuilder()Returns a mutable builder for constructing an instance of AudienceMember. -
-
Method Detail
-
addedAt
final OffsetDateTime addedAt()
Timestamp when the resource was created.
-
user
final User user()
A /concepts/users represents an individual in your system who can receive notifications through Knock. Users are the most common recipients of notifications and are always referenced by your internal identifier.
-
__typename
final JsonField<String> __typename()
Returns the raw JSON value of _typename.
Unlike _typename, this method doesn't throw if the JSON field has an unexpected type.
-
_addedAt
final JsonField<OffsetDateTime> _addedAt()
Returns the raw JSON value of addedAt.
Unlike addedAt, this method doesn't throw if the JSON field has an unexpected type.
-
_user
final JsonField<User> _user()
Returns the raw JSON value of user.
Unlike user, this method doesn't throw if the JSON field has an unexpected type.
-
_userId
final JsonField<String> _userId()
Returns the raw JSON value of userId.
Unlike userId, this method doesn't throw if the JSON field has an unexpected type.
-
_tenant
final JsonField<String> _tenant()
Returns the raw JSON value of tenant.
Unlike tenant, this method doesn't throw if the JSON field has an unexpected type.
-
_additionalProperties
final Map<String, JsonValue> _additionalProperties()
-
toBuilder
final AudienceMember.Builder toBuilder()
-
validate
final AudienceMember validate()
-
builder
final static AudienceMember.Builder builder()
Returns a mutable builder for constructing an instance of AudienceMember.
The following fields are required:
._typename() .addedAt() .user() .userId()
-
-
-
-