NotificationPreferences

class oci.fleet_apps_management.models.NotificationPreferences(**kwargs)

Bases: object

Conditions when met to send notifications on the fleet activities

Methods

__init__(**kwargs) Initializes a new NotificationPreferences object with values from keyword arguments.

Attributes

compartment_id [Required] Gets the compartment_id of this NotificationPreferences.
preferences Gets the preferences of this NotificationPreferences.
topic_id [Required] Gets the topic_id of this NotificationPreferences.
__init__(**kwargs)

Initializes a new NotificationPreferences object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):

Parameters:
  • topic_id (str) – The value to assign to the topic_id property of this NotificationPreferences.
  • compartment_id (str) – The value to assign to the compartment_id property of this NotificationPreferences.
  • preferences (oci.fleet_apps_management.models.Preferences) – The value to assign to the preferences property of this NotificationPreferences.
compartment_id

[Required] Gets the compartment_id of this NotificationPreferences. Copartment Id of the topic where the notifications will be directed

Returns:The compartment_id of this NotificationPreferences.
Return type:str
preferences

Gets the preferences of this NotificationPreferences.

Returns:The preferences of this NotificationPreferences.
Return type:oci.fleet_apps_management.models.Preferences
topic_id

[Required] Gets the topic_id of this NotificationPreferences. Topic Id where the notifications will be directed

Returns:The topic_id of this NotificationPreferences.
Return type:str