/*
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/JSONSupport","../../../core/accessorSupport/decorators/property","../../../core/arrayUtils","../../../core/has","../../../core/accessorSupport/ensureType","../../../core/accessorSupport/decorators/subclass","../../../geometry/SpatialReference","../../../networks/support/TraceConfiguration","../../../networks/support/typeUtils","./TraceLocation"],(function(e,r,t,o,a,p,n,c,i,s,u,l){"use strict";let y=function(r){function t(e){var t;return(t=r.call(this,e)||this).namedTraceConfigurationGlobalId=null,t.gdbVersion=null,t.traceLocations=[],t.moment=null,t.outSpatialReference=null,t.traceConfiguration=null,t.resultTypes=null,t.traceType=null,t}return e._inheritsLoose(t,r),t}(t.JSONSupport);r.__decorate([o.property({type:String,json:{read:{source:"traceConfigurationGlobalId"},write:{target:"traceConfigurationGlobalId"}}})],y.prototype,"namedTraceConfigurationGlobalId",void 0),r.__decorate([o.property({type:String,json:{write:!0}})],y.prototype,"gdbVersion",void 0),r.__decorate([o.property({type:[l],json:{write:!0}})],y.prototype,"traceLocations",void 0),r.__decorate([o.property({type:Date,json:{type:Number,write:{writer:(e,r)=>{r.moment=e?e.getTime():null}}}})],y.prototype,"moment",void 0),r.__decorate([o.property({type:i,json:{read:!1}})],y.prototype,"outSpatialReference",void 0),r.__decorate([o.property({type:s,json:{write:!0}})],y.prototype,"traceConfiguration",void 0),r.__decorate([o.property({type:[Object],json:{write:!0}})],y.prototype,"resultTypes",void 0),r.__decorate([o.property({type:u.traceTypeKebabDict.apiValues,json:{type:u.traceTypeKebabDict.jsonValues,read:u.traceTypeKebabDict.read,write:u.traceTypeKebabDict.write}})],y.prototype,"traceType",void 0),y=r.__decorate([c.subclass("esri.rest.networks.support.TraceParameters")],y);return y}));
