Source code for azure.eventgrid.models.storage_blob_deleted_event_data_py3

# 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 StorageBlobDeletedEventData(Model): """Schema of the Data property of an EventGridEvent for an Microsoft.Storage.BlobDeleted event. :param api: The name of the API/operation that triggered this event. :type api: str :param client_request_id: A request id provided by the client of the storage API operation that triggered this event. :type client_request_id: str :param request_id: The request id generated by the Storage service for the storage API operation that triggered this event. :type request_id: str :param content_type: The content type of the blob. This is the same as what would be returned in the Content-Type header from the blob. :type content_type: str :param blob_type: The type of blob. :type blob_type: str :param url: The path to the blob. :type url: str :param sequencer: An opaque string value representing the logical sequence of events for any particular blob name. Users can use standard string comparison to understand the relative sequence of two events on the same blob name. :type sequencer: str :param storage_diagnostics: For service use only. Diagnostic data occasionally included by the Azure Storage service. This property should be ignored by event consumers. :type storage_diagnostics: object """ _attribute_map = { 'api': {'key': 'api', 'type': 'str'}, 'client_request_id': {'key': 'clientRequestId', 'type': 'str'}, 'request_id': {'key': 'requestId', 'type': 'str'}, 'content_type': {'key': 'contentType', 'type': 'str'}, 'blob_type': {'key': 'blobType', 'type': 'str'}, 'url': {'key': 'url', 'type': 'str'}, 'sequencer': {'key': 'sequencer', 'type': 'str'}, 'storage_diagnostics': {'key': 'storageDiagnostics', 'type': 'object'}, } def __init__(self, *, api: str=None, client_request_id: str=None, request_id: str=None, content_type: str=None, blob_type: str=None, url: str=None, sequencer: str=None, storage_diagnostics=None, **kwargs) -> None: super(StorageBlobDeletedEventData, self).__init__(**kwargs) self.api = api self.client_request_id = client_request_id self.request_id = request_id self.content_type = content_type self.blob_type = blob_type self.url = url self.sequencer = sequencer self.storage_diagnostics = storage_diagnostics