CreateFilterGroupDetails

class oci.announcements_service.models.CreateFilterGroupDetails(**kwargs)

Bases: object

The details for creating a new filter group for an announcement subscription.

Methods

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

Attributes

filters [Required] Gets the filters of this CreateFilterGroupDetails.
name [Required] Gets the name of this CreateFilterGroupDetails.
__init__(**kwargs)

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

Parameters:
  • name (str) – The value to assign to the name property of this CreateFilterGroupDetails.
  • filters (list[oci.announcements_service.models.Filter]) – The value to assign to the filters property of this CreateFilterGroupDetails.
filters

[Required] Gets the filters of this CreateFilterGroupDetails. A list of filters against which the Announcements service will match announcements. You cannot have more than one of any given filter type within a filter group.

Returns:The filters of this CreateFilterGroupDetails.
Return type:list[oci.announcements_service.models.Filter]
name

[Required] Gets the name of this CreateFilterGroupDetails. The name of the filter group. The name must be unique and it cannot be changed. Avoid entering confidential information.

Returns:The name of this CreateFilterGroupDetails.
Return type:str