File: //usr/libexec/oracle-cloud-agent/plugins/osms/oci/devops/models/github_build_run_source.pyc
a
N��fq � @ 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
�str�TriggerInfo)�source_type�
trigger_id�trigger_info�
sourceType� triggerId�triggerInfoN�GITHUB)�
swagger_types�
attribute_map�_source_type�_trigger_id�
_trigger_info)�self�kwargs� r ��/sparta/input/_build_configuration/image_build+validate/lib/bmcenv/lib64/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 5 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 A 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
M 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
W s c C s t | �S �N)r r r r r �__repr__a s zGithubBuildRunSource.__repr__c C s |d u rdS | j |j kS )NF)�__dict__�r �otherr r r �__eq__d s zGithubBuildRunSource.__eq__c C s
| |k S r r r"