Class BetaManagedAgentsSessionThreadCreatedEvent.Builder
-
- All Implemented Interfaces:
public final class BetaManagedAgentsSessionThreadCreatedEvent.BuilderA builder for BetaManagedAgentsSessionThreadCreatedEvent.
-
-
Method Summary
-
-
Method Detail
-
id
final BetaManagedAgentsSessionThreadCreatedEvent.Builder id(String id)
Unique identifier for this event.
-
id
final BetaManagedAgentsSessionThreadCreatedEvent.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.
-
agentName
final BetaManagedAgentsSessionThreadCreatedEvent.Builder agentName(String agentName)
Name of the callable agent the thread runs.
-
agentName
final BetaManagedAgentsSessionThreadCreatedEvent.Builder agentName(JsonField<String> agentName)
Sets Builder.agentName to an arbitrary JSON value.
You should usually call Builder.agentName with a well-typed String value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
processedAt
final BetaManagedAgentsSessionThreadCreatedEvent.Builder processedAt(OffsetDateTime processedAt)
A timestamp in RFC 3339 format
-
processedAt
final BetaManagedAgentsSessionThreadCreatedEvent.Builder processedAt(JsonField<OffsetDateTime> processedAt)
Sets Builder.processedAt to an arbitrary JSON value.
You should usually call Builder.processedAt with a well-typed OffsetDateTime value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
sessionThreadId
final BetaManagedAgentsSessionThreadCreatedEvent.Builder sessionThreadId(String sessionThreadId)
Public
sthr_ID of the newly created thread.
-
sessionThreadId
final BetaManagedAgentsSessionThreadCreatedEvent.Builder sessionThreadId(JsonField<String> sessionThreadId)
Sets Builder.sessionThreadId to an arbitrary JSON value.
You should usually call Builder.sessionThreadId 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 BetaManagedAgentsSessionThreadCreatedEvent.Builder type(BetaManagedAgentsSessionThreadCreatedEvent.Type type)
-
type
final BetaManagedAgentsSessionThreadCreatedEvent.Builder type(JsonField<BetaManagedAgentsSessionThreadCreatedEvent.Type> type)
Sets Builder.type to an arbitrary JSON value.
You should usually call Builder.type with a well-typed Type value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
additionalProperties
final BetaManagedAgentsSessionThreadCreatedEvent.Builder additionalProperties(Map<String, JsonValue> additionalProperties)
-
putAdditionalProperty
final BetaManagedAgentsSessionThreadCreatedEvent.Builder putAdditionalProperty(String key, JsonValue value)
-
putAllAdditionalProperties
final BetaManagedAgentsSessionThreadCreatedEvent.Builder putAllAdditionalProperties(Map<String, JsonValue> additionalProperties)
-
removeAdditionalProperty
final BetaManagedAgentsSessionThreadCreatedEvent.Builder removeAdditionalProperty(String key)
-
removeAllAdditionalProperties
final BetaManagedAgentsSessionThreadCreatedEvent.Builder removeAllAdditionalProperties(Set<String> keys)
-
build
final BetaManagedAgentsSessionThreadCreatedEvent build()
Returns an immutable instance of BetaManagedAgentsSessionThreadCreatedEvent.
Further updates to this Builder will not mutate the returned instance.
The following fields are required:
.id() .agentName() .processedAt() .sessionThreadId() .type()
-
-
-
-