Interface AsyncApi30Message
-
- All Superinterfaces:
AsyncApi30Extensible,AsyncApi30Referenceable,AsyncApiExtensible,AsyncApiMessage,AsyncApiReferenceable,Extensible,Node,Referenceable,Visitable
- All Known Implementing Classes:
AsyncApi30MessageImpl
public interface AsyncApi30Message extends AsyncApiMessage, AsyncApi30Extensible, AsyncApi30Referenceable
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidaddExample(AsyncApi30MessageExample value)voidaddExtension(String name, com.fasterxml.jackson.databind.JsonNode value)voidclearExamples()voidclearExtensions()AsyncApi30MessageExamplecreateMessageExample()AsyncApi30MultiFormatSchemacreateMultiFormatSchema()AsyncApi30SchemacreateSchema()Stringget$ref()List<AsyncApi30MessageExample>getExamples()Map<String,com.fasterxml.jackson.databind.JsonNode>getExtensions()MultiFormatSchemaSchemaUniongetHeaders()MultiFormatSchemaSchemaUniongetPayload()voidinsertExample(AsyncApi30MessageExample value, int atIndex)voidinsertExtension(String name, com.fasterxml.jackson.databind.JsonNode value, int atIndex)voidremoveExample(AsyncApi30MessageExample value)voidremoveExtension(String name)voidset$ref(String value)voidsetHeaders(MultiFormatSchemaSchemaUnion value)voidsetPayload(MultiFormatSchemaSchemaUnion value)-
Methods inherited from interface io.apicurio.datamodels.models.asyncapi.AsyncApiMessage
addTag, addTrait, clearTags, clearTraits, createCorrelationID, createExternalDocumentation, createMessageBindings, createMessageTrait, createTag, getBindings, getContentType, getCorrelationId, getDescription, getExternalDocs, getName, getSummary, getTags, getTitle, getTraits, insertTag, insertTrait, removeTag, removeTrait, setBindings, setContentType, setCorrelationId, setDescription, setExternalDocs, setName, setSummary, setTitle
-
Methods inherited from interface io.apicurio.datamodels.models.Node
addExtraProperty, attach, clearNodeAttributes, emptyClone, getExtraProperty, getExtraPropertyNames, getNodeAttribute, getNodeAttributeNames, hasExtraProperties, isAttached, mapPropertyName, modelId, parent, parentPropertyName, parentPropertyType, removeExtraProperty, root, setNodeAttribute
-
-
-
-
Method Detail
-
getHeaders
MultiFormatSchemaSchemaUnion getHeaders()
-
setHeaders
void setHeaders(MultiFormatSchemaSchemaUnion value)
-
createMultiFormatSchema
AsyncApi30MultiFormatSchema createMultiFormatSchema()
-
createSchema
AsyncApi30Schema createSchema()
-
getPayload
MultiFormatSchemaSchemaUnion getPayload()
-
setPayload
void setPayload(MultiFormatSchemaSchemaUnion value)
-
createMessageExample
AsyncApi30MessageExample createMessageExample()
-
getExamples
List<AsyncApi30MessageExample> getExamples()
-
addExample
void addExample(AsyncApi30MessageExample value)
-
clearExamples
void clearExamples()
-
removeExample
void removeExample(AsyncApi30MessageExample value)
-
insertExample
void insertExample(AsyncApi30MessageExample value, int atIndex)
-
get$ref
String get$ref()
- Specified by:
get$refin interfaceReferenceable
-
set$ref
void set$ref(String value)
- Specified by:
set$refin interfaceReferenceable
-
getExtensions
Map<String,com.fasterxml.jackson.databind.JsonNode> getExtensions()
- Specified by:
getExtensionsin interfaceExtensible
-
addExtension
void addExtension(String name, com.fasterxml.jackson.databind.JsonNode value)
- Specified by:
addExtensionin interfaceExtensible
-
clearExtensions
void clearExtensions()
- Specified by:
clearExtensionsin interfaceExtensible
-
removeExtension
void removeExtension(String name)
- Specified by:
removeExtensionin interfaceExtensible
-
insertExtension
void insertExtension(String name, com.fasterxml.jackson.databind.JsonNode value, int atIndex)
- Specified by:
insertExtensionin interfaceExtensible
-
-