CustomFrequencyDetails¶
-
class
oci.data_integration.models.CustomFrequencyDetails(**kwargs)¶ Bases:
oci.data_integration.models.abstract_frequency_details.AbstractFrequencyDetailsFrequency details model to set cron-based frequency
Attributes
FREQUENCY_CUSTOMstr(object=’’) -> str FREQUENCY_DAILYstr(object=’’) -> str FREQUENCY_HOURLYstr(object=’’) -> str FREQUENCY_MONTHLYstr(object=’’) -> str FREQUENCY_WEEKLYstr(object=’’) -> str MODEL_TYPE_CUSTOMstr(object=’’) -> str MODEL_TYPE_DAILYstr(object=’’) -> str MODEL_TYPE_HOURLYstr(object=’’) -> str MODEL_TYPE_MONTHLYstr(object=’’) -> str MODEL_TYPE_MONTHLY_RULEstr(object=’’) -> str MODEL_TYPE_WEEKLYstr(object=’’) -> str custom_expressionGets the custom_expression of this CustomFrequencyDetails. frequencyGets 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'¶
-
FREQUENCY_DAILY= 'DAILY'¶
-
FREQUENCY_HOURLY= 'HOURLY'¶
-
FREQUENCY_MONTHLY= 'MONTHLY'¶
-
FREQUENCY_WEEKLY= 'WEEKLY'¶
-
MODEL_TYPE_CUSTOM= 'CUSTOM'¶
-
MODEL_TYPE_DAILY= 'DAILY'¶
-
MODEL_TYPE_HOURLY= 'HOURLY'¶
-
MODEL_TYPE_MONTHLY= 'MONTHLY'¶
-
MODEL_TYPE_MONTHLY_RULE= 'MONTHLY_RULE'¶
-
MODEL_TYPE_WEEKLY= 'WEEKLY'¶
-
__init__(**kwargs)¶ Initializes a new CustomFrequencyDetails object with values from keyword arguments. The default value of the
model_typeattribute of this class isCUSTOMand 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.
-
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
-
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.
-
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
-