Skip to content

Latest commit

 

History

History
65 lines (34 loc) · 1.53 KB

Entity.md

File metadata and controls

65 lines (34 loc) · 1.53 KB

Entity

Properties

Name Type Description Notes
Id Pointer to int32 Internal ID of this entity.
Created Pointer to time.Time The time this entity was created.

Methods

GetId

func (o *Entity) GetId() int32

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

GetIdOk

func (o *Entity) GetIdOk() (int32, 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.

HasId

func (o *Entity) HasId() bool

HasId returns a boolean if a field has been set.

SetId

func (o *Entity) SetId(v int32)

SetId gets a reference to the given int32 and assigns it to the Id field.

GetCreated

func (o *Entity) GetCreated() time.Time

GetCreated returns the Created field if non-nil, zero value otherwise.

GetCreatedOk

func (o *Entity) GetCreatedOk() (time.Time, bool)

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

HasCreated

func (o *Entity) HasCreated() bool

HasCreated returns a boolean if a field has been set.

SetCreated

func (o *Entity) SetCreated(v time.Time)

SetCreated gets a reference to the given time.Time and assigns it to the Created field.

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