/*
All material copyright Esri, All Rights Reserved, unless otherwise specified.
See https://js.arcgis.com/5.0/esri/copyright.txt for details.
*/
import{__decorate as t}from"tslib";import{ClonableMixin as e}from"../../core/Clonable.js";import{JSONSupport as o}from"../../core/JSONSupport.js";import{property as r,subclass as p}from"../../core/accessorSupport/decorators.js";import{fromJSON as s}from"../../geometry/support/jsonUtils.js";import{geometryTypes as i}from"../../geometry/support/typeUtils.js";import{geometryTypeJsonMap as n,spatialRelationshipJsonMap as a}from"./networkEnums.js";import{enumeration as l}from"../../core/accessorSupport/decorators/enumeration.js";let m=class extends(e(o)){constructor(t){super(t),this.doNotLocateOnRestrictedElements=null,this.geometry=null,this.geometryType=null,this.name=null,this.spatialRelationship=null,this.type="layer",this.where=null}};t([r({type:Boolean,json:{write:!0}})],m.prototype,"doNotLocateOnRestrictedElements",void 0),t([r({types:i,json:{read:s,write:!0}})],m.prototype,"geometry",void 0),t([l(n)],m.prototype,"geometryType",void 0),t([r({type:String,json:{name:"layerName",write:!0}})],m.prototype,"name",void 0),t([l(a,{name:"spatialRel"})],m.prototype,"spatialRelationship",void 0),t([r({type:String,json:{write:!0}})],m.prototype,"type",void 0),t([r({type:String,json:{write:!0}})],m.prototype,"where",void 0),m=t([p("esri.rest.support.DataLayer")],m);export{m as default};
