Files
sdk/docs/AgentSessionProgress.md

5.6 KiB

AgentSessionProgress

Properties

Name Type Description Notes
Activity Pointer to string Activity is the one line saying what the run is doing right now ("running the reaper's tests"), up to 120 characters, in the model's words. Empty when nothing has estimated it yet. [optional]
At Pointer to string At is when this was determined, RFC 3339 in UTC to the second. Read it as the estimate's AGE: an estimate is not refreshed while nothing has happened, and a stale one beside a run that is still moving is itself worth seeing. Empty when nothing has estimated it yet. [optional]
Estimated Pointer to bool Estimated says a MODEL produced this, from the run's transcript, and it may be wrong. False means the session's own row said it: a finished run is 100% because it finished, not because anything guessed. Never treat a true here as a measurement — it is the reason to look, not the answer. [optional]
Pct Pointer to int64 Pct is how much of the run is done, 0 to 100. THE KEY IS ABSENT when progress is indeterminate — a run nobody can estimate is not a run that has done nothing, and rendering the second for the first is the mistake this omission exists to make impossible. Read `phase` before reaching for it. [optional]
Phase Pointer to string Phase is what shape the run is in: queued, running, blocked, done, error, or unknown when nothing has estimated it yet. blocked means the transcript shows the run waiting on something — an approval, a credential, an answer — which is the one state the running surface cannot report about itself. error only ever comes from the session's own terminal status. queued is the run's own word that it is accepted and waiting for a place to start. [optional]

Methods

NewAgentSessionProgress

func NewAgentSessionProgress() *AgentSessionProgress

NewAgentSessionProgress instantiates a new AgentSessionProgress object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed

NewAgentSessionProgressWithDefaults

func NewAgentSessionProgressWithDefaults() *AgentSessionProgress

NewAgentSessionProgressWithDefaults instantiates a new AgentSessionProgress object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set

GetActivity

func (o *AgentSessionProgress) GetActivity() string

GetActivity returns the Activity field if non-nil, zero value otherwise.

GetActivityOk

func (o *AgentSessionProgress) GetActivityOk() (*string, bool)

GetActivityOk returns a tuple with the Activity field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetActivity

func (o *AgentSessionProgress) SetActivity(v string)

SetActivity sets Activity field to given value.

HasActivity

func (o *AgentSessionProgress) HasActivity() bool

HasActivity returns a boolean if a field has been set.

GetAt

func (o *AgentSessionProgress) GetAt() string

GetAt returns the At field if non-nil, zero value otherwise.

GetAtOk

func (o *AgentSessionProgress) GetAtOk() (*string, bool)

GetAtOk returns a tuple with the At field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetAt

func (o *AgentSessionProgress) SetAt(v string)

SetAt sets At field to given value.

HasAt

func (o *AgentSessionProgress) HasAt() bool

HasAt returns a boolean if a field has been set.

GetEstimated

func (o *AgentSessionProgress) GetEstimated() bool

GetEstimated returns the Estimated field if non-nil, zero value otherwise.

GetEstimatedOk

func (o *AgentSessionProgress) GetEstimatedOk() (*bool, bool)

GetEstimatedOk returns a tuple with the Estimated field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetEstimated

func (o *AgentSessionProgress) SetEstimated(v bool)

SetEstimated sets Estimated field to given value.

HasEstimated

func (o *AgentSessionProgress) HasEstimated() bool

HasEstimated returns a boolean if a field has been set.

GetPct

func (o *AgentSessionProgress) GetPct() int64

GetPct returns the Pct field if non-nil, zero value otherwise.

GetPctOk

func (o *AgentSessionProgress) GetPctOk() (*int64, bool)

GetPctOk returns a tuple with the Pct field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetPct

func (o *AgentSessionProgress) SetPct(v int64)

SetPct sets Pct field to given value.

HasPct

func (o *AgentSessionProgress) HasPct() bool

HasPct returns a boolean if a field has been set.

GetPhase

func (o *AgentSessionProgress) GetPhase() string

GetPhase returns the Phase field if non-nil, zero value otherwise.

GetPhaseOk

func (o *AgentSessionProgress) GetPhaseOk() (*string, bool)

GetPhaseOk returns a tuple with the Phase field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.

SetPhase

func (o *AgentSessionProgress) SetPhase(v string)

SetPhase sets Phase field to given value.

HasPhase

func (o *AgentSessionProgress) HasPhase() bool

HasPhase returns a boolean if a field has been set.

[Back to Model list] [Back to API list] [Back to README]