Skip to content

Latest commit

 

History

History
98 lines (53 loc) · 2.58 KB

GraphObject.md

File metadata and controls

98 lines (53 loc) · 2.58 KB

GraphObject

Properties

Name Type Description Notes
Attributes Pointer to map[string]interface{} The graph attributes. [optional]
Id string The ObjectID of the graph object.
Type string The type of graph object.

Methods

NewGraphObject

func NewGraphObject(id string, type_ string, ) *GraphObject

NewGraphObject instantiates a new GraphObject 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

NewGraphObjectWithDefaults

func NewGraphObjectWithDefaults() *GraphObject

NewGraphObjectWithDefaults instantiates a new GraphObject 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

GetAttributes

func (o *GraphObject) GetAttributes() map[string]interface{}

GetAttributes returns the Attributes field if non-nil, zero value otherwise.

GetAttributesOk

func (o *GraphObject) GetAttributesOk() (*map[string]interface{}, bool)

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

SetAttributes

func (o *GraphObject) SetAttributes(v map[string]interface{})

SetAttributes sets Attributes field to given value.

HasAttributes

func (o *GraphObject) HasAttributes() bool

HasAttributes returns a boolean if a field has been set.

GetId

func (o *GraphObject) GetId() string

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

GetIdOk

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

SetId sets Id field to given value.

GetType

func (o *GraphObject) GetType() string

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

GetTypeOk

func (o *GraphObject) 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 *GraphObject) SetType(v string)

SetType sets Type field to given value.

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