@dasch-swiss/dsp-js
Version:
TypeScript client library for DSP-API
143 lines • 4.55 kB
JavaScript
import { __decorate, __metadata } from "tslib";
import { JsonObject, JsonProperty } from 'json2typescript';
import { Constants } from '../../../Constants';
import { License } from '../create/license';
import { UpdateValue } from './update-value';
/**
* @category Model V2
*/
let UpdateFileValue = class UpdateFileValue extends UpdateValue {
constructor() {
super(...arguments);
this.filename = '';
}
};
__decorate([
JsonProperty(Constants.FileValueHasFilename, String),
__metadata("design:type", Object)
], UpdateFileValue.prototype, "filename", void 0);
__decorate([
JsonProperty(Constants.hasCopyrightHolder, String, true),
__metadata("design:type", String)
], UpdateFileValue.prototype, "copyrightHolder", void 0);
__decorate([
JsonProperty(Constants.hasAuthorship, [String], true),
__metadata("design:type", Array)
], UpdateFileValue.prototype, "authorship", void 0);
__decorate([
JsonProperty(Constants.hasLicense, License, true),
__metadata("design:type", License)
], UpdateFileValue.prototype, "license", void 0);
UpdateFileValue = __decorate([
JsonObject('UpdateFileValue')
], UpdateFileValue);
export { UpdateFileValue };
/**
* @category Model V2
*/
let UpdateAudioFileValue = class UpdateAudioFileValue extends UpdateFileValue {
constructor() {
super(Constants.AudioFileValue);
}
};
UpdateAudioFileValue = __decorate([
JsonObject('UpdateAudioFileValue'),
__metadata("design:paramtypes", [])
], UpdateAudioFileValue);
export { UpdateAudioFileValue };
/**
* @category Model V2
*/
let UpdateDocumentFileValue = class UpdateDocumentFileValue extends UpdateFileValue {
constructor() {
super(Constants.DocumentFileValue);
}
};
UpdateDocumentFileValue = __decorate([
JsonObject('UpdateDocumentFileValue'),
__metadata("design:paramtypes", [])
], UpdateDocumentFileValue);
export { UpdateDocumentFileValue };
/**
* @category Model V2
*/
let UpdateMovingImageFileValue = class UpdateMovingImageFileValue extends UpdateFileValue {
constructor() {
super(Constants.MovingImageFileValue);
}
};
UpdateMovingImageFileValue = __decorate([
JsonObject('UpdateMovingImageFileValue'),
__metadata("design:paramtypes", [])
], UpdateMovingImageFileValue);
export { UpdateMovingImageFileValue };
/**
* @category Model V2
*/
let UpdateStillImageFileValue = class UpdateStillImageFileValue extends UpdateFileValue {
constructor() {
super(Constants.StillImageFileValue);
}
};
UpdateStillImageFileValue = __decorate([
JsonObject('UpdateStillImageFileValue'),
__metadata("design:paramtypes", [])
], UpdateStillImageFileValue);
export { UpdateStillImageFileValue };
/**
* @category Model V2
*/
let UpdateExternalStillImageFileValue = class UpdateExternalStillImageFileValue extends UpdateFileValue {
constructor() {
super(Constants.StillImageExternalFileValue);
}
};
__decorate([
JsonProperty(Constants.StillImageFileValueHasExternalUrl, String, true),
__metadata("design:type", String)
], UpdateExternalStillImageFileValue.prototype, "externalUrl", void 0);
UpdateExternalStillImageFileValue = __decorate([
JsonObject('UpdateStillImageExternalFileValue'),
__metadata("design:paramtypes", [])
], UpdateExternalStillImageFileValue);
export { UpdateExternalStillImageFileValue };
/**
* @category Model V2
*/
let UpdateStillImageVectorFileValue = class UpdateStillImageVectorFileValue extends UpdateFileValue {
constructor() {
super(Constants.StillImageVectorFileValue);
}
};
UpdateStillImageVectorFileValue = __decorate([
JsonObject('UpdateStillImageVectorFileValue'),
__metadata("design:paramtypes", [])
], UpdateStillImageVectorFileValue);
export { UpdateStillImageVectorFileValue };
/**
* @category Model V2
*/
let UpdateTextFileValue = class UpdateTextFileValue extends UpdateFileValue {
constructor() {
super(Constants.TextFileValue);
}
};
UpdateTextFileValue = __decorate([
JsonObject('UpdateTextFileValue'),
__metadata("design:paramtypes", [])
], UpdateTextFileValue);
export { UpdateTextFileValue };
/**
* @category Model V2
*/
let UpdateArchiveFileValue = class UpdateArchiveFileValue extends UpdateFileValue {
constructor() {
super(Constants.ArchiveFileValue);
}
};
UpdateArchiveFileValue = __decorate([
JsonObject('UpdateArchiveFileValue'),
__metadata("design:paramtypes", [])
], UpdateArchiveFileValue);
export { UpdateArchiveFileValue };
//# sourceMappingURL=update-file-value.js.map