Class MessageTrait

java.lang.Object
com.asyncapi.schemas.asyncapi.ExtendableObject
com.asyncapi.v2._0_0.model.channel.message.MessageTrait

public class MessageTrait extends ExtendableObject
Describes a trait that MAY be applied to a Message Object(Message).

This object MAY contain any property from the Message Object(Message), except payload and traits.

If you're looking to apply traits to an operation, see the Operation Trait Object(OperationTrait).
Version:
2.0.0
Author:
Pavel Bodiachevskii
See Also:
  • Constructor Details

    • MessageTrait

      public MessageTrait()