VbsFilter¶
-
class
oci.devops.models.
VbsFilter
(**kwargs)¶ Bases:
oci.devops.models.filter.Filter
The filter for VBS events.
Attributes
EVENTS_MERGE_REQUEST_CREATED
A constant which can be used with the events property of a VbsFilter. EVENTS_MERGE_REQUEST_MERGED
A constant which can be used with the events property of a VbsFilter. EVENTS_MERGE_REQUEST_UPDATED
A constant which can be used with the events property of a VbsFilter. EVENTS_PUSH
A constant which can be used with the events property of a VbsFilter. events
Gets the events of this VbsFilter. exclude
Gets the exclude of this VbsFilter. include
Gets the include of this VbsFilter. trigger_source
[Required] Gets the trigger_source of this Filter. Methods
__init__
(**kwargs)Initializes a new VbsFilter 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. -
EVENTS_MERGE_REQUEST_CREATED
= 'MERGE_REQUEST_CREATED'¶ A constant which can be used with the events property of a VbsFilter. This constant has a value of “MERGE_REQUEST_CREATED”
-
EVENTS_MERGE_REQUEST_MERGED
= 'MERGE_REQUEST_MERGED'¶ A constant which can be used with the events property of a VbsFilter. This constant has a value of “MERGE_REQUEST_MERGED”
-
EVENTS_MERGE_REQUEST_UPDATED
= 'MERGE_REQUEST_UPDATED'¶ A constant which can be used with the events property of a VbsFilter. This constant has a value of “MERGE_REQUEST_UPDATED”
-
EVENTS_PUSH
= 'PUSH'¶ A constant which can be used with the events property of a VbsFilter. This constant has a value of “PUSH”
-
__init__
(**kwargs)¶ Initializes a new VbsFilter object with values from keyword arguments. The default value of the
trigger_source
attribute of this class isVBS
and it should not be changed. The following keyword arguments are supported (corresponding to the getters/setters of this class):Parameters: - trigger_source (str) – The value to assign to the trigger_source property of this VbsFilter.
- events (list[str]) – The value to assign to the events property of this VbsFilter. Allowed values for items in this list are: “PUSH”, “MERGE_REQUEST_CREATED”, “MERGE_REQUEST_UPDATED”, “MERGE_REQUEST_MERGED”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
- include (oci.devops.models.VbsFilterAttributes) – The value to assign to the include property of this VbsFilter.
- exclude (oci.devops.models.VbsFilterExclusionAttributes) – The value to assign to the exclude property of this VbsFilter.
-
events
¶ Gets the events of this VbsFilter. The events, for example, PUSH, PULL_REQUEST_MERGE.
Allowed values for items in this list are: “PUSH”, “MERGE_REQUEST_CREATED”, “MERGE_REQUEST_UPDATED”, “MERGE_REQUEST_MERGED”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
Returns: The events of this VbsFilter. Return type: list[str]
-
exclude
¶ Gets the exclude of this VbsFilter.
Returns: The exclude of this VbsFilter. Return type: oci.devops.models.VbsFilterExclusionAttributes
-
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.
-
include
¶ Gets the include of this VbsFilter.
Returns: The include of this VbsFilter. Return type: oci.devops.models.VbsFilterAttributes
-
trigger_source
¶ [Required] Gets the trigger_source of this Filter. Source of the trigger. Allowed values are, GITHUB and GITLAB.
Returns: The trigger_source of this Filter. Return type: str
-