package.es.elements.Principle.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 Principle extends ObjectElement {
constructor(content, meta, attributes) {
super(content, meta, attributes);
this.element = 'principle';
}
get name() {
return this.get('name');
}
set name(name) {
this.set('name', name);
}
get description() {
return this.get('description');
}
set description(description) {
this.set('description', description);
}
get iri() {
return this.get('iri');
}
set iri(iri) {
this.set('iri', iri);
}
get level() {
return this.get('level');
}
set level(level) {
this.set('level', level);
}
}
export default Principle;