4.6 KiB
AgentControlCommandView
Properties
| Name | Type | Description | Notes |
|---|---|---|---|
| Command | Pointer to string | Command is what was asked, from a closed four: pause, resume, stop, message. It is an INTENT — the poller decides what to do about it, and the session's status changes only when the poller reports back that it did. | [optional] |
| Message | Pointer to string | Message is the text that came with the command: what to say into the run for `message`, and the cancellation reason for `stop`. Up to 16 KiB. Empty on a bare pause or resume. | [optional] |
| Payload | Pointer to interface{} | [optional] | |
| Seq | Pointer to int64 | Seq is this command's position in the session's log — the same monotonic number every other turn is ordered by, so a command sits in the transcript where it was issued. Send the highest one you applied back as `after` and it is never redelivered. | [optional] |
Methods
NewAgentControlCommandView
func NewAgentControlCommandView() *AgentControlCommandView
NewAgentControlCommandView instantiates a new AgentControlCommandView 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
NewAgentControlCommandViewWithDefaults
func NewAgentControlCommandViewWithDefaults() *AgentControlCommandView
NewAgentControlCommandViewWithDefaults instantiates a new AgentControlCommandView 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
GetCommand
func (o *AgentControlCommandView) GetCommand() string
GetCommand returns the Command field if non-nil, zero value otherwise.
GetCommandOk
func (o *AgentControlCommandView) GetCommandOk() (*string, bool)
GetCommandOk returns a tuple with the Command field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
SetCommand
func (o *AgentControlCommandView) SetCommand(v string)
SetCommand sets Command field to given value.
HasCommand
func (o *AgentControlCommandView) HasCommand() bool
HasCommand returns a boolean if a field has been set.
GetMessage
func (o *AgentControlCommandView) GetMessage() string
GetMessage returns the Message field if non-nil, zero value otherwise.
GetMessageOk
func (o *AgentControlCommandView) GetMessageOk() (*string, bool)
GetMessageOk returns a tuple with the Message field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
SetMessage
func (o *AgentControlCommandView) SetMessage(v string)
SetMessage sets Message field to given value.
HasMessage
func (o *AgentControlCommandView) HasMessage() bool
HasMessage returns a boolean if a field has been set.
GetPayload
func (o *AgentControlCommandView) GetPayload() interface{}
GetPayload returns the Payload field if non-nil, zero value otherwise.
GetPayloadOk
func (o *AgentControlCommandView) 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 *AgentControlCommandView) SetPayload(v interface{})
SetPayload sets Payload field to given value.
HasPayload
func (o *AgentControlCommandView) HasPayload() bool
HasPayload returns a boolean if a field has been set.
SetPayloadNil
func (o *AgentControlCommandView) SetPayloadNil(b bool)
SetPayloadNil sets the value for Payload to be an explicit nil
UnsetPayload
func (o *AgentControlCommandView) UnsetPayload()
UnsetPayload ensures that no value is present for Payload, not even an explicit nil
GetSeq
func (o *AgentControlCommandView) GetSeq() int64
GetSeq returns the Seq field if non-nil, zero value otherwise.
GetSeqOk
func (o *AgentControlCommandView) GetSeqOk() (*int64, bool)
GetSeqOk returns a tuple with the Seq field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
SetSeq
func (o *AgentControlCommandView) SetSeq(v int64)
SetSeq sets Seq field to given value.
HasSeq
func (o *AgentControlCommandView) HasSeq() bool
HasSeq returns a boolean if a field has been set.