/*
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 t}from"tslib";import{JSONSupport as r}from"../../core/JSONSupport.js";import{property as e,subclass as o}from"../../core/accessorSupport/decorators.js";let i=class extends r{constructor(t){super(t),this.name=null,this.globalId=null,this.providerId=null,this.consumerId=null,this.isReserved=!1,this.attributes=null}getAttribute(t){return this.attributes?.[t]}setAttribute(t,r){this.attributes?this.attributes[t]=r:this.attributes={[t]:r}}};t([e({type:String,json:{write:!0}})],i.prototype,"name",void 0),t([e({type:String,json:{write:!0}})],i.prototype,"globalId",void 0),t([e({type:String})],i.prototype,"providerId",void 0),t([e({type:String})],i.prototype,"consumerId",void 0),t([e({type:Boolean,json:{write:!0}})],i.prototype,"isReserved",void 0),t([e({json:{write:{allowNull:!0,writer:(t,r)=>r.attributes=t??{}}}})],i.prototype,"attributes",void 0),i=t([o("esri.networks.support.Subcircuit")],i);const s=i;export{s as default};
