Class BetaManagedAgentsTokenEndpointAuthPostParam
-
- All Implemented Interfaces:
public final class BetaManagedAgentsTokenEndpointAuthPostParamToken endpoint uses POST body authentication with client credentials.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classBetaManagedAgentsTokenEndpointAuthPostParam.BuilderA builder for BetaManagedAgentsTokenEndpointAuthPostParam.
-
Method Summary
Modifier and Type Method Description final StringclientSecret()The OAuth client secret, sent to token_endpointin the POST body.final JsonValue_type()Expected to always return the following:
However, this method can be useful for debugging and logging (e.g.JsonValue.from("client_secret_post")final JsonField<String>_clientSecret()Returns the raw JSON value of clientSecret. final Map<String, JsonValue>_additionalProperties()final BetaManagedAgentsTokenEndpointAuthPostParam.BuildertoBuilder()final BetaManagedAgentsTokenEndpointAuthPostParamvalidate()Validates that the types of all values in this object match their expected types recursively. final BooleanisValid()Booleanequals(Object other)IntegerhashCode()StringtoString()final static BetaManagedAgentsTokenEndpointAuthPostParam.Builderbuilder()Returns a mutable builder for constructing an instance of BetaManagedAgentsTokenEndpointAuthPostParam. final static BetaManagedAgentsTokenEndpointAuthPostParamof(String clientSecret)Returns an immutable instance of BetaManagedAgentsTokenEndpointAuthPostParam with the required clientSecret set to the given value. -
-
Method Detail
-
clientSecret
final String clientSecret()
The OAuth client secret, sent to
token_endpointin the POST body.
-
_type
final JsonValue _type()
Expected to always return the following:
JsonValue.from("client_secret_post")However, this method can be useful for debugging and logging (e.g. if the server responded with an unexpected value).
-
_clientSecret
final JsonField<String> _clientSecret()
Returns the raw JSON value of clientSecret.
Unlike clientSecret, this method doesn't throw if the JSON field has an unexpected type.
-
_additionalProperties
final Map<String, JsonValue> _additionalProperties()
-
toBuilder
final BetaManagedAgentsTokenEndpointAuthPostParam.Builder toBuilder()
-
validate
final BetaManagedAgentsTokenEndpointAuthPostParam 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 BetaManagedAgentsTokenEndpointAuthPostParam.Builder builder()
Returns a mutable builder for constructing an instance of BetaManagedAgentsTokenEndpointAuthPostParam.
The following fields are required:
.clientSecret()
-
of
final static BetaManagedAgentsTokenEndpointAuthPostParam of(String clientSecret)
Returns an immutable instance of BetaManagedAgentsTokenEndpointAuthPostParam with the required clientSecret set to the given value.
-
-
-
-