PoolSchedule¶
-
class
oci.data_flow.models.PoolSchedule(**kwargs)¶ Bases:
objectDefinition of when pool auto start or stop for a given day of a week.
Attributes
DAY_OF_WEEK_FRIDAYA constant which can be used with the day_of_week property of a PoolSchedule. DAY_OF_WEEK_MONDAYA constant which can be used with the day_of_week property of a PoolSchedule. DAY_OF_WEEK_SATURDAYA constant which can be used with the day_of_week property of a PoolSchedule. DAY_OF_WEEK_SUNDAYA constant which can be used with the day_of_week property of a PoolSchedule. DAY_OF_WEEK_THURSDAYA constant which can be used with the day_of_week property of a PoolSchedule. DAY_OF_WEEK_TUESDAYA constant which can be used with the day_of_week property of a PoolSchedule. DAY_OF_WEEK_WEDNESDAYA constant which can be used with the day_of_week property of a PoolSchedule. day_of_weekGets the day_of_week of this PoolSchedule. start_timeGets the start_time of this PoolSchedule. stop_timeGets the stop_time of this PoolSchedule. Methods
__init__(**kwargs)Initializes a new PoolSchedule object with values from keyword arguments. -
DAY_OF_WEEK_FRIDAY= 'FRIDAY'¶ A constant which can be used with the day_of_week property of a PoolSchedule. This constant has a value of “FRIDAY”
-
DAY_OF_WEEK_MONDAY= 'MONDAY'¶ A constant which can be used with the day_of_week property of a PoolSchedule. This constant has a value of “MONDAY”
-
DAY_OF_WEEK_SATURDAY= 'SATURDAY'¶ A constant which can be used with the day_of_week property of a PoolSchedule. This constant has a value of “SATURDAY”
-
DAY_OF_WEEK_SUNDAY= 'SUNDAY'¶ A constant which can be used with the day_of_week property of a PoolSchedule. This constant has a value of “SUNDAY”
-
DAY_OF_WEEK_THURSDAY= 'THURSDAY'¶ A constant which can be used with the day_of_week property of a PoolSchedule. This constant has a value of “THURSDAY”
-
DAY_OF_WEEK_TUESDAY= 'TUESDAY'¶ A constant which can be used with the day_of_week property of a PoolSchedule. This constant has a value of “TUESDAY”
-
DAY_OF_WEEK_WEDNESDAY= 'WEDNESDAY'¶ A constant which can be used with the day_of_week property of a PoolSchedule. This constant has a value of “WEDNESDAY”
-
__init__(**kwargs)¶ Initializes a new PoolSchedule object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):
Parameters: - day_of_week (str) – The value to assign to the day_of_week property of this PoolSchedule. Allowed values for this property are: “SUNDAY”, “MONDAY”, “TUESDAY”, “WEDNESDAY”, “THURSDAY”, “FRIDAY”, “SATURDAY”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
- start_time (int) – The value to assign to the start_time property of this PoolSchedule.
- stop_time (int) – The value to assign to the stop_time property of this PoolSchedule.
-
day_of_week¶ Gets the day_of_week of this PoolSchedule. Day of the week SUN-SAT
Allowed values for this property are: “SUNDAY”, “MONDAY”, “TUESDAY”, “WEDNESDAY”, “THURSDAY”, “FRIDAY”, “SATURDAY”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
Returns: The day_of_week of this PoolSchedule. Return type: str
-
start_time¶ Gets the start_time of this PoolSchedule. Hour of the day to start or stop pool.
Returns: The start_time of this PoolSchedule. Return type: int
-
stop_time¶ Gets the stop_time of this PoolSchedule. Hour of the day to stop the pool.
Returns: The stop_time of this PoolSchedule. Return type: int
-