/* COPYRIGHT Esri - https://js.arcgis.com/5.0.18/LICENSE.txt */
import{__decorate as o}from"tslib";import{JSONSupport as r}from"../../core/JSONSupport.js";import{property as t,subclass as s}from"../../core/accessorSupport/decorators.js";import{linearUnitJsonMap as e}from"./networkEnums.js";import{enumeration as i}from"../../core/accessorSupport/decorators/enumeration.js";let p=class extends r{constructor(o){super(o),this.distance=0,this.units=null}};o([t({json:{write:!0}})],p.prototype,"distance",void 0),o([i(e)],p.prototype,"units",void 0),p=o([s("esri.rest.support.LinearUnit")],p);export{p as default};
