/* COPYRIGHT Esri - https://js.arcgis.com/5.1.0/LICENSE.txt */
import{__decorate as e}from"tslib";import{JSONSupport as t}from"../../core/JSONSupport.js";import{property as o,subclass as r}from"../../core/accessorSupport/decorators.js";let i=class extends t{constructor(e){super(e),this.name=null,this.unique=null,this.ascending=!0,this.description="",this.fieldNames=[]}};e([o({type:String,json:{write:!0}})],i.prototype,"name",void 0),e([o({type:Boolean,json:{write:!0}})],i.prototype,"unique",void 0),e([o({type:Boolean,json:{write:!0}})],i.prototype,"ascending",void 0),e([o({type:String,json:{write:!0}})],i.prototype,"description",void 0),e([o({type:[String],json:{write:!0}})],i.prototype,"fieldNames",void 0),i=e([r("esri.rest.knowledgeGraph.FieldIndex")],i);export{i as default};
