Package com.openai.models.beta.responses
Class BetaTool.Mcp.Headers
-
- All Implemented Interfaces:
public final class BetaTool.Mcp.HeadersOptional HTTP headers to send to the MCP server. Use for authentication or other purposes.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classBetaTool.Mcp.Headers.BuilderA builder for Headers.
-
Method Summary
Modifier and Type Method Description final Map<String, JsonValue>_additionalProperties()final BetaTool.Mcp.Headers.BuildertoBuilder()final BetaTool.Mcp.Headersvalidate()Validates that the types of all values in this object match their expected types recursively. final BooleanisValid()Booleanequals(Object other)IntegerhashCode()StringtoString()final static BetaTool.Mcp.Headers.Builderbuilder()Returns a mutable builder for constructing an instance of Headers. -
-
Method Detail
-
_additionalProperties
final Map<String, JsonValue> _additionalProperties()
-
toBuilder
final BetaTool.Mcp.Headers.Builder toBuilder()
-
validate
final BetaTool.Mcp.Headers 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 BetaTool.Mcp.Headers.Builder builder()
Returns a mutable builder for constructing an instance of Headers.
-
-
-
-