Package com.anthropic.models
Class BetaModelInfo.Builder
-
- All Implemented Interfaces:
public final class BetaModelInfo.BuilderA builder for BetaModelInfo.
-
-
Method Summary
-
-
Method Detail
-
id
final BetaModelInfo.Builder id(String id)
Unique model identifier.
-
id
final BetaModelInfo.Builder id(JsonField<String> id)
Unique model identifier.
-
createdAt
final BetaModelInfo.Builder createdAt(OffsetDateTime createdAt)
RFC 3339 datetime string representing the time at which the model was released. May be set to an epoch value if the release date is unknown.
-
createdAt
final BetaModelInfo.Builder createdAt(JsonField<OffsetDateTime> createdAt)
RFC 3339 datetime string representing the time at which the model was released. May be set to an epoch value if the release date is unknown.
-
displayName
final BetaModelInfo.Builder displayName(String displayName)
A human-readable name for the model.
-
displayName
final BetaModelInfo.Builder displayName(JsonField<String> displayName)
A human-readable name for the model.
-
type
final BetaModelInfo.Builder type(BetaModelInfo.Type type)
Object type.
For Models, this is always
"model".
-
type
final BetaModelInfo.Builder type(JsonField<BetaModelInfo.Type> type)
Object type.
For Models, this is always
"model".
-
additionalProperties
final BetaModelInfo.Builder additionalProperties(Map<String, JsonValue> additionalProperties)
-
putAdditionalProperty
final BetaModelInfo.Builder putAdditionalProperty(String key, JsonValue value)
-
putAllAdditionalProperties
final BetaModelInfo.Builder putAllAdditionalProperties(Map<String, JsonValue> additionalProperties)
-
removeAdditionalProperty
final BetaModelInfo.Builder removeAdditionalProperty(String key)
-
removeAllAdditionalProperties
final BetaModelInfo.Builder removeAllAdditionalProperties(Set<String> keys)
-
build
final BetaModelInfo build()
-
-
-
-