source: node_modules/@swagger-api/apidom-ns-openapi-3-0/cjs/elements/Info.cjs@ 65b6638

main
Last change on this file since 65b6638 was d24f17c, checked in by Aleksandar Panovski <apano77@…>, 15 months ago

Initial commit

  • Property mode set to 100644
File size: 1.1 KB
Line 
1"use strict";
2
3exports.__esModule = true;
4exports.default = void 0;
5var _apidomCore = require("@swagger-api/apidom-core");
6class 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}
49var _default = exports.default = Info;
Note: See TracBrowser for help on using the repository browser.