# 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 msrest.serialization import Model
[docs]class PatternRuleUpdateObject(Model):
"""Object model for updating a pattern.
:param id: The pattern ID.
:type id: str
:param pattern: The pattern text.
:type pattern: str
:param intent: The intent's name which the pattern belongs to.
:type intent: str
"""
_attribute_map = {
'id': {'key': 'id', 'type': 'str'},
'pattern': {'key': 'pattern', 'type': 'str'},
'intent': {'key': 'intent', 'type': 'str'},
}
def __init__(self, *, id: str=None, pattern: str=None, intent: str=None, **kwargs) -> None:
super(PatternRuleUpdateObject, self).__init__(**kwargs)
self.id = id
self.pattern = pattern
self.intent = intent