@bitmovin/api-sdk
Version:
Bitmovin JS/TS API SDK
31 lines (30 loc) • 864 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.HttpsInput = void 0;
const Mapper_1 = require("../common/Mapper");
const Input_1 = require("./Input");
const InputType_1 = require("./InputType");
/**
* @export
* @class HttpsInput
*/
class HttpsInput extends Input_1.default {
constructor(obj) {
super(obj);
/**
* Discriminator property for Input
* @type {string}
* @memberof HttpsInput
*/
this.type = InputType_1.default.HTTPS;
if (!obj) {
return;
}
this.host = (0, Mapper_1.map)(obj.host);
this.username = (0, Mapper_1.map)(obj.username);
this.password = (0, Mapper_1.map)(obj.password);
this.port = (0, Mapper_1.map)(obj.port);
}
}
exports.HttpsInput = HttpsInput;
exports.default = HttpsInput;