/*
All material copyright ESRI, All Rights Reserved, unless otherwise specified.
See https://js.arcgis.com/4.24/esri/copyright.txt for details.
*/
define(["../../../chunks/_rollupPluginBabelHelpers","../../../chunks/tslib.es6","../../../core/jsonMap","../../../core/JSONSupport","../../../core/accessorSupport/decorators/property","../../../core/arrayUtils","../../../core/has","../../../core/accessorSupport/ensureType","../../../core/accessorSupport/decorators/subclass"],(function(r,e,t,o,p,s,a,i,n){"use strict";const c=new t.JSONMap({startingPoint:"starting-point",barrier:"barrier"});let l=function(e){function t(r){var t;return(t=e.call(this,r)||this).globalId=null,t.isFilterBarrier=!1,t.percentAlong=null,t.terminalId=null,t.type=null,t}return r._inheritsLoose(t,e),t}(o.JSONSupport);e.__decorate([p.property({type:String,json:{write:!0}})],l.prototype,"globalId",void 0),e.__decorate([p.property({type:Boolean,json:{write:!0}})],l.prototype,"isFilterBarrier",void 0),e.__decorate([p.property({type:Number,json:{write:!0}})],l.prototype,"percentAlong",void 0),e.__decorate([p.property({type:Number,json:{write:!0}})],l.prototype,"terminalId",void 0),e.__decorate([p.property({type:c.apiValues,json:{type:c.jsonValues,read:{reader:c.read,source:"traceLocationType"},write:{writer:c.write,target:"traceLocationType"}}})],l.prototype,"type",void 0),l=e.__decorate([n.subclass("esri.rest.networks.support.TraceLocation")],l);return l}));
