Class MessageExample

java.lang.Object
com.asyncapi.schemas.asyncapi.ExtendableObject
com.asyncapi.v3._0_0.model.channel.message.MessageExample

public class MessageExample extends ExtendableObject
Message Example Object represents an example of a Message Object and MUST contain either Message headers and/or Message fields.
Version:
3.0.0
Author:
Pavel Bodiachevskii
See Also:
  • Field Details

    • headers

      @Nullable public @Nullable Map<String,Object> headers
      The value of this field MUST validate against the Message headers field.
    • payload

      @Nullable public @Nullable Map<String,Object> payload
      The value of this field MUST validate against the Message Message payload field.
  • Constructor Details

    • MessageExample

      public MessageExample()