source: node_modules/@swagger-api/apidom-ns-json-schema-draft-4/es/elements/Media.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: 596 bytes
Line 
1import { ObjectElement } from '@swagger-api/apidom-core';
2
3/**
4 * URI: https://datatracker.ietf.org/doc/html/draft-wright-json-schema-hyperschema-00#section-4.3
5 */
6
7class Media extends ObjectElement {
8 constructor(content, meta, attributes) {
9 super(content, meta, attributes);
10 this.element = 'media';
11 }
12 get binaryEncoding() {
13 return this.get('binaryEncoding');
14 }
15 set binaryEncoding(binaryEncoding) {
16 this.set('binaryEncoding', binaryEncoding);
17 }
18 get type() {
19 return this.get('type');
20 }
21 set type(type) {
22 this.set('type', type);
23 }
24}
25export default Media;
Note: See TracBrowser for help on using the repository browser.