@bitmovin/api-sdk
Version:
Bitmovin JS/TS API SDK
32 lines (31 loc) • 1.02 kB
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.AzureOutput = void 0;
const Mapper_1 = require("../common/Mapper");
const AzureServicePrincipal_1 = require("./AzureServicePrincipal");
const Output_1 = require("./Output");
const OutputType_1 = require("./OutputType");
/**
* @export
* @class AzureOutput
*/
class AzureOutput extends Output_1.default {
constructor(obj) {
super(obj);
/**
* Discriminator property for Output
* @type {string}
* @memberof AzureOutput
*/
this.type = OutputType_1.default.AZURE;
if (!obj) {
return;
}
this.accountName = (0, Mapper_1.map)(obj.accountName);
this.accountKey = (0, Mapper_1.map)(obj.accountKey);
this.servicePrincipal = (0, Mapper_1.map)(obj.servicePrincipal, AzureServicePrincipal_1.default);
this.container = (0, Mapper_1.map)(obj.container);
}
}
exports.AzureOutput = AzureOutput;
exports.default = AzureOutput;