# 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 InnerError(Model):
"""Inner error.
:param diagnosticcontext: Provides correlation for request
:type diagnosticcontext: str
:param time: Request time
:type time: datetime
"""
_attribute_map = {
'diagnosticcontext': {'key': 'diagnosticcontext', 'type': 'str'},
'time': {'key': 'time', 'type': 'iso-8601'},
}
def __init__(self, *, diagnosticcontext: str=None, time=None, **kwargs) -> None:
super(InnerError, self).__init__(**kwargs)
self.diagnosticcontext = diagnosticcontext
self.time = time