o
    ëÉ¶d»  ã                   @   sD   d dl mZ ddlmZmZmZ ddlmZ eG dd„ deƒƒZdS )é   )ÚTriggeré    )Úformatted_flat_dictÚNONE_SENTINELÚ#value_allowed_none_or_none_sentinel)Úinit_model_state_from_kwargsc                   @   sd   e Zd ZdZdd„ Zedd„ ƒZejdd„ ƒZedd„ ƒZejd	d„ ƒZd
d„ Z	dd„ Z
dd„ ZdS )ÚGithubTriggerz%
    Trigger specific to GitHub.
    c                 K   s6  i dd“dd“dd“dd“dd“dd“dd	“d
d	“dd“dd“dd“dd“dd“dd“dd“dd“| _ i dd“dd“dd“dd“dd“dd“dd“d
d“dd“dd“dd“dd“dd“dd “dd!“dd"“| _d#| _d#| _d#| _d#| _d#| _d#| _d#| _d#| _	d#| _
d#| _d#| _d#| _d#| _d#| _d#| _d#| _d$| _d#S )%aÅ  
        Initializes a new GithubTrigger object with values from keyword arguments. The default value of the :py:attr:`~oci.devops.models.GithubTrigger.trigger_source` 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 id:
            The value to assign to the id property of this GithubTrigger.
        :type id: str

        :param display_name:
            The value to assign to the display_name property of this GithubTrigger.
        :type display_name: str

        :param description:
            The value to assign to the description property of this GithubTrigger.
        :type description: str

        :param project_id:
            The value to assign to the project_id property of this GithubTrigger.
        :type project_id: str

        :param compartment_id:
            The value to assign to the compartment_id property of this GithubTrigger.
        :type compartment_id: str

        :param trigger_source:
            The value to assign to the trigger_source property of this GithubTrigger.
            Allowed values for this property are: "GITHUB", "GITLAB", "GITLAB_SERVER", "BITBUCKET_CLOUD", "BITBUCKET_SERVER", "VBS", "DEVOPS_CODE_REPOSITORY"
        :type trigger_source: str

        :param time_created:
            The value to assign to the time_created property of this GithubTrigger.
        :type time_created: datetime

        :param time_updated:
            The value to assign to the time_updated property of this GithubTrigger.
        :type time_updated: datetime

        :param lifecycle_state:
            The value to assign to the lifecycle_state property of this GithubTrigger.
            Allowed values for this property are: "ACTIVE", "DELETING"
        :type lifecycle_state: str

        :param lifecycle_details:
            The value to assign to the lifecycle_details property of this GithubTrigger.
        :type lifecycle_details: str

        :param actions:
            The value to assign to the actions property of this GithubTrigger.
        :type actions: list[oci.devops.models.TriggerAction]

        :param freeform_tags:
            The value to assign to the freeform_tags property of this GithubTrigger.
        :type freeform_tags: dict(str, str)

        :param defined_tags:
            The value to assign to the defined_tags property of this GithubTrigger.
        :type defined_tags: dict(str, dict(str, object))

        :param system_tags:
            The value to assign to the system_tags property of this GithubTrigger.
        :type system_tags: dict(str, dict(str, object))

        :param trigger_url:
            The value to assign to the trigger_url property of this GithubTrigger.
        :type trigger_url: str

        :param connection_id:
            The value to assign to the connection_id property of this GithubTrigger.
        :type connection_id: str

        ÚidÚstrÚdisplay_nameÚdescriptionZ
project_idZcompartment_idZtrigger_sourceZtime_createdÚdatetimeZtime_updatedZlifecycle_stateZlifecycle_detailsÚactionszlist[TriggerAction]Zfreeform_tagszdict(str, str)Zdefined_tagszdict(str, dict(str, object))Zsystem_tagsÚtrigger_urlÚconnection_idZdisplayNameZ	projectIdZcompartmentIdZtriggerSourceZtimeCreatedZtimeUpdatedZlifecycleStateZlifecycleDetailsZfreeformTagsZdefinedTagsZ
systemTagsZ
triggerUrlZconnectionIdNZGITHUB)Zswagger_typesZattribute_mapZ_idÚ_display_nameZ_descriptionZ_project_idZ_compartment_idZ_trigger_sourceZ_time_createdZ_time_updatedZ_lifecycle_stateZ_lifecycle_detailsZ_actionsZ_freeform_tagsZ_defined_tagsZ_system_tagsÚ_trigger_urlÚ_connection_id)ÚselfÚkwargs© r   úDusr/lib/python3.10/site-packages/oci/devops/models/github_trigger.pyÚ__init__   s¦   Iÿþýüûúùø	÷
öõôóòñðÿþýüûúùø	÷
öõôóòñð
zGithubTrigger.__init__c                 C   ó   | j S )zÏ
        **[Required]** Gets the trigger_url of this GithubTrigger.
        The endpoint that listens to trigger events.


        :return: The trigger_url of this GithubTrigger.
        :rtype: str
        ©r   ©r   r   r   r   r   “   ó   
zGithubTrigger.trigger_urlc                 C   ó
   || _ dS )zÊ
        Sets the trigger_url of this GithubTrigger.
        The endpoint that listens to trigger events.


        :param trigger_url: The trigger_url of this GithubTrigger.
        :type: str
        Nr   )r   r   r   r   r   r   Ÿ   ó   

c                 C   r   )zå
        Gets the connection_id of this GithubTrigger.
        The OCID of the connection resource used to get details for triggered events.


        :return: The connection_id of this GithubTrigger.
        :rtype: str
        ©r   r   r   r   r   r   «   r   zGithubTrigger.connection_idc                 C   r   )zñ
        Sets the connection_id of this GithubTrigger.
        The OCID of the connection resource used to get details for triggered events.


        :param connection_id: The connection_id of this GithubTrigger.
        :type: str
        Nr   )r   r   r   r   r   r   ·   r   c                 C   s   t | ƒS ©N)r   r   r   r   r   Ú__repr__Ã   s   zGithubTrigger.__repr__c                 C   s   |d u rdS | j |j kS )NF)Ú__dict__©r   Úotherr   r   r   Ú__eq__Æ   s   zGithubTrigger.__eq__c                 C   s
   | |k S r    r   r#   r   r   r   Ú__ne__Ì   s   
zGithubTrigger.__ne__N)Ú__name__Ú
__module__Ú__qualname__Ú__doc__r   Úpropertyr   Úsetterr   r!   r%   r&   r   r   r   r   r      s     



r   N)	Ztriggerr   Zoci.utilr   r   r   Zoci.decoratorsr   r   r   r   r   r   Ú<module>   s
   