Files
sdk/docs/KnowledgeGraphNode.md

4.4 KiB

KnowledgeGraphNode

Properties

Name Type Description Notes
Id Pointer to string &quot;<doctype>:<name>&quot; — globally unique, click-to-open key [optional]
Name Pointer to string the document name (empty for synthetic nodes) [optional]
Project Pointer to string Project is the project scope the underlying document was saved under. Absent for a document saved with none, and for the synthetic nodes — unresolved link targets and connectors belong to no project. When ?project= narrows the graph, every page, memory and source node carries that value. [optional]
Title Pointer to string display label [optional]
Type Pointer to string kb.page kb.memory

Methods

NewKnowledgeGraphNode

func NewKnowledgeGraphNode() *KnowledgeGraphNode

NewKnowledgeGraphNode instantiates a new KnowledgeGraphNode 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

NewKnowledgeGraphNodeWithDefaults

func NewKnowledgeGraphNodeWithDefaults() *KnowledgeGraphNode

NewKnowledgeGraphNodeWithDefaults instantiates a new KnowledgeGraphNode 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

GetId

func (o *KnowledgeGraphNode) GetId() string

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

GetIdOk

func (o *KnowledgeGraphNode) 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 *KnowledgeGraphNode) SetId(v string)

SetId sets Id field to given value.

HasId

func (o *KnowledgeGraphNode) HasId() bool

HasId returns a boolean if a field has been set.

GetName

func (o *KnowledgeGraphNode) GetName() string

GetName returns the Name field if non-nil, zero value otherwise.

GetNameOk

func (o *KnowledgeGraphNode) GetNameOk() (*string, bool)

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

SetName

func (o *KnowledgeGraphNode) SetName(v string)

SetName sets Name field to given value.

HasName

func (o *KnowledgeGraphNode) HasName() bool

HasName returns a boolean if a field has been set.

GetProject

func (o *KnowledgeGraphNode) GetProject() string

GetProject returns the Project field if non-nil, zero value otherwise.

GetProjectOk

func (o *KnowledgeGraphNode) GetProjectOk() (*string, bool)

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

SetProject

func (o *KnowledgeGraphNode) SetProject(v string)

SetProject sets Project field to given value.

HasProject

func (o *KnowledgeGraphNode) HasProject() bool

HasProject returns a boolean if a field has been set.

GetTitle

func (o *KnowledgeGraphNode) GetTitle() string

GetTitle returns the Title field if non-nil, zero value otherwise.

GetTitleOk

func (o *KnowledgeGraphNode) GetTitleOk() (*string, bool)

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

SetTitle

func (o *KnowledgeGraphNode) SetTitle(v string)

SetTitle sets Title field to given value.

HasTitle

func (o *KnowledgeGraphNode) HasTitle() bool

HasTitle returns a boolean if a field has been set.

GetType

func (o *KnowledgeGraphNode) GetType() string

GetType returns the Type field if non-nil, zero value otherwise.

GetTypeOk

func (o *KnowledgeGraphNode) GetTypeOk() (*string, bool)

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

SetType

func (o *KnowledgeGraphNode) SetType(v string)

SetType sets Type field to given value.

HasType

func (o *KnowledgeGraphNode) HasType() bool

HasType returns a boolean if a field has been set.

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