o
    ëÉ¶dòS  ã                   @   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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ed,d-„ ƒZejd.d-„ ƒZed/d0„ ƒZejd1d0„ ƒZed2d3„ ƒZejd4d3„ ƒZed5d6„ ƒZejd7d6„ ƒZed8d9„ ƒZejd:d9„ ƒZd;d<„ Zd=d>„ Zd?d@„ Z dAS )BÚBackupDestinationz%
    Backup destination details.
    ÚNFSÚRECOVERY_APPLIANCEÚ
SELF_MOUNTÚAUTOMATED_MOUNTÚACTIVEÚFAILEDÚDELETEDc                 K   s0  i 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“| _ i 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%| _d%| _d%| _d%| _d%S )&a#  
        Initializes a new BackupDestination 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 BackupDestination.
        :type id: str

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

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

        :param type:
            The value to assign to the type property of this BackupDestination.
            Allowed values for this property are: "NFS", "RECOVERY_APPLIANCE", 'UNKNOWN_ENUM_VALUE'.
            Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
        :type type: str

        :param associated_databases:
            The value to assign to the associated_databases property of this BackupDestination.
        :type associated_databases: list[oci.database.models.AssociatedDatabaseDetails]

        :param connection_string:
            The value to assign to the connection_string property of this BackupDestination.
        :type connection_string: str

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

        :param local_mount_point_path:
            The value to assign to the local_mount_point_path property of this BackupDestination.
        :type local_mount_point_path: str

        :param nfs_mount_type:
            The value to assign to the nfs_mount_type property of this BackupDestination.
            Allowed values for this property are: "SELF_MOUNT", "AUTOMATED_MOUNT", 'UNKNOWN_ENUM_VALUE'.
            Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
        :type nfs_mount_type: str

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

        :param nfs_server_export:
            The value to assign to the nfs_server_export property of this BackupDestination.
        :type nfs_server_export: str

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

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

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

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

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

        ÚidÚstrÚdisplay_nameÚcompartment_idÚtypeÚassociated_databaseszlist[AssociatedDatabaseDetails]Úconnection_stringÚ	vpc_usersz	list[str]Úlocal_mount_point_pathÚnfs_mount_typeÚ
nfs_serverÚnfs_server_exportÚlifecycle_stateÚtime_createdÚdatetimeÚlifecycle_detailsÚfreeform_tagszdict(str, str)Údefined_tagszdict(str, dict(str, object))ZdisplayNameZcompartmentIdZassociatedDatabasesZconnectionStringZvpcUsersZlocalMountPointPathZnfsMountTypeZ	nfsServerZnfsServerExportZlifecycleStateZtimeCreatedZlifecycleDetailsZfreeformTagsZdefinedTagsN)Zswagger_typesZattribute_mapÚ_idÚ_display_nameÚ_compartment_idÚ_typeÚ_associated_databasesÚ_connection_stringÚ
_vpc_usersÚ_local_mount_point_pathÚ_nfs_mount_typeÚ_nfs_serverÚ_nfs_server_exportÚ_lifecycle_stateÚ_time_createdÚ_lifecycle_detailsÚ_freeform_tagsÚ_defined_tags)ÚselfÚkwargs© r2   úJusr/lib/python3.10/site-packages/oci/database/models/backup_destination.pyÚ__init__.   s¤   Lÿþýüûúùø	÷
öõôóòñðÿþýüûúùø	÷
öõôóòñð
zBackupDestination.__init__c                 C   ó   | j S )a  
        Gets the id of this BackupDestination.
        The `OCID`__ of the backup destination.

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


        :return: The id of this BackupDestination.
        :rtype: str
        ©r    ©r0   r2   r2   r3   r   ±   ó   zBackupDestination.idc                 C   ó
   || _ dS )a  
        Sets the id of this BackupDestination.
        The `OCID`__ of the backup destination.

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


        :param id: The id of this BackupDestination.
        :type: str
        Nr6   )r0   r   r2   r2   r3   r   ¿   ó   
c                 C   r5   )zÏ
        Gets the display_name of this BackupDestination.
        The user-provided name of the backup destination.


        :return: The display_name of this BackupDestination.
        :rtype: str
        ©r!   r7   r2   r2   r3   r   Í   ó   
zBackupDestination.display_namec                 C   r9   )zÚ
        Sets the display_name of this BackupDestination.
        The user-provided name of the backup destination.


        :param display_name: The display_name of this BackupDestination.
        :type: str
        Nr;   )r0   r   r2   r2   r3   r   Ù   ó   

c                 C   r5   )a  
        Gets the compartment_id of this BackupDestination.
        The `OCID`__ of the compartment.

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


        :return: The compartment_id of this BackupDestination.
        :rtype: str
        ©r"   r7   r2   r2   r3   r   å   r8   z BackupDestination.compartment_idc                 C   r9   )a"  
        Sets the compartment_id of this BackupDestination.
        The `OCID`__ of the compartment.

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


        :param compartment_id: The compartment_id of this BackupDestination.
        :type: str
        Nr>   )r0   r   r2   r2   r3   r   ó   r:   c                 C   r5   )am  
        Gets the type of this BackupDestination.
        Type of the backup destination.

        Allowed values for this property are: "NFS", "RECOVERY_APPLIANCE", 'UNKNOWN_ENUM_VALUE'.
        Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.


        :return: The type of this BackupDestination.
        :rtype: str
        )r#   r7   r2   r2   r3   r     ó   zBackupDestination.typec                 C   ó    ddg}t ||ƒsd}|| _dS )z°
        Sets the type of this BackupDestination.
        Type of the backup destination.


        :param type: The type of this BackupDestination.
        :type: str
        r   r   ÚUNKNOWN_ENUM_VALUEN)r   r#   )r0   r   Úallowed_valuesr2   r2   r3   r     ó   


c                 C   r5   )a  
        Gets the associated_databases of this BackupDestination.
        List of databases associated with the backup destination.


        :return: The associated_databases of this BackupDestination.
        :rtype: list[oci.database.models.AssociatedDatabaseDetails]
        ©r$   r7   r2   r2   r3   r     r<   z&BackupDestination.associated_databasesc                 C   r9   )a*  
        Sets the associated_databases of this BackupDestination.
        List of databases associated with the backup destination.


        :param associated_databases: The associated_databases of this BackupDestination.
        :type: list[oci.database.models.AssociatedDatabaseDetails]
        NrD   )r0   r   r2   r2   r3   r   +  r=   c                 C   r5   )a  
        Gets the connection_string of this BackupDestination.
        For a RECOVERY_APPLIANCE backup destination, the connection string for connecting to the Recovery Appliance.


        :return: The connection_string of this BackupDestination.
        :rtype: str
        ©r%   r7   r2   r2   r3   r   7  r<   z#BackupDestination.connection_stringc                 C   r9   )a$  
        Sets the connection_string of this BackupDestination.
        For a RECOVERY_APPLIANCE backup destination, the connection string for connecting to the Recovery Appliance.


        :param connection_string: The connection_string of this BackupDestination.
        :type: str
        NrE   )r0   r   r2   r2   r3   r   C  r=   c                 C   r5   )a"  
        Gets the vpc_users of this BackupDestination.
        For a RECOVERY_APPLIANCE backup destination, the Virtual Private Catalog (VPC) users that are used to access the Recovery Appliance.


        :return: The vpc_users of this BackupDestination.
        :rtype: list[str]
        ©r&   r7   r2   r2   r3   r   O  r<   zBackupDestination.vpc_usersc                 C   r9   )a*  
        Sets the vpc_users of this BackupDestination.
        For a RECOVERY_APPLIANCE backup destination, the Virtual Private Catalog (VPC) users that are used to access the Recovery Appliance.


        :param vpc_users: The vpc_users of this BackupDestination.
        :type: list[str]
        NrF   )r0   r   r2   r2   r3   r   [  r=   c                 C   r5   )aÐ  
        Gets the local_mount_point_path of this BackupDestination.
        The local directory path on each VM cluster node where the NFS server location is mounted. The local directory path and the NFS server location must each be the same across all of the VM cluster nodes. Ensure that the NFS mount is maintained continuously on all of the VM cluster nodes.


        :return: The local_mount_point_path of this BackupDestination.
        :rtype: str
        ©r'   r7   r2   r2   r3   r   g  r<   z(BackupDestination.local_mount_point_pathc                 C   r9   )aå  
        Sets the local_mount_point_path of this BackupDestination.
        The local directory path on each VM cluster node where the NFS server location is mounted. The local directory path and the NFS server location must each be the same across all of the VM cluster nodes. Ensure that the NFS mount is maintained continuously on all of the VM cluster nodes.


        :param local_mount_point_path: The local_mount_point_path of this BackupDestination.
        :type: str
        NrG   )r0   r   r2   r2   r3   r   s  r=   c                 C   r5   )aŒ  
        Gets the nfs_mount_type of this BackupDestination.
        NFS Mount type for backup destination.

        Allowed values for this property are: "SELF_MOUNT", "AUTOMATED_MOUNT", 'UNKNOWN_ENUM_VALUE'.
        Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.


        :return: The nfs_mount_type of this BackupDestination.
        :rtype: str
        )r(   r7   r2   r2   r3   r     r?   z BackupDestination.nfs_mount_typec                 C   r@   )zÕ
        Sets the nfs_mount_type of this BackupDestination.
        NFS Mount type for backup destination.


        :param nfs_mount_type: The nfs_mount_type of this BackupDestination.
        :type: str
        r	   r
   rA   N)r   r(   )r0   r   rB   r2   r2   r3   r   Ž  rC   c                 C   r5   )zÎ
        Gets the nfs_server of this BackupDestination.
        Host names or IP addresses for NFS Auto mount.


        :return: The nfs_server of this BackupDestination.
        :rtype: list[str]
        ©r)   r7   r2   r2   r3   r     r<   zBackupDestination.nfs_serverc                 C   r9   )z×
        Sets the nfs_server of this BackupDestination.
        Host names or IP addresses for NFS Auto mount.


        :param nfs_server: The nfs_server of this BackupDestination.
        :type: list[str]
        NrH   )r0   r   r2   r2   r3   r   ©  r=   c                 C   r5   )zá
        Gets the nfs_server_export of this BackupDestination.
        Specifies the directory on which to mount the file system


        :return: The nfs_server_export of this BackupDestination.
        :rtype: str
        ©r*   r7   r2   r2   r3   r   µ  r<   z#BackupDestination.nfs_server_exportc                 C   r9   )zñ
        Sets the nfs_server_export of this BackupDestination.
        Specifies the directory on which to mount the file system


        :param nfs_server_export: The nfs_server_export of this BackupDestination.
        :type: str
        NrI   )r0   r   r2   r2   r3   r   Á  r=   c                 C   r5   )aœ  
        Gets the lifecycle_state of this BackupDestination.
        The current lifecycle state of the backup destination.

        Allowed values for this property are: "ACTIVE", "FAILED", "DELETED", 'UNKNOWN_ENUM_VALUE'.
        Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.


        :return: The lifecycle_state of this BackupDestination.
        :rtype: str
        )r+   r7   r2   r2   r3   r   Í  r?   z!BackupDestination.lifecycle_statec                 C   s    g d¢}t ||ƒsd}|| _dS )zè
        Sets the lifecycle_state of this BackupDestination.
        The current lifecycle state of the backup destination.


        :param lifecycle_state: The lifecycle_state of this BackupDestination.
        :type: str
        )r   r   r   rA   N)r   r+   )r0   r   rB   r2   r2   r3   r   Ü  rC   c                 C   r5   )zØ
        Gets the time_created of this BackupDestination.
        The date and time the backup destination was created.


        :return: The time_created of this BackupDestination.
        :rtype: datetime
        ©r,   r7   r2   r2   r3   r   ë  r<   zBackupDestination.time_createdc                 C   r9   )zã
        Sets the time_created of this BackupDestination.
        The date and time the backup destination was created.


        :param time_created: The time_created of this BackupDestination.
        :type: datetime
        NrJ   )r0   r   r2   r2   r3   r   ÷  r=   c                 C   r5   )a  
        Gets the lifecycle_details of this BackupDestination.
        A descriptive text associated with the lifecycleState.
        Typically contains additional displayable text


        :return: The lifecycle_details of this BackupDestination.
        :rtype: str
        ©r-   r7   r2   r2   r3   r     s   z#BackupDestination.lifecycle_detailsc                 C   r9   )a%  
        Sets the lifecycle_details of this BackupDestination.
        A descriptive text associated with the lifecycleState.
        Typically contains additional displayable text


        :param lifecycle_details: The lifecycle_details of this BackupDestination.
        :type: str
        NrK   )r0   r   r2   r2   r3   r     s   
c                 C   r5   )aÔ  
        Gets the freeform_tags of this BackupDestination.
        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 BackupDestination.
        :rtype: dict(str, str)
        ©r.   r7   r2   r2   r3   r     s   zBackupDestination.freeform_tagsc                 C   r9   )aà  
        Sets the freeform_tags of this BackupDestination.
        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 BackupDestination.
        :type: dict(str, str)
        NrL   )r0   r   r2   r2   r3   r   .  s   
c                 C   r5   )a‘  
        Gets the defined_tags of this BackupDestination.
        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 BackupDestination.
        :rtype: dict(str, dict(str, object))
        ©r/   r7   r2   r2   r3   r   ?  r?   zBackupDestination.defined_tagsc                 C   r9   )aœ  
        Sets the defined_tags of this BackupDestination.
        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 BackupDestination.
        :type: dict(str, dict(str, object))
        NrM   )r0   r   r2   r2   r3   r   N  s   
c                 C   s   t | ƒS ©N)r   r7   r2   r2   r3   Ú__repr__]  s   zBackupDestination.__repr__c                 C   s   |d u rdS | j |j kS )NF)Ú__dict__©r0   Úotherr2   r2   r3   Ú__eq__`  s   zBackupDestination.__eq__c                 C   s
   | |k S rN   r2   rQ   r2   r2   r3   Ú__ne__f  s   
zBackupDestination.__ne__N)!Ú__name__Ú
__module__Ú__qualname__Ú__doc__ZTYPE_NFSZTYPE_RECOVERY_APPLIANCEZNFS_MOUNT_TYPE_SELF_MOUNTZNFS_MOUNT_TYPE_AUTOMATED_MOUNTZLIFECYCLE_STATE_ACTIVEZLIFECYCLE_STATE_FAILEDZLIFECYCLE_STATE_DELETEDr4   Úpropertyr   Úsetterr   r   r   r   r   r   r   r   r   r   r   r   r   r   r   rO   rS   rT   r2   r2   r2   r3   r      sœ     































r   N)Zoci.utilr   r   r   Zoci.decoratorsr   Úobjectr   r2   r2   r2   r3   Ú<module>   s   