# coding=utf-8
# --------------------------------------------------------------------------
# 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


class AnalyticsModelStatusUpdateRequest(Model):
    """AnalyticsModelStatusUpdateRequest.

    :param error_code: Possible values include: 'RetainedInfoTooLarge',
     'ModelTimeout', 'SyntaxError', 'MalformedResults', 'NoExecuteMethod',
     'FailureRateReached'
    :type error_code: str or ~smartdiagnostics_sdk.models.enum
    """

    _attribute_map = {
        'error_code': {'key': 'ErrorCode', 'type': 'str'},
    }

    def __init__(self, *, error_code=None, **kwargs) -> None:
        super(AnalyticsModelStatusUpdateRequest, self).__init__(**kwargs)
        self.error_code = error_code
