ruạṛ
a N��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 @ 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� �Zedd� �Zej dd� �Zedd� �Zej dd� �Zedd� �Zej d d� �Zed!d"� �Zej d#d"� �Zed$d%� �Zej d&d%� �Zed'd(� �Zej d)d(� �Zed*d+� �Zej d,d+� �Zd-d.� Zd/d0� Zd1d2� Zd3S )4�TriggerSummaryz! Summary of the trigger. c K s� dddddddddddddd� | _ dddd d ddd dddddd� | _d| _d| _d| _d| _d| _d| _d| _d| _ d| _ d| _d| _d| _ d| _dS )a� Initializes a new TriggerSummary 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.BitbucketCloudTriggerSummary` * :class:`~oci.devops.models.GitlabTriggerSummary` * :class:`~oci.devops.models.GitlabServerTriggerSummary` * :class:`~oci.devops.models.GithubTriggerSummary` * :class:`~oci.devops.models.DevopsCodeRepositoryTriggerSummary` * :class:`~oci.devops.models.BitbucketServerTriggerSummary` * :class:`~oci.devops.models.VbsTriggerSummary` 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 TriggerSummary. :type id: str :param display_name: The value to assign to the display_name property of this TriggerSummary. :type display_name: str :param description: The value to assign to the description property of this TriggerSummary. :type description: str :param project_id: The value to assign to the project_id property of this TriggerSummary. :type project_id: str :param compartment_id: The value to assign to the compartment_id property of this TriggerSummary. :type compartment_id: str :param trigger_source: The value to assign to the trigger_source property of this TriggerSummary. :type trigger_source: str :param time_created: The value to assign to the time_created property of this TriggerSummary. :type time_created: datetime :param time_updated: The value to assign to the time_updated property of this TriggerSummary. :type time_updated: datetime :param lifecycle_state: The value to assign to the lifecycle_state property of this TriggerSummary. :type lifecycle_state: str :param lifecycle_details: The value to assign to the lifecycle_details property of this TriggerSummary. :type lifecycle_details: str :param freeform_tags: The value to assign to the freeform_tags property of this TriggerSummary. :type freeform_tags: dict(str, str) :param defined_tags: The value to assign to the defined_tags property of this TriggerSummary. :type defined_tags: dict(str, dict(str, object)) :param system_tags: The value to assign to the system_tags property of this TriggerSummary. :type system_tags: dict(str, dict(str, object)) �str�datetimezdict(str, str)zdict(str, dict(str, object))) �id�display_name�description� project_id�compartment_id�trigger_source�time_created�time_updated�lifecycle_state�lifecycle_details� freeform_tags�defined_tags�system_tagsr �displayNamer � projectId� compartmentId� triggerSource�timeCreated�timeUpdated�lifecycleState�lifecycleDetails�freeformTags�definedTags� systemTagsN)� swagger_types� attribute_map�_id� _display_name�_description�_project_id�_compartment_id�_trigger_source� _time_created� _time_updated�_lifecycle_state�_lifecycle_details�_freeform_tags� _defined_tags�_system_tags)�self�kwargs� r2 ��/sparta/input/_build_configuration/image_build+validate/lib/bmcenv/lib64/python3.9/site-packages/oci/devops/models/trigger_summary.py�__init__ sR E��zTriggerSummary.__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 �BITBUCKET_CLOUD�BitbucketCloudTriggerSummary�GITLAB�GitlabTriggerSummary� GITLAB_SERVER�GitlabServerTriggerSummary�GITHUB�GithubTriggerSummary�DEVOPS_CODE_REPOSITORY�"DevopsCodeRepositoryTriggerSummary�BITBUCKET_SERVER�BitbucketServerTriggerSummary�VBS�VbsTriggerSummaryr Nr2 )�object_dictionary�typer2 r2 r3 �get_subtype� s zTriggerSummary.get_subtypec C s | j S )z� **[Required]** Gets the id of this TriggerSummary. Unique identifier that is immutable on creation. :return: The id of this TriggerSummary. :rtype: str �r# �r0 r2 r2 r3 r � s zTriggerSummary.idc C s || _ dS )z� Sets the id of this TriggerSummary. Unique identifier that is immutable on creation. :param id: The id of this TriggerSummary. :type: str NrF )r0 r r2 r2 r3 r � s c C s | j S )z� Gets the display_name of this TriggerSummary. Trigger display name. Avoid entering confidential information. :return: The display_name of this TriggerSummary. :rtype: str �r$ rG r2 r2 r3 r � s zTriggerSummary.display_namec C s || _ dS )z� Sets the display_name of this TriggerSummary. Trigger display name. Avoid entering confidential information. :param display_name: The display_name of this TriggerSummary. :type: str NrH )r0 r r2 r2 r3 r � s c C s | j S )z� Gets the description of this TriggerSummary. Description about the trigger. :return: The description of this TriggerSummary. :rtype: str �r% rG r2 r2 r3 r � s zTriggerSummary.descriptionc C s || _ dS )z� Sets the description of this TriggerSummary. Description about the trigger. :param description: The description of this TriggerSummary. :type: str NrI )r0 r r2 r2 r3 r � s c C s | j S )z� **[Required]** Gets the project_id of this TriggerSummary. The OCID of the DevOps project to which the trigger belongs to. :return: The project_id of this TriggerSummary. :rtype: str �r&