/* COPYRIGHT Esri - https://js.arcgis.com/5.0.18/LICENSE.txt */
import{__decorate as r}from"tslib";import{setDeepValue as e}from"../../core/object.js";import{property as o,subclass as t}from"../../core/accessorSupport/decorators.js";import{ensureType as s}from"../../core/accessorSupport/ensureType.js";import i from"./BinParametersBase.js";import{enumeration as a}from"../../core/accessorSupport/decorators/enumeration.js";function n(r){return r[0]instanceof Date}function p(r,o,t){e(t,r&&n(r)?r.map(r=>r.getTime()):r,o)}let m=class extends i{constructor(r){super(r),this.boundaries=[],this.type="fixed-boundaries"}};r([o({json:{name:"parameters.boundaries",write:{writer:p}}})],m.prototype,"boundaries",void 0),r([a({fixedBoundariesBin:"fixed-boundaries"},{readOnly:!0})],m.prototype,"type",void 0),m=r([t("esri.rest.support.FixedBoundariesBinParameters")],m),m.from=s(m);export{m as default};
