Skip to content
This repository was archived by the owner on Jul 15, 2025. It is now read-only.

Latest commit

 

History

History
119 lines (64 loc) · 3.02 KB

File metadata and controls

119 lines (64 loc) · 3.02 KB

Notification

Properties

Name Type Description Notes
Name string name of the service that was updated
Event string
Type string
Payload Pointer to NotificationPayload [optional]

Methods

NewNotification

func NewNotification(name string, event string, type_ string, ) *Notification

NewNotification instantiates a new Notification 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

NewNotificationWithDefaults

func NewNotificationWithDefaults() *Notification

NewNotificationWithDefaults instantiates a new Notification 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

GetName

func (o *Notification) GetName() string

GetName returns the Name field if non-nil, zero value otherwise.

GetNameOk

func (o *Notification) 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.

SetName

func (o *Notification) SetName(v string)

SetName sets Name field to given value.

GetEvent

func (o *Notification) GetEvent() string

GetEvent returns the Event field if non-nil, zero value otherwise.

GetEventOk

func (o *Notification) GetEventOk() (*string, bool)

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

SetEvent

func (o *Notification) SetEvent(v string)

SetEvent sets Event field to given value.

GetType

func (o *Notification) GetType() string

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

GetTypeOk

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

SetType sets Type field to given value.

GetPayload

func (o *Notification) GetPayload() NotificationPayload

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

GetPayloadOk

func (o *Notification) GetPayloadOk() (*NotificationPayload, 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 *Notification) SetPayload(v NotificationPayload)

SetPayload sets Payload field to given value.

HasPayload

func (o *Notification) HasPayload() bool

HasPayload returns a boolean if a field has been set.

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