a Nf[@sDddlmZddlmZmZmZddlmZeGdddeZdS))Trigger)formatted_flat_dict NONE_SENTINEL#value_allowed_none_or_none_sentinel)init_model_state_from_kwargsc@sdeZdZdZddZeddZejddZeddZejd dZd d Z d d Z ddZ dS) GithubTriggerz% Trigger specific to GitHub. cKsddddddddddddddddd|_ddd d d d d dddddddddd|_d|_d|_d|_d|_d|_d|_d|_d|_ d|_ d|_ d|_ d|_ d|_d|_d|_d|_d|_dS)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 strdatetimezlist[TriggerAction]zdict(str, str)zdict(str, dict(str, object)))id display_name description project_idcompartment_idtrigger_source time_created time_updatedlifecycle_statelifecycle_detailsactions freeform_tags defined_tags system_tags trigger_url connection_idr displayNamer projectId compartmentId triggerSource timeCreated timeUpdatedlifecycleStatelifecycleDetailsr freeformTags definedTags systemTags triggerUrl connectionIdNGITHUB) swagger_types attribute_map_id _display_name _description _project_id_compartment_id_trigger_source _time_created _time_updated_lifecycle_state_lifecycle_details_actions_freeform_tags _defined_tags _system_tags _trigger_url_connection_id)selfkwargsr=/sparta/input/_build_configuration/image_build+validate/lib/bmcenv/lib64/python3.9/site-packages/oci/devops/models/github_trigger.py__init__sfJzGithubTrigger.__init__cCs|jS)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 r9r;r=r=r>rs zGithubTrigger.trigger_urlcCs ||_dS)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;rr=r=r>rs cCs|jS)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:rAr=r=r>rs zGithubTrigger.connection_idcCs ||_dS)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 NrB)r;rr=r=r>rs cCst|SN)rrAr=r=r>__repr__szGithubTrigger.__repr__cCs|dur dS|j|jkS)NF)__dict__r;otherr=r=r>__eq__szGithubTrigger.__eq__cCs ||k SrCr=rFr=r=r>__ne__szGithubTrigger.__ne__N) __name__ __module__ __qualname____doc__r?propertyrsetterrrDrHrIr=r=r=r>r s    rN) triggerroci.utilrrroci.decoratorsrrr=r=r=r>s