/* COPYRIGHT Esri - https://js.arcgis.com/5.1.2/LICENSE.txt */
import{__decorate as t}from"tslib";import{JSONSupport as r}from"../../../../core/JSONSupport.js";import{property as o,subclass as e}from"../../../../core/accessorSupport/decorators.js";import i from"../../../../geometry/Polyline.js";import s from"../../../../networks/support/Circuit.js";import c from"../../../../networks/support/CircuitPath.js";import{reader as p}from"../../../../core/accessorSupport/decorators/reader.js";let u=class extends r{constructor(t){super(t),this.circuit=null,this.geometry=null,this.path=null}readCircuit(t,r){return s.fromJSON(r)}};t([o({json:{type:s,write:!0,read:{source:["name","globalId","isSectioned","sectionOrder","startLocation","stopLocation","sections","subcircuits","lastVerifiedTime","lastExportedTime","circuitType","status"]}}})],u.prototype,"circuit",void 0),t([p("circuit")],u.prototype,"readCircuit",null),t([o({type:i,json:{write:!0}})],u.prototype,"geometry",void 0),t([o({type:c,json:{write:!0}})],u.prototype,"path",void 0),u=t([e("esri.rest.networks.circuits.support.CircuitTraceResult")],u);const a=u;export{a as default};
