ruạṛ
a ���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� dddddddddddddddd�| _ ddd d ddd ddddddddd�| _d| _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 last_connection_validation_result: The value to assign to the last_connection_validation_result property of this GithubAccessTokenConnection. :type last_connection_validation_result: oci.devops.models.ConnectionValidationResult :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 �strZdatetimeZConnectionValidationResultzdict(str, str)zdict(str, dict(str, object)))�id�descriptionZdisplay_nameZcompartment_idZ project_idZconnection_typeZtime_createdZtime_updatedZ!last_connection_validation_resultZlifecycle_detailsZlifecycle_stateZ freeform_tagsZdefined_tagsZsystem_tags�access_tokenr r ZdisplayNameZ compartmentIdZ projectIdZconnectionTypeZtimeCreatedZtimeUpdatedZlastConnectionValidationResultZlifecycleDetailsZlifecycleStateZfreeformTagsZdefinedTagsZ systemTagsZaccessTokenNZGITHUB_ACCESS_TOKEN)Z swagger_typesZ attribute_mapZ_idZ_descriptionZ _display_nameZ_compartment_idZ_project_idZ_connection_typeZ _time_createdZ _time_updatedZ"_last_connection_validation_resultZ_lifecycle_detailsZ_lifecycle_stateZ_freeform_tagsZ _defined_tagsZ_system_tags� _access_token)�self�kwargs� r �T/usr/lib/python3.9/site-packages/oci/devops/models/github_access_token_connection.py�__init__ s` F��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 �r �r r r r 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 )r r r r r r � s c C s t | �S �N)r r r r r �__repr__� s z$GithubAccessTokenConnection.__repr__c C s |d u rdS | j |j kS )NF)�__dict__�r �otherr r r �__eq__� s z"GithubAccessTokenConnection.__eq__c C s | |k S r r r r r r �__ne__� s z"GithubAccessTokenConnection.__ne__N)�__name__� __module__�__qualname__�__doc__r �propertyr �setterr r r r r r r r s z r N) Z connectionr Zoci.utilr r r Zoci.decoratorsr r r r r r �<module> s
cải xoăn