UNPKG

@azure/eventgrid

Version:
112 lines 2.81 kB
"use strict"; /* * Copyright (c) Microsoft Corporation. * Licensed under the MIT License. * * Code generated by Microsoft (R) AutoRest Code Generator. * Changes may cause incorrect behavior and will be lost if the code is regenerated. */ Object.defineProperty(exports, "__esModule", { value: true }); exports.events2 = exports.aegChannelName = exports.events1 = exports.contentType1 = exports.apiVersion = exports.topicHostname = exports.events = exports.contentType = void 0; exports.contentType = { parameterPath: ["options", "contentType"], mapper: { defaultValue: "application/json", isConstant: true, serializedName: "Content-Type", type: { name: "String", }, }, }; exports.events = { parameterPath: "events", mapper: { serializedName: "events", required: true, type: { name: "Sequence", element: { type: { name: "Composite", className: "EventGridEvent", }, }, }, }, }; exports.topicHostname = { parameterPath: "topicHostname", mapper: { serializedName: "topicHostname", required: true, type: { name: "String", }, }, skipEncoding: true, }; exports.apiVersion = { parameterPath: "apiVersion", mapper: { defaultValue: "2018-01-01", isConstant: true, serializedName: "api-version", type: { name: "String", }, }, }; exports.contentType1 = { parameterPath: ["options", "contentType"], mapper: { defaultValue: "application/cloudevents-batch+json; charset=utf-8", isConstant: true, serializedName: "Content-Type", type: { name: "String", }, }, }; exports.events1 = { parameterPath: "events", mapper: { serializedName: "events", required: true, type: { name: "Sequence", element: { type: { name: "Composite", className: "CloudEvent", }, }, }, }, }; exports.aegChannelName = { parameterPath: ["options", "aegChannelName"], mapper: { serializedName: "aeg-channel-name", type: { name: "String", }, }, }; exports.events2 = { parameterPath: "events", mapper: { serializedName: "events", required: true, type: { name: "Sequence", element: { type: { name: "Dictionary", value: { type: { name: "any" } }, }, }, }, }, }; //# sourceMappingURL=parameters.js.map