Recurrence

class oci.os_management.models.Recurrence(**kwargs)

Bases: object

An object for representing a recurrence time interval

Attributes

INTERVAL_TYPE_DAYS A constant which can be used with the interval_type property of a Recurrence.
INTERVAL_TYPE_HOURS A constant which can be used with the interval_type property of a Recurrence.
INTERVAL_TYPE_MINUTES A constant which can be used with the interval_type property of a Recurrence.
INTERVAL_TYPE_WEEKS A constant which can be used with the interval_type property of a Recurrence.
interval_type [Required] Gets the interval_type of this Recurrence.
interval_value [Required] Gets the interval_value of this Recurrence.

Methods

__init__(**kwargs) Initializes a new Recurrence object with values from keyword arguments.
INTERVAL_TYPE_DAYS = 'DAYS'

A constant which can be used with the interval_type property of a Recurrence. This constant has a value of “DAYS”

INTERVAL_TYPE_HOURS = 'HOURS'

A constant which can be used with the interval_type property of a Recurrence. This constant has a value of “HOURS”

INTERVAL_TYPE_MINUTES = 'MINUTES'

A constant which can be used with the interval_type property of a Recurrence. This constant has a value of “MINUTES”

INTERVAL_TYPE_WEEKS = 'WEEKS'

A constant which can be used with the interval_type property of a Recurrence. This constant has a value of “WEEKS”

__init__(**kwargs)

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

Parameters:
  • interval_type (str) – The value to assign to the interval_type property of this Recurrence. Allowed values for this property are: “MINUTES”, “HOURS”, “DAYS”, “WEEKS”
  • interval_value (str) – The value to assign to the interval_value property of this Recurrence.
interval_type

[Required] Gets the interval_type of this Recurrence. the interval period for the recurrence

Allowed values for this property are: “MINUTES”, “HOURS”, “DAYS”, “WEEKS”

Returns:The interval_type of this Recurrence.
Return type:str
interval_value

[Required] Gets the interval_value of this Recurrence. the value for the interval period for the recurrence

Returns:The interval_value of this Recurrence.
Return type:str