Class CredentialCreateParams.Body
-
- All Implemented Interfaces:
public final class CredentialCreateParams.Body
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classCredentialCreateParams.Body.BuilderA builder for Body.
-
Method Summary
Modifier and Type Method Description final CredentialCreateParams.Authauth()Authentication details for creating a credential. final Optional<String>displayName()Human-readable name for the credential. final Optional<CredentialCreateParams.Metadata>metadata()Arbitrary key-value metadata to attach to the credential. final JsonField<CredentialCreateParams.Auth>_auth()Returns the raw JSON value of auth. final JsonField<String>_displayName()Returns the raw JSON value of displayName. final JsonField<CredentialCreateParams.Metadata>_metadata()Returns the raw JSON value of metadata. final Map<String, JsonValue>_additionalProperties()final CredentialCreateParams.Body.BuildertoBuilder()final CredentialCreateParams.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 CredentialCreateParams.Body.Builderbuilder()Returns a mutable builder for constructing an instance of Body. -
-
Method Detail
-
auth
final CredentialCreateParams.Auth auth()
Authentication details for creating a credential.
-
displayName
final Optional<String> displayName()
Human-readable name for the credential. Up to 255 characters.
-
metadata
final Optional<CredentialCreateParams.Metadata> metadata()
Arbitrary key-value metadata to attach to the credential. Maximum 16 pairs, keys up to 64 chars, values up to 512 chars.
-
_auth
final JsonField<CredentialCreateParams.Auth> _auth()
Returns the raw JSON value of auth.
Unlike auth, this method doesn't throw if the JSON field has an unexpected type.
-
_displayName
final JsonField<String> _displayName()
Returns the raw JSON value of displayName.
Unlike displayName, this method doesn't throw if the JSON field has an unexpected type.
-
_metadata
final JsonField<CredentialCreateParams.Metadata> _metadata()
Returns the raw JSON value of metadata.
Unlike metadata, this method doesn't throw if the JSON field has an unexpected type.
-
_additionalProperties
final Map<String, JsonValue> _additionalProperties()
-
toBuilder
final CredentialCreateParams.Body.Builder toBuilder()
-
validate
final CredentialCreateParams.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 CredentialCreateParams.Body.Builder builder()
Returns a mutable builder for constructing an instance of Body.
The following fields are required:
.auth()
-
-
-
-