ruạṛ
a N��f� � @ sD d dl mZ ddlmZmZmZ ddlmZ eG dd� de��ZdS )� )� Connection� )�formatted_flat_dict� NONE_SENTINEL�#value_allowed_none_or_none_sentinel)�init_model_state_from_kwargsc @ sJ e Zd ZdZdd� Zedd� �Zejdd� �Zdd� Zd d � Z dd� Z d S )�GithubAccessTokenConnectionz� The properties that define a connection of the type `GITHUB_ACCESS_TOKEN`. This type corresponds to a connection in GitHub that is authenticated with a personal access token. c K s� ddddddddddddddd�| _ dddd d ddd ddddddd�| _d| _d| _d| _d| _d| _d| _d| _d| _ d| _ d| _d| _d| _ d| _d| _d| _dS )a� Initializes a new GithubAccessTokenConnection object with values from keyword arguments. The default value of the :py:attr:`~oci.devops.models.GithubAccessTokenConnection.connection_type` attribute of this class is ``GITHUB_ACCESS_TOKEN`` and it should not be changed. 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 GithubAccessTokenConnection. :type id: str :param description: The value to assign to the description property of this GithubAccessTokenConnection. :type description: str :param display_name: The value to assign to the display_name property of this GithubAccessTokenConnection. :type display_name: str :param compartment_id: The value to assign to the compartment_id property of this GithubAccessTokenConnection. :type compartment_id: str :param project_id: The value to assign to the project_id property of this GithubAccessTokenConnection. :type project_id: str :param connection_type: The value to assign to the connection_type property of this GithubAccessTokenConnection. 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" :type connection_type: str :param time_created: The value to assign to the time_created property of this GithubAccessTokenConnection. :type time_created: datetime :param time_updated: The value to assign to the time_updated property of this GithubAccessTokenConnection. :type time_updated: datetime :param lifecycle_details: The value to assign to the lifecycle_details property of this GithubAccessTokenConnection. :type lifecycle_details: str :param lifecycle_state: The value to assign to the lifecycle_state property of this GithubAccessTokenConnection. Allowed values for this property are: "ACTIVE", "DELETING" :type lifecycle_state: str :param freeform_tags: The value to assign to the freeform_tags property of this GithubAccessTokenConnection. :type freeform_tags: dict(str, str) :param defined_tags: The value to assign to the defined_tags property of this GithubAccessTokenConnection. :type defined_tags: dict(str, dict(str, object)) :param system_tags: The value to assign to the system_tags property of this GithubAccessTokenConnection. :type system_tags: dict(str, dict(str, object)) :param access_token: The value to assign to the access_token property of this GithubAccessTokenConnection. :type access_token: str �str�datetimezdict(str, str)zdict(str, dict(str, object)))�id�description�display_name�compartment_id� project_id�connection_type�time_created�time_updated�lifecycle_details�lifecycle_state� freeform_tags�defined_tags�system_tags�access_tokenr r �displayName� compartmentId� projectId�connectionType�timeCreated�timeUpdated�lifecycleDetails�lifecycleState�freeformTags�definedTags� systemTags�accessTokenN�GITHUB_ACCESS_TOKEN)� swagger_types� attribute_map�_id�_description� _display_name�_compartment_id�_project_id�_connection_type� _time_created� _time_updated�_lifecycle_details�_lifecycle_state�_freeform_tags� _defined_tags�_system_tags� _access_token)�self�kwargs� r8 ��/sparta/input/_build_configuration/image_build+validate/lib/bmcenv/lib64/python3.9/site-packages/oci/devops/models/github_access_token_connection.py�__init__ sZ B��z$GithubAccessTokenConnection.__init__c C s | j S )z� **[Required]** Gets the access_token of this GithubAccessTokenConnection. The OCID of personal access token saved in secret store. :return: The access_token of this GithubAccessTokenConnection. :rtype: str �r5 �r6 r8 r8 r9 r � s z(GithubAccessTokenConnection.access_tokenc C s || _ dS )z� Sets the access_token of this GithubAccessTokenConnection. The OCID of personal access token saved in secret store. :param access_token: The access_token of this GithubAccessTokenConnection. :type: str Nr; )r6 r r8 r8 r9 r � s c C s t | �S �N)r r<