// All material copyright ESRI, All Rights Reserved, unless otherwise specified.
// See http://js.arcgis.com/3.23/esri/copyright.txt for details.
//>>built
define("esri/tasks/DataLayer","dojo/_base/declare dojo/_base/lang dojo/has ../kernel ../lang ../geometry/jsonUtils ./SpatialRelationship".split(" "),function(a,c,d,e,f,g,h){a=a(null,{declaredClass:"esri.tasks.DataLayer",name:null,where:null,geometry:null,spatialRelationship:null,toJson:function(){var a={type:"layer",layerName:this.name,where:this.where,spatialRel:this.spatialRelationship},b=this.geometry;b&&(a.geometryType=g.getJsonType(b),a.geometry=b.toJson());return f.filter(a,function(a){if(null!==
a)return!0})}});c.mixin(a,h);d("extend-esri")&&c.setObject("tasks.DataLayer",a,e);return a});