/*
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","../../geometry","../../core/Clonable","../../core/JSONSupport","../../core/accessorSupport/decorators/property","../../core/arrayUtils","../../core/has","../../core/accessorSupport/ensureType","../../core/accessorSupport/decorators/enumeration","../../core/accessorSupport/decorators/subclass","./networkEnums","../../geometry/support/jsonUtils"],(function(e,o,t,r,p,s,a,n,i,l,c,y,u){"use strict";let d=function(o){function t(e){var t;return(t=o.call(this,e)||this).doNotLocateOnRestrictedElements=null,t.geometry=null,t.geometryType=null,t.name=null,t.spatialRelationship=null,t.type="layer",t.where=null,t}return e._inheritsLoose(t,o),t}(r.ClonableMixin(p.JSONSupport));o.__decorate([s.property({type:Boolean,json:{write:!0}})],d.prototype,"doNotLocateOnRestrictedElements",void 0),o.__decorate([s.property({types:t.geometryTypes,json:{read:u.fromJSON,write:!0}})],d.prototype,"geometry",void 0),o.__decorate([l.enumeration(y.geometryTypeJsonMap)],d.prototype,"geometryType",void 0),o.__decorate([s.property({type:String,json:{name:"layerName",write:!0}})],d.prototype,"name",void 0),o.__decorate([l.enumeration(y.spatialRelationshipJsonMap,{name:"spatialRel"})],d.prototype,"spatialRelationship",void 0),o.__decorate([s.property({type:String,json:{write:!0}})],d.prototype,"type",void 0),o.__decorate([s.property({type:String,json:{write:!0}})],d.prototype,"where",void 0),d=o.__decorate([c.subclass("esri.rest.support.DataLayer")],d);return d}));
