main
Last change
on this file was d24f17c, checked in by Aleksandar Panovski <apano77@…>, 15 months ago |
Initial commit
|
-
Property mode
set to
100644
|
File size:
612 bytes
|
Rev | Line | |
---|
[d24f17c] | 1 | import { ObjectElement } from '@swagger-api/apidom-core';
|
---|
| 2 | class ServerVariable extends ObjectElement {
|
---|
| 3 | constructor(content, meta, attributes) {
|
---|
| 4 | super(content, meta, attributes);
|
---|
| 5 | this.element = 'serverVariable';
|
---|
| 6 | }
|
---|
| 7 | get enum() {
|
---|
| 8 | return this.get('enum');
|
---|
| 9 | }
|
---|
| 10 | set enum(value) {
|
---|
| 11 | this.set('enum', value);
|
---|
| 12 | }
|
---|
| 13 | get default() {
|
---|
| 14 | return this.get('default');
|
---|
| 15 | }
|
---|
| 16 | set default(value) {
|
---|
| 17 | this.set('default', value);
|
---|
| 18 | }
|
---|
| 19 | get description() {
|
---|
| 20 | return this.get('description');
|
---|
| 21 | }
|
---|
| 22 | set description(description) {
|
---|
| 23 | this.set('description', description);
|
---|
| 24 | }
|
---|
| 25 | }
|
---|
| 26 | export default ServerVariable; |
---|
Note:
See
TracBrowser
for help on using the repository browser.