class Azure::EventGrid::Mgmt::V2018_05_01_preview::Models::InputSchemaMapping
By default, Event Grid expects events to be in the Event Grid event schema. Specifying an input schema mapping enables publishing to Event Grid using a custom input schema. Currently, the only supported type of InputSchemaMapping
is 'JsonInputSchemaMapping'.
Attributes
inputSchemaMappingType[RW]
Public Class Methods
mapper()
click to toggle source
Mapper for InputSchemaMapping
class as Ruby Hash. This will be used for serialization/deserialization.
# File lib/2018-05-01-preview/generated/azure_mgmt_event_grid/models/input_schema_mapping.rb, line 32 def self.mapper() { client_side_validation: true, required: false, serialized_name: 'InputSchemaMapping', type: { name: 'Composite', polymorphic_discriminator: 'inputSchemaMappingType', uber_parent: 'InputSchemaMapping', class_name: 'InputSchemaMapping', model_properties: { } } } end
new()
click to toggle source
# File lib/2018-05-01-preview/generated/azure_mgmt_event_grid/models/input_schema_mapping.rb, line 21 def initialize @inputSchemaMappingType = "InputSchemaMapping" end