Class V1DraftResponse
-
- All Implemented Interfaces:
public final class V1DraftResponse
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classV1DraftResponse.BuilderA builder for V1DraftResponse.
public final classV1DraftResponse.Status
-
Method Summary
Modifier and Type Method Description final Optional<String>agentId()Ephemeral agent ID final Optional<String>message()final Optional<String>runId()Run ID — poll /agent/v1/run/:id/status for progress final Optional<V1DraftResponse.Status>status()final JsonField<String>_agentId()Returns the raw JSON value of agentId. final JsonField<String>_message()Returns the raw JSON value of message. final JsonField<String>_runId()Returns the raw JSON value of runId. final JsonField<V1DraftResponse.Status>_status()Returns the raw JSON value of status. final Map<String, JsonValue>_additionalProperties()final V1DraftResponse.BuildertoBuilder()final V1DraftResponsevalidate()Validates that the types of all values in this object match their expected types recursively. final BooleanisValid()Booleanequals(Object other)IntegerhashCode()StringtoString()final static V1DraftResponse.Builderbuilder()Returns a mutable builder for constructing an instance of V1DraftResponse. -
-
Method Detail
-
status
final Optional<V1DraftResponse.Status> status()
-
_agentId
final JsonField<String> _agentId()
Returns the raw JSON value of agentId.
Unlike agentId, 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.
-
_runId
final JsonField<String> _runId()
Returns the raw JSON value of runId.
Unlike runId, this method doesn't throw if the JSON field has an unexpected type.
-
_status
final JsonField<V1DraftResponse.Status> _status()
Returns the raw JSON value of status.
Unlike status, this method doesn't throw if the JSON field has an unexpected type.
-
_additionalProperties
final Map<String, JsonValue> _additionalProperties()
-
toBuilder
final V1DraftResponse.Builder toBuilder()
-
validate
final V1DraftResponse 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 V1DraftResponse.Builder builder()
Returns a mutable builder for constructing an instance of V1DraftResponse.
-
-
-
-