Interface AsyncApi30MessageTrait
-
- All Superinterfaces:
AsyncApi30Extensible,AsyncApi30Referenceable,AsyncApiExtensible,AsyncApiMessageTrait,AsyncApiReferenceable,Extensible,Node,Referenceable,Visitable
- All Known Implementing Classes:
AsyncApi30MessageTraitImpl
public interface AsyncApi30MessageTrait extends AsyncApiMessageTrait, 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()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)-
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
-
getHeaders
MultiFormatSchemaSchemaUnion getHeaders()
-
setHeaders
void setHeaders(MultiFormatSchemaSchemaUnion value)
-
createMultiFormatSchema
AsyncApi30MultiFormatSchema createMultiFormatSchema()
-
createSchema
AsyncApi30Schema createSchema()
-
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
-
-