UNPKG

@bitmovin/api-sdk

Version:

Bitmovin JS/TS API SDK

36 lines (35 loc) 1.23 kB
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.GenericS3Output = void 0; const Mapper_1 = require("../common/Mapper"); const Output_1 = require("./Output"); const OutputType_1 = require("./OutputType"); /** * @export * @class GenericS3Output */ class GenericS3Output extends Output_1.default { constructor(obj) { super(obj); /** * Discriminator property for Output * @type {string} * @memberof GenericS3Output */ this.type = OutputType_1.default.GENERIC_S3; if (!obj) { return; } this.accessKey = (0, Mapper_1.map)(obj.accessKey); this.secretKey = (0, Mapper_1.map)(obj.secretKey); this.bucketName = (0, Mapper_1.map)(obj.bucketName); this.host = (0, Mapper_1.map)(obj.host); this.port = (0, Mapper_1.map)(obj.port); this.ssl = (0, Mapper_1.map)(obj.ssl); this.signingRegion = (0, Mapper_1.map)(obj.signingRegion); this.signatureVersion = (0, Mapper_1.map)(obj.signatureVersion); this.accessStyle = (0, Mapper_1.map)(obj.accessStyle); } } exports.GenericS3Output = GenericS3Output; exports.default = GenericS3Output;