HEX
Server: Apache
System: Linux pdx1-shared-a1-29 6.18.39-grsec-noble+ #4 SMP Thu Jul 23 07:53:29 UTC 2026 x86_64
User: dh_bj99yp (22285841)
PHP: 8.3.30
Disabled: NONE
Upload Files
File: //lib/python3/dist-packages/boto/vpc/__pycache__/internetgateway.cpython-312.pyc
�

ckF[
��L�dZddlmZddlmZGd�de�ZGd�de�Zy)	z 
Represents an Internet Gateway
�)�TaggedEC2Object)�	ResultSetc�6��eZdZd�fd�	Zd�Z�fd�Zd�Z�xZS)�InternetGatewayc�H��tt|�|�d|_g|_y�N)�superr�__init__�id�attachments)�self�
connection�	__class__s  ��:/usr/lib/python3/dist-packages/boto/vpc/internetgateway.pyr
zInternetGateway.__init__s!���
�o�t�-�j�9�������c� �d|jzS)NzInternetGateway:%s)r�r
s r�__repr__zInternetGateway.__repr__#s��#�d�g�g�-�-rc���tt|�|||�}|�|S|dk(r#tdtfg�|_|j
Sy)N�
attachmentSet�item)r	r�startElementr�InternetGatewayAttachmentr)r
�name�attrsr�resultrs     �rrzInternetGateway.startElement&sP������:�4��
�S�����M��?�"�(�6�3L�*M�)N�O�D���#�#�#�rc�8�|dk(r||_yt|||�y)N�internetGatewayId)r�setattr�r
r�valuers    r�
endElementzInternetGateway.endElement3s���&�&��D�G��D�$��&rr)�__name__�
__module__�__qualname__r
rrr"�
__classcell__)rs@rrrs����
.��'rrc�&�eZdZdd�Zd�Zd�Zd�Zy)rNc� �d|_d|_yr��vpc_id�state)r
rs  rr
z"InternetGatewayAttachment.__init__:s�������
rc� �d|jzS)NzInternetGatewayAttachment:%s)r*rs rrz"InternetGatewayAttachment.__repr__>s��-����;�;rc��yr�)r
rrrs    rrz&InternetGatewayAttachment.startElementAs��rc�8�|dk(r||_y|dk(r||_yy)N�vpcIdr+r)r s    rr"z$InternetGatewayAttachment.endElementDs#���7�?��D�K�
�W�_��D�J�rr)r#r$r%r
rrr"r.rrrr9s���<��rrN)�__doc__�boto.ec2.ec2objectr�boto.resultsetrr�objectrr.rr�<module>r5s*��,�/�$�'�o�'�8��r