/*
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 e}from"tslib";import{ClonableMixin as t}from"../../core/Clonable.js";import{JSONSupport as o}from"../../core/JSONSupport.js";import{property as r,subclass as i}from"../../core/accessorSupport/decorators.js";import{enumeration as s}from"../../core/accessorSupport/decorators/enumeration.js";let p=class extends(t(o)){constructor(e){super(e),this.sourceFields=void 0,this.valueFieldName=void 0,this.targetFieldName=void 0,this.type="un-pivot"}};e([r({type:[String],json:{name:"unPivotParameters.sourceFields",write:!0}})],p.prototype,"sourceFields",void 0),e([r({type:String,json:{name:"unPivotParameters.valueFieldName",write:!0}})],p.prototype,"valueFieldName",void 0),e([r({type:String,json:{name:"unPivotParameters.targetFieldName",write:!0}})],p.prototype,"targetFieldName",void 0),e([s({Unpivot:"un-pivot"},{name:"pivotType",readOnly:!0})],p.prototype,"type",void 0),p=e([i("esri.rest.support.UnPivotDefinition")],p);export{p as default};
