/* COPYRIGHT Esri - https://js.arcgis.com/5.0/LICENSE.txt */
import{__decorate as o}from"tslib";import{JSONSupport as r}from"../../../../core/JSONSupport.js";import{property as t,subclass as e}from"../../../../core/accessorSupport/decorators.js";import{ensureClass as s}from"../../../../core/accessorSupport/ensureType.js";import{writer as p}from"../../../../core/accessorSupport/decorators/writer.js";var c;let i=c=class extends r{static from(o){return s(c,o)}constructor(o){super(o),this.objects=null,this.gdbVersion=null,this.sessionId=null}writeObjects(o,r){const t=new Map;o.forEach(o=>{const{sourceId:r,globalId:e}=o,s=t.get(r);s?s.push(e):t.set(r,[e])}),r.objects=Array.from(t,([o,r])=>({sourceId:o,globalIds:r}))}};o([t({json:{type:[Object],write:!0}})],i.prototype,"objects",void 0),o([p("objects")],i.prototype,"writeObjects",null),o([t({type:String,json:{write:!0}})],i.prototype,"gdbVersion",void 0),o([t({type:String,json:{write:!0}})],i.prototype,"sessionId",void 0),i=c=o([e("esri.rest.networks.unitIdentifiers.support.ResetParameters")],i);const n=i;export{n as default};
