TriggerBuildPipelineAction¶
- class oci.devops.models.TriggerBuildPipelineAction(**kwargs)¶
Bases:
TriggerActionThe action to trigger a build pipeline.
Attributes:
A constant which can be used with the type property of a TriggerAction.
[Required] Gets the build_pipeline_id of this TriggerBuildPipelineAction.
Gets the filter of this TriggerAction.
[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'¶
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 TriggerBuildPipelineAction object with values from keyword arguments. The default value of the
typeattribute of this class isTRIGGER_BUILD_PIPELINEand 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.
- property 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
- property filter¶
Gets the filter of this TriggerAction.
- Returns
The filter of this TriggerAction.
- Return type
- 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.
- property 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