1# coding=utf-8 2# -------------------------------------------------------------------------- 3# Copyright (c) Microsoft Corporation. All rights reserved. 4# Licensed under the MIT License. See License.txt in the project root for 5# license information. 6# 7# Code generated by Microsoft (R) AutoRest Code Generator. 8# Changes may cause incorrect behavior and will be lost if the code is 9# regenerated. 10# -------------------------------------------------------------------------- 11 12from msrest.serialization import Model 13 14 15class Error(Model): 16 """The key vault server error. 17 18 Variables are only populated by the server, and will be ignored when 19 sending a request. 20 21 :ivar code: The error code. 22 :vartype code: str 23 :ivar message: The error message. 24 :vartype message: str 25 :ivar inner_error: 26 :vartype inner_error: ~azure.keyvault.v2016_10_01.models.Error 27 """ 28 29 _validation = { 30 'code': {'readonly': True}, 31 'message': {'readonly': True}, 32 'inner_error': {'readonly': True}, 33 } 34 35 _attribute_map = { 36 'code': {'key': 'code', 'type': 'str'}, 37 'message': {'key': 'message', 'type': 'str'}, 38 'inner_error': {'key': 'innererror', 'type': 'Error'}, 39 } 40 41 def __init__(self, **kwargs): 42 super(Error, self).__init__(**kwargs) 43 self.code = None 44 self.message = None 45 self.inner_error = None 46