a ýÎòf‚ã@s8ddlmZmZmZddlmZeGdd„deƒƒZdS)é)Úformatted_flat_dictÚ NONE_SENTINELÚ#value_allowed_none_or_none_sentinel)Úinit_model_state_from_kwargsc@sheZdZdZdZdd„Zedd„ƒZejdd„ƒZedd „ƒZ e jd d „ƒZ d d „Z d d„Z dd„Z dS)ÚBackoffRetryPolicya  The backoff retry portion of the subscription delivery policy. For information about retry durations for subscriptions, see `How Notifications Works`__. __ https://docs.cloud.oracle.com/iaas/Content/Notification/Concepts/notificationoverview.htm#how Ú EXPONENTIALcKs(dddœ|_dddœ|_d|_d|_dS)aÄ Initializes a new BackoffRetryPolicy object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class): :param max_retry_duration: The value to assign to the max_retry_duration property of this BackoffRetryPolicy. :type max_retry_duration: int :param policy_type: The value to assign to the policy_type property of this BackoffRetryPolicy. Allowed values for this property are: "EXPONENTIAL", 'UNKNOWN_ENUM_VALUE'. Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'. :type policy_type: str ÚintÚstr)Úmax_retry_durationÚ policy_typeZmaxRetryDurationZ policyTypeN)Z swagger_typesZ attribute_mapÚ_max_retry_durationÚ _policy_type)ÚselfÚkwargs©rúG/usr/lib/python3.9/site-packages/oci/ons/models/backoff_retry_policy.pyÚ__init__sþþzBackoffRetryPolicy.__init__cCs|jS)a  **[Required]** Gets the max_retry_duration of this BackoffRetryPolicy. The maximum retry duration in milliseconds. Default value is `7200000` (2 hours). :return: The max_retry_duration of this BackoffRetryPolicy. :rtype: int ©r ©rrrrr 6s z%BackoffRetryPolicy.max_retry_durationcCs ||_dS)a Sets the max_retry_duration of this BackoffRetryPolicy. The maximum retry duration in milliseconds. Default value is `7200000` (2 hours). :param max_retry_duration: The max_retry_duration of this BackoffRetryPolicy. :type: int Nr)rr rrrr Bs cCs|jS)a{ **[Required]** Gets the policy_type of this BackoffRetryPolicy. The type of delivery policy. Allowed values for this property are: "EXPONENTIAL", 'UNKNOWN_ENUM_VALUE'. Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'. :return: The policy_type of this BackoffRetryPolicy. :rtype: str )r rrrrr Ns zBackoffRetryPolicy.policy_typecCsdg}t||ƒsd}||_dS)zÄ Sets the policy_type of this BackoffRetryPolicy. The type of delivery policy. :param policy_type: The policy_type of this BackoffRetryPolicy. :type: str rZUNKNOWN_ENUM_VALUEN)rr )rr Zallowed_valuesrrrr ]s  cCst|ƒS©N)rrrrrÚ__repr__lszBackoffRetryPolicy.__repr__cCs|dur dS|j|jkS)NF)Ú__dict__©rÚotherrrrÚ__eq__oszBackoffRetryPolicy.__eq__cCs ||k SrrrrrrÚ__ne__uszBackoffRetryPolicy.__ne__N) Ú__name__Ú __module__Ú __qualname__Ú__doc__ZPOLICY_TYPE_EXPONENTIALrÚpropertyr Úsetterr rrrrrrrr s     rN)Zoci.utilrrrZoci.decoratorsrÚobjectrrrrrÚs