Class OutputItemListResponse.Sample.Input.Builder
-
- All Implemented Interfaces:
public final class OutputItemListResponse.Sample.Input.BuilderA builder for Input.
-
-
Method Summary
-
-
Method Detail
-
content
final OutputItemListResponse.Sample.Input.Builder content(String content)
The content of the message.
-
content
final OutputItemListResponse.Sample.Input.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 OutputItemListResponse.Sample.Input.Builder role(String role)
The role of the message sender (e.g., system, user, developer).
-
role
final OutputItemListResponse.Sample.Input.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 OutputItemListResponse.Sample.Input.Builder additionalProperties(Map<String, JsonValue> additionalProperties)
-
putAdditionalProperty
final OutputItemListResponse.Sample.Input.Builder putAdditionalProperty(String key, JsonValue value)
-
putAllAdditionalProperties
final OutputItemListResponse.Sample.Input.Builder putAllAdditionalProperties(Map<String, JsonValue> additionalProperties)
-
removeAdditionalProperty
final OutputItemListResponse.Sample.Input.Builder removeAdditionalProperty(String key)
-
removeAllAdditionalProperties
final OutputItemListResponse.Sample.Input.Builder removeAllAdditionalProperties(Set<String> keys)
-
build
final OutputItemListResponse.Sample.Input build()
Returns an immutable instance of Input.
Further updates to this Builder will not mutate the returned instance.
The following fields are required:
.content() .role()
-
-
-
-