HEX
Server: Apache
System: Linux pdx1-shared-a1-38 6.6.104-grsec-jammy+ #3 SMP Tue Sep 16 00:28:11 UTC 2025 x86_64
User: mmickelson (3396398)
PHP: 8.1.31
Disabled: NONE
Upload Files
File: //usr/lib/python3/dist-packages/boto/vpc/__pycache__/internetgateway.cpython-310.pyc
o

ckF[
�@s@dZddlmZddlmZGdd�de�ZGdd�de�ZdS)	z 
Represents an Internet Gateway
�)�TaggedEC2Object)�	ResultSetcs:eZdZd
�fdd�	Zdd�Z�fdd�Zdd	�Z�ZS)�InternetGatewayNcs tt|��|�d|_g|_dS�N)�superr�__init__�id�attachments��self�
connection��	__class__��:/usr/lib/python3/dist-packages/boto/vpc/internetgateway.pyrs
zInternetGateway.__init__cC�
d|jS)NzInternetGateway:%s)r�rrrr�__repr__#�
zInternetGateway.__repr__csBtt|��|||�}|dur|S|dkrtdtfg�|_|jSdS)N�
attachmentSet�item)rr�startElementr�InternetGatewayAttachmentr	)r�name�attrsr�resultr
rrr&szInternetGateway.startElementcCs"|dkr	||_dSt|||�dS)N�internetGatewayId)r�setattr�rr�valuerrrr�
endElement3s
zInternetGateway.endElementr)�__name__�
__module__�__qualname__rrrr �
__classcell__rrr
rrs

rc@s.eZdZd
dd�Zdd�Zdd�Zdd	�ZdS)rNcCsd|_d|_dSr��vpc_id�stater
rrrr:s
z"InternetGatewayAttachment.__init__cCr)NzInternetGatewayAttachment:%s)r&rrrrr>rz"InternetGatewayAttachment.__repr__cCsdSrr)rrrrrrrrAsz&InternetGatewayAttachment.startElementcCs(|dkr	||_dS|dkr||_dSdS)N�vpcIdr'r%rrrrr Ds


�z$InternetGatewayAttachment.endElementr)r!r"r#rrrr rrrrr9s

rN)�__doc__�boto.ec2.ec2objectr�boto.resultsetrr�objectrrrrr�<module>s