Skip to content

Message

faststream.asyncapi.schema.message.Message #

Bases: BaseModel

A class to represent a message.

Note

The above docstring is autogenerated by docstring-gen library (https://docstring-gen.airt.ai)

contentType class-attribute instance-attribute #

contentType: Optional[str] = None

correlationId class-attribute instance-attribute #

correlationId: Optional[CorrelationId] = None

description class-attribute instance-attribute #

description: Optional[str] = None

externalDocs class-attribute instance-attribute #

externalDocs: Optional[
    Union[ExternalDocs, Dict[str, Any]]
] = None

messageId class-attribute instance-attribute #

messageId: Optional[str] = None

model_config class-attribute instance-attribute #

model_config = {'extra': 'allow'}

name class-attribute instance-attribute #

name: Optional[str] = None

payload instance-attribute #

payload: Dict[str, Any]

summary class-attribute instance-attribute #

summary: Optional[str] = None

tags class-attribute instance-attribute #

tags: Optional[List[Union[Tag, Dict[str, Any]]]] = None

title class-attribute instance-attribute #

title: Optional[str] = None

Config #

extra class-attribute instance-attribute #

extra = 'allow'

Last update: 2023-11-13