a ýÎòfæã@sDddlmZddlmZmZmZddlmZeGdd„deƒƒZdS)é)Ú BackupPolicyé)Úformatted_flat_dictÚ NONE_SENTINELÚ#value_allowed_none_or_none_sentinel)Úinit_model_state_from_kwargsc@sdeZdZdZdd„Zedd„ƒZejdd„ƒZedd„ƒZejd d„ƒZd d „Z d d „Z dd„Z dS)ÚMonthlyBackupPolicyz Monthly backup policy. cKsBdddddœ|_dddddœ|_d |_d |_d |_d |_d |_d S) a$ Initializes a new MonthlyBackupPolicy object with values from keyword arguments. The default value of the :py:attr:`~oci.psql.models.MonthlyBackupPolicy.kind` attribute of this class is ``MONTHLY`` 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 MonthlyBackupPolicy. Allowed values for this property are: "DAILY", "WEEKLY", "MONTHLY", "NONE" :type kind: str :param retention_days: The value to assign to the retention_days property of this MonthlyBackupPolicy. :type retention_days: int :param backup_start: The value to assign to the backup_start property of this MonthlyBackupPolicy. :type backup_start: str :param days_of_the_month: The value to assign to the days_of_the_month property of this MonthlyBackupPolicy. :type days_of_the_month: list[int] ÚstrÚintz list[int])ÚkindZretention_daysÚ backup_startÚdays_of_the_monthr Z retentionDaysZ backupStartZdaysOfTheMonthNZMONTHLY)Z swagger_typesZ attribute_mapZ_kindZ_retention_daysÚ _backup_startÚ_days_of_the_month)ÚselfÚkwargs©rúI/usr/lib/python3.9/site-packages/oci/psql/models/monthly_backup_policy.pyÚ__init__süüzMonthlyBackupPolicy.__init__cCs|jS)zÔ **[Required]** Gets the backup_start of this MonthlyBackupPolicy. Hour of the day when backup starts. :return: The backup_start of this MonthlyBackupPolicy. :rtype: str ©r©rrrrr >s z MonthlyBackupPolicy.backup_startcCs ||_dS)zÐ Sets the backup_start of this MonthlyBackupPolicy. Hour of the day when backup starts. :param backup_start: The backup_start of this MonthlyBackupPolicy. :type: str Nr)rr rrrr Js cCs|jS)av **[Required]** Gets the days_of_the_month of this MonthlyBackupPolicy. Day of the month when the backup should start. To ensure that the backup runs monthly, the latest day of the month that you can use to schedule a backup is the the 28th day. :return: The days_of_the_month of this MonthlyBackupPolicy. :rtype: list[int] ©rrrrrr Vs z%MonthlyBackupPolicy.days_of_the_monthcCs ||_dS)aw Sets the days_of_the_month of this MonthlyBackupPolicy. Day of the month when the backup should start. To ensure that the backup runs monthly, the latest day of the month that you can use to schedule a backup is the the 28th day. :param days_of_the_month: The days_of_the_month of this MonthlyBackupPolicy. :type: list[int] Nr)rr rrrr cs cCst|ƒS©N)rrrrrÚ__repr__pszMonthlyBackupPolicy.__repr__cCs|dur dS|j|jkS)NF)Ú__dict__©rÚotherrrrÚ__eq__sszMonthlyBackupPolicy.__eq__cCs ||k SrrrrrrÚ__ne__yszMonthlyBackupPolicy.__ne__N) Ú__name__Ú __module__Ú __qualname__Ú__doc__rÚpropertyr Úsetterr rrrrrrrr s,    rN) Z backup_policyrZoci.utilrrrZoci.decoratorsrrrrrrÚs