Name | Type | Description | Notes |
---|---|---|---|
Body | Pointer to NullableString | A full description of this notification, in markdown format. Not all notifications include a `body`. | [optional] [readonly] |
Entity | Pointer to GetNotifications200ResponseDataInnerEntity | [optional] | |
Label | Pointer to string | A short description of this notification. | [optional] [readonly] |
Message | Pointer to string | A human-readable description of the notification. | [optional] [readonly] |
Severity | Pointer to string | The severity of this notification. This field determines how prominently the notification is displayed and the color of the display text. | [optional] [readonly] |
Type | Pointer to string | The type of notification. | [optional] [readonly] |
Until | Pointer to time.Time | If this notification has a duration, this is when the event or action will complete. For example, if there's scheduled maintenance for one of our systems, `until` represents the end of the maintenance window. | [optional] [readonly] |
When | Pointer to time.Time | If this notification is for an event in the future, this specifies when the action occurs. For example, if a compute instance needs to migrate in response to a security advisory, this field sets the approximate time the compute instance will be taken offline for migration. | [optional] [readonly] |
func NewGetNotifications200ResponseDataInner() *GetNotifications200ResponseDataInner
NewGetNotifications200ResponseDataInner instantiates a new GetNotifications200ResponseDataInner 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 NewGetNotifications200ResponseDataInnerWithDefaults() *GetNotifications200ResponseDataInner
NewGetNotifications200ResponseDataInnerWithDefaults instantiates a new GetNotifications200ResponseDataInner 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 *GetNotifications200ResponseDataInner) GetBody() string
GetBody returns the Body field if non-nil, zero value otherwise.
func (o *GetNotifications200ResponseDataInner) GetBodyOk() (*string, bool)
GetBodyOk returns a tuple with the Body field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *GetNotifications200ResponseDataInner) SetBody(v string)
SetBody sets Body field to given value.
func (o *GetNotifications200ResponseDataInner) HasBody() bool
HasBody returns a boolean if a field has been set.
func (o *GetNotifications200ResponseDataInner) SetBodyNil(b bool)
SetBodyNil sets the value for Body to be an explicit nil
func (o *GetNotifications200ResponseDataInner) UnsetBody()
UnsetBody ensures that no value is present for Body, not even an explicit nil
func (o *GetNotifications200ResponseDataInner) GetEntity() GetNotifications200ResponseDataInnerEntity
GetEntity returns the Entity field if non-nil, zero value otherwise.
func (o *GetNotifications200ResponseDataInner) GetEntityOk() (*GetNotifications200ResponseDataInnerEntity, bool)
GetEntityOk returns a tuple with the Entity field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *GetNotifications200ResponseDataInner) SetEntity(v GetNotifications200ResponseDataInnerEntity)
SetEntity sets Entity field to given value.
func (o *GetNotifications200ResponseDataInner) HasEntity() bool
HasEntity returns a boolean if a field has been set.
func (o *GetNotifications200ResponseDataInner) GetLabel() string
GetLabel returns the Label field if non-nil, zero value otherwise.
func (o *GetNotifications200ResponseDataInner) GetLabelOk() (*string, bool)
GetLabelOk returns a tuple with the Label field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *GetNotifications200ResponseDataInner) SetLabel(v string)
SetLabel sets Label field to given value.
func (o *GetNotifications200ResponseDataInner) HasLabel() bool
HasLabel returns a boolean if a field has been set.
func (o *GetNotifications200ResponseDataInner) GetMessage() string
GetMessage returns the Message field if non-nil, zero value otherwise.
func (o *GetNotifications200ResponseDataInner) 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 *GetNotifications200ResponseDataInner) SetMessage(v string)
SetMessage sets Message field to given value.
func (o *GetNotifications200ResponseDataInner) HasMessage() bool
HasMessage returns a boolean if a field has been set.
func (o *GetNotifications200ResponseDataInner) GetSeverity() string
GetSeverity returns the Severity field if non-nil, zero value otherwise.
func (o *GetNotifications200ResponseDataInner) 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 *GetNotifications200ResponseDataInner) SetSeverity(v string)
SetSeverity sets Severity field to given value.
func (o *GetNotifications200ResponseDataInner) HasSeverity() bool
HasSeverity returns a boolean if a field has been set.
func (o *GetNotifications200ResponseDataInner) GetType() string
GetType returns the Type field if non-nil, zero value otherwise.
func (o *GetNotifications200ResponseDataInner) 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 *GetNotifications200ResponseDataInner) SetType(v string)
SetType sets Type field to given value.
func (o *GetNotifications200ResponseDataInner) HasType() bool
HasType returns a boolean if a field has been set.
func (o *GetNotifications200ResponseDataInner) GetUntil() time.Time
GetUntil returns the Until field if non-nil, zero value otherwise.
func (o *GetNotifications200ResponseDataInner) GetUntilOk() (*time.Time, bool)
GetUntilOk returns a tuple with the Until field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *GetNotifications200ResponseDataInner) SetUntil(v time.Time)
SetUntil sets Until field to given value.
func (o *GetNotifications200ResponseDataInner) HasUntil() bool
HasUntil returns a boolean if a field has been set.
func (o *GetNotifications200ResponseDataInner) GetWhen() time.Time
GetWhen returns the When field if non-nil, zero value otherwise.
func (o *GetNotifications200ResponseDataInner) GetWhenOk() (*time.Time, bool)
GetWhenOk returns a tuple with the When field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *GetNotifications200ResponseDataInner) SetWhen(v time.Time)
SetWhen sets When field to given value.
func (o *GetNotifications200ResponseDataInner) HasWhen() bool
HasWhen returns a boolean if a field has been set.