Class SessionExecuteResponse.Data.Result
-
- All Implemented Interfaces:
public final class SessionExecuteResponse.Data.Result
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classSessionExecuteResponse.Data.Result.BuilderA builder for Result.
public final classSessionExecuteResponse.Data.Result.Actionpublic final classSessionExecuteResponse.Data.Result.Metadatapublic final classSessionExecuteResponse.Data.Result.Usage
-
Method Summary
-
-
Method Detail
-
actions
final List<SessionExecuteResponse.Data.Result.Action> actions()
-
metadata
final Optional<SessionExecuteResponse.Data.Result.Metadata> metadata()
-
usage
final Optional<SessionExecuteResponse.Data.Result.Usage> usage()
-
_actions
final JsonField<List<SessionExecuteResponse.Data.Result.Action>> _actions()
Returns the raw JSON value of actions.
Unlike actions, this method doesn't throw if the JSON field has an unexpected type.
-
_completed
final JsonField<Boolean> _completed()
Returns the raw JSON value of completed.
Unlike completed, this method doesn't throw if the JSON field has an unexpected type.
-
_message
final JsonField<String> _message()
Returns the raw JSON value of message.
Unlike message, this method doesn't throw if the JSON field has an unexpected type.
-
_success
final JsonField<Boolean> _success()
Returns the raw JSON value of success.
Unlike success, this method doesn't throw if the JSON field has an unexpected type.
-
_metadata
final JsonField<SessionExecuteResponse.Data.Result.Metadata> _metadata()
Returns the raw JSON value of metadata.
Unlike metadata, this method doesn't throw if the JSON field has an unexpected type.
-
_usage
final JsonField<SessionExecuteResponse.Data.Result.Usage> _usage()
Returns the raw JSON value of usage.
Unlike usage, this method doesn't throw if the JSON field has an unexpected type.
-
_additionalProperties
final Map<String, JsonValue> _additionalProperties()
-
toBuilder
final SessionExecuteResponse.Data.Result.Builder toBuilder()
-
validate
final SessionExecuteResponse.Data.Result validate()
Validates that the types of all values in this object match their expected types recursively.
This method is not forwards compatible with new types from the API for existing fields.
-
builder
final static SessionExecuteResponse.Data.Result.Builder builder()
Returns a mutable builder for constructing an instance of Result.
The following fields are required:
.actions() .completed() .message() .success()
-
-
-
-