a Nf'@s8ddlmZmZmZddlmZeGdddeZdS))formatted_flat_dict NONE_SENTINEL#value_allowed_none_or_none_sentinel)init_model_state_from_kwargsc@steZdZdZdZddZeddZeddZ e j d dZ ed d Z e j d d Z d dZ ddZ ddZdS) TriggerActionz- The trigger action to be performed. TRIGGER_BUILD_PIPELINEcKs(ddd|_ddd|_d|_d|_dS)a Initializes a new TriggerAction 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.TriggerBuildPipelineAction` The following keyword arguments are supported (corresponding to the getters/setters of this class): :param type: The value to assign to the type property of this TriggerAction. Allowed values for this property are: "TRIGGER_BUILD_PIPELINE", 'UNKNOWN_ENUM_VALUE'. Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'. :type type: str :param filter: The value to assign to the filter property of this TriggerAction. :type filter: oci.devops.models.Filter strFilter)typefilterr r N) swagger_types attribute_map_type_filter)selfkwargsr/sparta/input/_build_configuration/image_build+validate/lib/bmcenv/lib64/python3.9/site-packages/oci/devops/models/trigger_action.py__init__szTriggerAction.__init__cCs|d}|dkrdSdSdS)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 rTriggerBuildPipelineActionrNr)object_dictionaryr rrr get_subtype5szTriggerAction.get_subtypecCs|jS)a **[Required]** Gets the type of this TriggerAction. The type of action that will be taken. Allowed value is TRIGGER_BUILD_PIPELINE. Allowed values for this property are: "TRIGGER_BUILD_PIPELINE", 'UNKNOWN_ENUM_VALUE'. Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'. :return: The type of this TriggerAction. :rtype: str )rrrrrr Bs zTriggerAction.typecCsdg}t||sd}||_dS)z Sets the type of this TriggerAction. The type of action that will be taken. Allowed value is TRIGGER_BUILD_PIPELINE. :param type: The type of this TriggerAction. :type: str rUNKNOWN_ENUM_VALUEN)rr)rr allowed_valuesrrrr Qs  cCs|jS)z Gets the filter of this TriggerAction. :return: The filter of this TriggerAction. :rtype: oci.devops.models.Filter rrrrrr `szTriggerAction.filtercCs ||_dS)z Sets the filter of this TriggerAction. :param filter: The filter of this TriggerAction. :type: oci.devops.models.Filter Nr)rr rrrr jscCst|SN)rrrrr__repr__tszTriggerAction.__repr__cCs|dur dS|j|jkS)NF)__dict__rotherrrr__eq__wszTriggerAction.__eq__cCs ||k Srrrrrr__ne__}szTriggerAction.__ne__N)__name__ __module__ __qualname____doc__TYPE_TRIGGER_BUILD_PIPELINEr staticmethodrpropertyr setterr rr!r"rrrrr s !     rN)oci.utilrrroci.decoratorsrobjectrrrrrs