/* COPYRIGHT Esri - https://js.arcgis.com/5.1.0/LICENSE.txt */
import{__decorate as t}from"tslib";import{JSONSupport as r}from"../../../../core/JSONSupport.js";import{property as i,subclass as o}from"../../../../core/accessorSupport/decorators.js";import{ensureClass as e}from"../../../../core/accessorSupport/ensureType.js";import s from"../../../../networks/support/CircuitLocation.js";import{CircuitHierarchyKebabDict as p}from"../../../../networks/support/typeUtils.js";var n;let c=n=class extends r{static from(t){return e(n,t)}constructor(t){super(t),this.gdbVersion=null,this.sessionId=null,this.moment=null,this.domainNetworkName=null,this.circuits=null,this.circuitIds=null,this.locations=null,this.circuitHierarchy="none",this.circuitStatus=null,this.resultTypes=null}};t([i({type:String,json:{write:!0}})],c.prototype,"gdbVersion",void 0),t([i({type:String,json:{write:!0}})],c.prototype,"sessionId",void 0),t([i({type:Date,json:{type:Number,write:{writer:(t,r)=>{r.moment=t?t.getTime():null}}}})],c.prototype,"moment",void 0),t([i({type:String,json:{write:!0}})],c.prototype,"domainNetworkName",void 0),t([i({type:[String],json:{write:{writer:(t,r)=>r.circuits=JSON.stringify(t??[])}}})],c.prototype,"circuits",void 0),t([i({type:[String],json:{write:{writer:(t,r)=>r.circuitIds=JSON.stringify(t??[])}}})],c.prototype,"circuitIds",void 0),t([i({type:[s],json:{write:{writer:(t,r)=>r.locations=JSON.stringify(t??[])}}})],c.prototype,"locations",void 0),t([i({type:String,json:{write:!0}})],c.prototype,"locationType",void 0),t([i({type:p.apiValues,json:{type:p.jsonValues,read:p.read,write:p.write}})],c.prototype,"circuitHierarchy",void 0),t([i({type:String,json:{write:!0}})],c.prototype,"circuitStatus",void 0),t([i({type:[String],json:{write:{writer:(t,r)=>r.resultTypes=JSON.stringify(t??[])}}})],c.prototype,"resultTypes",void 0),c=n=t([o("esri.rest.networks.circuits.support.QueryCircuitsParameters")],c);const u=c;export{u as default};
