UNPKG

@bitmovin/api-sdk

Version:

Bitmovin JS/TS API SDK

34 lines (33 loc) 1.08 kB
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.S3Output = void 0; const Mapper_1 = require("../common/Mapper"); const Output_1 = require("./Output"); const OutputType_1 = require("./OutputType"); /** * @export * @class S3Output */ class S3Output extends Output_1.default { constructor(obj) { super(obj); /** * Discriminator property for Output * @type {string} * @memberof S3Output */ this.type = OutputType_1.default.S3; if (!obj) { return; } this.bucketName = (0, Mapper_1.map)(obj.bucketName); this.accessKey = (0, Mapper_1.map)(obj.accessKey); this.secretKey = (0, Mapper_1.map)(obj.secretKey); this.md5MetaTag = (0, Mapper_1.map)(obj.md5MetaTag); this.cloudRegion = (0, Mapper_1.map)(obj.cloudRegion); this.signatureVersion = (0, Mapper_1.map)(obj.signatureVersion); this.storageClass = (0, Mapper_1.map)(obj.storageClass); } } exports.S3Output = S3Output; exports.default = S3Output;