@arcgis/core
Version:
ArcGIS Maps SDK for JavaScript: A complete 2D and 3D mapping and data visualization API
3 lines (2 loc) • 1.35 kB
JavaScript
/* COPYRIGHT Esri - https://js.arcgis.com/5.0.8/LICENSE.txt */
import{__decorate as t}from"tslib";import{ClonableMixin as r}from"../../../core/Clonable.js";import{JSONSupport as e}from"../../../core/JSONSupport.js";import{property as o,subclass as i}from"../../../core/accessorSupport/decorators.js";import{traceLocationTypeKebabDict as p}from"../../../networks/support/typeUtils.js";let s=class extends(r(e)){constructor(t){super(t),this.globalId=null,this.isFilterBarrier=!1,this.percentAlong=null,this.terminalId=null,this.type=null,this.firstUnit=null,this.lastUnit=null,this.networkSourceId=null}};t([o({type:String,json:{write:!0}})],s.prototype,"globalId",void 0),t([o({type:Boolean,json:{write:!0}})],s.prototype,"isFilterBarrier",void 0),t([o({type:Number,json:{write:!0}})],s.prototype,"percentAlong",void 0),t([o({type:Number,json:{write:!0}})],s.prototype,"terminalId",void 0),t([o({type:p.apiValues,json:{type:p.jsonValues,read:{reader:p.read,source:"traceLocationType"},write:{writer:p.write,target:"traceLocationType"}}})],s.prototype,"type",void 0),t([o({type:Number,json:{write:!0}})],s.prototype,"firstUnit",void 0),t([o({type:Number,json:{write:!0}})],s.prototype,"lastUnit",void 0),t([o({type:Number})],s.prototype,"networkSourceId",void 0),s=t([i("esri.rest.networks.support.TraceLocation")],s);const n=s;export{n as default};