Name | Type | Description | Notes |
---|---|---|---|
AcknowledgedTime | Pointer to time.Time | Timestamp at which the alert was acknowledged | [optional] [readonly] |
ConfigurationType | string | Alert configuration type | [readonly] |
ConfigurationUuid | string | Alert configuration UUID | [readonly] |
CreateTime | time.Time | Alert creation timestamp | [readonly] |
CustomerUUID | string | Customer UUID | [readonly] |
DefinitionUuid | string | Alert definition UUID | [readonly] |
Labels | []AlertLabel | ||
Message | string | The alert's message text | [readonly] |
Name | string | The alert's name | [readonly] |
NextNotificationTime | Pointer to time.Time | Time of the next notification attempt | [optional] [readonly] |
NotificationAttemptTime | Pointer to time.Time | Time of the last notification attempt | [optional] [readonly] |
NotificationsFailed | Pointer to int32 | Count of failures to send a notification | [optional] [readonly] |
NotifiedState | Pointer to string | Alert state in the last-sent notification | [optional] [readonly] |
ResolvedTime | Pointer to time.Time | Timestamp at which the alert was resolved | [optional] [readonly] |
Severity | string | Alert configuration severity | [readonly] |
SeverityIndex | int32 | ||
SourceName | string | The source of the alert | [readonly] |
SourceUUID | string | The sourceUUID of the alert | [readonly] |
State | string | The alert's state | [readonly] |
StateIndex | int32 | ||
Uuid | Pointer to string | Alert UUID | [optional] [readonly] |
func NewAlert(configurationType string, configurationUuid string, createTime time.Time, customerUUID string, definitionUuid string, labels []AlertLabel, message string, name string, severity string, severityIndex int32, sourceName string, sourceUUID string, state string, stateIndex int32, ) *Alert
NewAlert instantiates a new Alert 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 NewAlertWithDefaults() *Alert
NewAlertWithDefaults instantiates a new Alert 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 *Alert) GetAcknowledgedTime() time.Time
GetAcknowledgedTime returns the AcknowledgedTime field if non-nil, zero value otherwise.
func (o *Alert) GetAcknowledgedTimeOk() (*time.Time, bool)
GetAcknowledgedTimeOk returns a tuple with the AcknowledgedTime field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Alert) SetAcknowledgedTime(v time.Time)
SetAcknowledgedTime sets AcknowledgedTime field to given value.
func (o *Alert) HasAcknowledgedTime() bool
HasAcknowledgedTime returns a boolean if a field has been set.
func (o *Alert) GetConfigurationType() string
GetConfigurationType returns the ConfigurationType field if non-nil, zero value otherwise.
func (o *Alert) GetConfigurationTypeOk() (*string, bool)
GetConfigurationTypeOk returns a tuple with the ConfigurationType field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Alert) SetConfigurationType(v string)
SetConfigurationType sets ConfigurationType field to given value.
func (o *Alert) GetConfigurationUuid() string
GetConfigurationUuid returns the ConfigurationUuid field if non-nil, zero value otherwise.
func (o *Alert) GetConfigurationUuidOk() (*string, bool)
GetConfigurationUuidOk returns a tuple with the ConfigurationUuid field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Alert) SetConfigurationUuid(v string)
SetConfigurationUuid sets ConfigurationUuid field to given value.
func (o *Alert) GetCreateTime() time.Time
GetCreateTime returns the CreateTime field if non-nil, zero value otherwise.
func (o *Alert) GetCreateTimeOk() (*time.Time, bool)
GetCreateTimeOk returns a tuple with the CreateTime field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Alert) SetCreateTime(v time.Time)
SetCreateTime sets CreateTime field to given value.
func (o *Alert) GetCustomerUUID() string
GetCustomerUUID returns the CustomerUUID field if non-nil, zero value otherwise.
func (o *Alert) GetCustomerUUIDOk() (*string, bool)
GetCustomerUUIDOk returns a tuple with the CustomerUUID field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Alert) SetCustomerUUID(v string)
SetCustomerUUID sets CustomerUUID field to given value.
func (o *Alert) GetDefinitionUuid() string
GetDefinitionUuid returns the DefinitionUuid field if non-nil, zero value otherwise.
func (o *Alert) GetDefinitionUuidOk() (*string, bool)
GetDefinitionUuidOk returns a tuple with the DefinitionUuid field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Alert) SetDefinitionUuid(v string)
SetDefinitionUuid sets DefinitionUuid field to given value.
func (o *Alert) GetLabels() []AlertLabel
GetLabels returns the Labels field if non-nil, zero value otherwise.
func (o *Alert) GetLabelsOk() (*[]AlertLabel, 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 *Alert) SetLabels(v []AlertLabel)
SetLabels sets Labels field to given value.
func (o *Alert) GetMessage() string
GetMessage returns the Message field if non-nil, zero value otherwise.
func (o *Alert) 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 *Alert) SetMessage(v string)
SetMessage sets Message field to given value.
func (o *Alert) GetName() string
GetName returns the Name field if non-nil, zero value otherwise.
func (o *Alert) 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.
func (o *Alert) SetName(v string)
SetName sets Name field to given value.
func (o *Alert) GetNextNotificationTime() time.Time
GetNextNotificationTime returns the NextNotificationTime field if non-nil, zero value otherwise.
func (o *Alert) GetNextNotificationTimeOk() (*time.Time, bool)
GetNextNotificationTimeOk returns a tuple with the NextNotificationTime field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Alert) SetNextNotificationTime(v time.Time)
SetNextNotificationTime sets NextNotificationTime field to given value.
func (o *Alert) HasNextNotificationTime() bool
HasNextNotificationTime returns a boolean if a field has been set.
func (o *Alert) GetNotificationAttemptTime() time.Time
GetNotificationAttemptTime returns the NotificationAttemptTime field if non-nil, zero value otherwise.
func (o *Alert) GetNotificationAttemptTimeOk() (*time.Time, bool)
GetNotificationAttemptTimeOk returns a tuple with the NotificationAttemptTime field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Alert) SetNotificationAttemptTime(v time.Time)
SetNotificationAttemptTime sets NotificationAttemptTime field to given value.
func (o *Alert) HasNotificationAttemptTime() bool
HasNotificationAttemptTime returns a boolean if a field has been set.
func (o *Alert) GetNotificationsFailed() int32
GetNotificationsFailed returns the NotificationsFailed field if non-nil, zero value otherwise.
func (o *Alert) GetNotificationsFailedOk() (*int32, bool)
GetNotificationsFailedOk returns a tuple with the NotificationsFailed field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Alert) SetNotificationsFailed(v int32)
SetNotificationsFailed sets NotificationsFailed field to given value.
func (o *Alert) HasNotificationsFailed() bool
HasNotificationsFailed returns a boolean if a field has been set.
func (o *Alert) GetNotifiedState() string
GetNotifiedState returns the NotifiedState field if non-nil, zero value otherwise.
func (o *Alert) GetNotifiedStateOk() (*string, bool)
GetNotifiedStateOk returns a tuple with the NotifiedState field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Alert) SetNotifiedState(v string)
SetNotifiedState sets NotifiedState field to given value.
func (o *Alert) HasNotifiedState() bool
HasNotifiedState returns a boolean if a field has been set.
func (o *Alert) GetResolvedTime() time.Time
GetResolvedTime returns the ResolvedTime field if non-nil, zero value otherwise.
func (o *Alert) GetResolvedTimeOk() (*time.Time, bool)
GetResolvedTimeOk returns a tuple with the ResolvedTime field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Alert) SetResolvedTime(v time.Time)
SetResolvedTime sets ResolvedTime field to given value.
func (o *Alert) HasResolvedTime() bool
HasResolvedTime returns a boolean if a field has been set.
func (o *Alert) GetSeverity() string
GetSeverity returns the Severity field if non-nil, zero value otherwise.
func (o *Alert) 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 *Alert) SetSeverity(v string)
SetSeverity sets Severity field to given value.
func (o *Alert) GetSeverityIndex() int32
GetSeverityIndex returns the SeverityIndex field if non-nil, zero value otherwise.
func (o *Alert) GetSeverityIndexOk() (*int32, bool)
GetSeverityIndexOk returns a tuple with the SeverityIndex field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Alert) SetSeverityIndex(v int32)
SetSeverityIndex sets SeverityIndex field to given value.
func (o *Alert) GetSourceName() string
GetSourceName returns the SourceName field if non-nil, zero value otherwise.
func (o *Alert) 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 *Alert) SetSourceName(v string)
SetSourceName sets SourceName field to given value.
func (o *Alert) GetSourceUUID() string
GetSourceUUID returns the SourceUUID field if non-nil, zero value otherwise.
func (o *Alert) GetSourceUUIDOk() (*string, bool)
GetSourceUUIDOk returns a tuple with the SourceUUID field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Alert) SetSourceUUID(v string)
SetSourceUUID sets SourceUUID field to given value.
func (o *Alert) GetState() string
GetState returns the State field if non-nil, zero value otherwise.
func (o *Alert) 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.
func (o *Alert) SetState(v string)
SetState sets State field to given value.
func (o *Alert) GetStateIndex() int32
GetStateIndex returns the StateIndex field if non-nil, zero value otherwise.
func (o *Alert) GetStateIndexOk() (*int32, bool)
GetStateIndexOk returns a tuple with the StateIndex field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Alert) SetStateIndex(v int32)
SetStateIndex sets StateIndex field to given value.
func (o *Alert) GetUuid() string
GetUuid returns the Uuid field if non-nil, zero value otherwise.
func (o *Alert) GetUuidOk() (*string, bool)
GetUuidOk returns a tuple with the Uuid field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *Alert) SetUuid(v string)
SetUuid sets Uuid field to given value.
func (o *Alert) HasUuid() bool
HasUuid returns a boolean if a field has been set.