Name | Type | Description | Notes |
---|---|---|---|
NotificationId | Pointer to int32 | The ID of the notification. | |
NotificationName | Pointer to string | The name of the notification. | |
EntityId | Pointer to int32 | The ID of the entity to which this notification belongs. For example, in case of a loyalty notification, this value is the ID of the loyalty program. | |
Enabled | Pointer to bool | Indicates whether the notification is activated. |
func (o *NotificationListItem) GetNotificationId() int32
GetNotificationId returns the NotificationId field if non-nil, zero value otherwise.
func (o *NotificationListItem) GetNotificationIdOk() (int32, bool)
GetNotificationIdOk returns a tuple with the NotificationId field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *NotificationListItem) HasNotificationId() bool
HasNotificationId returns a boolean if a field has been set.
func (o *NotificationListItem) SetNotificationId(v int32)
SetNotificationId gets a reference to the given int32 and assigns it to the NotificationId field.
func (o *NotificationListItem) GetNotificationName() string
GetNotificationName returns the NotificationName field if non-nil, zero value otherwise.
func (o *NotificationListItem) GetNotificationNameOk() (string, bool)
GetNotificationNameOk returns a tuple with the NotificationName field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *NotificationListItem) HasNotificationName() bool
HasNotificationName returns a boolean if a field has been set.
func (o *NotificationListItem) SetNotificationName(v string)
SetNotificationName gets a reference to the given string and assigns it to the NotificationName field.
func (o *NotificationListItem) GetEntityId() int32
GetEntityId returns the EntityId field if non-nil, zero value otherwise.
func (o *NotificationListItem) GetEntityIdOk() (int32, bool)
GetEntityIdOk returns a tuple with the EntityId field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *NotificationListItem) HasEntityId() bool
HasEntityId returns a boolean if a field has been set.
func (o *NotificationListItem) SetEntityId(v int32)
SetEntityId gets a reference to the given int32 and assigns it to the EntityId field.
func (o *NotificationListItem) GetEnabled() bool
GetEnabled returns the Enabled field if non-nil, zero value otherwise.
func (o *NotificationListItem) GetEnabledOk() (bool, bool)
GetEnabledOk returns a tuple with the Enabled field if it's non-nil, zero value otherwise and a boolean to check if the value has been set.
func (o *NotificationListItem) HasEnabled() bool
HasEnabled returns a boolean if a field has been set.
func (o *NotificationListItem) SetEnabled(v bool)
SetEnabled gets a reference to the given bool and assigns it to the Enabled field.