ruạṛ
a N��f?V � @ s8 d dl mZmZmZ d dlmZ eG dd� de��ZdS )� )�formatted_flat_dict� NONE_SENTINEL�#value_allowed_none_or_none_sentinel)�init_model_state_from_kwargsc @ s� e Zd ZdZdZdZdZdZdZdZ dZ d d � Zedd� �Z e jd d� �Z edd� �Zejdd� �Zedd� �Zejdd� �Zedd� �Zejdd� �Zedd� �Zejdd� �Zedd� �Zejdd� �Zedd� �Zejdd� �Zed d!� �Zejd"d!� �Zed#d$� �Zejd%d$� �Zed&d'� �Zejd(d'� �Zed)d*� �Zejd+d*� �Zed,d-� �Zejd.d-� �Zed/d0� �Zejd1d0� �Zed2d3� �Zejd4d3� �Zed5d6� �Zejd7d6� �Zed8d9� �Zejd:d9� �Zd;d<� Zd=d>� Zd?d@� Z dAS )B�BackupDestinationSummaryzc Backup destination details, including the list of databases using the backup destination. �NFS�RECOVERY_APPLIANCE� SELF_MOUNT�AUTOMATED_MOUNT�ACTIVE�FAILED�DELETEDc K s� ddddddddddddddddd�| _ dd d ddd ddddddddddd�| _d| _d| _d| _d| _d| _d| _d| _d| _ d| _ d| _d| _d| _ d| _d| _d| _d| _dS )a� Initializes a new BackupDestinationSummary 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 BackupDestinationSummary. :type id: str :param display_name: The value to assign to the display_name property of this BackupDestinationSummary. :type display_name: str :param compartment_id: The value to assign to the compartment_id property of this BackupDestinationSummary. :type compartment_id: str :param type: The value to assign to the type property of this BackupDestinationSummary. 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 BackupDestinationSummary. :type associated_databases: list[oci.database.models.AssociatedDatabaseDetails] :param connection_string: The value to assign to the connection_string property of this BackupDestinationSummary. :type connection_string: str :param vpc_users: The value to assign to the vpc_users property of this BackupDestinationSummary. :type vpc_users: list[str] :param local_mount_point_path: The value to assign to the local_mount_point_path property of this BackupDestinationSummary. :type local_mount_point_path: str :param nfs_mount_type: The value to assign to the nfs_mount_type property of this BackupDestinationSummary. 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 BackupDestinationSummary. :type nfs_server: list[str] :param nfs_server_export: The value to assign to the nfs_server_export property of this BackupDestinationSummary. :type nfs_server_export: str :param lifecycle_state: The value to assign to the lifecycle_state property of this BackupDestinationSummary. 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 BackupDestinationSummary. :type time_created: datetime :param lifecycle_details: The value to assign to the lifecycle_details property of this BackupDestinationSummary. :type lifecycle_details: str :param freeform_tags: The value to assign to the freeform_tags property of this BackupDestinationSummary. :type freeform_tags: dict(str, str) :param defined_tags: The value to assign to the defined_tags property of this BackupDestinationSummary. :type defined_tags: dict(str, dict(str, object)) �strzlist[AssociatedDatabaseDetails]z list[str]�datetimezdict(str, str)zdict(str, dict(str, object)))�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_tagsr �displayName� compartmentIdr �associatedDatabases�connectionString�vpcUsers�localMountPointPath�nfsMountType� nfsServer�nfsServerExport�lifecycleState�timeCreated�lifecycleDetails�freeformTags�definedTagsN)� swagger_types� 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� rB ��/sparta/input/_build_configuration/image_build+validate/lib/bmcenv/lib64/python3.9/site-packages/oci/database/models/backup_destination_summary.py�__init__, sd M��z!BackupDestinationSummary.__init__c C s | j S )a Gets the id of this BackupDestinationSummary. The `OCID`__ of the backup destination. __ https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm :return: The id of this BackupDestinationSummary. :rtype: str �r0 �r@ rB rB rC r � s zBackupDestinationSummary.idc C s || _ dS )a Sets the id of this BackupDestinationSummary. The `OCID`__ of the backup destination. __ https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm :param id: The id of this BackupDestinationSummary. :type: str NrE )r@ r rB rB rC r � s c C s | j S )z� Gets the display_name of this BackupDestinationSummary. The user-provided name of the backup destination. :return: The display_name of this BackupDestinationSummary. :rtype: str �r1 rF rB rB rC r � s z%BackupDestinationSummary.display_namec C s || _ dS )z� Sets the display_name of this BackupDestinationSummary. The user-provided name of the backup destination. :param display_name: The display_name of this BackupDestinationSummary. :type: str NrG )r@ r rB rB rC r � s c C s | j S )a# Gets the compartment_id of this BackupDestinationSummary. The `OCID`__ of the compartment. __ https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm :return: The compartment_id of this BackupDestinationSummary. :rtype: str �r2 rF rB rB rC r � s z'BackupDestinationSummary.compartment_idc C s || _ dS )a0 Sets the compartment_id of this BackupDestinationSummary. The `OCID`__ of the compartment. __ https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm :param compartment_id: The compartment_id of this BackupDestinationSummary. :type: str NrH )r@ r rB rB rC r � s c C s | j S )a{ Gets the type of this BackupDestinationSummary. 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 BackupDestinationSummary. :rtype: str )r3 rF rB rB rC r � s zBackupDestinationSummary.typec C s ddg}t ||�sd}|| _dS )z� Sets the type of this BackupDestinationSummary. Type of the backup destination. :param type: The type of this BackupDestinationSummary. :type: str r r �UNKNOWN_ENUM_VALUEN)r r3 )r@ r �allowed_valuesrB rB rC r s c C s | j S )a% Gets the associated_databases of this BackupDestinationSummary. List of databases associated with the backup destination. :return: The associated_databases of this BackupDestinationSummary. :rtype: list[oci.database.models.AssociatedDatabaseDetails] �r4 rF rB rB rC r s z-BackupDestinationSummary.associated_databasesc C s || _ dS )a8 Sets the associated_databases of this BackupDestinationSummary. List of databases associated with the backup destination. :param associated_databases: The associated_databases of this BackupDestinationSummary. :type: list[oci.database.models.AssociatedDatabaseDetails] NrK )r@ r rB rB rC r ) s c C s | j S )a" Gets the connection_string of this BackupDestinationSummary. For a RECOVERY_APPLIANCE backup destination, the connection string for connecting to the Recovery Appliance. :return: The connection_string of this BackupDestinationSummary. :rtype: str �r5 rF rB rB rC r 5 s z*BackupDestinationSummary.connection_stringc C s || _ dS )a2 Sets the connection_string of this BackupDestinationSummary. For a RECOVERY_APPLIANCE backup destination, the connection string for connecting to the Recovery Appliance. :param connection_string: The connection_string of this BackupDestinationSummary. :type: str NrL )r@ r rB rB rC r A s c C s | j S )a0 Gets the vpc_users of this BackupDestinationSummary. 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 BackupDestinationSummary. :rtype: list[str] �r6 rF rB rB rC r M s z"BackupDestinationSummary.vpc_usersc C s || _ dS )a8 Sets the vpc_users of this BackupDestinationSummary. 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 BackupDestinationSummary. :type: list[str] NrM )r@ r rB rB rC r Y s c C s | j S )a� Gets the local_mount_point_path of this BackupDestinationSummary. 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 BackupDestinationSummary. :rtype: str �r7 rF rB rB rC r e s z/BackupDestinationSummary.local_mount_point_pathc C s || _ dS )a� Sets the local_mount_point_path of this BackupDestinationSummary. 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 BackupDestinationSummary. :type: str NrN )r@ r rB rB rC r q s c C s | j S )a� Gets the nfs_mount_type of this BackupDestinationSummary. 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 BackupDestinationSummary. :rtype: str )r8 rF rB rB rC r } s z'BackupDestinationSummary.nfs_mount_typec C s ddg}t ||�sd}|| _dS )z� Sets the nfs_mount_type of this BackupDestinationSummary. NFS Mount type for backup destination. :param nfs_mount_type: The nfs_mount_type of this BackupDestinationSummary. :type: str r r rI N)r r8 )r@ r rJ rB rB rC r � s c C s | j S )z� Gets the nfs_server of this BackupDestinationSummary. Host names or IP addresses for NFS Auto mount. :return: The nfs_server of this BackupDestinationSummary. :rtype: list[str] �r9 rF rB rB rC r � s z#BackupDestinationSummary.nfs_serverc C s || _ dS )z� Sets the nfs_server of this BackupDestinationSummary. Host names or IP addresses for NFS Auto mount. :param nfs_server: The nfs_server of this BackupDestinationSummary. :type: list[str] NrO )r@ r rB rB rC r � s c C s | j S )z� Gets the nfs_server_export of this BackupDestinationSummary. Specifies the directory on which to mount the file system :return: The nfs_server_export of this BackupDestinationSummary. :rtype: str �r: rF rB rB rC r � s z*BackupDestinationSummary.nfs_server_exportc C s || _ dS )z� Sets the nfs_server_export of this BackupDestinationSummary. Specifies the directory on which to mount the file system :param nfs_server_export: The nfs_server_export of this BackupDestinationSummary. :type: str NrP )r@ r rB rB rC r � s c C s | j S )a� Gets the lifecycle_state of this BackupDestinationSummary. 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 BackupDestinationSummary. :rtype: str )r; rF rB rB rC r � s z(BackupDestinationSummary.lifecycle_statec C s g d�}t ||�sd}|| _dS )z� Sets the lifecycle_state of this BackupDestinationSummary. The current lifecycle state of the backup destination. :param lifecycle_state: The lifecycle_state of this BackupDestinationSummary. :type: str )r r r rI N)r r; )r@ r rJ rB rB rC r � s c C s | j S )z� Gets the time_created of this BackupDestinationSummary. The date and time the backup destination was created. :return: The time_created of this BackupDestinationSummary. :rtype: datetime �r<