Class OutputItemRetrieveResponse.Sample.Output.Builder
-
- All Implemented Interfaces:
public final class OutputItemRetrieveResponse.Sample.Output.BuilderA builder for Output.
-
-
Method Summary
-
-
Method Detail
-
content
final OutputItemRetrieveResponse.Sample.Output.Builder content(String content)
The content of the message.
-
content
final OutputItemRetrieveResponse.Sample.Output.Builder content(JsonField<String> content)
Sets Builder.content to an arbitrary JSON value.
You should usually call Builder.content with a well-typed String value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
role
final OutputItemRetrieveResponse.Sample.Output.Builder role(String role)
The role of the message (e.g. "system", "assistant", "user").
-
role
final OutputItemRetrieveResponse.Sample.Output.Builder role(JsonField<String> role)
Sets Builder.role to an arbitrary JSON value.
You should usually call Builder.role with a well-typed String value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
additionalProperties
final OutputItemRetrieveResponse.Sample.Output.Builder additionalProperties(Map<String, JsonValue> additionalProperties)
-
putAdditionalProperty
final OutputItemRetrieveResponse.Sample.Output.Builder putAdditionalProperty(String key, JsonValue value)
-
putAllAdditionalProperties
final OutputItemRetrieveResponse.Sample.Output.Builder putAllAdditionalProperties(Map<String, JsonValue> additionalProperties)
-
removeAdditionalProperty
final OutputItemRetrieveResponse.Sample.Output.Builder removeAdditionalProperty(String key)
-
removeAllAdditionalProperties
final OutputItemRetrieveResponse.Sample.Output.Builder removeAllAdditionalProperties(Set<String> keys)
-
build
final OutputItemRetrieveResponse.Sample.Output build()
Returns an immutable instance of Output.
Further updates to this Builder will not mutate the returned instance.
-
-
-
-