Class SpendLimitUserActor
-
- All Implemented Interfaces:
public final class SpendLimitUserActorA user within the organization.
nameandemail_addressare null when the underlying account is unavailable or has been deleted;deletedis true only for deleted accounts.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classSpendLimitUserActor.BuilderA builder for SpendLimitUserActor.
-
Method Summary
Modifier and Type Method Description final Booleandeleted()True only when the underlying account has been deleted. final Optional<String>emailAddress()The user's email address. final Optional<String>name()The user's current display name. final StringuserId()Tagged ID of the user. final JsonValue_type()Actor type. final JsonField<Boolean>_deleted()Returns the raw JSON value of deleted. final JsonField<String>_emailAddress()Returns the raw JSON value of emailAddress. final JsonField<String>_name()Returns the raw JSON value of name. final JsonField<String>_userId()Returns the raw JSON value of userId. final Map<String, JsonValue>_additionalProperties()final SpendLimitUserActor.BuildertoBuilder()final SpendLimitUserActorvalidate()Validates that the types of all values in this object match their expected types recursively. final BooleanisValid()Booleanequals(Object other)IntegerhashCode()StringtoString()final static SpendLimitUserActor.Builderbuilder()Returns a mutable builder for constructing an instance of SpendLimitUserActor. -
-
Method Detail
-
emailAddress
final Optional<String> emailAddress()
The user's email address. Null when the account is unavailable or has been deleted.
-
name
final Optional<String> name()
The user's current display name. Null when the account is unavailable, has been deleted, or has no name set.
-
_type
final JsonValue _type()
Actor type. Always
user_actor.Expected to always return the following:
JsonValue.from("user_actor")However, this method can be useful for debugging and logging (e.g. if the server responded with an unexpected value).
-
_deleted
final JsonField<Boolean> _deleted()
Returns the raw JSON value of deleted.
Unlike deleted, this method doesn't throw if the JSON field has an unexpected type.
-
_emailAddress
final JsonField<String> _emailAddress()
Returns the raw JSON value of emailAddress.
Unlike emailAddress, 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.
-
_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.
-
_additionalProperties
final Map<String, JsonValue> _additionalProperties()
-
toBuilder
final SpendLimitUserActor.Builder toBuilder()
-
validate
final SpendLimitUserActor 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 SpendLimitUserActor.Builder builder()
Returns a mutable builder for constructing an instance of SpendLimitUserActor.
The following fields are required:
.deleted() .emailAddress() .name() .userId()
-
-
-
-