Azurite/lib/xml/SignedIdentifierXmlModel.js

23 строки
382 B
JavaScript

/** @format */
"use strict";
class SignedIdentifiers {
constructor() {
this.SignedIdentifier = [];
}
addSignedIdentifier(id, start, expiry, permissionlist) {
this.SignedIdentifier.push({
Id: id,
AccessPolicy: {
Start: start,
Expiry: expiry,
Permission: permissionlist,
},
});
}
}
module.exports = SignedIdentifiers;