o
    ɶd:                     @   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                   @   sb  e Zd ZdZdZdZd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d*d+ Zd,d- Zd.d/ Zd0S )1ApplicationVipz=
    Details of an application virtual IP (VIP) address.
    PROVISIONING	AVAILABLETERMINATING
TERMINATEDFAILEDc                 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S )aD  
        Initializes a new ApplicationVip 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 ApplicationVip.
        :type id: str

        :param cloud_vm_cluster_id:
            The value to assign to the cloud_vm_cluster_id property of this ApplicationVip.
        :type cloud_vm_cluster_id: str

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

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

        :param ip_address:
            The value to assign to the ip_address property of this ApplicationVip.
        :type ip_address: str

        :param hostname_label:
            The value to assign to the hostname_label property of this ApplicationVip.
        :type hostname_label: str

        :param lifecycle_state:
            The value to assign to the lifecycle_state property of this ApplicationVip.
            Allowed values for this property are: "PROVISIONING", "AVAILABLE", "TERMINATING", "TERMINATED", "FAILED", 'UNKNOWN_ENUM_VALUE'.
            Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
        :type lifecycle_state: str

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

        :param time_assigned:
            The value to assign to the time_assigned property of this ApplicationVip.
        :type time_assigned: datetime

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

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

        strdatetimezdict(str, str)zdict(str, dict(str, object)))idcloud_vm_cluster_idcompartment_id	subnet_id
ip_addresshostname_labellifecycle_statelifecycle_detailstime_assignedfreeform_tagsdefined_tagsr   ZcloudVmClusterIdZcompartmentIdZsubnetIdZ	ipAddressZhostnameLabelZlifecycleStateZlifecycleDetailsZtimeAssignedZfreeformTagsZdefinedTagsN)Zswagger_typesZattribute_map_id_cloud_vm_cluster_id_compartment_id
_subnet_id_ip_address_hostname_label_lifecycle_state_lifecycle_details_time_assigned_freeform_tags_defined_tags)selfkwargs r&   Gusr/lib/python3.10/site-packages/oci/database/models/application_vip.py__init__&   sF   5
zApplicationVip.__init__c                 C      | j S )a  
        **[Required]** Gets the id of this ApplicationVip.
        The `OCID`__ of the application virtual IP (VIP) address.

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


        :return: The id of this ApplicationVip.
        :rtype: str
        r   r$   r&   r&   r'   r         zApplicationVip.idc                 C   
   || _ dS )a  
        Sets the id of this ApplicationVip.
        The `OCID`__ of the application virtual IP (VIP) address.

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


        :param id: The id of this ApplicationVip.
        :type: str
        Nr*   )r$   r   r&   r&   r'   r         
c                 C   r)   )af  
        **[Required]** Gets the cloud_vm_cluster_id of this ApplicationVip.
        The `OCID`__ of the cloud VM cluster associated with the application virtual IP (VIP) address.

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


        :return: The cloud_vm_cluster_id of this ApplicationVip.
        :rtype: str
        r   r+   r&   r&   r'   r      r,   z"ApplicationVip.cloud_vm_cluster_idc                 C   r-   )ai  
        Sets the cloud_vm_cluster_id of this ApplicationVip.
        The `OCID`__ of the cloud VM cluster associated with the application virtual IP (VIP) address.

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


        :param cloud_vm_cluster_id: The cloud_vm_cluster_id of this ApplicationVip.
        :type: str
        Nr/   )r$   r   r&   r&   r'   r      r.   c                 C   r)   )a  
        Gets the compartment_id of this ApplicationVip.
        The `OCID`__ of the compartment.

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


        :return: The compartment_id of this ApplicationVip.
        :rtype: str
        r   r+   r&   r&   r'   r      r,   zApplicationVip.compartment_idc                 C   r-   )a  
        Sets the compartment_id of this ApplicationVip.
        The `OCID`__ of the compartment.

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


        :param compartment_id: The compartment_id of this ApplicationVip.
        :type: str
        Nr0   )r$   r   r&   r&   r'   r      r.   c                 C   r)   )a9  
        Gets the subnet_id of this ApplicationVip.
        The `OCID`__ of the subnet associated with the application virtual IP (VIP) address.

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


        :return: The subnet_id of this ApplicationVip.
        :rtype: str
        r   r+   r&   r&   r'   r      r,   zApplicationVip.subnet_idc                 C   r-   )aA  
        Sets the subnet_id of this ApplicationVip.
        The `OCID`__ of the subnet associated with the application virtual IP (VIP) address.

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


        :param subnet_id: The subnet_id of this ApplicationVip.
        :type: str
        Nr1   )r$   r   r&   r&   r'   r      r.   c                 C   r)   )z
        Gets the ip_address of this ApplicationVip.
        The application virtual IP (VIP) address.


        :return: The ip_address of this ApplicationVip.
        :rtype: str
        r   r+   r&   r&   r'   r         
zApplicationVip.ip_addressc                 C   r-   )z
        Sets the ip_address of this ApplicationVip.
        The application virtual IP (VIP) address.


        :param ip_address: The ip_address of this ApplicationVip.
        :type: str
        Nr2   )r$   r   r&   r&   r'   r         

c                 C   r)   )z
        **[Required]** Gets the hostname_label of this ApplicationVip.
        The hostname of the application virtual IP (VIP) address.


        :return: The hostname_label of this ApplicationVip.
        :rtype: str
        r   r+   r&   r&   r'   r   
  r3   zApplicationVip.hostname_labelc                 C   r-   )z
        Sets the hostname_label of this ApplicationVip.
        The hostname of the application virtual IP (VIP) address.


        :param hostname_label: The hostname_label of this ApplicationVip.
        :type: str
        Nr5   )r$   r   r&   r&   r'   r     r4   c                 C   r)   )a  
        **[Required]** Gets the lifecycle_state of this ApplicationVip.
        The current lifecycle state of the application virtual IP (VIP) address.

        Allowed values for this property are: "PROVISIONING", "AVAILABLE", "TERMINATING", "TERMINATED", "FAILED", 'UNKNOWN_ENUM_VALUE'.
        Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.


        :return: The lifecycle_state of this ApplicationVip.
        :rtype: str
        )r   r+   r&   r&   r'   r   "     zApplicationVip.lifecycle_statec                 C   s    g d}t ||sd}|| _dS )z
        Sets the lifecycle_state of this ApplicationVip.
        The current lifecycle state of the application virtual IP (VIP) address.


        :param lifecycle_state: The lifecycle_state of this ApplicationVip.
        :type: str
        )r   r   r	   r
   r   ZUNKNOWN_ENUM_VALUEN)r   r   )r$   r   Zallowed_valuesr&   r&   r'   r   1  s   


c                 C   r)   )a  
        Gets the lifecycle_details of this ApplicationVip.
        Additional information about the current lifecycle state of the application virtual IP (VIP) address.


        :return: The lifecycle_details of this ApplicationVip.
        :rtype: str
        r    r+   r&   r&   r'   r   @  r3   z ApplicationVip.lifecycle_detailsc                 C   r-   )a  
        Sets the lifecycle_details of this ApplicationVip.
        Additional information about the current lifecycle state of the application virtual IP (VIP) address.


        :param lifecycle_details: The lifecycle_details of this ApplicationVip.
        :type: str
        Nr7   )r$   r   r&   r&   r'   r   L  r4   c                 C   r)   )a  
        **[Required]** Gets the time_assigned of this ApplicationVip.
        The date and time when the create operation for the application virtual IP (VIP) address completed.


        :return: The time_assigned of this ApplicationVip.
        :rtype: datetime
        r!   r+   r&   r&   r'   r   X  r3   zApplicationVip.time_assignedc                 C   r-   )a  
        Sets the time_assigned of this ApplicationVip.
        The date and time when the create operation for the application virtual IP (VIP) address completed.


        :param time_assigned: The time_assigned of this ApplicationVip.
        :type: datetime
        Nr8   )r$   r   r&   r&   r'   r   d  r4   c                 C   r)   )a  
        Gets the freeform_tags of this ApplicationVip.
        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 ApplicationVip.
        :rtype: dict(str, str)
        r"   r+   r&   r&   r'   r   p  s   zApplicationVip.freeform_tagsc                 C   r-   )a  
        Sets the freeform_tags of this ApplicationVip.
        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 ApplicationVip.
        :type: dict(str, str)
        Nr9   )r$   r   r&   r&   r'   r     s   
c                 C   r)   )a  
        Gets the defined_tags of this ApplicationVip.
        Defined tags for this resource. Each key is predefined and scoped to a namespace.
        For more information, see `Resource Tags`__.

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


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

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


        :param defined_tags: The defined_tags of this ApplicationVip.
        :type: dict(str, dict(str, object))
        Nr:   )r$   r   r&   r&   r'   r     s   
c                 C   s   t | S N)r   r+   r&   r&   r'   __repr__  s   zApplicationVip.__repr__c                 C   s   |d u rdS | j |j kS )NF)__dict__r$   otherr&   r&   r'   __eq__  s   zApplicationVip.__eq__c                 C   s
   | |k S r;   r&   r>   r&   r&   r'   __ne__  s   
zApplicationVip.__ne__N)__name__
__module____qualname____doc__ZLIFECYCLE_STATE_PROVISIONINGZLIFECYCLE_STATE_AVAILABLEZLIFECYCLE_STATE_TERMINATINGZLIFECYCLE_STATE_TERMINATEDZLIFECYCLE_STATE_FAILEDr(   propertyr   setterr   r   r   r   r   r   r   r   r   r   r<   r@   rA   r&   r&   r&   r'   r      sn    \





















r   N)Zoci.utilr   r   r   Zoci.decoratorsr   objectr   r&   r&   r&   r'   <module>   s   