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