source: node_modules/@swagger-api/apidom-ns-json-schema-draft-4/cjs/elements/LinkDescription.cjs@ d24f17c

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: 1.3 KB
Line 
1"use strict";
2
3exports.__esModule = true;
4exports.default = void 0;
5var _apidomCore = require("@swagger-api/apidom-core");
6/**
7 * URI: https://datatracker.ietf.org/doc/html/draft-wright-json-schema-hyperschema-00#section-5
8 */
9
10class LinkDescription extends _apidomCore.ObjectElement {
11 constructor(content, meta, attributes) {
12 super(content, meta, attributes);
13 this.element = 'linkDescription';
14 }
15 get href() {
16 return this.get('href');
17 }
18 set href(href) {
19 this.set('href', href);
20 }
21 get rel() {
22 return this.get('rel');
23 }
24 set rel(rel) {
25 this.set('rel', rel);
26 }
27 get title() {
28 return this.get('title');
29 }
30 set title(title) {
31 this.set('title', title);
32 }
33 get targetSchema() {
34 return this.get('targetSchema');
35 }
36 set targetSchema(targetSchema) {
37 this.set('targetSchema', targetSchema);
38 }
39 get mediaType() {
40 return this.get('mediaType');
41 }
42 set mediaType(mediaType) {
43 this.set('mediaType', mediaType);
44 }
45 get method() {
46 return this.get('method');
47 }
48 set method(method) {
49 this.set('method', method);
50 }
51 get encType() {
52 return this.get('encType');
53 }
54 set encType(encType) {
55 this.set('encType', encType);
56 }
57 get schema() {
58 return this.get('schema');
59 }
60 set schema(schema) {
61 this.set('schema', schema);
62 }
63}
64var _default = exports.default = LinkDescription;
Note: See TracBrowser for help on using the repository browser.