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