o
    ëÉ¶d  ã                   @   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                   @   s~   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ed
d„ ƒZ	e	jdd„ ƒZ	dd„ Z
dd„ Zdd„ ZdS )Ú
EdgeSubnetz0
    The details about an edge node subnet.
    c                 K   s2   ddddœ| _ ddddœ| _d| _d| _d| _dS )aQ  
        Initializes a new EdgeSubnet object with values from keyword arguments.
        The following keyword arguments are supported (corresponding to the getters/setters of this class):

        :param cidr:
            The value to assign to the cidr property of this EdgeSubnet.
        :type cidr: str

        :param time_modified:
            The value to assign to the time_modified property of this EdgeSubnet.
        :type time_modified: datetime

        :param region:
            The value to assign to the region property of this EdgeSubnet.
        :type region: str

        ÚstrÚdatetime)ÚcidrÚtime_modifiedÚregionr	   ZtimeModifiedr   N)Zswagger_typesZattribute_mapÚ_cidrÚ_time_modifiedÚ_region)ÚselfÚkwargs© r   ú?usr/lib/python3.10/site-packages/oci/waas/models/edge_subnet.pyÚ__init__   s   ýý
zEdgeSubnet.__init__c                 C   ó   | j S )zº
        Gets the cidr of this EdgeSubnet.
        An edge node subnet. This can include /24 or /8 addresses.


        :return: The cidr of this EdgeSubnet.
        :rtype: str
        ©r   ©r   r   r   r   r	   4   ó   
zEdgeSubnet.cidrc                 C   ó
   || _ dS )z½
        Sets the cidr of this EdgeSubnet.
        An edge node subnet. This can include /24 or /8 addresses.


        :param cidr: The cidr of this EdgeSubnet.
        :type: str
        Nr   )r   r	   r   r   r   r	   @   ó   

c                 C   r   )a  
        Gets the time_modified of this EdgeSubnet.
        The date and time the last change was made to the indicated edge node subnet, expressed in RFC 3339 timestamp format.


        :return: The time_modified of this EdgeSubnet.
        :rtype: datetime
        ©r   r   r   r   r   r
   L   r   zEdgeSubnet.time_modifiedc                 C   r   )a  
        Sets the time_modified of this EdgeSubnet.
        The date and time the last change was made to the indicated edge node subnet, expressed in RFC 3339 timestamp format.


        :param time_modified: The time_modified of this EdgeSubnet.
        :type: datetime
        Nr   )r   r
   r   r   r   r
   X   r   c                 C   r   )z»
        Gets the region of this EdgeSubnet.
        The name of the region containing the indicated subnet.


        :return: The region of this EdgeSubnet.
        :rtype: str
        ©r   r   r   r   r   r   d   r   zEdgeSubnet.regionc                 C   r   )zÀ
        Sets the region of this EdgeSubnet.
        The name of the region containing the indicated subnet.


        :param region: The region of this EdgeSubnet.
        :type: str
        Nr   )r   r   r   r   r   r   p   r   c                 C   s   t | ƒS ©N)r   r   r   r   r   Ú__repr__|   s   zEdgeSubnet.__repr__c                 C   s   |d u rdS | j |j kS )NF)Ú__dict__©r   Úotherr   r   r   Ú__eq__   s   zEdgeSubnet.__eq__c                 C   s
   | |k S r   r   r   r   r   r   Ú__ne__…   s   
zEdgeSubnet.__ne__N)Ú__name__Ú
__module__Ú__qualname__Ú__doc__r   Úpropertyr	   Úsetterr
   r   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   