o
    ɶdA                     @   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	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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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ed(d) Zejd*d) Zed+d, Zejd-d, Zd.d/ Zd0d1 Zd2d3 Zd4S )5GatewaySummaryz#
    A summary of the gateway.
    c                 K   s   ddddddddddddddd| _ ddd	d
ddddddddddd| _d| _d| _d| _d| _d| _d| _d| _d| _	d| _
d| _d| _d| _d| _d| _dS )a)	  
        Initializes a new GatewaySummary object with values from keyword arguments.
        The following keyword arguments are supported (corresponding to the getters/setters of this class):

        :param id:
            The value to assign to the id property of this GatewaySummary.
        :type id: str

        :param display_name:
            The value to assign to the display_name property of this GatewaySummary.
        :type display_name: str

        :param compartment_id:
            The value to assign to the compartment_id property of this GatewaySummary.
        :type compartment_id: str

        :param endpoint_type:
            The value to assign to the endpoint_type property of this GatewaySummary.
        :type endpoint_type: str

        :param subnet_id:
            The value to assign to the subnet_id property of this GatewaySummary.
        :type subnet_id: str

        :param network_security_group_ids:
            The value to assign to the network_security_group_ids property of this GatewaySummary.
        :type network_security_group_ids: list[str]

        :param time_created:
            The value to assign to the time_created property of this GatewaySummary.
        :type time_created: datetime

        :param time_updated:
            The value to assign to the time_updated property of this GatewaySummary.
        :type time_updated: datetime

        :param lifecycle_state:
            The value to assign to the lifecycle_state property of this GatewaySummary.
        :type lifecycle_state: str

        :param lifecycle_details:
            The value to assign to the lifecycle_details property of this GatewaySummary.
        :type lifecycle_details: str

        :param hostname:
            The value to assign to the hostname property of this GatewaySummary.
        :type hostname: str

        :param certificate_id:
            The value to assign to the certificate_id property of this GatewaySummary.
        :type certificate_id: str

        :param freeform_tags:
            The value to assign to the freeform_tags property of this GatewaySummary.
        :type freeform_tags: dict(str, str)

        :param defined_tags:
            The value to assign to the defined_tags property of this GatewaySummary.
        :type defined_tags: dict(str, dict(str, object))

        strz	list[str]datetimezdict(str, str)zdict(str, dict(str, object)))iddisplay_namecompartment_idendpoint_type	subnet_idnetwork_security_group_idstime_createdtime_updatedlifecycle_statelifecycle_detailshostnamecertificate_idfreeform_tagsdefined_tagsr	   ZdisplayNameZcompartmentIdZendpointTypeZsubnetIdZnetworkSecurityGroupIdsZtimeCreatedZtimeUpdatedZlifecycleStateZlifecycleDetailsr   ZcertificateIdZfreeformTagsZdefinedTagsN)Zswagger_typesZattribute_map_id_display_name_compartment_id_endpoint_type
_subnet_id_network_security_group_ids_time_created_time_updated_lifecycle_state_lifecycle_details	_hostname_certificate_id_freeform_tags_defined_tags)selfkwargs r'   Iusr/lib/python3.10/site-packages/oci/apigateway/models/gateway_summary.py__init__   sX   ?
zGatewaySummary.__init__c                 C      | j S )a  
        **[Required]** Gets the id of this GatewaySummary.
        The `OCID`__ of the resource.

        __ https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm


        :return: The id of this GatewaySummary.
        :rtype: str
        r   r%   r'   r'   r(   r	         zGatewaySummary.idc                 C   
   || _ dS )z
        Sets the id of this GatewaySummary.
        The `OCID`__ of the resource.

        __ https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm


        :param id: The id of this GatewaySummary.
        :type: str
        Nr+   )r%   r	   r'   r'   r(   r	         
c                 C   r*   )a3  
        Gets the display_name of this GatewaySummary.
        A user-friendly name. Does not have to be unique, and it's changeable.
        Avoid entering confidential information.

        Example: `My new resource`


        :return: The display_name of this GatewaySummary.
        :rtype: str
        r   r,   r'   r'   r(   r
         zGatewaySummary.display_namec                 C   r.   )a>  
        Sets the display_name of this GatewaySummary.
        A user-friendly name. Does not have to be unique, and it's changeable.
        Avoid entering confidential information.

        Example: `My new resource`


        :param display_name: The display_name of this GatewaySummary.
        :type: str
        Nr0   )r%   r
   r'   r'   r(   r
         
c                 C   r*   )aG  
        **[Required]** Gets the compartment_id of this GatewaySummary.
        The `OCID`__ of the compartment in which the
        resource is created.

        __ https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm


        :return: The compartment_id of this GatewaySummary.
        :rtype: str
        r   r,   r'   r'   r(   r      r1   zGatewaySummary.compartment_idc                 C   r.   )aE  
        Sets the compartment_id of this GatewaySummary.
        The `OCID`__ of the compartment in which the
        resource is created.

        __ https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm


        :param compartment_id: The compartment_id of this GatewaySummary.
        :type: str
        Nr3   )r%   r   r'   r'   r(   r      r2   c                 C   r*   )au  
        **[Required]** Gets the endpoint_type of this GatewaySummary.
        Gateway endpoint type. `PUBLIC` will have a public ip address assigned to it, while `PRIVATE` will only be
        accessible on a private IP address on the subnet.

        Example: `PUBLIC` or `PRIVATE`


        :return: The endpoint_type of this GatewaySummary.
        :rtype: str
        r   r,   r'   r'   r(   r      r1   zGatewaySummary.endpoint_typec                 C   r.   )ar  
        Sets the endpoint_type of this GatewaySummary.
        Gateway endpoint type. `PUBLIC` will have a public ip address assigned to it, while `PRIVATE` will only be
        accessible on a private IP address on the subnet.

        Example: `PUBLIC` or `PRIVATE`


        :param endpoint_type: The endpoint_type of this GatewaySummary.
        :type: str
        Nr4   )r%   r   r'   r'   r(   r      r2   c                 C   r*   )a/  
        Gets the subnet_id of this GatewaySummary.
        The `OCID`__ of the subnet in which
        related resources are created.

        __ https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm


        :return: The subnet_id of this GatewaySummary.
        :rtype: str
        r   r,   r'   r'   r(   r      r1   zGatewaySummary.subnet_idc                 C   r.   )a7  
        Sets the subnet_id of this GatewaySummary.
        The `OCID`__ of the subnet in which
        related resources are created.

        __ https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm


        :param subnet_id: The subnet_id of this GatewaySummary.
        :type: str
        Nr5   )r%   r   r'   r'   r(   r     r2   c                 C   r*   )a  
        Gets the network_security_group_ids of this GatewaySummary.
        An array of Network Security Groups OCIDs associated with this API Gateway.


        :return: The network_security_group_ids of this GatewaySummary.
        :rtype: list[str]
        r   r,   r'   r'   r(   r        
z)GatewaySummary.network_security_group_idsc                 C   r.   )a  
        Sets the network_security_group_ids of this GatewaySummary.
        An array of Network Security Groups OCIDs associated with this API Gateway.


        :param network_security_group_ids: The network_security_group_ids of this GatewaySummary.
        :type: list[str]
        Nr6   )r%   r   r'   r'   r(   r   !     

c                 C   r*   )z
        Gets the time_created of this GatewaySummary.
        The time this resource was created. An RFC3339 formatted datetime string.


        :return: The time_created of this GatewaySummary.
        :rtype: datetime
        r   r,   r'   r'   r(   r   -  r7   zGatewaySummary.time_createdc                 C   r.   )z
        Sets the time_created of this GatewaySummary.
        The time this resource was created. An RFC3339 formatted datetime string.


        :param time_created: The time_created of this GatewaySummary.
        :type: datetime
        Nr9   )r%   r   r'   r'   r(   r   9  r8   c                 C   r*   )z
        Gets the time_updated of this GatewaySummary.
        The time this resource was last updated. An RFC3339 formatted datetime string.


        :return: The time_updated of this GatewaySummary.
        :rtype: datetime
        r   r,   r'   r'   r(   r   E  r7   zGatewaySummary.time_updatedc                 C   r.   )z
        Sets the time_updated of this GatewaySummary.
        The time this resource was last updated. An RFC3339 formatted datetime string.


        :param time_updated: The time_updated of this GatewaySummary.
        :type: datetime
        Nr:   )r%   r   r'   r'   r(   r   Q  r8   c                 C   r*   )z
        Gets the lifecycle_state of this GatewaySummary.
        The current state of the gateway.


        :return: The lifecycle_state of this GatewaySummary.
        :rtype: str
        r   r,   r'   r'   r(   r   ]  r7   zGatewaySummary.lifecycle_statec                 C   r.   )z
        Sets the lifecycle_state of this GatewaySummary.
        The current state of the gateway.


        :param lifecycle_state: The lifecycle_state of this GatewaySummary.
        :type: str
        Nr;   )r%   r   r'   r'   r(   r   i  r8   c                 C   r*   )aE  
        Gets the lifecycle_details of this GatewaySummary.
        A message describing the current state in more detail.
        For example, can be used to provide actionable information for a
        resource in a Failed state.


        :return: The lifecycle_details of this GatewaySummary.
        :rtype: str
        r    r,   r'   r'   r(   r   u  r-   z GatewaySummary.lifecycle_detailsc                 C   r.   )aU  
        Sets the lifecycle_details of this GatewaySummary.
        A message describing the current state in more detail.
        For example, can be used to provide actionable information for a
        resource in a Failed state.


        :param lifecycle_details: The lifecycle_details of this GatewaySummary.
        :type: str
        Nr<   )r%   r   r'   r'   r(   r     r/   c                 C   r*   )z
        Gets the hostname of this GatewaySummary.
        The hostname for the APIs deployed on the gateway.


        :return: The hostname of this GatewaySummary.
        :rtype: str
        r!   r,   r'   r'   r(   r     r7   zGatewaySummary.hostnamec                 C   r.   )z
        Sets the hostname of this GatewaySummary.
        The hostname for the APIs deployed on the gateway.


        :param hostname: The hostname of this GatewaySummary.
        :type: str
        Nr=   )r%   r   r'   r'   r(   r     r8   c                 C   r*   )a  
        Gets the certificate_id of this GatewaySummary.
        The `OCID`__ of the resource.

        __ https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm


        :return: The certificate_id of this GatewaySummary.
        :rtype: str
        r"   r,   r'   r'   r(   r     r-   zGatewaySummary.certificate_idc                 C   r.   )a  
        Sets the certificate_id of this GatewaySummary.
        The `OCID`__ of the resource.

        __ https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm


        :param certificate_id: The certificate_id of this GatewaySummary.
        :type: str
        Nr>   )r%   r   r'   r'   r(   r     r/   c                 C   r*   )a  
        Gets the freeform_tags of this GatewaySummary.
        Free-form tags for this resource. Each tag is a simple key-value pair
        with no predefined name, type, or namespace. For more information, see
        `Resource Tags`__.

        Example: `{"Department": "Finance"}`

        __ https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm


        :return: The freeform_tags of this GatewaySummary.
        :rtype: dict(str, str)
        r#   r,   r'   r'   r(   r        zGatewaySummary.freeform_tagsc                 C   r.   )a  
        Sets the freeform_tags of this GatewaySummary.
        Free-form tags for this resource. Each tag is a simple key-value pair
        with no predefined name, type, or namespace. For more information, see
        `Resource Tags`__.

        Example: `{"Department": "Finance"}`

        __ https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm


        :param freeform_tags: The freeform_tags of this GatewaySummary.
        :type: dict(str, str)
        Nr?   )r%   r   r'   r'   r(   r        
c                 C   r*   )a  
        Gets the defined_tags of this GatewaySummary.
        Defined tags for this resource. Each key is predefined and scoped to a
        namespace. For more information, see
        `Resource Tags`__.

        Example: `{"Operations": {"CostCenter": "42"}}`

        __ https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm


        :return: The defined_tags of this GatewaySummary.
        :rtype: dict(str, dict(str, object))
        r$   r,   r'   r'   r(   r     r@   zGatewaySummary.defined_tagsc                 C   r.   )a  
        Sets the defined_tags of this GatewaySummary.
        Defined tags for this resource. Each key is predefined and scoped to a
        namespace. For more information, see
        `Resource Tags`__.

        Example: `{"Operations": {"CostCenter": "42"}}`

        __ https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm


        :param defined_tags: The defined_tags of this GatewaySummary.
        :type: dict(str, dict(str, object))
        NrB   )r%   r   r'   r'   r(   r     rA   c                 C   s   t | S N)r   r,   r'   r'   r(   __repr__  s   zGatewaySummary.__repr__c                 C   s   |d u rdS | j |j kS )NF)__dict__r%   otherr'   r'   r(   __eq__  s   zGatewaySummary.__eq__c                 C   s
   | |k S rC   r'   rF   r'   r'   r(   __ne__  s   
zGatewaySummary.__ne__N)__name__
__module____qualname____doc__r)   propertyr	   setterr
   r   r   r   r   r   r   r   r   r   r   r   r   rD   rH   rI   r'   r'   r'   r(   r      s|    o



























r   N)Zoci.utilr   r   r   Zoci.decoratorsr   objectr   r'   r'   r'   r(   <module>   s   