VbsFilterAttributes

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

Bases: object

Attributes to filter VBS events.

Methods

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

Attributes

base_ref Gets the base_ref of this VbsFilterAttributes.
file_filter Gets the file_filter of this VbsFilterAttributes.
head_ref Gets the head_ref of this VbsFilterAttributes.
repository_name Gets the repository_name of this VbsFilterAttributes.
__init__(**kwargs)

Initializes a new VbsFilterAttributes 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 VbsFilterAttributes.
  • base_ref (str) – The value to assign to the base_ref property of this VbsFilterAttributes.
  • repository_name (str) – The value to assign to the repository_name property of this VbsFilterAttributes.
  • file_filter (oci.devops.models.FileFilter) – The value to assign to the file_filter property of this VbsFilterAttributes.
base_ref

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

Returns:The base_ref of this VbsFilterAttributes.
Return type:str
file_filter

Gets the file_filter of this VbsFilterAttributes.

Returns:The file_filter of this VbsFilterAttributes.
Return type:oci.devops.models.FileFilter
head_ref

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

Returns:The head_ref of this VbsFilterAttributes.
Return type:str
repository_name

Gets the repository_name of this VbsFilterAttributes. The repository name for trigger events.

Returns:The repository_name of this VbsFilterAttributes.
Return type:str