/*
All material copyright Esri, All Rights Reserved, unless otherwise specified.
See https://js.arcgis.com/5.0/esri/copyright.txt for details.
*/
import{__decorate as e}from"tslib";import{JSONSupport as t}from"../../../../core/JSONSupport.js";import{property as r,subclass as o}from"../../../../core/accessorSupport/decorators.js";import i from"./CircuitVerifyResult.js";import{handleServiceEdits as s}from"../../support/utils.js";import{reader as p}from"../../../../core/accessorSupport/decorators/reader.js";let c=class extends t{constructor(e){super(e),this.circuits=[],this.moment=null,this.exceededTransferLimit=!1,this.serviceEdits=null}readServiceEdits(e,t){return s(e)}};e([r({type:[i],json:{type:[i],write:!0}})],c.prototype,"circuits",void 0),e([r({type:Date,json:{type:Number,write:{writer:(e,t)=>{t.moment=e?e.getTime():null}}}})],c.prototype,"moment",void 0),e([r({type:Boolean,json:{type:Boolean,write:!0}})],c.prototype,"exceededTransferLimit",void 0),e([r({type:[Object],json:{type:[Object],write:!0}})],c.prototype,"serviceEdits",void 0),e([p("serviceEdits")],c.prototype,"readServiceEdits",null),c=e([o("esri.rest.networks.circuits.support.VerifyCircuitsResult")],c);export{c as default};
