Class BetaManagedAgentsStaticBearerUpdateParams
-
- All Implemented Interfaces:
public final class BetaManagedAgentsStaticBearerUpdateParamsParameters for updating a static bearer token credential. The
mcp_server_urlis immutable.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classBetaManagedAgentsStaticBearerUpdateParams.BuilderA builder for BetaManagedAgentsStaticBearerUpdateParams.
-
Method Summary
Modifier and Type Method Description final Optional<String>token()The new static bearer token to replace the stored one. final JsonValue_type()Expected to always return the following:
However, this method can be useful for debugging and logging (e.g.JsonValue.from("static_bearer")final JsonField<String>_token()Returns the raw JSON value of token. final Map<String, JsonValue>_additionalProperties()final BetaManagedAgentsStaticBearerUpdateParams.BuildertoBuilder()final BetaManagedAgentsStaticBearerUpdateParamsvalidate()Validates that the types of all values in this object match their expected types recursively. final BooleanisValid()Booleanequals(Object other)IntegerhashCode()StringtoString()final static BetaManagedAgentsStaticBearerUpdateParams.Builderbuilder()Returns a mutable builder for constructing an instance of BetaManagedAgentsStaticBearerUpdateParams. -
-
Method Detail
-
_type
final JsonValue _type()
Expected to always return the following:
JsonValue.from("static_bearer")However, this method can be useful for debugging and logging (e.g. if the server responded with an unexpected value).
-
_token
final JsonField<String> _token()
Returns the raw JSON value of token.
Unlike token, this method doesn't throw if the JSON field has an unexpected type.
-
_additionalProperties
final Map<String, JsonValue> _additionalProperties()
-
toBuilder
final BetaManagedAgentsStaticBearerUpdateParams.Builder toBuilder()
-
validate
final BetaManagedAgentsStaticBearerUpdateParams 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 BetaManagedAgentsStaticBearerUpdateParams.Builder builder()
Returns a mutable builder for constructing an instance of BetaManagedAgentsStaticBearerUpdateParams.
-
-
-
-