TriggerAction

class oci.devops.models.TriggerAction(**kwargs)

Bases: object

The trigger action to be performed.

Attributes

TYPE_TRIGGER_BUILD_PIPELINE A constant which can be used with the type property of a TriggerAction.
filter Gets the filter of this TriggerAction.
type [Required] Gets the type of this TriggerAction.

Methods

__init__(**kwargs) Initializes a new TriggerAction object with values from keyword arguments.
get_subtype(object_dictionary) Given the hash representation of a subtype of this class, use the info in the hash to return the class of the subtype.
TYPE_TRIGGER_BUILD_PIPELINE = 'TRIGGER_BUILD_PIPELINE'

A constant which can be used with the type property of a TriggerAction. This constant has a value of “TRIGGER_BUILD_PIPELINE”

__init__(**kwargs)

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:

The following keyword arguments are supported (corresponding to the getters/setters of this class):

Parameters:
  • type (str) – 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’.
  • filter (oci.devops.models.Filter) – The value to assign to the filter property of this TriggerAction.
filter

Gets the filter of this TriggerAction.

Returns:The filter of this TriggerAction.
Return type:oci.devops.models.Filter
static get_subtype(object_dictionary)

Given the hash representation of a subtype of this class, use the info in the hash to return the class of the subtype.

type

[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’.

Returns:The type of this TriggerAction.
Return type:str