UNPKG

idea-toolbox

Version:
17 lines (16 loc) 447 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.SignedURL = void 0; const resource_model_1 = require("./resource.model"); /** * Signed URL with additional metadata. */ class SignedURL extends resource_model_1.Resource { load(x) { super.load(x); this.url = this.clean(x.url, String); if (x.id) this.id = this.clean(x.id, String); } } exports.SignedURL = SignedURL;