@bitmovin/api-sdk
Version:
Bitmovin JS/TS API SDK
31 lines (30 loc) • 892 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.GcsOutput = void 0;
const Mapper_1 = require("../common/Mapper");
const Output_1 = require("./Output");
const OutputType_1 = require("./OutputType");
/**
* @export
* @class GcsOutput
*/
class GcsOutput extends Output_1.default {
constructor(obj) {
super(obj);
/**
* Discriminator property for Output
* @type {string}
* @memberof GcsOutput
*/
this.type = OutputType_1.default.GCS;
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.cloudRegion = (0, Mapper_1.map)(obj.cloudRegion);
}
}
exports.GcsOutput = GcsOutput;
exports.default = GcsOutput;