/* COPYRIGHT Esri - https://js.arcgis.com/5.1.0/LICENSE.txt */
import{__decorate as t}from"tslib";import{JSONSupport as e}from"../../../../core/JSONSupport.js";import{property as r,subclass as o}from"../../../../core/accessorSupport/decorators.js";import{ensureClass as i}from"../../../../core/accessorSupport/ensureType.js";import s from"../../../../geometry/SpatialReference.js";import{writer as p}from"../../../../core/accessorSupport/decorators/writer.js";var n;let c=n=class extends e{static from(t){return i(n,t)}constructor(t){super(t),this.circuitNames=null,this.domainNetworkName=null,this.forceVerify=!1,this.gdbVersion=null,this.sessionId=null,this.synthesizeGeometries=!1,this.outSpatialReference=null}writeOutSR(t,e,r){if(null!=t){const{wkid:o,latestWkid:i,wkt:s,wkt2:p}=t;e[r]=JSON.stringify({wkid:o??void 0,latestWkid:i??void 0,wkt:s??void 0,wkt2:p??void 0})}}};t([r({json:{type:[String],write:{writer:(t,e)=>e.circuits=JSON.stringify(t??[])},read:{source:"circuits"}}})],c.prototype,"circuitNames",void 0),t([r({type:String,json:{write:!0}})],c.prototype,"domainNetworkName",void 0),t([r({json:{type:Boolean,write:!0}})],c.prototype,"forceVerify",void 0),t([r({type:String,json:{write:!0}})],c.prototype,"gdbVersion",void 0),t([r({type:String,json:{write:!0}})],c.prototype,"sessionId",void 0),t([r({type:Boolean,json:{write:!0}})],c.prototype,"synthesizeGeometries",void 0),t([r({type:s,json:{write:{allowNull:!0,target:"outSR"}}})],c.prototype,"outSpatialReference",void 0),t([p("outSpatialReference")],c.prototype,"writeOutSR",null),c=n=t([o("esri.rest.networks.circuits.support.VerifyCircuitsParameters")],c);const a=c;export{a as default};
