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