text: # 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 .migrate_sql_server_sql_server_task_output import MigrateSqlServerSqlServerTaskOutput
  
  
  class MigrateSqlServerSqlServerTaskOutputError(MigrateSqlServerSqlServerTaskOutput):
      """MigrateSqlServerSqlServerTaskOutputError.
  
      Variables are only populated by the server, and will be ignored when
      sending a request.
  
      :ivar id: Result identifier
      :vartype id: str
      :param result_type: Constant filled by server.
      :type result_type: str
      :ivar error: Migration error
      :vartype error: ~azure.mgmt.datamigration.models.ReportableException
      """
  
      _validation = {
          'id': {'readonly': True},
          'result_type': {'required': True},
          'error': {'readonly': True},
      }
  
      _attribute_map = {
          'id': {'key': 'id', 'type': 'str'},
          'result_type': {'key': 'resultType', 'type': 'str'},
          'error': {'key': 'error', 'type': 'ReportableException'},
      }
  
      def __init__(self):
          super(MigrateSqlServerSqlServerTaskOutputError, self).__init__()
          self.error = None
          self.result_type = 'ErrorOutput'
  