Class BetaOrganizationUser
-
- All Implemented Interfaces:
public final class BetaOrganizationUser
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classBetaOrganizationUser.BuilderA builder for BetaOrganizationUser.
-
Method Summary
Modifier and Type Method Description final Stringid()ID of the User. final OffsetDateTimeaddedAt()RFC 3339 datetime string indicating when the User joined the Organization. final Stringemail()Email of the User. final Stringname()Name of the User. final BetaOrganizationRolerole()Organization role of the User. final JsonValue_type()Object type. final JsonField<String>_id()Returns the raw JSON value of id. final JsonField<OffsetDateTime>_addedAt()Returns the raw JSON value of addedAt. final JsonField<String>_email()Returns the raw JSON value of email. final JsonField<String>_name()Returns the raw JSON value of name. final JsonField<BetaOrganizationRole>_role()Returns the raw JSON value of role. final Map<String, JsonValue>_additionalProperties()final BetaOrganizationUser.BuildertoBuilder()final BetaOrganizationUservalidate()Validates that the types of all values in this object match their expected types recursively. final BooleanisValid()Booleanequals(Object other)IntegerhashCode()StringtoString()final static BetaOrganizationUser.Builderbuilder()Returns a mutable builder for constructing an instance of BetaOrganizationUser. -
-
Method Detail
-
addedAt
final OffsetDateTime addedAt()
RFC 3339 datetime string indicating when the User joined the Organization.
-
role
final BetaOrganizationRole role()
Organization role of the User.
-
_type
final JsonValue _type()
Object type.
For Users, this is always
"user".Expected to always return the following:
JsonValue.from("user")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.
-
_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.
-
_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.
-
_name
final JsonField<String> _name()
Returns the raw JSON value of name.
Unlike name, this method doesn't throw if the JSON field has an unexpected type.
-
_role
final JsonField<BetaOrganizationRole> _role()
Returns the raw JSON value of role.
Unlike role, this method doesn't throw if the JSON field has an unexpected type.
-
_additionalProperties
final Map<String, JsonValue> _additionalProperties()
-
toBuilder
final BetaOrganizationUser.Builder toBuilder()
-
validate
final BetaOrganizationUser 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 BetaOrganizationUser.Builder builder()
Returns a mutable builder for constructing an instance of BetaOrganizationUser.
The following fields are required:
.id() .addedAt() .email() .name() .role()
-
-
-
-