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:
428 bytes
|
Rev | Line | |
---|
[d24f17c] | 1 | import { ObjectElement } from '@swagger-api/apidom-core';
|
---|
| 2 | class License extends ObjectElement {
|
---|
| 3 | constructor(content, meta, attributes) {
|
---|
| 4 | super(content, meta, attributes);
|
---|
| 5 | this.element = 'license';
|
---|
| 6 | }
|
---|
| 7 | get name() {
|
---|
| 8 | return this.get('name');
|
---|
| 9 | }
|
---|
| 10 | set name(name) {
|
---|
| 11 | this.set('name', name);
|
---|
| 12 | }
|
---|
| 13 | get url() {
|
---|
| 14 | return this.get('url');
|
---|
| 15 | }
|
---|
| 16 | set url(url) {
|
---|
| 17 | this.set('url', url);
|
---|
| 18 | }
|
---|
| 19 | }
|
---|
| 20 | export default License; |
---|
Note:
See
TracBrowser
for help on using the repository browser.