
package.es.elements.MessageExample.mjs Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of apidom-ns-asyncapi-2 Show documentation
Show all versions of apidom-ns-asyncapi-2 Show documentation
AsyncAPI 2.x.y namespace for ApiDOM.
import { ObjectElement } from '@swagger-api/apidom-core';
class MessageExample extends ObjectElement {
constructor(content, meta, attributes) {
super(content, meta, attributes);
this.element = 'messageExample';
}
get headers() {
return this.get('headers');
}
set headers(headers) {
this.set('headers', headers);
}
get payload() {
return this.get('payload');
}
set payload(payload) {
this.set('payload', payload);
}
get name() {
return this.get('name');
}
set name(name) {
this.set('name', name);
}
get summary() {
return this.get('summary');
}
set summary(summary) {
this.set('summary', summary);
}
}
export default MessageExample;
© 2015 - 2025 Weber Informatics LLC | Privacy Policy