Filter

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

Bases: object

The filters for the trigger.

Methods

__init__(**kwargs) Initializes a new Filter 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.

Attributes

trigger_source [Required] Gets the trigger_source of this Filter.
__init__(**kwargs)

Initializes a new Filter object with values from keyword arguments. This class has the following subclasses and if you are using this class as input to a service operations then you should favor using a subclass over the base class:

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 Filter.
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.

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