/*
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/Clonable","../../core/JSONSupport","../../core/accessorSupport/decorators/property","../../core/arrayUtils","../../core/has","../../core/accessorSupport/ensureType","../../core/accessorSupport/decorators/enumeration","../../core/accessorSupport/decorators/subclass"],(function(e,r,o,t,s,a,l,c,i,u){"use strict";let n=function(r){function o(e){var o;return(o=r.call(this,e)||this).layerId=null,o.layerUrl=null,o.type="feature-layer",o}return e._inheritsLoose(o,r),o}(o.ClonableMixin(t.JSONSupport));r.__decorate([s.property({type:String,json:{write:{overridePolicy(){return{isRequired:null===this.layerUrl}}}}})],n.prototype,"layerId",void 0),r.__decorate([s.property({type:String,json:{write:{overridePolicy(){return{isRequired:null===this.layerId}}}}})],n.prototype,"layerUrl",void 0),r.__decorate([i.enumeration({featureLayer:"feature-layer"},{readOnly:!0})],n.prototype,"type",void 0),n=r.__decorate([u.subclass("esri.webdoc.geotriggersInfo.FeatureLayerSource")],n);return n}));
