# 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 PrebuiltDomainModelCreateObject(Model):
"""A model object containing the name of the custom prebuilt intent or entity
and the name of the domain to which this model belongs.
:param domain_name: The domain name.
:type domain_name: str
:param model_name: The intent name or entity name.
:type model_name: str
"""
_attribute_map = {
'domain_name': {'key': 'domainName', 'type': 'str'},
'model_name': {'key': 'modelName', 'type': 'str'},
}
def __init__(self, *, domain_name: str=None, model_name: str=None, **kwargs) -> None:
super(PrebuiltDomainModelCreateObject, self).__init__(**kwargs)
self.domain_name = domain_name
self.model_name = model_name