Class SessionActResponse.Data.Result.Builder
-
- All Implemented Interfaces:
public final class SessionActResponse.Data.Result.BuilderA builder for Result.
-
-
Method Summary
-
-
Method Detail
-
actionDescription
final SessionActResponse.Data.Result.Builder actionDescription(String actionDescription)
Description of the action that was performed
-
actionDescription
final SessionActResponse.Data.Result.Builder actionDescription(JsonField<String> actionDescription)
Sets Builder.actionDescription to an arbitrary JSON value.
You should usually call Builder.actionDescription with a well-typed String value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
actions
final SessionActResponse.Data.Result.Builder actions(List<SessionActResponse.Data.Result.Action> actions)
List of actions that were executed
-
actions
final SessionActResponse.Data.Result.Builder actions(JsonField<List<SessionActResponse.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 SessionActResponse.Data.Result.Builder addAction(SessionActResponse.Data.Result.Action action)
-
message
final SessionActResponse.Data.Result.Builder message(String message)
Human-readable result message
-
message
final SessionActResponse.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 SessionActResponse.Data.Result.Builder success(Boolean success)
Whether the action completed successfully
-
success
final SessionActResponse.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.
-
additionalProperties
final SessionActResponse.Data.Result.Builder additionalProperties(Map<String, JsonValue> additionalProperties)
-
putAdditionalProperty
final SessionActResponse.Data.Result.Builder putAdditionalProperty(String key, JsonValue value)
-
putAllAdditionalProperties
final SessionActResponse.Data.Result.Builder putAllAdditionalProperties(Map<String, JsonValue> additionalProperties)
-
removeAdditionalProperty
final SessionActResponse.Data.Result.Builder removeAdditionalProperty(String key)
-
removeAllAdditionalProperties
final SessionActResponse.Data.Result.Builder removeAllAdditionalProperties(Set<String> keys)
-
build
final SessionActResponse.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:
.actionDescription() .actions() .message() .success()
-
-
-
-