/*
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 t}from"../../core/JSONSupport.js";import{property as e,subclass as o}from"../../core/accessorSupport/decorators.js";import{reader as p}from"../../core/accessorSupport/decorators/reader.js";let s=class extends t{constructor(r){super(r),this.format=null,this.itemId=null,this.type=null,this.url=null}readType(r){return"ImageService"===r?"image-service":null}};r([e()],s.prototype,"format",void 0),r([e({json:{name:"itemID",write:!0}})],s.prototype,"itemId",void 0),r([e()],s.prototype,"type",void 0),r([p("type")],s.prototype,"readType",null),r([e({json:{write:!0}})],s.prototype,"url",void 0),s=r([o("esri.rest.support.RasterData")],s);export{s as default};
