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:
596 bytes
|
Rev | Line | |
---|
[d24f17c] | 1 | import { 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 |
|
---|
| 7 | class 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 | }
|
---|
| 25 | export default Media; |
---|
Note:
See
TracBrowser
for help on using the repository browser.