Class OrganizationUser
-
- All Implemented Interfaces:
public final class OrganizationUser
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classOrganizationUser.BuilderA builder for OrganizationUser.
-
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 OrganizationRolerole()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<OrganizationRole>_role()Returns the raw JSON value of role. final Map<String, JsonValue>_additionalProperties()final OrganizationUser.BuildertoBuilder()final OrganizationUservalidate()Validates that the types of all values in this object match their expected types recursively. final BooleanisValid()Booleanequals(Object other)IntegerhashCode()StringtoString()final static OrganizationUser.Builderbuilder()Returns a mutable builder for constructing an instance of OrganizationUser. -
-
Method Detail
-
addedAt
final OffsetDateTime addedAt()
RFC 3339 datetime string indicating when the User joined the Organization.
-
role
final OrganizationRole 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<OrganizationRole> _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 OrganizationUser.Builder toBuilder()
-
validate
final OrganizationUser 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 OrganizationUser.Builder builder()
Returns a mutable builder for constructing an instance of OrganizationUser.
The following fields are required:
.id() .addedAt() .email() .name() .role()
-
-
-
-