Skip to content

Latest commit

 

History

History
72 lines (39 loc) · 1.85 KB

File metadata and controls

72 lines (39 loc) · 1.85 KB

Entity

Properties

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

Methods

NewEntity

func NewEntity(id int64, created time.Time, ) *Entity

NewEntity instantiates a new Entity 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

NewEntityWithDefaults

func NewEntityWithDefaults() *Entity

NewEntityWithDefaults instantiates a new Entity 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 *Entity) GetId() int64

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

GetIdOk

func (o *Entity) GetIdOk() (*int64, 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 *Entity) SetId(v int64)

SetId sets Id field to given value.

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.

SetCreated

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

SetCreated sets Created field to given value.

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