Class CredentialUpdateParams.Body
-
- All Implemented Interfaces:
public final class CredentialUpdateParams.Body
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classCredentialUpdateParams.Body.BuilderA builder for Body.
-
Method Summary
Modifier and Type Method Description final Optional<CredentialUpdateParams.Auth>auth()Updated authentication details for a credential. final Optional<String>displayName()Updated human-readable name for the credential. final Optional<CredentialUpdateParams.Metadata>metadata()Metadata patch. final JsonField<CredentialUpdateParams.Auth>_auth()Returns the raw JSON value of auth. final JsonField<String>_displayName()Returns the raw JSON value of displayName. final JsonField<CredentialUpdateParams.Metadata>_metadata()Returns the raw JSON value of metadata. final Map<String, JsonValue>_additionalProperties()final CredentialUpdateParams.Body.BuildertoBuilder()final CredentialUpdateParams.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 CredentialUpdateParams.Body.Builderbuilder()Returns a mutable builder for constructing an instance of Body. -
-
Method Detail
-
auth
final Optional<CredentialUpdateParams.Auth> auth()
Updated authentication details for a credential.
-
displayName
final Optional<String> displayName()
Updated human-readable name for the credential. 1-255 characters.
-
metadata
final Optional<CredentialUpdateParams.Metadata> metadata()
Metadata patch. Set a key to a string to upsert it, or to null to delete it. Omitted keys are preserved.
-
_auth
final JsonField<CredentialUpdateParams.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<CredentialUpdateParams.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 CredentialUpdateParams.Body.Builder toBuilder()
-
validate
final CredentialUpdateParams.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 CredentialUpdateParams.Body.Builder builder()
Returns a mutable builder for constructing an instance of Body.
-
-
-
-