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