/*
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{enumeration as s}from"../../core/accessorSupport/decorators/enumeration.js";var a;let p=a=class extends e{constructor(r){super(r),this.type="raster"}clone(){const{workspaceId:r,dataSourceName:e}=this;return new a({workspaceId:r,dataSourceName:e})}};r([s({raster:"raster"}),o({json:{write:{isRequired:!0}}})],p.prototype,"type",void 0),r([o({type:String,json:{write:!0}})],p.prototype,"dataSourceName",void 0),r([o({type:String,json:{write:!0}})],p.prototype,"workspaceId",void 0),p=a=r([t("esri.rest.layerSources.RasterDataSource")],p);const c=p;export{c as default};
