ruạṛ
a ���f� � @ s8 d dl mZmZmZ d dlmZ eG dd� de��ZdS )� )�formatted_flat_dict� NONE_SENTINEL�#value_allowed_none_or_none_sentinel)�init_model_state_from_kwargsc @ s� e Zd ZdZdZdZdZdZdZdZ dZ d Zd d� Ze dd � �Zejdd � �Ze dd� �Zejdd� �Zdd� Zdd� Zdd� ZdS )�RevocationStatusz6 The current revocation status of the entity. �UNSPECIFIED�KEY_COMPROMISE� CA_COMPROMISE�AFFILIATION_CHANGED� SUPERSEDED�CESSATION_OF_OPERATION�PRIVILEGE_WITHDRAWN� AA_COMPROMISEc K s( ddd�| _ ddd�| _d| _d| _dS )a_ 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_of_revocation: The value to assign to the time_of_revocation property of this RevocationStatus. :type time_of_revocation: 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 Zdatetime�str)�time_of_revocation�revocation_reasonZtimeOfRevocationZrevocationReasonN)Z swagger_typesZ attribute_map�_time_of_revocation�_revocation_reason)�self�kwargs� r �X/usr/lib/python3.9/site-packages/oci/certificates_management/models/revocation_status.py�__init__2 s ��zRevocationStatus.__init__c C s | j S )ai **[Required]** Gets the time_of_revocation of this RevocationStatus. The time when the entity was revoked, expressed in `RFC 3339`__ timestamp format. Example: `2019-04-03T21:10:29.600Z` __ https://tools.ietf.org/html/rfc3339 :return: The time_of_revocation of this RevocationStatus. :rtype: datetime �r �r r r r r O s z#RevocationStatus.time_of_revocationc C s || _ dS )ak Sets the time_of_revocation of this RevocationStatus. The time when the entity was revoked, expressed in `RFC 3339`__ timestamp format. Example: `2019-04-03T21:10:29.600Z` __ https://tools.ietf.org/html/rfc3339 :param time_of_revocation: The time_of_revocation of this RevocationStatus. :type: datetime Nr )r r r r r r ^ s c C s | j S )a6 **[Required]** Gets the revocation_reason of this RevocationStatus. The reason the certificate or certificate authority (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 )r r r r r r m s z"RevocationStatus.revocation_reasonc C s g d�}t ||�sd}|| _dS )z� Sets the revocation_reason of this RevocationStatus. The reason the certificate or certificate authority (CA) was revoked. :param revocation_reason: The revocation_reason of this RevocationStatus. :type: str )r r r r r r r r ZUNKNOWN_ENUM_VALUEN)r r )r r Zallowed_valuesr r r r | s c C s t | �S �N)r r r r r �__repr__� s zRevocationStatus.__repr__c C s |d u rdS | j |j kS )NF)�__dict__�r �otherr r r �__eq__� s zRevocationStatus.__eq__c C s | |k S r r r r r r �__ne__� s zRevocationStatus.__ne__N)�__name__� __module__�__qualname__�__doc__ZREVOCATION_REASON_UNSPECIFIEDZ REVOCATION_REASON_KEY_COMPROMISEZREVOCATION_REASON_CA_COMPROMISEZ%REVOCATION_REASON_AFFILIATION_CHANGEDZREVOCATION_REASON_SUPERSEDEDZ(REVOCATION_REASON_CESSATION_OF_OPERATIONZ%REVOCATION_REASON_PRIVILEGE_WITHDRAWNZREVOCATION_REASON_AA_COMPROMISEr �propertyr �setterr r r r! r r r r r s* r N)Zoci.utilr r r Zoci.decoratorsr �objectr r r r r �<module> s
cải xoăn