@arcgis/core
Version:
ArcGIS Maps SDK for JavaScript: A complete 2D and 3D mapping and data visualization API
3 lines (2 loc) • 1.73 kB
JavaScript
/* COPYRIGHT Esri - https://js.arcgis.com/5.0.8/LICENSE.txt */
import{__decorate as t}from"tslib";import{JSONSupport as o}from"../../../../core/JSONSupport.js";import{property as r,subclass as e}from"../../../../core/accessorSupport/decorators.js";import{ensureClass as i}from"../../../../core/accessorSupport/ensureType.js";import s from"../../../../networks/support/CircuitLocation.js";import{writer as n}from"../../../../core/accessorSupport/decorators/writer.js";var p;let l=p=class extends o{static from(t){return i(p,t)}constructor(t){super(t),this.gdbVersion=null,this.sessionId=null,this.moment=null,this.domainNetworkName=null,this.circuits=null,this.location=null,this.locationType=null,this.returnConsumerCircuits=!1,this.resultTypes=null}writeLocation(t,o){null!=t&&(o.sourceId=t.sourceId,o.globalId=t.globalId,o.firstUnit=t.firstUnit,o.lastUnit=t.lastUnit)}};t([r({type:String,json:{write:!0}})],l.prototype,"gdbVersion",void 0),t([r({type:String,json:{write:!0}})],l.prototype,"sessionId",void 0),t([r({type:Date,json:{type:Number,write:{writer:(t,o)=>{o.moment=t?t.getTime():null}}}})],l.prototype,"moment",void 0),t([r({type:String,json:{write:!0}})],l.prototype,"domainNetworkName",void 0),t([r({type:[String],json:{write:!0}})],l.prototype,"circuits",void 0),t([r({type:s,json:{write:!0}})],l.prototype,"location",void 0),t([n("location")],l.prototype,"writeLocation",null),t([r({type:String,json:{write:!0}})],l.prototype,"locationType",void 0),t([r({type:Boolean,json:{write:!0}})],l.prototype,"returnConsumerCircuits",void 0),t([r({type:[String],json:{write:!0}})],l.prototype,"resultTypes",void 0),l=p=t([e("esri.rest.networks.circuits.support.QueryCircuitsParameters")],l);const u=l;export{u as default};