o ckF[) ã@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ú//usr/lib/python3/dist-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 rrrrr rs 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__rr r6s  z Zone.__init__cCs d|jS)NzZone:%s)r)rrrr Ú__repr__=s z Zone.__repr__cCs|dkr tƒ|_|jSdS)NÚ messageSet)rrrrrr r @szZone.startElementcCsF|dkr ||_dS|dkr||_dS|dkr||_dSt|||ƒdS)NÚzoneNameÚ zoneStateÚ regionName)rrrrrrrr rFs   zZone.endElementr) rrrrrrr rÚ __classcell__rrrr r,s  rN)rÚboto.ec2.ec2objectrÚlistrrrrrr Ús