# 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 OperationResultLogItemContract(Model):
"""Log of the entity being created, updated or deleted.
:param object_type: The type of entity contract.
:type object_type: str
:param action: Action like create/update/delete.
:type action: str
:param object_key: Identifier of the entity being created/updated/deleted.
:type object_key: str
"""
_attribute_map = {
'object_type': {'key': 'objectType', 'type': 'str'},
'action': {'key': 'action', 'type': 'str'},
'object_key': {'key': 'objectKey', 'type': 'str'},
}
def __init__(self, *, object_type: str=None, action: str=None, object_key: str=None, **kwargs) -> None:
super(OperationResultLogItemContract, self).__init__(**kwargs)
self.object_type = object_type
self.action = action
self.object_key = object_key