/*
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 r}from"tslib";import{JSONSupport as e}from"../../../core/JSONSupport.js";import{property as o,subclass as t}from"../../../core/accessorSupport/decorators.js";import{Integer as p}from"../../../core/accessorSupport/ensureType.js";import{enumeration as s}from"../../../core/accessorSupport/decorators/enumeration.js";var a;let i=a=class extends e{constructor(r){super(r),this.type="map-layer"}clone(){const{mapLayerId:r,gdbVersion:e}=this;return new a({mapLayerId:r,gdbVersion:e})}};r([s({mapLayer:"map-layer"}),o({json:{write:{isRequired:!0}}})],i.prototype,"type",void 0),r([o({type:p,json:{write:{isRequired:!0}}})],i.prototype,"mapLayerId",void 0),r([o({type:String,json:{write:!0}})],i.prototype,"gdbVersion",void 0),i=a=r([t("esri.layers.support.source.MapLayerSource")],i);export{i as default};
