a fI@sDddlmZddlmZmZmZddlmZeGdddeZdS)) BackupPolicy)formatted_flat_dict NONE_SENTINEL#value_allowed_none_or_none_sentinel)init_model_state_from_kwargsc@seZdZdZdZdZdZdZdZdZ dZ d d Z e d d Z e jd d Z e ddZejddZddZddZddZdS)WeeklyBackupPolicyz Weekly backup policy. SUNDAYMONDAYTUESDAY WEDNESDAYTHURSDAYFRIDAYSATURDAYcKsBddddd|_ddddd|_d |_d |_d |_d |_d |_d S) a Initializes a new WeeklyBackupPolicy object with values from keyword arguments. The default value of the :py:attr:`~oci.psql.models.WeeklyBackupPolicy.kind` attribute of this class is ``WEEKLY`` and it should not be changed. The following keyword arguments are supported (corresponding to the getters/setters of this class): :param kind: The value to assign to the kind property of this WeeklyBackupPolicy. Allowed values for this property are: "DAILY", "WEEKLY", "MONTHLY", "NONE", 'UNKNOWN_ENUM_VALUE'. Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'. :type kind: str :param retention_days: The value to assign to the retention_days property of this WeeklyBackupPolicy. :type retention_days: int :param days_of_the_week: The value to assign to the days_of_the_week property of this WeeklyBackupPolicy. Allowed values for items in this list 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'. :type days_of_the_week: list[str] :param backup_start: The value to assign to the backup_start property of this WeeklyBackupPolicy. :type backup_start: str strintz list[str])kindZretention_daysdays_of_the_week backup_startrZ retentionDaysZ daysOfTheWeekZ backupStartNZWEEKLY)Z swagger_typesZ attribute_mapZ_kindZ_retention_days_days_of_the_week _backup_start)selfkwargsrH/usr/lib/python3.9/site-packages/oci/psql/models/weekly_backup_policy.py__init__.szWeeklyBackupPolicy.__init__cCs|jS)a **[Required]** Gets the days_of_the_week of this WeeklyBackupPolicy. The day of the week that the backup starts. Allowed values for items in this list 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'. :return: The days_of_the_week of this WeeklyBackupPolicy. :rtype: list[str] rrrrrr]s z#WeeklyBackupPolicy.days_of_the_weekcs0gd|r&fdd|D|dd<||_dS)z Sets the days_of_the_week of this WeeklyBackupPolicy. The day of the week that the backup starts. :param days_of_the_week: The days_of_the_week of this WeeklyBackupPolicy. :type: list[str] )r r r r r rrcsg|]}t|sdn|qS)ZUNKNOWN_ENUM_VALUE)r).0xZallowed_valuesrr xz7WeeklyBackupPolicy.days_of_the_week..Nr)rrrr rrls cCs|jS)z **[Required]** Gets the backup_start of this WeeklyBackupPolicy. Hour of the day when the backup starts. :return: The backup_start of this WeeklyBackupPolicy. :rtype: str rrrrrr{s zWeeklyBackupPolicy.backup_startcCs ||_dS)z Sets the backup_start of this WeeklyBackupPolicy. Hour of the day when the backup starts. :param backup_start: The backup_start of this WeeklyBackupPolicy. :type: str Nr#)rrrrrrs cCst|SN)rrrrr__repr__szWeeklyBackupPolicy.__repr__cCs|dur dS|j|jkS)NF)__dict__rotherrrr__eq__szWeeklyBackupPolicy.__eq__cCs ||k Sr$rr'rrr__ne__szWeeklyBackupPolicy.__ne__N)__name__ __module__ __qualname____doc__ZDAYS_OF_THE_WEEK_SUNDAYZDAYS_OF_THE_WEEK_MONDAYZDAYS_OF_THE_WEEK_TUESDAYZDAYS_OF_THE_WEEK_WEDNESDAYZDAYS_OF_THE_WEEK_THURSDAYZDAYS_OF_THE_WEEK_FRIDAYZDAYS_OF_THE_WEEK_SATURDAYrpropertyrsetterrr%r)r*rrrrr s(/    rN) Z backup_policyrZoci.utilrrrZoci.decoratorsrrrrrrs