Name | Type | Description | Notes |
---|---|---|---|
ClientSource | string | Event souce | |
ClientUuid | string | Client uuid. This is the id defined by client app | |
CreatedAt | Pointer to time.Time | [optional] | |
Data | map[string]interface{} | Event data | |
EventType | string | Event type | |
Id | string | Id | |
Labels | map[string]interface{} | Event labels | |
SchemaVersion | string | Event schema version. Can be used by client app to know how to parse the event | |
Severity | string | Event severity | |
Status | string | Event status, Received, Stored | |
UpdatedAt | Pointer to time.Time | [optional] |
func NewEventSchema(clientSource string, clientUuid string, data map[string]interface{}, eventType string, id string, labels map[string]interface{}, schemaVersion string, severity string, status string, ) *EventSchema
NewEventSchema instantiates a new EventSchema 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 NewEventSchemaWithDefaults() *EventSchema
NewEventSchemaWithDefaults instantiates a new EventSchema 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 *EventSchema) GetClientSource() string
GetClientSource returns the ClientSource field if non-nil, zero value otherwise.
func (o *EventSchema) GetClientSourceOk() (*string, bool)
GetClientSourceOk returns a tuple with the ClientSource field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *EventSchema) SetClientSource(v string)
SetClientSource sets ClientSource field to given value.
func (o *EventSchema) GetClientUuid() string
GetClientUuid returns the ClientUuid field if non-nil, zero value otherwise.
func (o *EventSchema) GetClientUuidOk() (*string, bool)
GetClientUuidOk returns a tuple with the ClientUuid field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *EventSchema) SetClientUuid(v string)
SetClientUuid sets ClientUuid field to given value.
func (o *EventSchema) GetCreatedAt() time.Time
GetCreatedAt returns the CreatedAt field if non-nil, zero value otherwise.
func (o *EventSchema) GetCreatedAtOk() (*time.Time, bool)
GetCreatedAtOk returns a tuple with the CreatedAt field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *EventSchema) SetCreatedAt(v time.Time)
SetCreatedAt sets CreatedAt field to given value.
func (o *EventSchema) HasCreatedAt() bool
HasCreatedAt returns a boolean if a field has been set.
func (o *EventSchema) GetData() map[string]interface{}
GetData returns the Data field if non-nil, zero value otherwise.
func (o *EventSchema) GetDataOk() (*map[string]interface{}, bool)
GetDataOk returns a tuple with the Data field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *EventSchema) SetData(v map[string]interface{})
SetData sets Data field to given value.
func (o *EventSchema) GetEventType() string
GetEventType returns the EventType field if non-nil, zero value otherwise.
func (o *EventSchema) 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 *EventSchema) SetEventType(v string)
SetEventType sets EventType field to given value.
func (o *EventSchema) GetId() string
GetId returns the Id field if non-nil, zero value otherwise.
func (o *EventSchema) 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.
func (o *EventSchema) SetId(v string)
SetId sets Id field to given value.
func (o *EventSchema) GetLabels() map[string]interface{}
GetLabels returns the Labels field if non-nil, zero value otherwise.
func (o *EventSchema) GetLabelsOk() (*map[string]interface{}, bool)
GetLabelsOk returns a tuple with the Labels field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *EventSchema) SetLabels(v map[string]interface{})
SetLabels sets Labels field to given value.
func (o *EventSchema) GetSchemaVersion() string
GetSchemaVersion returns the SchemaVersion field if non-nil, zero value otherwise.
func (o *EventSchema) GetSchemaVersionOk() (*string, bool)
GetSchemaVersionOk returns a tuple with the SchemaVersion field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *EventSchema) SetSchemaVersion(v string)
SetSchemaVersion sets SchemaVersion field to given value.
func (o *EventSchema) GetSeverity() string
GetSeverity returns the Severity field if non-nil, zero value otherwise.
func (o *EventSchema) GetSeverityOk() (*string, bool)
GetSeverityOk returns a tuple with the Severity field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *EventSchema) SetSeverity(v string)
SetSeverity sets Severity field to given value.
func (o *EventSchema) GetStatus() string
GetStatus returns the Status field if non-nil, zero value otherwise.
func (o *EventSchema) GetStatusOk() (*string, bool)
GetStatusOk returns a tuple with the Status field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *EventSchema) SetStatus(v string)
SetStatus sets Status field to given value.
func (o *EventSchema) GetUpdatedAt() time.Time
GetUpdatedAt returns the UpdatedAt field if non-nil, zero value otherwise.
func (o *EventSchema) GetUpdatedAtOk() (*time.Time, bool)
GetUpdatedAtOk returns a tuple with the UpdatedAt field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *EventSchema) SetUpdatedAt(v time.Time)
SetUpdatedAt sets UpdatedAt field to given value.
func (o *EventSchema) HasUpdatedAt() bool
HasUpdatedAt returns a boolean if a field has been set.