UNPKG

@bitmovin/api-sdk

Version:

Bitmovin JS/TS API SDK

30 lines (29 loc) 965 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.GcsServiceAccountInput = void 0; const Mapper_1 = require("../common/Mapper"); const Input_1 = require("./Input"); const InputType_1 = require("./InputType"); /** * @export * @class GcsServiceAccountInput */ class GcsServiceAccountInput extends Input_1.default { constructor(obj) { super(obj); /** * Discriminator property for Input * @type {string} * @memberof GcsServiceAccountInput */ this.type = InputType_1.default.GCS_SERVICE_ACCOUNT; if (!obj) { return; } this.serviceAccountCredentials = (0, Mapper_1.map)(obj.serviceAccountCredentials); this.bucketName = (0, Mapper_1.map)(obj.bucketName); this.cloudRegion = (0, Mapper_1.map)(obj.cloudRegion); } } exports.GcsServiceAccountInput = GcsServiceAccountInput; exports.default = GcsServiceAccountInput;