Files
sdk/docs/AgentEventIn.md

3.9 KiB

AgentEventIn

Properties

Name Type Description Notes
Actor Pointer to string Actor is who produced the turn. Empty takes the validated caller, which is what an agent writing its own transcript wants; naming one is for a surface recording on somebody else's behalf. [optional]
Id Pointer to string ID is the session to append to, from the path. [optional]
Kind Pointer to string Kind is what this turn IS: message, tool-call, spawn, log, status, control or progress. Anything else is refused — the vocabulary is closed so a reader can branch on it. [optional]
Payload Pointer to interface{} [optional]

Methods

NewAgentEventIn

func NewAgentEventIn() *AgentEventIn

NewAgentEventIn instantiates a new AgentEventIn 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

NewAgentEventInWithDefaults

func NewAgentEventInWithDefaults() *AgentEventIn

NewAgentEventInWithDefaults instantiates a new AgentEventIn 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

GetActor

func (o *AgentEventIn) GetActor() string

GetActor returns the Actor field if non-nil, zero value otherwise.

GetActorOk

func (o *AgentEventIn) GetActorOk() (*string, bool)

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

SetActor

func (o *AgentEventIn) SetActor(v string)

SetActor sets Actor field to given value.

HasActor

func (o *AgentEventIn) HasActor() bool

HasActor returns a boolean if a field has been set.

GetId

func (o *AgentEventIn) GetId() string

GetId returns the Id field if non-nil, zero value otherwise.

GetIdOk

func (o *AgentEventIn) GetIdOk() (*string, bool)

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

SetId

func (o *AgentEventIn) SetId(v string)

SetId sets Id field to given value.

HasId

func (o *AgentEventIn) HasId() bool

HasId returns a boolean if a field has been set.

GetKind

func (o *AgentEventIn) GetKind() string

GetKind returns the Kind field if non-nil, zero value otherwise.

GetKindOk

func (o *AgentEventIn) GetKindOk() (*string, bool)

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

SetKind

func (o *AgentEventIn) SetKind(v string)

SetKind sets Kind field to given value.

HasKind

func (o *AgentEventIn) HasKind() bool

HasKind returns a boolean if a field has been set.

GetPayload

func (o *AgentEventIn) GetPayload() interface{}

GetPayload returns the Payload field if non-nil, zero value otherwise.

GetPayloadOk

func (o *AgentEventIn) GetPayloadOk() (*interface{}, bool)

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

SetPayload

func (o *AgentEventIn) SetPayload(v interface{})

SetPayload sets Payload field to given value.

HasPayload

func (o *AgentEventIn) HasPayload() bool

HasPayload returns a boolean if a field has been set.

SetPayloadNil

func (o *AgentEventIn) SetPayloadNil(b bool)

SetPayloadNil sets the value for Payload to be an explicit nil

UnsetPayload

func (o *AgentEventIn) UnsetPayload()

UnsetPayload ensures that no value is present for Payload, not even an explicit nil

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