GithubFilterAttributes

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

Bases: object

Attributes to filter GitHub events.

Methods

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

Attributes

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

Initializes a new GithubFilterAttributes 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 GithubFilterAttributes.
  • base_ref (str) – The value to assign to the base_ref property of this GithubFilterAttributes.
base_ref

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

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

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

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