Skip to content

Files

Latest commit

 

History

History
124 lines (67 loc) · 3.47 KB

BaseRecordingEvent.md

File metadata and controls

124 lines (67 loc) · 3.47 KB

BaseRecordingEvent

Properties

Name Type Description Notes
Type string The type of event
Timestamp time.Time When the event happened
Source Pointer to string Optionally, provide the source of the event. GitBook may use this to improve the generated content. [optional]
Actor Pointer to BaseRecordingEventActor [optional]

Methods

NewBaseRecordingEvent

func NewBaseRecordingEvent(type_ string, timestamp time.Time, ) *BaseRecordingEvent

NewBaseRecordingEvent instantiates a new BaseRecordingEvent 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

NewBaseRecordingEventWithDefaults

func NewBaseRecordingEventWithDefaults() *BaseRecordingEvent

NewBaseRecordingEventWithDefaults instantiates a new BaseRecordingEvent 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

GetType

func (o *BaseRecordingEvent) GetType() string

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

GetTypeOk

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

SetType sets Type field to given value.

GetTimestamp

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

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

GetTimestampOk

func (o *BaseRecordingEvent) 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 *BaseRecordingEvent) SetTimestamp(v time.Time)

SetTimestamp sets Timestamp field to given value.

GetSource

func (o *BaseRecordingEvent) GetSource() string

GetSource returns the Source field if non-nil, zero value otherwise.

GetSourceOk

func (o *BaseRecordingEvent) GetSourceOk() (*string, bool)

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

SetSource

func (o *BaseRecordingEvent) SetSource(v string)

SetSource sets Source field to given value.

HasSource

func (o *BaseRecordingEvent) HasSource() bool

HasSource returns a boolean if a field has been set.

GetActor

func (o *BaseRecordingEvent) GetActor() BaseRecordingEventActor

GetActor returns the Actor field if non-nil, zero value otherwise.

GetActorOk

func (o *BaseRecordingEvent) GetActorOk() (*BaseRecordingEventActor, bool)

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

SetActor

func (o *BaseRecordingEvent) SetActor(v BaseRecordingEventActor)

SetActor sets Actor field to given value.

HasActor

func (o *BaseRecordingEvent) HasActor() bool

HasActor returns a boolean if a field has been set.

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