| Server IP : 162.144.4.212 / Your IP : 216.73.216.108 Web Server : Apache System : Linux gator2125.hostgator.com 5.14.0-162.23.1.9991722448259.nf.el9.x86_64 #1 SMP PREEMPT_DYNAMIC Wed Jul 31 18:11:45 UTC 2024 x86_64 User : cozeellc ( 2980) PHP Version : 8.3.31 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : ON Directory : /usr/lib/python3.9/site-packages/oci/devops/models/__pycache__/ |
Upload File : |
a
���f� � @ sD d dl mZ ddlmZmZmZ ddlmZ eG dd� de��ZdS )� )�Trigger� )�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 )�GitlabServerTriggerz8
Trigger specific to GitLab self-hosted server.
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 GitlabServerTrigger object with values from keyword arguments. The default value of the :py:attr:`~oci.devops.models.GitlabServerTrigger.trigger_source` attribute
of this class is ``GITLAB_SERVER`` 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 GitlabServerTrigger.
:type id: str
:param display_name:
The value to assign to the display_name property of this GitlabServerTrigger.
:type display_name: str
:param description:
The value to assign to the description property of this GitlabServerTrigger.
:type description: str
:param project_id:
The value to assign to the project_id property of this GitlabServerTrigger.
:type project_id: str
:param compartment_id:
The value to assign to the compartment_id property of this GitlabServerTrigger.
:type compartment_id: str
:param trigger_source:
The value to assign to the trigger_source property of this GitlabServerTrigger.
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 GitlabServerTrigger.
:type time_created: datetime
:param time_updated:
The value to assign to the time_updated property of this GitlabServerTrigger.
:type time_updated: datetime
:param lifecycle_state:
The value to assign to the lifecycle_state property of this GitlabServerTrigger.
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 GitlabServerTrigger.
:type lifecycle_details: str
:param actions:
The value to assign to the actions property of this GitlabServerTrigger.
:type actions: list[oci.devops.models.TriggerAction]
:param freeform_tags:
The value to assign to the freeform_tags property of this GitlabServerTrigger.
:type freeform_tags: dict(str, str)
:param defined_tags:
The value to assign to the defined_tags property of this GitlabServerTrigger.
:type defined_tags: dict(str, dict(str, object))
:param system_tags:
The value to assign to the system_tags property of this GitlabServerTrigger.
:type system_tags: dict(str, dict(str, object))
:param trigger_url:
The value to assign to the trigger_url property of this GitlabServerTrigger.
:type trigger_url: str
�strZdatetimezlist[TriggerAction]zdict(str, str)zdict(str, dict(str, object)))�idZdisplay_name�descriptionZ
project_idZcompartment_idZtrigger_sourceZtime_createdZtime_updatedZlifecycle_stateZlifecycle_details�actionsZ
freeform_tagsZdefined_tagsZsystem_tags�trigger_urlr
ZdisplayNamer Z projectIdZ
compartmentIdZ
triggerSourceZtimeCreatedZtimeUpdatedZlifecycleStateZlifecycleDetailsr ZfreeformTagsZdefinedTagsZ
systemTagsZ
triggerUrlNZ
GITLAB_SERVER)Z
swagger_typesZ
attribute_mapZ_idZ
_display_nameZ_descriptionZ_project_idZ_compartment_idZ_trigger_sourceZ
_time_createdZ
_time_updatedZ_lifecycle_stateZ_lifecycle_details�_actionsZ_freeform_tagsZ
_defined_tagsZ_system_tags�_trigger_url)�self�kwargs� r �K/usr/lib/python3.9/site-packages/oci/devops/models/gitlab_server_trigger.py�__init__ s` F��zGitlabServerTrigger.__init__c C s | j S )z�
**[Required]** Gets the trigger_url of this GitlabServerTrigger.
The endpoint that listens to trigger events.
:return: The trigger_url of this GitlabServerTrigger.
:rtype: str
�r �r r r r r
� s
zGitlabServerTrigger.trigger_urlc C s
|| _ dS )z�
Sets the trigger_url of this GitlabServerTrigger.
The endpoint that listens to trigger events.
:param trigger_url: The trigger_url of this GitlabServerTrigger.
:type: str
Nr )r r
r r r r
� s
c C s t | �S �N)r r r r r �__repr__� s zGitlabServerTrigger.__repr__c C s |d u rdS | j |j kS )NF)�__dict__�r �otherr r r �__eq__� s zGitlabServerTrigger.__eq__c C s
| |k S r r r r r r �__ne__� s zGitlabServerTrigger.__ne__N)�__name__�
__module__�__qualname__�__doc__r �propertyr
�setterr r r r r r r r s z
r N) Ztriggerr Zoci.utilr r r Zoci.decoratorsr r r r r r �<module> s