File: //lib/python3.9/site-packages/oci/devops/models/__pycache__/trigger_info.cpython-39.pyc
a
���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 @ sd e Zd ZdZdd� Zedd� �Zejdd� �Zedd� �Zejd d� �Zd
d� Z dd
� Z
dd� ZdS )�TriggerInfoz?
Trigger details that need to be used for the BuildRun
c K s( ddd�| _ ddd�| _d| _d| _dS )a�
Initializes a new TriggerInfo object with values from keyword arguments.
The following keyword arguments are supported (corresponding to the getters/setters of this class):
:param display_name:
The value to assign to the display_name property of this TriggerInfo.
:type display_name: str
:param actions:
The value to assign to the actions property of this TriggerInfo.
:type actions: list[oci.devops.models.TriggerAction]
�strzlist[TriggerAction])�display_name�actionsZdisplayNamer N)Z
swagger_typesZ
attribute_map�
_display_name�_actions)�self�kwargs� r �B/usr/lib/python3.9/site-packages/oci/devops/models/trigger_info.py�__init__ s ��zTriggerInfo.__init__c C s | j S )z�
Gets the display_name of this TriggerInfo.
Name for Trigger.
:return: The display_name of this TriggerInfo.
:rtype: str
�r
�r r r r r - s
zTriggerInfo.display_namec C s
|| _ dS )z�
Sets the display_name of this TriggerInfo.
Name for Trigger.
:param display_name: The display_name of this TriggerInfo.
:type: str
Nr )r r r r r r 9 s
c C s | j S )z�
**[Required]** Gets the actions of this TriggerInfo.
The list of actions that are to be performed for this Trigger
:return: The actions of this TriggerInfo.
:rtype: list[oci.devops.models.TriggerAction]
�r r r r r r E s
zTriggerInfo.actionsc C s
|| _ dS )z�
Sets the actions of this TriggerInfo.
The list of actions that are to be performed for this Trigger
:param actions: The actions of this TriggerInfo.
:type: list[oci.devops.models.TriggerAction]
Nr )r r r r r r Q s
c C s t | �S �N)r r r r r �__repr__] s zTriggerInfo.__repr__c C s |d u rdS | j |j kS )NF)�__dict__�r �otherr r r �__eq__` s zTriggerInfo.__eq__c C s
| |k S r r r r r r �__ne__f s zTriggerInfo.__ne__N)�__name__�
__module__�__qualname__�__doc__r �propertyr �setterr r r r r r r r r s
r N)Zoci.utilr r r Zoci.decoratorsr �objectr r r r r �<module> s