Class BetaSpendLimitUserScope
-
- All Implemented Interfaces:
public final class BetaSpendLimitUserScopeScope selecting a single member of the organization.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classBetaSpendLimitUserScope.BuilderA builder for BetaSpendLimitUserScope.
-
Method Summary
Modifier and Type Method Description final StringuserId()Tagged ID of the member the spend limit applies to. final JsonValue_type()Scope type. final JsonField<String>_userId()Returns the raw JSON value of userId. final Map<String, JsonValue>_additionalProperties()final BetaSpendLimitUserScope.BuildertoBuilder()final BetaSpendLimitUserScopevalidate()Validates that the types of all values in this object match their expected types recursively. final BooleanisValid()Booleanequals(Object other)IntegerhashCode()StringtoString()final static BetaSpendLimitUserScope.Builderbuilder()Returns a mutable builder for constructing an instance of BetaSpendLimitUserScope. final static BetaSpendLimitUserScopeof(String userId)Returns an immutable instance of BetaSpendLimitUserScope with the required userId set to the given value. -
-
Method Detail
-
_type
final JsonValue _type()
Scope type. Always
userfor this scope.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).
-
_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 BetaSpendLimitUserScope.Builder toBuilder()
-
validate
final BetaSpendLimitUserScope 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 BetaSpendLimitUserScope.Builder builder()
Returns a mutable builder for constructing an instance of BetaSpendLimitUserScope.
The following fields are required:
.userId()
-
of
final static BetaSpendLimitUserScope of(String userId)
Returns an immutable instance of BetaSpendLimitUserScope with the required userId set to the given value.
-
-
-
-