Class SessionExecuteParams.AgentConfig.Model.GenericModelConfigObject
-
- All Implemented Interfaces:
public final class SessionExecuteParams.AgentConfig.Model.GenericModelConfigObject
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classSessionExecuteParams.AgentConfig.Model.GenericModelConfigObject.BuilderA builder for GenericModelConfigObject.
public final classSessionExecuteParams.AgentConfig.Model.GenericModelConfigObject.HeadersCustom headers sent with every request to the model provider
public final classSessionExecuteParams.AgentConfig.Model.GenericModelConfigObject.ProviderAI provider for the model (or provide a baseURL endpoint instead)
-
Method Summary
-
-
Method Detail
-
modelName
final String modelName()
Model name string with provider prefix (e.g., 'openai/gpt-5-nano')
-
headers
final Optional<SessionExecuteParams.AgentConfig.Model.GenericModelConfigObject.Headers> headers()
Custom headers sent with every request to the model provider
-
provider
final Optional<SessionExecuteParams.AgentConfig.Model.GenericModelConfigObject.Provider> provider()
AI provider for the model (or provide a baseURL endpoint instead)
-
_modelName
final JsonField<String> _modelName()
Returns the raw JSON value of modelName.
Unlike modelName, this method doesn't throw if the JSON field has an unexpected type.
-
_apiKey
final JsonField<String> _apiKey()
Returns the raw JSON value of apiKey.
Unlike apiKey, this method doesn't throw if the JSON field has an unexpected type.
-
_baseUrl
final JsonField<String> _baseUrl()
Returns the raw JSON value of baseUrl.
Unlike baseUrl, this method doesn't throw if the JSON field has an unexpected type.
-
_headers
final JsonField<SessionExecuteParams.AgentConfig.Model.GenericModelConfigObject.Headers> _headers()
Returns the raw JSON value of headers.
Unlike headers, this method doesn't throw if the JSON field has an unexpected type.
-
_provider
final JsonField<SessionExecuteParams.AgentConfig.Model.GenericModelConfigObject.Provider> _provider()
Returns the raw JSON value of provider.
Unlike provider, this method doesn't throw if the JSON field has an unexpected type.
-
_additionalProperties
final Map<String, JsonValue> _additionalProperties()
-
validate
final SessionExecuteParams.AgentConfig.Model.GenericModelConfigObject 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 SessionExecuteParams.AgentConfig.Model.GenericModelConfigObject.Builder builder()
Returns a mutable builder for constructing an instance of GenericModelConfigObject.
The following fields are required:
.modelName()
-
-
-
-