/* COPYRIGHT Esri - https://js.arcgis.com/5.0/LICENSE.txt */
import{__decorate as t}from"tslib";import{ClonableMixin as o}from"../../core/Clonable.js";import{JSONSupport as e}from"../../core/JSONSupport.js";import{property as r,subclass as s}from"../../core/accessorSupport/decorators.js";import{getJsonType as i}from"../../geometry/support/jsonTypeUtils.js";import{fromJSON as p}from"../../geometry/support/jsonUtils.js";import{geometryTypes as m}from"../../geometry/support/typeUtils.js";import{spatialRelKebabDict as n}from"./spatialRelationships.js";import l from"../../time/TimeExtent.js";import{writer as a}from"../../core/accessorSupport/decorators/writer.js";import{enumeration as y}from"../../core/accessorSupport/decorators/enumeration.js";let c=class extends(o(e)){constructor(t){super(t),this.geometry=null,this.objectIds=null,this.spatialRelationship="intersects",this.timeExtent=null,this.where=null}writeGeometry(t,o,e){null!=t&&(o.geometryType=i(t),o[e]=JSON.stringify(t.toJSON()))}};t([r({types:m,json:{read:p,write:!0}})],c.prototype,"geometry",void 0),t([a("geometry")],c.prototype,"writeGeometry",null),t([r({json:{write:!0}})],c.prototype,"objectIds",void 0),t([y(n,{ignoreUnknown:!1,name:"spatialRel"})],c.prototype,"spatialRelationship",void 0),t([r({type:l,json:{name:"time",write:!0}})],c.prototype,"timeExtent",void 0),t([r({type:String,json:{write:!0}})],c.prototype,"where",void 0),c=t([s("esri.rest.support.ImageGPSInfoParameters")],c);export{c as default};
