Class ServiceAccountCreateParams.Body
-
- All Implemented Interfaces:
public final class ServiceAccountCreateParams.Body
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classServiceAccountCreateParams.Body.BuilderA builder for Body.
-
Method Summary
Modifier and Type Method Description final Stringname()Slug identifier (lowercase, digits, hyphens). final Optional<String>description()Optional free-text description. final Optional<ServiceAccountCreateParams.OrganizationRole>organizationRole()Org-level role. final JsonField<String>_name()Returns the raw JSON value of name. final JsonField<String>_description()Returns the raw JSON value of description. final JsonField<ServiceAccountCreateParams.OrganizationRole>_organizationRole()Returns the raw JSON value of organizationRole. final Map<String, JsonValue>_additionalProperties()final ServiceAccountCreateParams.Body.BuildertoBuilder()final ServiceAccountCreateParams.Bodyvalidate()Validates that the types of all values in this object match their expected types recursively. final BooleanisValid()Booleanequals(Object other)IntegerhashCode()StringtoString()final static ServiceAccountCreateParams.Body.Builderbuilder()Returns a mutable builder for constructing an instance of Body. final static ServiceAccountCreateParams.Bodyof(String name)Returns an immutable instance of Body with the required name set to the given value. -
-
Method Detail
-
name
final String name()
Slug identifier (lowercase, digits, hyphens). Unique within the organization; a duplicate name returns 409.
-
description
final Optional<String> description()
Optional free-text description.
-
organizationRole
final Optional<ServiceAccountCreateParams.OrganizationRole> organizationRole()
Org-level role. Defaults to
developer.
-
_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.
-
_description
final JsonField<String> _description()
Returns the raw JSON value of description.
Unlike description, this method doesn't throw if the JSON field has an unexpected type.
-
_organizationRole
final JsonField<ServiceAccountCreateParams.OrganizationRole> _organizationRole()
Returns the raw JSON value of organizationRole.
Unlike organizationRole, this method doesn't throw if the JSON field has an unexpected type.
-
_additionalProperties
final Map<String, JsonValue> _additionalProperties()
-
toBuilder
final ServiceAccountCreateParams.Body.Builder toBuilder()
-
validate
final ServiceAccountCreateParams.Body 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 ServiceAccountCreateParams.Body.Builder builder()
Returns a mutable builder for constructing an instance of Body.
The following fields are required:
.name()
-
of
final static ServiceAccountCreateParams.Body of(String name)
-
-
-
-