UNPKG

@bitmovin/api-sdk

Version:

Bitmovin JS/TS API SDK

24 lines (23 loc) 738 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.DnsMappingResponse = void 0; const Mapper_1 = require("../common/Mapper"); const BitmovinResource_1 = require("./BitmovinResource"); /** * @export * @class DnsMappingResponse */ class DnsMappingResponse extends BitmovinResource_1.default { constructor(obj) { super(obj); if (!obj) { return; } this.subdomain = (0, Mapper_1.map)(obj.subdomain); this.hostname = (0, Mapper_1.map)(obj.hostname); this.encodingId = (0, Mapper_1.map)(obj.encodingId); this.ip = (0, Mapper_1.map)(obj.ip); } } exports.DnsMappingResponse = DnsMappingResponse; exports.default = DnsMappingResponse;