CustomFrequencyDetails

class oci.data_integration.models.CustomFrequencyDetails(**kwargs)

Bases: AbstractFrequencyDetails

Frequency details model to set cron-based frequency

Attributes:

FREQUENCY_CUSTOM

A constant which can be used with the frequency property of a AbstractFrequencyDetails.

FREQUENCY_DAILY

A constant which can be used with the frequency property of a AbstractFrequencyDetails.

FREQUENCY_HOURLY

A constant which can be used with the frequency property of a AbstractFrequencyDetails.

FREQUENCY_MONTHLY

A constant which can be used with the frequency property of a AbstractFrequencyDetails.

FREQUENCY_WEEKLY

A constant which can be used with the frequency property of a AbstractFrequencyDetails.

MODEL_TYPE_CUSTOM

A constant which can be used with the model_type property of a AbstractFrequencyDetails.

MODEL_TYPE_DAILY

A constant which can be used with the model_type property of a AbstractFrequencyDetails.

MODEL_TYPE_HOURLY

A constant which can be used with the model_type property of a AbstractFrequencyDetails.

MODEL_TYPE_MONTHLY

A constant which can be used with the model_type property of a AbstractFrequencyDetails.

MODEL_TYPE_MONTHLY_RULE

A constant which can be used with the model_type property of a AbstractFrequencyDetails.

MODEL_TYPE_WEEKLY

A constant which can be used with the model_type property of a AbstractFrequencyDetails.

custom_expression

Gets the custom_expression of this CustomFrequencyDetails.

frequency

Gets the frequency of this AbstractFrequencyDetails.

model_type

[Required] Gets the model_type of this AbstractFrequencyDetails.

Methods:

__init__(**kwargs)

Initializes a new CustomFrequencyDetails object with values from keyword arguments.

get_subtype(object_dictionary)

Given the hash representation of a subtype of this class, use the info in the hash to return the class of the subtype.

FREQUENCY_CUSTOM = 'CUSTOM'

A constant which can be used with the frequency property of a AbstractFrequencyDetails. This constant has a value of “CUSTOM”

FREQUENCY_DAILY = 'DAILY'

A constant which can be used with the frequency property of a AbstractFrequencyDetails. This constant has a value of “DAILY”

FREQUENCY_HOURLY = 'HOURLY'

A constant which can be used with the frequency property of a AbstractFrequencyDetails. This constant has a value of “HOURLY”

FREQUENCY_MONTHLY = 'MONTHLY'

A constant which can be used with the frequency property of a AbstractFrequencyDetails. This constant has a value of “MONTHLY”

FREQUENCY_WEEKLY = 'WEEKLY'

A constant which can be used with the frequency property of a AbstractFrequencyDetails. This constant has a value of “WEEKLY”

MODEL_TYPE_CUSTOM = 'CUSTOM'

A constant which can be used with the model_type property of a AbstractFrequencyDetails. This constant has a value of “CUSTOM”

MODEL_TYPE_DAILY = 'DAILY'

A constant which can be used with the model_type property of a AbstractFrequencyDetails. This constant has a value of “DAILY”

MODEL_TYPE_HOURLY = 'HOURLY'

A constant which can be used with the model_type property of a AbstractFrequencyDetails. This constant has a value of “HOURLY”

MODEL_TYPE_MONTHLY = 'MONTHLY'

A constant which can be used with the model_type property of a AbstractFrequencyDetails. This constant has a value of “MONTHLY”

MODEL_TYPE_MONTHLY_RULE = 'MONTHLY_RULE'

A constant which can be used with the model_type property of a AbstractFrequencyDetails. This constant has a value of “MONTHLY_RULE”

MODEL_TYPE_WEEKLY = 'WEEKLY'

A constant which can be used with the model_type property of a AbstractFrequencyDetails. This constant has a value of “WEEKLY”

__init__(**kwargs)

Initializes a new CustomFrequencyDetails object with values from keyword arguments. The default value of the model_type attribute of this class is CUSTOM and it should not be changed. The following keyword arguments are supported (corresponding to the getters/setters of this class):

Parameters
  • model_type (str) – The value to assign to the model_type property of this CustomFrequencyDetails. Allowed values for this property are: “HOURLY”, “DAILY”, “MONTHLY”, “WEEKLY”, “MONTHLY_RULE”, “CUSTOM”

  • frequency (str) – The value to assign to the frequency property of this CustomFrequencyDetails. Allowed values for this property are: “HOURLY”, “DAILY”, “MONTHLY”, “WEEKLY”, “CUSTOM”

  • custom_expression (str) – The value to assign to the custom_expression property of this CustomFrequencyDetails.

property custom_expression

Gets the custom_expression of this CustomFrequencyDetails. This holds the complete cron expression for this schedule, for example, 10 0/5 * * * ? that fires every 5 minutes, at 10 seconds after the minute (i.e. 10:00:10 am, 10:05:10 am, etc.)

Returns

The custom_expression of this CustomFrequencyDetails.

Return type

str

property frequency

Gets the frequency of this AbstractFrequencyDetails. the frequency of the schedule.

Allowed values for this property are: “HOURLY”, “DAILY”, “MONTHLY”, “WEEKLY”, “CUSTOM”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.

Returns

The frequency of this AbstractFrequencyDetails.

Return type

str

static get_subtype(object_dictionary)

Given the hash representation of a subtype of this class, use the info in the hash to return the class of the subtype.

property model_type

[Required] Gets the model_type of this AbstractFrequencyDetails. The type of the model

Allowed values for this property are: “HOURLY”, “DAILY”, “MONTHLY”, “WEEKLY”, “MONTHLY_RULE”, “CUSTOM”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.

Returns

The model_type of this AbstractFrequencyDetails.

Return type

str