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 |
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
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
func (o *Event) GetName() string
GetName returns the Name field if non-nil, zero value otherwise.
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.
func (o *Event) SetName(v string)
SetName sets Name field to given value.
func (o *Event) HasName() bool
HasName returns a boolean if a field has been set.
func (o *Event) GetTimestamp() time.Time
GetTimestamp returns the Timestamp field if non-nil, zero value otherwise.
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.
func (o *Event) SetTimestamp(v time.Time)
SetTimestamp sets Timestamp field to given value.
func (o *Event) GetUserInfo() UserInfo
GetUserInfo returns the UserInfo field if non-nil, zero value otherwise.
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.
func (o *Event) SetUserInfo(v UserInfo)
SetUserInfo sets UserInfo field to given value.