# coding=utf-8
# --------------------------------------------------------------------------
# Copyright (c) Microsoft Corporation. All rights reserved.
# Licensed under the MIT License. See License.txt in the project root for
# license information.
#
# Code generated by Microsoft (R) AutoRest Code Generator.
# Changes may cause incorrect behavior and will be lost if the code is
# regenerated.
# --------------------------------------------------------------------------
from .advanced_filter_py3 import AdvancedFilter
[docs]class StringNotInAdvancedFilter(AdvancedFilter):
"""StringNotIn Advanced Filter.
All required parameters must be populated in order to send to Azure.
:param key: The field/property in the event based on which you want to
filter.
:type key: str
:param operator_type: Required. Constant filled by server.
:type operator_type: str
:param values: The set of filter values.
:type values: list[str]
"""
_validation = {
'operator_type': {'required': True},
}
_attribute_map = {
'key': {'key': 'key', 'type': 'str'},
'operator_type': {'key': 'operatorType', 'type': 'str'},
'values': {'key': 'values', 'type': '[str]'},
}
def __init__(self, *, key: str=None, values=None, **kwargs) -> None:
super(StringNotInAdvancedFilter, self).__init__(key=key, **kwargs)
self.values = values
self.operator_type = 'StringNotIn'