TaskNotificationPreferences

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

Bases: object

Preferences to send notifications on the task activities.

Methods

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

Attributes

should_notify_on_pause Gets the should_notify_on_pause of this TaskNotificationPreferences.
should_notify_on_task_failure Gets the should_notify_on_task_failure of this TaskNotificationPreferences.
should_notify_on_task_success Gets the should_notify_on_task_success of this TaskNotificationPreferences.
__init__(**kwargs)

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

Parameters:
  • should_notify_on_pause (bool) – The value to assign to the should_notify_on_pause property of this TaskNotificationPreferences.
  • should_notify_on_task_failure (bool) – The value to assign to the should_notify_on_task_failure property of this TaskNotificationPreferences.
  • should_notify_on_task_success (bool) – The value to assign to the should_notify_on_task_success property of this TaskNotificationPreferences.
should_notify_on_pause

Gets the should_notify_on_pause of this TaskNotificationPreferences. Enables notification on pause.

Returns:The should_notify_on_pause of this TaskNotificationPreferences.
Return type:bool
should_notify_on_task_failure

Gets the should_notify_on_task_failure of this TaskNotificationPreferences. Enables or disables notification on Task Failures.

Returns:The should_notify_on_task_failure of this TaskNotificationPreferences.
Return type:bool
should_notify_on_task_success

Gets the should_notify_on_task_success of this TaskNotificationPreferences. Enables or disables notification on Task Success.

Returns:The should_notify_on_task_success of this TaskNotificationPreferences.
Return type:bool