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)
Sets Builder.id to an arbitrary JSON value.
You should usually call Builder.id with a well-typed String value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
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)
Sets Builder.createdAt to an arbitrary JSON value.
You should usually call Builder.createdAt with a well-typed OffsetDateTime value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
displayName
final BetaModelInfo.Builder displayName(String displayName)
A human-readable name for the model.
-
displayName
final BetaModelInfo.Builder displayName(JsonField<String> displayName)
Sets Builder.displayName to an arbitrary JSON value.
You should usually call Builder.displayName with a well-typed String value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
type
final BetaModelInfo.Builder type(JsonValue type)
Sets the field to an arbitrary JSON value.
It is usually unnecessary to call this method because the field defaults to the following:
JsonValue.from("model")This method is primarily for setting the field to an undocumented or not yet supported value.
-
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()
Returns an immutable instance of BetaModelInfo.
Further updates to this Builder will not mutate the returned instance.
The following fields are required:
.id() .createdAt() .displayName()
-
-
-
-