
package.es.elements.bindings.ws.WebSocketChannelBinding.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 WebSocketChannelBinding extends ObjectElement {
constructor(content, meta, attributes) {
super(content, meta, attributes);
this.element = 'webSocketChannelBinding';
this.classes.push('channel-binding');
}
get method() {
return this.get('method');
}
set method(method) {
this.set('method', method);
}
get query() {
return this.get('query');
}
set query(query) {
this.set('query', query);
}
get headers() {
return this.get('headers');
}
set headers(headers) {
this.set('headers', headers);
}
get bindingVersion() {
return this.get('bindingVersion');
}
set bindingVersion(bindingVersion) {
this.set('bindingVersion', bindingVersion);
}
}
export default WebSocketChannelBinding;
© 2015 - 2025 Weber Informatics LLC | Privacy Policy