Files
sdk/docs/AgentTreeNode.md

2.8 KiB

AgentTreeNode

Properties

Name Type Description Notes
Children Pointer to []AgentTreeNode Children is this node's direct children, each a whole node, so the array nests to the depth of the flow. A leaf carries null rather than an empty array. The subtree is materialised in full, up to 10000 nodes, out of one indexed read of the root; nothing is walked node by node. [optional]
Session Pointer to AgentSessionView Session is this node's own session, carrying its event count and its direct fan-out. It is the same shape the list and detail reads answer with, minus the last-event preview, which the tree does not fetch. [optional]

Methods

NewAgentTreeNode

func NewAgentTreeNode() *AgentTreeNode

NewAgentTreeNode instantiates a new AgentTreeNode 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

NewAgentTreeNodeWithDefaults

func NewAgentTreeNodeWithDefaults() *AgentTreeNode

NewAgentTreeNodeWithDefaults instantiates a new AgentTreeNode 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

GetChildren

func (o *AgentTreeNode) GetChildren() []AgentTreeNode

GetChildren returns the Children field if non-nil, zero value otherwise.

GetChildrenOk

func (o *AgentTreeNode) GetChildrenOk() (*[]AgentTreeNode, bool)

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

SetChildren

func (o *AgentTreeNode) SetChildren(v []AgentTreeNode)

SetChildren sets Children field to given value.

HasChildren

func (o *AgentTreeNode) HasChildren() bool

HasChildren returns a boolean if a field has been set.

GetSession

func (o *AgentTreeNode) GetSession() AgentSessionView

GetSession returns the Session field if non-nil, zero value otherwise.

GetSessionOk

func (o *AgentTreeNode) GetSessionOk() (*AgentSessionView, bool)

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

SetSession

func (o *AgentTreeNode) SetSession(v AgentSessionView)

SetSession sets Session field to given value.

HasSession

func (o *AgentTreeNode) HasSession() bool

HasSession returns a boolean if a field has been set.

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