/* COPYRIGHT Esri - https://js.arcgis.com/5.0/LICENSE.txt */
import{__decorate as t}from"tslib";import{ClonableMixin as e}from"../../core/Clonable.js";import{property as o,subclass as r}from"../../core/accessorSupport/decorators.js";import{Integer as i}from"../../core/accessorSupport/ensureType.js";import p from"./Content.js";import s from"../support/RelatedRecordsInfoFieldOrder.js";let n=class extends(e(p)){constructor(t){super(t),this.description=null,this.displayCount=null,this.displayType="list",this.orderByFields=null,this.relationshipId=null,this.title=null,this.type="relationship"}};t([o({type:String,json:{write:!0}})],n.prototype,"description",void 0),t([o({type:Number,json:{type:i,write:!0}})],n.prototype,"displayCount",void 0),t([o({type:["list"],json:{write:{isRequired:!0}}})],n.prototype,"displayType",void 0),t([o({type:[s],json:{write:!0}})],n.prototype,"orderByFields",void 0),t([o({type:Number,json:{type:i,write:{isRequired:!0}}})],n.prototype,"relationshipId",void 0),t([o({type:String,json:{write:!0}})],n.prototype,"title",void 0),t([o({type:["relationship"],readOnly:!0,json:{read:!1,write:{isRequired:!0}}})],n.prototype,"type",void 0),n=t([r("esri.popup.content.RelationshipContent")],n);const l=n;export{l as default};
