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:
752 bytes
|
Line | |
---|
1 | import { ObjectElement } from '@swagger-api/apidom-core';
|
---|
2 | class Example extends ObjectElement {
|
---|
3 | constructor(content, meta, attributes) {
|
---|
4 | super(content, meta, attributes);
|
---|
5 | this.element = 'example';
|
---|
6 | }
|
---|
7 | get summary() {
|
---|
8 | return this.get('summary');
|
---|
9 | }
|
---|
10 | set summary(summary) {
|
---|
11 | this.set('summary', summary);
|
---|
12 | }
|
---|
13 | get description() {
|
---|
14 | return this.get('description');
|
---|
15 | }
|
---|
16 | set description(description) {
|
---|
17 | this.set('description', description);
|
---|
18 | }
|
---|
19 | get value() {
|
---|
20 | return this.get('value');
|
---|
21 | }
|
---|
22 | set value(value) {
|
---|
23 | this.set('value', value);
|
---|
24 | }
|
---|
25 | get externalValue() {
|
---|
26 | return this.get('externalValue');
|
---|
27 | }
|
---|
28 | set externalValue(externalValue) {
|
---|
29 | this.set('externalValue', externalValue);
|
---|
30 | }
|
---|
31 | }
|
---|
32 | export default Example; |
---|
Note:
See
TracBrowser
for help on using the repository browser.