TriggerBuildPipelineAction

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

Bases: oci.devops.models.trigger_action.TriggerAction

The action to trigger a build pipeline.

Attributes

TYPE_TRIGGER_BUILD_PIPELINE str(object=’’) -> str
build_pipeline_id [Required] Gets the build_pipeline_id of this TriggerBuildPipelineAction.
filter Gets the filter of this TriggerAction.
type [Required] Gets the type of this TriggerAction.

Methods

__init__(**kwargs) Initializes a new TriggerBuildPipelineAction 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'
__init__(**kwargs)

Initializes a new TriggerBuildPipelineAction object with values from keyword arguments. The default value of the type attribute of this class is TRIGGER_BUILD_PIPELINE and it should not be changed. 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 TriggerBuildPipelineAction. Allowed values for this property are: “TRIGGER_BUILD_PIPELINE”
  • filter (oci.devops.models.Filter) – The value to assign to the filter property of this TriggerBuildPipelineAction.
  • build_pipeline_id (str) – The value to assign to the build_pipeline_id property of this TriggerBuildPipelineAction.
build_pipeline_id

[Required] Gets the build_pipeline_id of this TriggerBuildPipelineAction. The OCID of the build pipeline to be triggered.

Returns:The build_pipeline_id of this TriggerBuildPipelineAction.
Return type:str
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