1 | "use strict";
|
---|
2 |
|
---|
3 | exports.__esModule = true;
|
---|
4 | exports.default = void 0;
|
---|
5 | var _apidomCore = require("@swagger-api/apidom-core");
|
---|
6 | class Info extends _apidomCore.ObjectElement {
|
---|
7 | constructor(content, meta, attributes) {
|
---|
8 | super(content, meta, attributes);
|
---|
9 | this.element = 'info';
|
---|
10 | this.classes.push('info');
|
---|
11 | }
|
---|
12 | get title() {
|
---|
13 | return this.get('title');
|
---|
14 | }
|
---|
15 | set title(title) {
|
---|
16 | this.set('title', title);
|
---|
17 | }
|
---|
18 | get description() {
|
---|
19 | return this.get('description');
|
---|
20 | }
|
---|
21 | set description(description) {
|
---|
22 | this.set('description', description);
|
---|
23 | }
|
---|
24 | get termsOfService() {
|
---|
25 | return this.get('termsOfService');
|
---|
26 | }
|
---|
27 | set termsOfService(tos) {
|
---|
28 | this.set('termsOfService', tos);
|
---|
29 | }
|
---|
30 | get contact() {
|
---|
31 | return this.get('contact');
|
---|
32 | }
|
---|
33 | set contact(contactElement) {
|
---|
34 | this.set('contact', contactElement);
|
---|
35 | }
|
---|
36 | get license() {
|
---|
37 | return this.get('license');
|
---|
38 | }
|
---|
39 | set license(licenseElement) {
|
---|
40 | this.set('license', licenseElement);
|
---|
41 | }
|
---|
42 | get version() {
|
---|
43 | return this.get('version');
|
---|
44 | }
|
---|
45 | set version(version) {
|
---|
46 | this.set('version', version);
|
---|
47 | }
|
---|
48 | }
|
---|
49 | var _default = exports.default = Info; |
---|