@bitmovin/api-sdk
Version:
Bitmovin JS/TS API SDK
24 lines (23 loc) • 694 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.StaticIp = void 0;
const Mapper_1 = require("../common/Mapper");
const BitmovinResponse_1 = require("./BitmovinResponse");
/**
* @export
* @class StaticIp
*/
class StaticIp extends BitmovinResponse_1.default {
constructor(obj) {
super(obj);
if (!obj) {
return;
}
this.ipAddress = (0, Mapper_1.map)(obj.ipAddress);
this.infrastructureId = (0, Mapper_1.map)(obj.infrastructureId);
this.status = (0, Mapper_1.map)(obj.status);
this.region = (0, Mapper_1.map)(obj.region);
}
}
exports.StaticIp = StaticIp;
exports.default = StaticIp;