BitbucketServerFilter¶
-
class
oci.devops.models.BitbucketServerFilter(**kwargs)¶ Bases:
oci.devops.models.filter.FilterThe filter for Bitbucket Server events.
Attributes
EVENTS_PULL_REQUEST_MERGEDA constant which can be used with the events property of a BitbucketServerFilter. EVENTS_PULL_REQUEST_MODIFIEDA constant which can be used with the events property of a BitbucketServerFilter. EVENTS_PULL_REQUEST_OPENEDA constant which can be used with the events property of a BitbucketServerFilter. EVENTS_PUSHA constant which can be used with the events property of a BitbucketServerFilter. eventsGets the events of this BitbucketServerFilter. includeGets the include of this BitbucketServerFilter. trigger_source[Required] Gets the trigger_source of this Filter. Methods
__init__(**kwargs)Initializes a new BitbucketServerFilter 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_PULL_REQUEST_MERGED= 'PULL_REQUEST_MERGED'¶ A constant which can be used with the events property of a BitbucketServerFilter. This constant has a value of “PULL_REQUEST_MERGED”
-
EVENTS_PULL_REQUEST_MODIFIED= 'PULL_REQUEST_MODIFIED'¶ A constant which can be used with the events property of a BitbucketServerFilter. This constant has a value of “PULL_REQUEST_MODIFIED”
-
EVENTS_PULL_REQUEST_OPENED= 'PULL_REQUEST_OPENED'¶ A constant which can be used with the events property of a BitbucketServerFilter. This constant has a value of “PULL_REQUEST_OPENED”
-
EVENTS_PUSH= 'PUSH'¶ A constant which can be used with the events property of a BitbucketServerFilter. This constant has a value of “PUSH”
-
__init__(**kwargs)¶ Initializes a new BitbucketServerFilter object with values from keyword arguments. The default value of the
trigger_sourceattribute of this class isBITBUCKET_SERVERand 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 BitbucketServerFilter.
- events (list[str]) – The value to assign to the events property of this BitbucketServerFilter. Allowed values for items in this list are: “PUSH”, “PULL_REQUEST_OPENED”, “PULL_REQUEST_MODIFIED”, “PULL_REQUEST_MERGED”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
- include (oci.devops.models.BitbucketServerFilterAttributes) – The value to assign to the include property of this BitbucketServerFilter.
-
events¶ Gets the events of this BitbucketServerFilter. The events, for example, PUSH, PULL_REQUEST_MERGE.
Allowed values for items in this list are: “PUSH”, “PULL_REQUEST_OPENED”, “PULL_REQUEST_MODIFIED”, “PULL_REQUEST_MERGED”, ‘UNKNOWN_ENUM_VALUE’. Any unrecognized values returned by a service will be mapped to ‘UNKNOWN_ENUM_VALUE’.
Returns: The events of this BitbucketServerFilter. Return type: list[str]
-
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 BitbucketServerFilter.
Returns: The include of this BitbucketServerFilter. Return type: oci.devops.models.BitbucketServerFilterAttributes
-
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
-