class Azure::EventGrid::Mgmt::V2020_04_01_preview::Models::JsonField
This is used to express the source of an input schema mapping for a single target field in the Event Grid Event schema. This is currently used in the mappings for the 'id', 'topic' and 'eventtime' properties. This represents a field in the input event schema.
Attributes
source_field[RW]
@return [String] Name of a field in the input event schema that's to be used as the source of a mapping.
Public Class Methods
mapper()
click to toggle source
Mapper for JsonField
class as Ruby Hash. This will be used for serialization/deserialization.
# File lib/2020-04-01-preview/generated/azure_mgmt_event_grid/models/json_field.rb, line 27 def self.mapper() { client_side_validation: true, required: false, serialized_name: 'JsonField', type: { name: 'Composite', class_name: 'JsonField', model_properties: { source_field: { client_side_validation: true, required: false, serialized_name: 'sourceField', type: { name: 'String' } } } } } end