o
    ëÉ¶dJ  ã                   @   s8   d dl mZmZmZ d dlmZ eG dd„ deƒƒZdS )é    )Úformatted_flat_dictÚNONE_SENTINELÚ#value_allowed_none_or_none_sentinel)Úinit_model_state_from_kwargsc                   @   sd   e Zd ZdZdd„ Zedd„ ƒZejdd„ ƒZedd„ ƒZejd	d„ ƒZd
d„ Z	dd„ Z
dd„ ZdS )ÚStateChangez9
    A container object for state change attributes.
    c                 K   s(   dddœ| _ dddœ| _d| _d| _dS )aè  
        Initializes a new StateChange object with values from keyword arguments.
        The following keyword arguments are supported (corresponding to the getters/setters of this class):

        :param previous:
            The value to assign to the previous property of this StateChange.
        :type previous: dict(str, object)

        :param current:
            The value to assign to the current property of this StateChange.
        :type current: dict(str, object)

        zdict(str, object))ÚpreviousÚcurrentr   r   N)Zswagger_typesZattribute_mapÚ	_previousÚ_current)ÚselfÚkwargs© r   úAusr/lib/python3.10/site-packages/oci/audit/models/state_change.pyÚ__init__   s   þþ
zStateChange.__init__c                 C   ó   | j S )ak  
        Gets the previous of this StateChange.
        Provides the previous state of fields that may have changed during an operation. To determine
        how the current operation changed a resource, compare the information in this attribute to
        `current`.


        :return: The previous of this StateChange.
        :rtype: dict(str, object)
        ©r	   ©r   r   r   r   r   -   ó   zStateChange.previousc                 C   ó
   || _ dS )ar  
        Sets the previous of this StateChange.
        Provides the previous state of fields that may have changed during an operation. To determine
        how the current operation changed a resource, compare the information in this attribute to
        `current`.


        :param previous: The previous of this StateChange.
        :type: dict(str, object)
        Nr   )r   r   r   r   r   r   ;   ó   
c                 C   r   )ai  
        Gets the current of this StateChange.
        Provides the current state of fields that may have changed during an operation. To determine
        how the current operation changed a resource, compare the information in this attribute to
        `previous`.


        :return: The current of this StateChange.
        :rtype: dict(str, object)
        ©r
   r   r   r   r   r   I   r   zStateChange.currentc                 C   r   )ao  
        Sets the current of this StateChange.
        Provides the current state of fields that may have changed during an operation. To determine
        how the current operation changed a resource, compare the information in this attribute to
        `previous`.


        :param current: The current of this StateChange.
        :type: dict(str, object)
        Nr   )r   r   r   r   r   r   W   r   c                 C   s   t | ƒS ©N)r   r   r   r   r   Ú__repr__e   s   zStateChange.__repr__c                 C   s   |d u rdS | j |j kS )NF)Ú__dict__©r   Úotherr   r   r   Ú__eq__h   s   zStateChange.__eq__c                 C   s
   | |k S r   r   r   r   r   r   Ú__ne__n   s   
zStateChange.__ne__N)Ú__name__Ú
__module__Ú__qualname__Ú__doc__r   Úpropertyr   Úsetterr   r   r   r   r   r   r   r   r      s    



r   N)Zoci.utilr   r   r   Zoci.decoratorsr   Úobjectr   r   r   r   r   Ú<module>   s   