/* COPYRIGHT Esri - https://js.arcgis.com/5.0/LICENSE.txt */
import{__decorate as t}from"tslib";import{JSONSupport as o}from"../../../core/JSONSupport.js";import{property as e,subclass as r}from"../../../core/accessorSupport/decorators.js";import{ensureClass as i}from"../../../core/accessorSupport/ensureType.js";import s from"../../../geometry/Extent.js";import n from"../../../geometry/SpatialReference.js";import{writer as a}from"../../../core/accessorSupport/decorators/writer.js";var p;let c=p=class extends o{static from(t){return i(p,t)}constructor(t){super(t),this.returnAttachmentAssociations=!1,this.returnConnectivityAssociations=!1,this.returnContainmentAssociations=!1,this.extent=null,this.maxGeometryCount=null,this.outSpatialReference=null,this.gdbVersion=null,this.moment=null}writeOutSR(t,o,e){if(null!=t){const{wkid:r,latestWkid:i,wkt:s,wkt2:n}=t;o[e]=JSON.stringify({wkid:r??void 0,latestWkid:i??void 0,wkt:s??void 0,wkt2:n??void 0})}}};t([e({type:Boolean,json:{read:{source:"attachmentAssociations"},write:{target:"attachmentAssociations"}}})],c.prototype,"returnAttachmentAssociations",void 0),t([e({type:Boolean,json:{read:{source:"connectivityAssociations"},write:{target:"connectivityAssociations"}}})],c.prototype,"returnConnectivityAssociations",void 0),t([e({type:Boolean,json:{read:{source:"containmentAssociations"},write:{target:"containmentAssociations"}}})],c.prototype,"returnContainmentAssociations",void 0),t([e({type:s,json:{write:!0}})],c.prototype,"extent",void 0),t([e({type:Number,json:{write:!0}})],c.prototype,"maxGeometryCount",void 0),t([e({type:n,json:{write:{target:"outSR"}}})],c.prototype,"outSpatialReference",void 0),t([a("outSpatialReference")],c.prototype,"writeOutSR",null),t([e({type:String,json:{write:!0}})],c.prototype,"gdbVersion",void 0),t([e({type:Date,json:{type:Number,write:{writer:(t,o)=>{o.moment=t?.getTime()}}}})],c.prototype,"moment",void 0),c=p=t([r("esri.rest.networks.support.SynthesizeAssociationGeometriesParameters")],c);const m=c;export{m as default};
