a ýÎòf@ã@s8ddlmZmZmZddlmZeGdd„deƒƒZdS)é)Úformatted_flat_dictÚ NONE_SENTINELÚ#value_allowed_none_or_none_sentinel)Úinit_model_state_from_kwargsc@s~eZdZdZdd„Zedd„ƒZejdd„ƒZedd„ƒZejd d„ƒZed d „ƒZ e jd d „ƒZ d d„Z dd„Z dd„Z dS)ÚRotationConfigz[ Defines the frequency of the rotation and the information about the target system cKs2ddddœ|_ddddœ|_d|_d|_d|_dS) a Initializes a new RotationConfig object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class): :param rotation_interval: The value to assign to the rotation_interval property of this RotationConfig. :type rotation_interval: str :param target_system_details: The value to assign to the target_system_details property of this RotationConfig. :type target_system_details: oci.vault.models.TargetSystemDetails :param is_scheduled_rotation_enabled: The value to assign to the is_scheduled_rotation_enabled property of this RotationConfig. :type is_scheduled_rotation_enabled: bool ÚstrZTargetSystemDetailsÚbool)Úrotation_intervalÚtarget_system_detailsÚis_scheduled_rotation_enabledZrotationIntervalZtargetSystemDetailsZisScheduledRotationEnabledN)Z swagger_typesZ attribute_mapÚ_rotation_intervalÚ_target_system_detailsÚ_is_scheduled_rotation_enabled)ÚselfÚkwargs©rúD/usr/lib/python3.9/site-packages/oci/vault/models/rotation_config.pyÚ__init__sýýzRotationConfig.__init__cCs|jS)aÓ Gets the rotation_interval of this RotationConfig. The time interval that indicates the frequency for rotating secret data, as described in ISO 8601 format. The minimum value is 1 day and maximum value is 360 days. For example, if you want to set the time interval for rotating a secret data as 30 days, the duration is expressed as "P30D." :return: The rotation_interval of this RotationConfig. :rtype: str ©r ©rrrrr 4s z RotationConfig.rotation_intervalcCs ||_dS)aã Sets the rotation_interval of this RotationConfig. The time interval that indicates the frequency for rotating secret data, as described in ISO 8601 format. The minimum value is 1 day and maximum value is 360 days. For example, if you want to set the time interval for rotating a secret data as 30 days, the duration is expressed as "P30D." :param rotation_interval: The rotation_interval of this RotationConfig. :type: str Nr)rr rrrr Bs cCs|jS)zÐ **[Required]** Gets the target_system_details of this RotationConfig. :return: The target_system_details of this RotationConfig. :rtype: oci.vault.models.TargetSystemDetails ©r rrrrr Psz$RotationConfig.target_system_detailscCs ||_dS)zÕ Sets the target_system_details of this RotationConfig. :param target_system_details: The target_system_details of this RotationConfig. :type: oci.vault.models.TargetSystemDetails Nr)rr rrrr ZscCs|jS)a Gets the is_scheduled_rotation_enabled of this RotationConfig. Enables auto rotation, when set to true rotationInterval must be set. :return: The is_scheduled_rotation_enabled of this RotationConfig. :rtype: bool ©rrrrrr ds z,RotationConfig.is_scheduled_rotation_enabledcCs ||_dS)a Sets the is_scheduled_rotation_enabled of this RotationConfig. Enables auto rotation, when set to true rotationInterval must be set. :param is_scheduled_rotation_enabled: The is_scheduled_rotation_enabled of this RotationConfig. :type: bool Nr)rr rrrr ps cCst|ƒS©N)rrrrrÚ__repr__|szRotationConfig.__repr__cCs|dur dS|j|jkS)NF)Ú__dict__©rÚotherrrrÚ__eq__szRotationConfig.__eq__cCs ||k SrrrrrrÚ__ne__…szRotationConfig.__ne__N) Ú__name__Ú __module__Ú __qualname__Ú__doc__rÚpropertyr Úsetterr r rrrrrrrr s""      rN)Zoci.utilrrrZoci.decoratorsrÚobjectrrrrrÚs