BitbucketServerFilterAttributes

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

Bases: object

Attributes to filter Bitbucket Server events.

Methods

__init__(**kwargs) Initializes a new BitbucketServerFilterAttributes object with values from keyword arguments.

Attributes

base_ref Gets the base_ref of this BitbucketServerFilterAttributes.
head_ref Gets the head_ref of this BitbucketServerFilterAttributes.
__init__(**kwargs)

Initializes a new BitbucketServerFilterAttributes object with values from keyword arguments. The following keyword arguments are supported (corresponding to the getters/setters of this class):

Parameters:
  • head_ref (str) – The value to assign to the head_ref property of this BitbucketServerFilterAttributes.
  • base_ref (str) – The value to assign to the base_ref property of this BitbucketServerFilterAttributes.
base_ref

Gets the base_ref of this BitbucketServerFilterAttributes. The target branch for pull requests; not applicable for push requests.

Returns:The base_ref of this BitbucketServerFilterAttributes.
Return type:str
head_ref

Gets the head_ref of this BitbucketServerFilterAttributes. Branch for push event; source branch for pull requests.

Returns:The head_ref of this BitbucketServerFilterAttributes.
Return type:str