Skip to content

Latest commit

 

History

History
98 lines (53 loc) · 2.47 KB

Event.md

File metadata and controls

98 lines (53 loc) · 2.47 KB

Event

Properties

Name Type Description Notes
Name Pointer to string The name of the event. [optional]
Timestamp time.Time The UTC time the event initiated.
UserInfo UserInfo

Methods

NewEvent

func NewEvent(timestamp time.Time, userInfo UserInfo, ) *Event

NewEvent instantiates a new Event 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

NewEventWithDefaults

func NewEventWithDefaults() *Event

NewEventWithDefaults instantiates a new Event 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

GetName

func (o *Event) GetName() string

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

GetNameOk

func (o *Event) 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 *Event) SetName(v string)

SetName sets Name field to given value.

HasName

func (o *Event) HasName() bool

HasName returns a boolean if a field has been set.

GetTimestamp

func (o *Event) GetTimestamp() time.Time

GetTimestamp returns the Timestamp field if non-nil, zero value otherwise.

GetTimestampOk

func (o *Event) GetTimestampOk() (*time.Time, bool)

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

SetTimestamp

func (o *Event) SetTimestamp(v time.Time)

SetTimestamp sets Timestamp field to given value.

GetUserInfo

func (o *Event) GetUserInfo() UserInfo

GetUserInfo returns the UserInfo field if non-nil, zero value otherwise.

GetUserInfoOk

func (o *Event) GetUserInfoOk() (*UserInfo, bool)

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

SetUserInfo

func (o *Event) SetUserInfo(v UserInfo)

SetUserInfo sets UserInfo field to given value.

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