ruạṛ
a N��f�@ � @ 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 ZdZdd� Zedd� �Zedd� �Zej dd� �Zed d � �Z e j dd � �Z edd � �Zej dd � �Zedd� �Zej dd� �Zedd� �Z e j dd� �Z edd� �Zej dd� �Zedd� �Zej dd� �Zedd� �Zej dd� �Zedd� �Zej d d� �Zed!d"� �Zej d#d"� �Zed$d%� �Zej d&d%� �Zed'd(� �Zej d)d(� �Zed*d+� �Zej d,d+� �Zd-d.� Zd/d0� Zd1d2� Zd3S )4�ConnectionSummaryz/ Summary information for a connection. c K s� dddddddddddddd� | _ dddd d ddd dddddd� | _d| _d| _d| _d| _d| _d| _d| _d| _ d| _ d| _d| _d| _ d| _dS )a% Initializes a new ConnectionSummary 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.BitbucketCloudAppPasswordConnectionSummary` * :class:`~oci.devops.models.VbsAccessTokenConnectionSummary` * :class:`~oci.devops.models.GithubAccessTokenConnectionSummary` * :class:`~oci.devops.models.GitlabAccessTokenConnectionSummary` * :class:`~oci.devops.models.BitbucketServerTokenConnectionSummary` * :class:`~oci.devops.models.GitlabServerAccessTokenConnectionSummary` 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 ConnectionSummary. :type id: str :param display_name: The value to assign to the display_name property of this ConnectionSummary. :type display_name: str :param description: The value to assign to the description property of this ConnectionSummary. :type description: str :param compartment_id: The value to assign to the compartment_id property of this ConnectionSummary. :type compartment_id: str :param project_id: The value to assign to the project_id property of this ConnectionSummary. :type project_id: str :param connection_type: The value to assign to the connection_type property of this ConnectionSummary. :type connection_type: str :param time_created: The value to assign to the time_created property of this ConnectionSummary. :type time_created: datetime :param time_updated: The value to assign to the time_updated property of this ConnectionSummary. :type time_updated: datetime :param lifecycle_details: The value to assign to the lifecycle_details property of this ConnectionSummary. :type lifecycle_details: str :param lifecycle_state: The value to assign to the lifecycle_state property of this ConnectionSummary. :type lifecycle_state: str :param freeform_tags: The value to assign to the freeform_tags property of this ConnectionSummary. :type freeform_tags: dict(str, str) :param defined_tags: The value to assign to the defined_tags property of this ConnectionSummary. :type defined_tags: dict(str, dict(str, object)) :param system_tags: The value to assign to the system_tags property of this ConnectionSummary. :type system_tags: dict(str, dict(str, object)) �str�datetimezdict(str, str)zdict(str, dict(str, object))) �id�display_name�description�compartment_id� project_id�connection_type�time_created�time_updated�lifecycle_details�lifecycle_state� freeform_tags�defined_tags�system_tagsr �displayNamer � compartmentId� projectId�connectionType�timeCreated�timeUpdated�lifecycleDetails�lifecycleState�freeformTags�definedTags� systemTagsN)� swagger_types� attribute_map�_id� _display_name�_description�_compartment_id�_project_id�_connection_type� _time_created� _time_updated�_lifecycle_details�_lifecycle_state�_freeform_tags� _defined_tags�_system_tags)�self�kwargs� r2 ��/sparta/input/_build_configuration/image_build+validate/lib/bmcenv/lib64/python3.9/site-packages/oci/devops/models/connection_summary.py�__init__ sR D��zConnectionSummary.__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 �BITBUCKET_CLOUD_APP_PASSWORD�*BitbucketCloudAppPasswordConnectionSummary�VBS_ACCESS_TOKEN�VbsAccessTokenConnectionSummary�GITHUB_ACCESS_TOKEN�"GithubAccessTokenConnectionSummary�GITLAB_ACCESS_TOKEN�"GitlabAccessTokenConnectionSummary�BITBUCKET_SERVER_ACCESS_TOKEN�%BitbucketServerTokenConnectionSummary�GITLAB_SERVER_ACCESS_TOKEN�(GitlabServerAccessTokenConnectionSummaryr Nr2 )�object_dictionary�typer2 r2 r3 �get_subtype� s zConnectionSummary.get_subtypec C s | j S )z� **[Required]** Gets the id of this ConnectionSummary. Unique identifier that is immutable on creation. :return: The id of this ConnectionSummary. :rtype: str �r# �r0 r2 r2 r3 r � s zConnectionSummary.idc C s || _ dS )z� Sets the id of this ConnectionSummary. Unique identifier that is immutable on creation. :param id: The id of this ConnectionSummary. :type: str NrD )r0 r r2 r2 r3 r � s c C s | j S )a Gets the display_name of this ConnectionSummary. Connection display name, which can be renamed and is not necessarily unique. Avoid entering confidential information. :return: The display_name of this ConnectionSummary. :rtype: str �r$ rE r2 r2 r3 r � s zConnectionSummary.display_namec C s || _ dS )a Sets the display_name of this ConnectionSummary. Connection display name, which can be renamed and is not necessarily unique. Avoid entering confidential information. :param display_name: The display_name of this ConnectionSummary. :type: str NrF )r0 r r2 r2 r3 r � s c C s | j S )z� Gets the description of this ConnectionSummary. Optional description about the connection. :return: The description of this ConnectionSummary. :rtype: str �r% rE r2 r2 r3 r � s zConnectionSummary.descriptionc C s || _ dS )z� Sets the description of this ConnectionSummary. Optional description about the connection. :param description: The description of this ConnectionSummary. :type: str NrG )r0 r r2 r2 r3 r � s c C s | j S )z� **[Required]** Gets the compartment_id of this ConnectionSummary. The OCID of the compartment containing the connection. :return: The compartment_id of this ConnectionSummary. :rtype: str �r&