ruạṛ
a ���f� � @ sD d dl mZ ddlmZmZmZ ddlmZ eG dd� de��ZdS )� )�BuildRunSource� )�formatted_flat_dict� NONE_SENTINEL�#value_allowed_none_or_none_sentinel)�init_model_state_from_kwargsc @ sd e Zd ZdZdd� Zedd� �Zejdd� �Zedd� �Zejd d� �Zd d� Z dd � Z dd� ZdS )�GithubBuildRunSourcez8 Specifies details of build run through GitHub. c K s8 dddd�| _ dddd�| _d| _d| _d| _d| _dS ) a� Initializes a new GithubBuildRunSource object with values from keyword arguments. The default value of the :py:attr:`~oci.devops.models.GithubBuildRunSource.source_type` attribute of this class is ``GITHUB`` and it should not be changed. The following keyword arguments are supported (corresponding to the getters/setters of this class): :param source_type: The value to assign to the source_type property of this GithubBuildRunSource. Allowed values for this property are: "MANUAL", "GITHUB", "GITLAB", "GITLAB_SERVER", "BITBUCKET_CLOUD", "BITBUCKET_SERVER", "DEVOPS_CODE_REPOSITORY", "VBS" :type source_type: str :param trigger_id: The value to assign to the trigger_id property of this GithubBuildRunSource. :type trigger_id: str :param trigger_info: The value to assign to the trigger_info property of this GithubBuildRunSource. :type trigger_info: oci.devops.models.TriggerInfo �strZTriggerInfo)Zsource_type� trigger_id�trigger_infoZ sourceTypeZ triggerIdZtriggerInfoNZGITHUB)Z swagger_typesZ attribute_mapZ_source_type�_trigger_id� _trigger_info)�self�kwargs� r �M/usr/lib/python3.9/site-packages/oci/devops/models/github_build_run_source.py�__init__ s ��zGithubBuildRunSource.__init__c C s | j S )z� **[Required]** Gets the trigger_id of this GithubBuildRunSource. The trigger that invoked the build run. :return: The trigger_id of this GithubBuildRunSource. :rtype: str �r �r r r r r 7 s zGithubBuildRunSource.trigger_idc C s || _ dS )z� Sets the trigger_id of this GithubBuildRunSource. The trigger that invoked the build run. :param trigger_id: The trigger_id of this GithubBuildRunSource. :type: str Nr )r r r r r r C s c C s | j S )z� **[Required]** Gets the trigger_info of this GithubBuildRunSource. :return: The trigger_info of this GithubBuildRunSource. :rtype: oci.devops.models.TriggerInfo �r r r r r r O s z!GithubBuildRunSource.trigger_infoc C s || _ dS )z� Sets the trigger_info of this GithubBuildRunSource. :param trigger_info: The trigger_info of this GithubBuildRunSource. :type: oci.devops.models.TriggerInfo Nr )r r r r r r Y s c C s t | �S �N)r r r r r �__repr__c s zGithubBuildRunSource.__repr__c C s |d u rdS | j |j kS )NF)�__dict__�r �otherr r r �__eq__f s zGithubBuildRunSource.__eq__c C s | |k S r r r r r r �__ne__l s zGithubBuildRunSource.__ne__N)�__name__� __module__�__qualname__�__doc__r �propertyr �setterr r r r r r r r r s % r N) Zbuild_run_sourcer Zoci.utilr r r Zoci.decoratorsr r r r r r �<module> s
cải xoăn