Class BetaRequestMcpServerUrlDefinition
-
- All Implemented Interfaces:
public final class BetaRequestMcpServerUrlDefinition
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classBetaRequestMcpServerUrlDefinition.BuilderA builder for BetaRequestMcpServerUrlDefinition.
-
Method Summary
Modifier and Type Method Description final Stringname()final JsonValue_type()Expected to always return the following:
However, this method can be useful for debugging and logging (e.g.JsonValue.from("url")final Stringurl()final Optional<String>authorizationToken()final Optional<BetaRequestMcpServerToolConfiguration>toolConfiguration()final JsonField<String>_name()Returns the raw JSON value of name. final JsonField<String>_url()Returns the raw JSON value of url. final JsonField<String>_authorizationToken()Returns the raw JSON value of authorizationToken. final JsonField<BetaRequestMcpServerToolConfiguration>_toolConfiguration()Returns the raw JSON value of toolConfiguration. final Map<String, JsonValue>_additionalProperties()final BetaRequestMcpServerUrlDefinition.BuildertoBuilder()final BetaRequestMcpServerUrlDefinitionvalidate()Validates that the types of all values in this object match their expected types recursively. final BooleanisValid()Booleanequals(Object other)IntegerhashCode()StringtoString()final static BetaRequestMcpServerUrlDefinition.Builderbuilder()Returns a mutable builder for constructing an instance of BetaRequestMcpServerUrlDefinition. -
-
Method Detail
-
_type
final JsonValue _type()
Expected to always return the following:
JsonValue.from("url")However, this method can be useful for debugging and logging (e.g. if the server responded with an unexpected value).
-
authorizationToken
final Optional<String> authorizationToken()
-
toolConfiguration
final Optional<BetaRequestMcpServerToolConfiguration> toolConfiguration()
-
_name
final JsonField<String> _name()
Returns the raw JSON value of name.
Unlike name, this method doesn't throw if the JSON field has an unexpected type.
-
_url
final JsonField<String> _url()
Returns the raw JSON value of url.
Unlike url, this method doesn't throw if the JSON field has an unexpected type.
-
_authorizationToken
final JsonField<String> _authorizationToken()
Returns the raw JSON value of authorizationToken.
Unlike authorizationToken, this method doesn't throw if the JSON field has an unexpected type.
-
_toolConfiguration
final JsonField<BetaRequestMcpServerToolConfiguration> _toolConfiguration()
Returns the raw JSON value of toolConfiguration.
Unlike toolConfiguration, this method doesn't throw if the JSON field has an unexpected type.
-
_additionalProperties
final Map<String, JsonValue> _additionalProperties()
-
toBuilder
final BetaRequestMcpServerUrlDefinition.Builder toBuilder()
-
validate
final BetaRequestMcpServerUrlDefinition 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 BetaRequestMcpServerUrlDefinition.Builder builder()
Returns a mutable builder for constructing an instance of BetaRequestMcpServerUrlDefinition.
The following fields are required:
.name() .url()
-
-
-
-