package.es.elements.Scenario.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 Scenario extends ObjectElement {
constructor(content, meta, attributes) {
super(content, meta, attributes);
this.element = 'scenario';
}
get description() {
return this.get('description');
}
set description(description) {
this.set('description', description);
}
get when() {
return this.get('when');
}
set when(when) {
this.set('when', when);
}
get then() {
return this.get('then');
}
set then(then) {
this.set('then', then);
}
}
export default Scenario;