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