Interface AsyncApi25MessageTrait
-
- All Superinterfaces:
AsyncApi25Extensible,AsyncApi25Referenceable,AsyncApiExtensible,AsyncApiMessageTrait,AsyncApiReferenceable,Extensible,Node,Referenceable,Visitable
- All Known Implementing Classes:
AsyncApi25MessageTraitImpl
public interface AsyncApi25MessageTrait extends AsyncApiMessageTrait, AsyncApi25Extensible, AsyncApi25Referenceable
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidaddExtension(String name, com.fasterxml.jackson.databind.JsonNode value)voidclearExtensions()AsyncApi25SchemacreateSchema()Stringget$ref()Map<String,com.fasterxml.jackson.databind.JsonNode>getExamples()Map<String,com.fasterxml.jackson.databind.JsonNode>getExtensions()AsyncApi25SchemagetHeaders()StringgetMessageId()StringgetSchemaFormat()voidinsertExtension(String name, com.fasterxml.jackson.databind.JsonNode value, int atIndex)voidremoveExtension(String name)voidset$ref(String value)voidsetExamples(Map<String,com.fasterxml.jackson.databind.JsonNode> value)voidsetHeaders(AsyncApi25Schema value)voidsetMessageId(String value)voidsetSchemaFormat(String value)-
Methods inherited from interface io.apicurio.datamodels.models.asyncapi.AsyncApiMessageTrait
addTag, clearTags, createCorrelationID, createExternalDocumentation, createMessageBindings, createTag, getBindings, getContentType, getCorrelationId, getDescription, getExternalDocs, getName, getSummary, getTags, getTitle, insertTag, removeTag, 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
-
getMessageId
String getMessageId()
-
setMessageId
void setMessageId(String value)
-
getHeaders
AsyncApi25Schema getHeaders()
-
setHeaders
void setHeaders(AsyncApi25Schema value)
-
createSchema
AsyncApi25Schema createSchema()
-
getSchemaFormat
String getSchemaFormat()
-
setSchemaFormat
void setSchemaFormat(String value)
-
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
-
-