UNPKG

@bitmovin/api-sdk

Version:

Bitmovin JS/TS API SDK

33 lines (32 loc) 994 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.FtpInput = void 0; const Mapper_1 = require("../common/Mapper"); const Input_1 = require("./Input"); const InputType_1 = require("./InputType"); /** * @export * @class FtpInput */ class FtpInput extends Input_1.default { constructor(obj) { super(obj); /** * Discriminator property for Input * @type {string} * @memberof FtpInput */ this.type = InputType_1.default.FTP; if (!obj) { return; } this.host = (0, Mapper_1.map)(obj.host); this.port = (0, Mapper_1.map)(obj.port); this.passive = (0, Mapper_1.map)(obj.passive); this.username = (0, Mapper_1.map)(obj.username); this.password = (0, Mapper_1.map)(obj.password); this.remoteVerificationEnabled = (0, Mapper_1.map)(obj.remoteVerificationEnabled); } } exports.FtpInput = FtpInput; exports.default = FtpInput;