# 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 EnqueueTrainingResponse(Model):
"""Response model when requesting to train the model.
:param status_id: The train request status ID.
:type status_id: int
:param status: Possible values include: 'Queued', 'InProgress',
'UpToDate', 'Fail', 'Success'
:type status: str or
~azure.cognitiveservices.language.luis.authoring.models.enum
"""
_attribute_map = {
'status_id': {'key': 'statusId', 'type': 'int'},
'status': {'key': 'status', 'type': 'str'},
}
def __init__(self, *, status_id: int=None, status=None, **kwargs) -> None:
super(EnqueueTrainingResponse, self).__init__(**kwargs)
self.status_id = status_id
self.status = status