Skip to content

Latest commit

 

History

History
368 lines (199 loc) · 8.9 KB

Event.md

File metadata and controls

368 lines (199 loc) · 8.9 KB

Event

Properties

Name Type Description Notes
Id Pointer to int64 The resource identifier. [optional]
Type Pointer to string The resource type. [optional]
EventType Pointer to string The log level of the event. [optional]
Category Pointer to string The classification of the event, such as an APPLICATION or DEPLOYMENT event. [optional]
Subcategory Pointer to string The subcategory classification of the event. [optional]
Source Pointer to Resource [optional]
SourceName Pointer to string The name of the software component involved in the event. [optional]
Message Pointer to string The message describing the event. [optional]
DateTime Pointer to time.Time The date and time that the event occurred. [optional]
Details Pointer to map[string]interface{} [optional]
TaskId Pointer to string The ID of the task performed. [optional]
Payload Pointer to string The payload associated with the task. [optional]
User Pointer to User [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

GetId

func (o *Event) GetId() int64

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

GetIdOk

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

SetId sets Id field to given value.

HasId

func (o *Event) HasId() bool

HasId returns a boolean if a field has been set.

GetType

func (o *Event) GetType() string

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

GetTypeOk

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

SetType sets Type field to given value.

HasType

func (o *Event) HasType() bool

HasType returns a boolean if a field has been set.

GetEventType

func (o *Event) GetEventType() string

GetEventType returns the EventType field if non-nil, zero value otherwise.

GetEventTypeOk

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

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

SetEventType

func (o *Event) SetEventType(v string)

SetEventType sets EventType field to given value.

HasEventType

func (o *Event) HasEventType() bool

HasEventType returns a boolean if a field has been set.

GetCategory

func (o *Event) GetCategory() string

GetCategory returns the Category field if non-nil, zero value otherwise.

GetCategoryOk

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

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

SetCategory

func (o *Event) SetCategory(v string)

SetCategory sets Category field to given value.

HasCategory

func (o *Event) HasCategory() bool

HasCategory returns a boolean if a field has been set.

GetSubcategory

func (o *Event) GetSubcategory() string

GetSubcategory returns the Subcategory field if non-nil, zero value otherwise.

GetSubcategoryOk

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

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

SetSubcategory

func (o *Event) SetSubcategory(v string)

SetSubcategory sets Subcategory field to given value.

HasSubcategory

func (o *Event) HasSubcategory() bool

HasSubcategory returns a boolean if a field has been set.

GetSource

func (o *Event) GetSource() Resource

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

GetSourceOk

func (o *Event) GetSourceOk() (*Resource, 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 *Event) SetSource(v Resource)

SetSource sets Source field to given value.

HasSource

func (o *Event) HasSource() bool

HasSource returns a boolean if a field has been set.

GetSourceName

func (o *Event) GetSourceName() string

GetSourceName returns the SourceName field if non-nil, zero value otherwise.

GetSourceNameOk

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

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

SetSourceName

func (o *Event) SetSourceName(v string)

SetSourceName sets SourceName field to given value.

HasSourceName

func (o *Event) HasSourceName() bool

HasSourceName returns a boolean if a field has been set.

GetMessage

func (o *Event) GetMessage() string

GetMessage returns the Message field if non-nil, zero value otherwise.

GetMessageOk

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

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

SetMessage

func (o *Event) SetMessage(v string)

SetMessage sets Message field to given value.

HasMessage

func (o *Event) HasMessage() bool

HasMessage returns a boolean if a field has been set.

GetDateTime

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

GetDateTime returns the DateTime field if non-nil, zero value otherwise.

GetDateTimeOk

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

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

SetDateTime

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

SetDateTime sets DateTime field to given value.

HasDateTime

func (o *Event) HasDateTime() bool

HasDateTime returns a boolean if a field has been set.

GetDetails

func (o *Event) GetDetails() map[string]interface{}

GetDetails returns the Details field if non-nil, zero value otherwise.

GetDetailsOk

func (o *Event) GetDetailsOk() (*map[string]interface{}, bool)

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

SetDetails

func (o *Event) SetDetails(v map[string]interface{})

SetDetails sets Details field to given value.

HasDetails

func (o *Event) HasDetails() bool

HasDetails returns a boolean if a field has been set.

GetTaskId

func (o *Event) GetTaskId() string

GetTaskId returns the TaskId field if non-nil, zero value otherwise.

GetTaskIdOk

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

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

SetTaskId

func (o *Event) SetTaskId(v string)

SetTaskId sets TaskId field to given value.

HasTaskId

func (o *Event) HasTaskId() bool

HasTaskId returns a boolean if a field has been set.

GetPayload

func (o *Event) GetPayload() string

GetPayload returns the Payload field if non-nil, zero value otherwise.

GetPayloadOk

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

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

SetPayload

func (o *Event) SetPayload(v string)

SetPayload sets Payload field to given value.

HasPayload

func (o *Event) HasPayload() bool

HasPayload returns a boolean if a field has been set.

GetUser

func (o *Event) GetUser() User

GetUser returns the User field if non-nil, zero value otherwise.

GetUserOk

func (o *Event) GetUserOk() (*User, bool)

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

SetUser

func (o *Event) SetUser(v User)

SetUser sets User field to given value.

HasUser

func (o *Event) HasUser() bool

HasUser returns a boolean if a field has been set.

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