CustomFrequencyDetails¶
-
class
oci.data_integration.models.
CustomFrequencyDetails
(**kwargs)¶ Bases:
oci.data_integration.models.abstract_frequency_details.AbstractFrequencyDetails
Frequency details model to set cron-based frequency
Attributes
FREQUENCY_CUSTOM
str(object=’’) -> str FREQUENCY_DAILY
str(object=’’) -> str FREQUENCY_HOURLY
str(object=’’) -> str FREQUENCY_MONTHLY
str(object=’’) -> str FREQUENCY_WEEKLY
str(object=’’) -> str MODEL_TYPE_CUSTOM
str(object=’’) -> str MODEL_TYPE_DAILY
str(object=’’) -> str MODEL_TYPE_HOURLY
str(object=’’) -> str MODEL_TYPE_MONTHLY
str(object=’’) -> str MODEL_TYPE_MONTHLY_RULE
str(object=’’) -> str MODEL_TYPE_WEEKLY
str(object=’’) -> str 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'¶
-
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_type
attribute of this class isCUSTOM
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.
-
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
-