Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
# 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 .input_schema_mapping_py3 import InputSchemaMapping
class JsonInputSchemaMapping(InputSchemaMapping):
"""This enables publishing to Event Grid using a custom input schema. This can
be used to map properties from a custom input JSON schema to the Event Grid
event schema.
All required parameters must be populated in order to send to Azure.
:param input_schema_mapping_type: Required. Constant filled by server.
:type input_schema_mapping_type: str
:param id: The mapping information for the Id property of the Event Grid
Event.
:type id: ~azure.mgmt.eventgrid.models.JsonField
:param topic: The mapping information for the Topic property of the Event
Grid Event.
:type topic: ~azure.mgmt.eventgrid.models.JsonField
:param event_time: The mapping information for the EventTime property of
the Event Grid Event.