Class SessionExecuteResponse.Data.Result.Builder
-
- All Implemented Interfaces:
public final class SessionExecuteResponse.Data.Result.BuilderA builder for Result.
-
-
Method Summary
-
-
Method Detail
-
actions
final SessionExecuteResponse.Data.Result.Builder actions(List<SessionExecuteResponse.Data.Result.Action> actions)
-
actions
final SessionExecuteResponse.Data.Result.Builder actions(JsonField<List<SessionExecuteResponse.Data.Result.Action>> actions)
Sets Builder.actions to an arbitrary JSON value.
You should usually call Builder.actions with a well-typed
List<Action>value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
addAction
final SessionExecuteResponse.Data.Result.Builder addAction(SessionExecuteResponse.Data.Result.Action action)
-
completed
final SessionExecuteResponse.Data.Result.Builder completed(Boolean completed)
Whether the agent finished its task
-
completed
final SessionExecuteResponse.Data.Result.Builder completed(JsonField<Boolean> completed)
Sets Builder.completed to an arbitrary JSON value.
You should usually call Builder.completed with a well-typed Boolean value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
message
final SessionExecuteResponse.Data.Result.Builder message(String message)
Summary of what the agent accomplished
-
message
final SessionExecuteResponse.Data.Result.Builder message(JsonField<String> message)
Sets Builder.message to an arbitrary JSON value.
You should usually call Builder.message with a well-typed String value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
success
final SessionExecuteResponse.Data.Result.Builder success(Boolean success)
Whether the agent completed successfully
-
success
final SessionExecuteResponse.Data.Result.Builder success(JsonField<Boolean> success)
Sets Builder.success to an arbitrary JSON value.
You should usually call Builder.success with a well-typed Boolean value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
metadata
final SessionExecuteResponse.Data.Result.Builder metadata(SessionExecuteResponse.Data.Result.Metadata metadata)
-
metadata
final SessionExecuteResponse.Data.Result.Builder metadata(JsonField<SessionExecuteResponse.Data.Result.Metadata> metadata)
Sets Builder.metadata to an arbitrary JSON value.
You should usually call Builder.metadata with a well-typed Metadata value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
usage
final SessionExecuteResponse.Data.Result.Builder usage(SessionExecuteResponse.Data.Result.Usage usage)
-
usage
final SessionExecuteResponse.Data.Result.Builder usage(JsonField<SessionExecuteResponse.Data.Result.Usage> usage)
Sets Builder.usage to an arbitrary JSON value.
You should usually call Builder.usage with a well-typed Usage value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
additionalProperties
final SessionExecuteResponse.Data.Result.Builder additionalProperties(Map<String, JsonValue> additionalProperties)
-
putAdditionalProperty
final SessionExecuteResponse.Data.Result.Builder putAdditionalProperty(String key, JsonValue value)
-
putAllAdditionalProperties
final SessionExecuteResponse.Data.Result.Builder putAllAdditionalProperties(Map<String, JsonValue> additionalProperties)
-
removeAdditionalProperty
final SessionExecuteResponse.Data.Result.Builder removeAdditionalProperty(String key)
-
removeAllAdditionalProperties
final SessionExecuteResponse.Data.Result.Builder removeAllAdditionalProperties(Set<String> keys)
-
build
final SessionExecuteResponse.Data.Result build()
Returns an immutable instance of Result.
Further updates to this Builder will not mutate the returned instance.
The following fields are required:
.actions() .completed() .message() .success()
-
-
-
-