package.es.elements.Requirement.mjs Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of apidom-ns-api-design-systems Show documentation
Show all versions of apidom-ns-api-design-systems Show documentation
API Design Systems 2021-05-07 namespace for ApiDOM.
The newest version!
import { ObjectElement } from '@swagger-api/apidom-core';
class Requirement extends ObjectElement {
constructor(content, meta, attributes) {
super(content, meta, attributes);
this.element = 'requirement';
}
get subject() {
return this.get('subject');
}
set subject(subject) {
this.set('subject', subject);
}
get level() {
return this.get('level');
}
set level(level) {
this.set('level', level);
}
get values() {
return this.get('values');
}
set values(values) {
this.set('values', values);
}
get follows() {
return this.get('follows');
}
set follows(follows) {
this.set('follows', follows);
}
}
export default Requirement;