Aurora
Adminer
Auto Root
WP Admin
cPanel Reset
Anti Backdoor
Root
lib
python3.9
site-packages
oci
devops
models
__pycache__
Upload
New Folder
New File
Name
Size
Permissions
Actions
..
-
-
-
Upload File
Select File
New Folder
Folder Name
New File
File Name
Add WordPress Admin
Database Host
Database Name
Database User
Database Password
Admin Username
Admin Password
cPanel Password Reset
Email Address
Edit: update_trigger_details.cpython-39.pyc
a ���fA% � @ 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 @ s� e Zd ZdZdd� Zedd� �Zedd� �Zej dd� �Zed d � �Z e j dd � �Z edd � �Zej dd � �Zedd� �Zej dd� �Zedd� �Z e j dd� �Z edd� �Zej dd� �Zdd� Zdd� Zdd� ZdS )�UpdateTriggerDetailsz( The information to be updated. c K sP ddddddd�| _ dddd d dd�| _d| _d| _d| _d| _d| _d| _dS ) a; Initializes a new UpdateTriggerDetails object with values from keyword arguments. This class has the following subclasses and if you are using this class as input to a service operations then you should favor using a subclass over the base class: * :class:`~oci.devops.models.UpdateBitbucketServerTriggerDetails` * :class:`~oci.devops.models.UpdateVbsTriggerDetails` * :class:`~oci.devops.models.UpdateGitlabServerTriggerDetails` * :class:`~oci.devops.models.UpdateDevopsCodeRepositoryTriggerDetails` * :class:`~oci.devops.models.UpdateGithubTriggerDetails` * :class:`~oci.devops.models.UpdateGitlabTriggerDetails` * :class:`~oci.devops.models.UpdateBitbucketCloudTriggerDetails` 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 UpdateTriggerDetails. :type display_name: str :param description: The value to assign to the description property of this UpdateTriggerDetails. :type description: str :param trigger_source: The value to assign to the trigger_source property of this UpdateTriggerDetails. :type trigger_source: str :param actions: The value to assign to the actions property of this UpdateTriggerDetails. :type actions: list[oci.devops.models.TriggerAction] :param freeform_tags: The value to assign to the freeform_tags property of this UpdateTriggerDetails. :type freeform_tags: dict(str, str) :param defined_tags: The value to assign to the defined_tags property of this UpdateTriggerDetails. :type defined_tags: dict(str, dict(str, object)) �strzlist[TriggerAction]zdict(str, str)zdict(str, dict(str, object)))�display_name�description�trigger_source�actions� freeform_tags�defined_tagsZdisplayNamer � triggerSourcer ZfreeformTagsZdefinedTagsN)Z swagger_typesZ attribute_map� _display_name�_description�_trigger_source�_actions�_freeform_tags� _defined_tags)�self�kwargs� r �L/usr/lib/python3.9/site-packages/oci/devops/models/update_trigger_details.py�__init__ s( )� � zUpdateTriggerDetails.__init__c C sd | d }|dkrdS |dkr dS |dkr,dS |dkr8d S |d krDdS |dkrPd S |dkr\dS dS dS )z� Given the hash representation of a subtype of this class, use the info in the hash to return the class of the subtype. r ZBITBUCKET_SERVERZ#UpdateBitbucketServerTriggerDetailsZVBSZUpdateVbsTriggerDetailsZ GITLAB_SERVERZ UpdateGitlabServerTriggerDetailsZDEVOPS_CODE_REPOSITORYZ(UpdateDevopsCodeRepositoryTriggerDetailsZGITHUBZUpdateGithubTriggerDetailsZGITLABZUpdateGitlabTriggerDetailsZBITBUCKET_CLOUDZ"UpdateBitbucketCloudTriggerDetailsr Nr )Zobject_dictionary�typer r r �get_subtypeS s z UpdateTriggerDetails.get_subtypec C s | j S )z� Gets the display_name of this UpdateTriggerDetails. Trigger display name. Avoid entering confidential information. :return: The display_name of this UpdateTriggerDetails. :rtype: str �r �r r r r r r s z!UpdateTriggerDetails.display_namec C s || _ dS )z� Sets the display_name of this UpdateTriggerDetails. Trigger display name. Avoid entering confidential information. :param display_name: The display_name of this UpdateTriggerDetails. :type: str Nr )r r r r r r ~ s c C s | j S )z� Gets the description of this UpdateTriggerDetails. Optional description about the trigger. :return: The description of this UpdateTriggerDetails. :rtype: str �r r r r r r � s z UpdateTriggerDetails.descriptionc C s || _ dS )z� Sets the description of this UpdateTriggerDetails. Optional description about the trigger. :param description: The description of this UpdateTriggerDetails. :type: str Nr )r r r r r r � s c C s | j S )z� **[Required]** Gets the trigger_source of this UpdateTriggerDetails. Source of the trigger. Allowed values are, GITHUB and GITLAB. :return: The trigger_source of this UpdateTriggerDetails. :rtype: str �r r r r r r � s z#UpdateTriggerDetails.trigger_sourcec C s || _ dS )z� Sets the trigger_source of this UpdateTriggerDetails. Source of the trigger. Allowed values are, GITHUB and GITLAB. :param trigger_source: The trigger_source of this UpdateTriggerDetails. :type: str Nr )r r r r r r � s c C s | j S )z� Gets the actions of this UpdateTriggerDetails. The list of actions that are to be performed for this trigger. :return: The actions of this UpdateTriggerDetails. :rtype: list[oci.devops.models.TriggerAction] �r r r r r r � s zUpdateTriggerDetails.actionsc C s || _ dS )a Sets the actions of this UpdateTriggerDetails. The list of actions that are to be performed for this trigger. :param actions: The actions of this UpdateTriggerDetails. :type: list[oci.devops.models.TriggerAction] Nr )r r r r r r � s c C s | j S )a� Gets the freeform_tags of this UpdateTriggerDetails. Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. See `Resource Tags`__. Example: `{"bar-key": "value"}` __ https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm :return: The freeform_tags of this UpdateTriggerDetails. :rtype: dict(str, str) �r r r r r r � s z"UpdateTriggerDetails.freeform_tagsc C s || _ dS )a� Sets the freeform_tags of this UpdateTriggerDetails. Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only. See `Resource Tags`__. Example: `{"bar-key": "value"}` __ https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm :param freeform_tags: The freeform_tags of this UpdateTriggerDetails. :type: dict(str, str) Nr! )r r r r r r � s c C s | j S )a� Gets the defined_tags of this UpdateTriggerDetails. Defined tags for this resource. Each key is predefined and scoped to a namespace. See `Resource Tags`__. Example: `{"foo-namespace": {"bar-key": "value"}}` __ https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm :return: The defined_tags of this UpdateTriggerDetails. :rtype: dict(str, dict(str, object)) �r r r r r r � s z!UpdateTriggerDetails.defined_tagsc C s || _ dS )a� Sets the defined_tags of this UpdateTriggerDetails. Defined tags for this resource. Each key is predefined and scoped to a namespace. See `Resource Tags`__. Example: `{"foo-namespace": {"bar-key": "value"}}` __ https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm :param defined_tags: The defined_tags of this UpdateTriggerDetails. :type: dict(str, dict(str, object)) Nr"