Files
sdk/docs/KnowledgeGraphEdge.md

3.2 KiB

KnowledgeGraphEdge

Properties

Name Type Description Notes
From Pointer to string From is the id of the node the edge starts at: the child page for a parent edge, the page holding the wikilink for a link edge, the kb.source for a provenance edge. Always one of Nodes. [optional]
Kind Pointer to string parent link
To Pointer to string To is the id of the node the edge points at: the parent page, the linked page, the kb.connector. Always one of Nodes — a wikilink matching no page points at a synthetic &quot;unresolved:<lowercased title>&quot; node rather than dangling. [optional]

Methods

NewKnowledgeGraphEdge

func NewKnowledgeGraphEdge() *KnowledgeGraphEdge

NewKnowledgeGraphEdge instantiates a new KnowledgeGraphEdge 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

NewKnowledgeGraphEdgeWithDefaults

func NewKnowledgeGraphEdgeWithDefaults() *KnowledgeGraphEdge

NewKnowledgeGraphEdgeWithDefaults instantiates a new KnowledgeGraphEdge 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

GetFrom

func (o *KnowledgeGraphEdge) GetFrom() string

GetFrom returns the From field if non-nil, zero value otherwise.

GetFromOk

func (o *KnowledgeGraphEdge) GetFromOk() (*string, bool)

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

SetFrom

func (o *KnowledgeGraphEdge) SetFrom(v string)

SetFrom sets From field to given value.

HasFrom

func (o *KnowledgeGraphEdge) HasFrom() bool

HasFrom returns a boolean if a field has been set.

GetKind

func (o *KnowledgeGraphEdge) GetKind() string

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

GetKindOk

func (o *KnowledgeGraphEdge) 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 *KnowledgeGraphEdge) SetKind(v string)

SetKind sets Kind field to given value.

HasKind

func (o *KnowledgeGraphEdge) HasKind() bool

HasKind returns a boolean if a field has been set.

GetTo

func (o *KnowledgeGraphEdge) GetTo() string

GetTo returns the To field if non-nil, zero value otherwise.

GetToOk

func (o *KnowledgeGraphEdge) GetToOk() (*string, bool)

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

SetTo

func (o *KnowledgeGraphEdge) SetTo(v string)

SetTo sets To field to given value.

HasTo

func (o *KnowledgeGraphEdge) HasTo() bool

HasTo returns a boolean if a field has been set.

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