Skip to content

Latest commit

 

History

History
186 lines (101 loc) · 4.29 KB

File metadata and controls

186 lines (101 loc) · 4.29 KB

Event

Properties

Name Type Description Notes
CreatedBy Pointer to string [optional]
CreatedOn Pointer to time.Time [optional]
Id Pointer to string [optional]
Name Pointer to string [optional]
Resource Pointer to string [optional]
State Pointer to string [optional]

Methods

NewEvent

func NewEvent() *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

GetCreatedBy

func (o *Event) GetCreatedBy() string

GetCreatedBy returns the CreatedBy field if non-nil, zero value otherwise.

GetCreatedByOk

func (o *Event) GetCreatedByOk() (*string, bool)

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

SetCreatedBy

func (o *Event) SetCreatedBy(v string)

SetCreatedBy sets CreatedBy field to given value.

HasCreatedBy

func (o *Event) HasCreatedBy() bool

HasCreatedBy returns a boolean if a field has been set.

GetCreatedOn

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

GetCreatedOn returns the CreatedOn field if non-nil, zero value otherwise.

GetCreatedOnOk

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

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

SetCreatedOn

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

SetCreatedOn sets CreatedOn field to given value.

HasCreatedOn

func (o *Event) HasCreatedOn() bool

HasCreatedOn returns a boolean if a field has been set.

GetId

func (o *Event) GetId() string

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

GetIdOk

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

SetId sets Id field to given value.

HasId

func (o *Event) HasId() bool

HasId returns a boolean if a field has been 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.

GetResource

func (o *Event) GetResource() string

GetResource returns the Resource field if non-nil, zero value otherwise.

GetResourceOk

func (o *Event) GetResourceOk() (*string, bool)

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

SetResource

func (o *Event) SetResource(v string)

SetResource sets Resource field to given value.

HasResource

func (o *Event) HasResource() bool

HasResource returns a boolean if a field has been set.

GetState

func (o *Event) GetState() string

GetState returns the State field if non-nil, zero value otherwise.

GetStateOk

func (o *Event) GetStateOk() (*string, bool)

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

SetState

func (o *Event) SetState(v string)

SetState sets State field to given value.

HasState

func (o *Event) HasState() bool

HasState returns a boolean if a field has been set.

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