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] |
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
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) GetId() int64
GetId returns the Id field if non-nil, zero value otherwise.
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.
func (o *Event) SetId(v int64)
SetId sets Id field to given value.
func (o *Event) HasId() bool
HasId returns a boolean if a field has been set.
func (o *Event) GetType() string
GetType returns the Type field if non-nil, zero value otherwise.
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.
func (o *Event) SetType(v string)
SetType sets Type field to given value.
func (o *Event) HasType() bool
HasType returns a boolean if a field has been set.
func (o *Event) GetEventType() string
GetEventType returns the EventType field if non-nil, zero value otherwise.
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.
func (o *Event) SetEventType(v string)
SetEventType sets EventType field to given value.
func (o *Event) HasEventType() bool
HasEventType returns a boolean if a field has been set.
func (o *Event) GetCategory() string
GetCategory returns the Category field if non-nil, zero value otherwise.
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.
func (o *Event) SetCategory(v string)
SetCategory sets Category field to given value.
func (o *Event) HasCategory() bool
HasCategory returns a boolean if a field has been set.
func (o *Event) GetSubcategory() string
GetSubcategory returns the Subcategory field if non-nil, zero value otherwise.
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.
func (o *Event) SetSubcategory(v string)
SetSubcategory sets Subcategory field to given value.
func (o *Event) HasSubcategory() bool
HasSubcategory returns a boolean if a field has been set.
func (o *Event) GetSource() Resource
GetSource returns the Source field if non-nil, zero value otherwise.
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.
func (o *Event) SetSource(v Resource)
SetSource sets Source field to given value.
func (o *Event) HasSource() bool
HasSource returns a boolean if a field has been set.
func (o *Event) GetSourceName() string
GetSourceName returns the SourceName field if non-nil, zero value otherwise.
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.
func (o *Event) SetSourceName(v string)
SetSourceName sets SourceName field to given value.
func (o *Event) HasSourceName() bool
HasSourceName returns a boolean if a field has been set.
func (o *Event) GetMessage() string
GetMessage returns the Message field if non-nil, zero value otherwise.
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.
func (o *Event) SetMessage(v string)
SetMessage sets Message field to given value.
func (o *Event) HasMessage() bool
HasMessage returns a boolean if a field has been set.
func (o *Event) GetDateTime() time.Time
GetDateTime returns the DateTime field if non-nil, zero value otherwise.
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.
func (o *Event) SetDateTime(v time.Time)
SetDateTime sets DateTime field to given value.
func (o *Event) HasDateTime() bool
HasDateTime returns a boolean if a field has been set.
func (o *Event) GetDetails() map[string]interface{}
GetDetails returns the Details field if non-nil, zero value otherwise.
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.
func (o *Event) SetDetails(v map[string]interface{})
SetDetails sets Details field to given value.
func (o *Event) HasDetails() bool
HasDetails returns a boolean if a field has been set.
func (o *Event) GetTaskId() string
GetTaskId returns the TaskId field if non-nil, zero value otherwise.
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.
func (o *Event) SetTaskId(v string)
SetTaskId sets TaskId field to given value.
func (o *Event) HasTaskId() bool
HasTaskId returns a boolean if a field has been set.
func (o *Event) GetPayload() string
GetPayload returns the Payload field if non-nil, zero value otherwise.
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.
func (o *Event) SetPayload(v string)
SetPayload sets Payload field to given value.
func (o *Event) HasPayload() bool
HasPayload returns a boolean if a field has been set.
func (o *Event) GetUser() User
GetUser returns the User field if non-nil, zero value otherwise.
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.
func (o *Event) SetUser(v User)
SetUser sets User field to given value.
func (o *Event) HasUser() bool
HasUser returns a boolean if a field has been set.