ruạṛ
a N��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 )�RevocationStatuszY The current revocation status of the certificate or certificate authority (CA). �UNSPECIFIED�KEY_COMPROMISE� CA_COMPROMISE�AFFILIATION_CHANGED� SUPERSEDED�CESSATION_OF_OPERATION�PRIVILEGE_WITHDRAWN� AA_COMPROMISEc K s( 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 �datetime�str)�time_revoked�revocation_reason�timeRevoked�revocationReasonN)� swagger_types� attribute_map� _time_revoked�_revocation_reason)�self�kwargs� r ��/sparta/input/_build_configuration/image_build+validate/lib/bmcenv/lib64/python3.9/site-packages/oci/certificates/models/revocation_status.py�__init__0 s ��zRevocationStatus.__init__c C s | j S )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 �r �r r r r r M s zRevocationStatus.time_revokedc C s || _ 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 )r r r r r r Y s c C s | j S )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 )r r r r r r e s z"RevocationStatus.revocation_reasonc C s g d�}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 )r r r r r r r r �UNKNOWN_ENUM_VALUEN)r r )r r �allowed_valuesr r r r t 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"