HEX
Server: Apache/2.4.52 (Ubuntu)
System: Linux spn-python 5.15.0-89-generic #99-Ubuntu SMP Mon Oct 30 20:42:41 UTC 2023 x86_64
User: arjun (1000)
PHP: 8.1.2-1ubuntu2.20
Disabled: NONE
Upload Files
File: //home/arjun/projects/env/lib64/python3.10/site-packages/boto/ec2/__pycache__/zone.cpython-310.pyc
o

we)
�@s4dZddlmZGdd�de�ZGdd�de�ZdS)z%
Represents an EC2 Availability Zone
�)�	EC2Objectc@s eZdZdZdd�Zdd�ZdS)�
MessageSetzX
    A list object that contains messages associated with
    an availability zone.
    cCsdS�N���self�name�attrs�
connectionrr�F/home/arjun/projects/env/lib/python3.10/site-packages/boto/ec2/zone.py�startElement"szMessageSet.startElementcCs&|dkr|�|�dSt|||�dS)N�message)�append�setattr�rr�valuer
rrr�
endElement%szMessageSet.endElementN)�__name__�
__module__�__qualname__�__doc__rrrrrrrsrcs:eZdZdZd�fdd�	Zdd�Zdd�Zd	d
�Z�ZS)�Zonea
    Represents an Availability Zone.

    :ivar name: The name of the zone.
    :ivar state: The current state of the zone.
    :ivar region_name: The name of the region the zone is associated with.
    :ivar messages: A list of messages related to the zone.
    Ncs,tt|��|�d|_d|_d|_d|_dSr)�superr�__init__r�state�region_name�messages)rr
��	__class__rrr6s

z
Zone.__init__cCs
d|jS)NzZone:%s)r)rrrr�__repr__=s
z
Zone.__repr__cCs|dkrt�|_|jSdS)N�
messageSet)rrrrrrr@szZone.startElementcCsF|dkr	||_dS|dkr||_dS|dkr||_dSt|||�dS)N�zoneName�	zoneState�
regionName)rrrrrrrrrFs


zZone.endElementr)	rrrrrrrr�
__classcell__rrrrr,s	rN)r�boto.ec2.ec2objectr�listrrrrrr�<module>s