Aurora
Adminer
Auto Root
WP Admin
cPanel Reset
Anti Backdoor
Root
lib
python3.9
site-packages
oci
key_management
models
__pycache__
Upload
New Folder
New File
Name
Size
Permissions
Actions
..
-
-
-
Upload File
Select File
New Folder
Folder Name
New File
File Name
Add WordPress Admin
Database Host
Database Name
Database User
Database Password
Admin Username
Admin Password
cPanel Password Reset
Email Address
Edit: backup_location.cpython-39.pyc
a ���fM � @ 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 ZdZdZdZdd� Zedd� �Ze dd � �Z e jd d � �Z dd� Zd d� Z dd� ZdS )�BackupLocationz Backup upload location �BUCKET�PRE_AUTHENTICATED_REQUEST_URIc K s ddi| _ ddi| _d| _dS )a� Initializes a new BackupLocation object with values from keyword arguments. This class has the following subclasses and if you are using this class as input to a service operations then you should favor using a subclass over the base class: * :class:`~oci.key_management.models.BackupLocationBucket` * :class:`~oci.key_management.models.BackupLocationURI` The following keyword arguments are supported (corresponding to the getters/setters of this class): :param destination: The value to assign to the destination property of this BackupLocation. Allowed values for this property are: "BUCKET", "PRE_AUTHENTICATED_REQUEST_URI" :type destination: str �destination�strN)Z swagger_typesZ attribute_map�_destination)�self�kwargs� r �M/usr/lib/python3.9/site-packages/oci/key_management/models/backup_location.py�__init__ s ��zBackupLocation.__init__c C s( | d }|dkrdS |dkr dS dS dS )z� Given the hash representation of a subtype of this class, use the info in the hash to return the class of the subtype. r r ZBackupLocationBucketr ZBackupLocationURIr Nr )Zobject_dictionary�typer r r �get_subtype4 s zBackupLocation.get_subtypec C s | j S )a� **[Required]** Gets the destination of this BackupLocation. 'Backup location destination: BUCKET - Uploading or downloading backup via object store bucket PRE_AUTHENTICATED_REQUEST_URI - Uploading or downloading backup via a PreAuthenticated object store URI' Allowed values for this property are: "BUCKET", "PRE_AUTHENTICATED_REQUEST_URI" :return: The destination of this BackupLocation. :rtype: str )r �r r r r r D s zBackupLocation.destinationc C s* ddg}t ||�s td|� ���|| _dS )aw Sets the destination of this BackupLocation. 'Backup location destination: BUCKET - Uploading or downloading backup via object store bucket PRE_AUTHENTICATED_REQUEST_URI - Uploading or downloading backup via a PreAuthenticated object store URI' :param destination: The destination of this BackupLocation. :type: str r r z8Invalid value for `destination`, must be None or one of N)r � ValueErrorr )r r Zallowed_valuesr r r r T s �c C s t | �S �N)r r r r r �__repr__g s zBackupLocation.__repr__c C s |d u rdS | j |j kS )NF)�__dict__�r �otherr r r �__eq__j s zBackupLocation.__eq__c C s | |k S r r r r r r �__ne__p s zBackupLocation.__ne__N)�__name__� __module__�__qualname__�__doc__ZDESTINATION_BUCKETZ)DESTINATION_PRE_AUTHENTICATED_REQUEST_URIr �staticmethodr �propertyr �setterr r r r r r r r s r N)Zoci.utilr r r Zoci.decoratorsr �objectr r r r r �<module> s