/* COPYRIGHT Esri - https://js.arcgis.com/5.1.0/LICENSE.txt */
import{__decorate as t}from"tslib";import{JSONSupport as e}from"../../core/JSONSupport.js";import{property as r,subclass as s}from"../../core/accessorSupport/decorators.js";var o;let i=o=class extends e{constructor(t){super(t),this.id=null,this.title=null,this.description=null,this.legendUrl=null}clone(){const t=new o;return this.hasOwnProperty("description")&&(t.description=this.description),this.hasOwnProperty("id")&&(t.id=this.id),this.hasOwnProperty("isDefault")&&(t.isDefault=this.isDefault),this.hasOwnProperty("keywords")&&(t.keywords=this.keywords&&this.keywords.slice()),this.hasOwnProperty("legendUrl")&&(t.legendUrl=this.legendUrl),this.hasOwnProperty("title")&&(t.title=this.title),t}};t([r({json:{read:{source:"id"}}})],i.prototype,"id",void 0),t([r({json:{read:{source:"title"}}})],i.prototype,"title",void 0),t([r({json:{read:{source:"abstract"}}})],i.prototype,"description",void 0),t([r({json:{read:{source:"legendUrl"}}})],i.prototype,"legendUrl",void 0),t([r({json:{read:{source:"isDefault"}}})],i.prototype,"isDefault",void 0),t([r({json:{read:{source:"keywords"}}})],i.prototype,"keywords",void 0),i=o=t([s("esri.layers.support.WMTSStyle")],i);const l=i;export{l as default};
