Aurora
Adminer
Auto Root
WP Admin
cPanel Reset
Anti Backdoor
Root
lib
python3.9
site-packages
oci
devops
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: connection.cpython-39.opt-1.pyc
a ���f�P � @ 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 Zd d� Ze dd � �Zedd� �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� �Zd8d9� Zd:d;� Z d<d=� Z!d>S )?� ConnectionzK The properties that define a connection to external repositories. �GITHUB_ACCESS_TOKEN�GITLAB_ACCESS_TOKEN�GITLAB_SERVER_ACCESS_TOKEN�BITBUCKET_SERVER_ACCESS_TOKEN�BITBUCKET_CLOUD_APP_PASSWORD�VBS_ACCESS_TOKEN�ACTIVE�DELETINGc K s� ddddddddddddddd�| _ ddd d ddd dddddddd�| _d| _d| _d| _d| _d| _d| _d| _d| _ d| _ d| _d| _d| _ d| _d| _dS )a� Initializes a new Connection 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.devops.models.BitbucketServerAccessTokenConnection` * :class:`~oci.devops.models.GitlabAccessTokenConnection` * :class:`~oci.devops.models.GithubAccessTokenConnection` * :class:`~oci.devops.models.BitbucketCloudAppPasswordConnection` * :class:`~oci.devops.models.GitlabServerAccessTokenConnection` * :class:`~oci.devops.models.VbsAccessTokenConnection` 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 Connection. :type id: str :param description: The value to assign to the description property of this Connection. :type description: str :param display_name: The value to assign to the display_name property of this Connection. :type display_name: str :param compartment_id: The value to assign to the compartment_id property of this Connection. :type compartment_id: str :param project_id: The value to assign to the project_id property of this Connection. :type project_id: str :param connection_type: The value to assign to the connection_type property of this Connection. Allowed values for this property are: "GITHUB_ACCESS_TOKEN", "GITLAB_ACCESS_TOKEN", "GITLAB_SERVER_ACCESS_TOKEN", "BITBUCKET_SERVER_ACCESS_TOKEN", "BITBUCKET_CLOUD_APP_PASSWORD", "VBS_ACCESS_TOKEN", 'UNKNOWN_ENUM_VALUE'. Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'. :type connection_type: str :param time_created: The value to assign to the time_created property of this Connection. :type time_created: datetime :param time_updated: The value to assign to the time_updated property of this Connection. :type time_updated: datetime :param last_connection_validation_result: The value to assign to the last_connection_validation_result property of this Connection. :type last_connection_validation_result: oci.devops.models.ConnectionValidationResult :param lifecycle_details: The value to assign to the lifecycle_details property of this Connection. :type lifecycle_details: str :param lifecycle_state: The value to assign to the lifecycle_state property of this Connection. Allowed values for this property are: "ACTIVE", "DELETING", 'UNKNOWN_ENUM_VALUE'. Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'. :type lifecycle_state: str :param freeform_tags: The value to assign to the freeform_tags property of this Connection. :type freeform_tags: dict(str, str) :param defined_tags: The value to assign to the defined_tags property of this Connection. :type defined_tags: dict(str, dict(str, object)) :param system_tags: The value to assign to the system_tags property of this Connection. :type system_tags: dict(str, dict(str, object)) �strZdatetimeZConnectionValidationResultzdict(str, str)zdict(str, dict(str, object)))�id�description�display_name�compartment_id� project_id�connection_type�time_created�time_updated�!last_connection_validation_result�lifecycle_details�lifecycle_state� freeform_tags�defined_tags�system_tagsr r ZdisplayNameZ compartmentIdZ projectId�connectionTypeZtimeCreatedZtimeUpdatedZlastConnectionValidationResultZlifecycleDetailsZlifecycleStateZfreeformTagsZdefinedTagsZ systemTagsN)Z swagger_typesZ attribute_map�_id�_description� _display_name�_compartment_id�_project_id�_connection_type� _time_created� _time_updated�"_last_connection_validation_result�_lifecycle_details�_lifecycle_state�_freeform_tags� _defined_tags�_system_tags)�self�kwargs� r/ �@/usr/lib/python3.9/site-packages/oci/devops/models/connection.py�__init__2 sX L��zConnection.__init__c C sX | d }|dkrdS |dkr dS |dkr,dS |dkr8d S |d krDdS |dkrPd S 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 Z$BitbucketServerAccessTokenConnectionr ZGitlabAccessTokenConnectionr ZGithubAccessTokenConnectionr Z#BitbucketCloudAppPasswordConnectionr Z!GitlabServerAccessTokenConnectionr ZVbsAccessTokenConnectionr Nr/ )Zobject_dictionary�typer/ r/ r0 �get_subtype� s zConnection.get_subtypec C s | j S )z� **[Required]** Gets the id of this Connection. Unique identifier that is immutable on creation. :return: The id of this Connection. :rtype: str �r �r- r/ r/ r0 r � s z Connection.idc C s || _ dS )z� Sets the id of this Connection. Unique identifier that is immutable on creation. :param id: The id of this Connection. :type: str Nr4 )r- r r/ r/ r0 r � s c C s | j S )z� Gets the description of this Connection. Optional description about the connection. :return: The description of this Connection. :rtype: str �r r5 r/ r/ r0 r � s zConnection.descriptionc C s || _ dS )z� Sets the description of this Connection. Optional description about the connection. :param description: The description of this Connection. :type: str Nr6 )r- r r/ r/ r0 r � s c C s | j S )a Gets the display_name of this Connection. Connection display name, which can be renamed and is not necessarily unique. Avoid entering confidential information. :return: The display_name of this Connection. :rtype: str �r! r5 r/ r/ r0 r � s zConnection.display_namec C s || _ dS )a Sets the display_name of this Connection. Connection display name, which can be renamed and is not necessarily unique. Avoid entering confidential information. :param display_name: The display_name of this Connection. :type: str Nr7 )r- r r/ r/ r0 r s c C s | j S )z� **[Required]** Gets the compartment_id of this Connection. The OCID of the compartment containing the connection. :return: The compartment_id of this Connection. :rtype: str �r"