a Nf@s8ddlmZmZmZddlmZeGdddeZdS))formatted_flat_dict NONE_SENTINEL#value_allowed_none_or_none_sentinel)init_model_state_from_kwargsc@seZdZdZdZdZdZdZdZdZ dZ d Z d d Z e d d Zejdd Ze ddZejddZddZddZddZdS)RevocationStatuszY The current revocation status of the certificate or certificate authority (CA). UNSPECIFIEDKEY_COMPROMISE CA_COMPROMISEAFFILIATION_CHANGED SUPERSEDEDCESSATION_OF_OPERATIONPRIVILEGE_WITHDRAWN AA_COMPROMISEcKs(ddd|_ddd|_d|_d|_dS)aM Initializes a new RevocationStatus object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class): :param time_revoked: The value to assign to the time_revoked property of this RevocationStatus. :type time_revoked: datetime :param revocation_reason: The value to assign to the revocation_reason property of this RevocationStatus. Allowed values for this property are: "UNSPECIFIED", "KEY_COMPROMISE", "CA_COMPROMISE", "AFFILIATION_CHANGED", "SUPERSEDED", "CESSATION_OF_OPERATION", "PRIVILEGE_WITHDRAWN", "AA_COMPROMISE", 'UNKNOWN_ENUM_VALUE'. Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'. :type revocation_reason: str datetimestr) time_revokedrevocation_reason timeRevokedrevocationReasonN) swagger_types attribute_map _time_revoked_revocation_reason)selfkwargsr/sparta/input/_build_configuration/image_build+validate/lib/bmcenv/lib64/python3.9/site-packages/oci/certificates/models/revocation_status.py__init__0szRevocationStatus.__init__cCs|jS)z **[Required]** Gets the time_revoked of this RevocationStatus. The time when the certificate or CA was revoked. :return: The time_revoked of this RevocationStatus. :rtype: datetime rrrrrrMs zRevocationStatus.time_revokedcCs ||_dS)z Sets the time_revoked of this RevocationStatus. The time when the certificate or CA was revoked. :param time_revoked: The time_revoked of this RevocationStatus. :type: datetime Nr)rrrrrrYs cCs|jS)a# **[Required]** Gets the revocation_reason of this RevocationStatus. The reason that the certificate or CA was revoked. Allowed values for this property are: "UNSPECIFIED", "KEY_COMPROMISE", "CA_COMPROMISE", "AFFILIATION_CHANGED", "SUPERSEDED", "CESSATION_OF_OPERATION", "PRIVILEGE_WITHDRAWN", "AA_COMPROMISE", 'UNKNOWN_ENUM_VALUE'. Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'. :return: The revocation_reason of this RevocationStatus. :rtype: str )rrrrrres z"RevocationStatus.revocation_reasoncCs gd}t||sd}||_dS)z Sets the revocation_reason of this RevocationStatus. The reason that the certificate or CA was revoked. :param revocation_reason: The revocation_reason of this RevocationStatus. :type: str )rrr r r r r rUNKNOWN_ENUM_VALUEN)rr)rrallowed_valuesrrrrts  cCst|SN)rrrrr__repr__szRevocationStatus.__repr__cCs|dur dS|j|jkS)NF)__dict__rotherrrr__eq__szRevocationStatus.__eq__cCs ||k Sr"rr%rrr__ne__szRevocationStatus.__ne__N)__name__ __module__ __qualname____doc__REVOCATION_REASON_UNSPECIFIED REVOCATION_REASON_KEY_COMPROMISEREVOCATION_REASON_CA_COMPROMISE%REVOCATION_REASON_AFFILIATION_CHANGEDREVOCATION_REASON_SUPERSEDED(REVOCATION_REASON_CESSATION_OF_OPERATION%REVOCATION_REASON_PRIVILEGE_WITHDRAWNREVOCATION_REASON_AA_COMPROMISErpropertyrsetterrr#r'r(rrrrr s*    rN)oci.utilrrroci.decoratorsrobjectrrrrrs