# Module `netapp_ontap.models.ems_filter_rules`

Copyright © 2022 NetApp Inc. All rights reserved.

This file has been automatically generated based on the ONTAP REST API documentation.

## Classes

`class EmsFilterRulesSchema (*, only: Union[Sequence[str], Set[str]] = None, exclude: Union[Sequence[str], Set[str]] = (), many: bool = False, context: Dict = None, load_only: Union[Sequence[str], Set[str]] = (), dump_only: Union[Sequence[str], Set[str]] = (), partial: Union[bool, Sequence[str], Set[str]] = False, unknown: str = None)`

  The fields of the EmsFilterRules object

  ### Ancestors

  - netapp_ontap.resource.ResourceSchema
  - marshmallow.schema.Schema
  - marshmallow.base.SchemaABC

  ### Class variables

  `index: Size GET POST PATCH`

    Rule index. Rules are evaluated in ascending order. If a rule's index order is not specified during creation, the rule is appended to the end of the list.

    Example: 1

  `links: SelfLink GET`

    The links field of the ems_filter_rules.

  `message_criteria: EmsFilterRulesMessageCriteria GET POST PATCH`

    The message_criteria field of the ems_filter_rules.

  `type: str GET POST PATCH`

    Rule type

    Valid choices:

    - include
    - exclude