Class BetaManagedAgentsStaticBearerAuthResponse
-
- All Implemented Interfaces:
public final class BetaManagedAgentsStaticBearerAuthResponseStatic bearer token credential details for an MCP server.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classBetaManagedAgentsStaticBearerAuthResponse.BuilderA builder for BetaManagedAgentsStaticBearerAuthResponse.
-
Method Summary
Modifier and Type Method Description final StringmcpServerUrl()URL of the MCP server this credential authenticates against. 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>_mcpServerUrl()Returns the raw JSON value of mcpServerUrl. final Map<String, JsonValue>_additionalProperties()final BetaManagedAgentsStaticBearerAuthResponse.BuildertoBuilder()final BetaManagedAgentsStaticBearerAuthResponsevalidate()Validates that the types of all values in this object match their expected types recursively. final BooleanisValid()Booleanequals(Object other)IntegerhashCode()StringtoString()final static BetaManagedAgentsStaticBearerAuthResponse.Builderbuilder()Returns a mutable builder for constructing an instance of BetaManagedAgentsStaticBearerAuthResponse. final static BetaManagedAgentsStaticBearerAuthResponseof(String mcpServerUrl)Returns an immutable instance of BetaManagedAgentsStaticBearerAuthResponse with the required mcpServerUrl set to the given value. -
-
Method Detail
-
mcpServerUrl
final String mcpServerUrl()
URL of the MCP server this credential authenticates against.
-
_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).
-
_mcpServerUrl
final JsonField<String> _mcpServerUrl()
Returns the raw JSON value of mcpServerUrl.
Unlike mcpServerUrl, this method doesn't throw if the JSON field has an unexpected type.
-
_additionalProperties
final Map<String, JsonValue> _additionalProperties()
-
toBuilder
final BetaManagedAgentsStaticBearerAuthResponse.Builder toBuilder()
-
validate
final BetaManagedAgentsStaticBearerAuthResponse 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 BetaManagedAgentsStaticBearerAuthResponse.Builder builder()
Returns a mutable builder for constructing an instance of BetaManagedAgentsStaticBearerAuthResponse.
The following fields are required:
.mcpServerUrl()
-
of
final static BetaManagedAgentsStaticBearerAuthResponse of(String mcpServerUrl)
Returns an immutable instance of BetaManagedAgentsStaticBearerAuthResponse with the required mcpServerUrl set to the given value.
-
-
-
-