source: node_modules/@swagger-api/apidom-ns-json-schema-draft-4/cjs/elements/Media.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: 690 bytes
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-4.3
8 */
9
10class Media extends _apidomCore.ObjectElement {
11 constructor(content, meta, attributes) {
12 super(content, meta, attributes);
13 this.element = 'media';
14 }
15 get binaryEncoding() {
16 return this.get('binaryEncoding');
17 }
18 set binaryEncoding(binaryEncoding) {
19 this.set('binaryEncoding', binaryEncoding);
20 }
21 get type() {
22 return this.get('type');
23 }
24 set type(type) {
25 this.set('type', type);
26 }
27}
28var _default = exports.default = Media;
Note: See TracBrowser for help on using the repository browser.