import {J,eo as f,j8 as da,eq as r,j9 as Se}from'./main-WUGO6e7n.js';var n$1,l=J(()=>{f();da();n$1=class u{toQueryString(){let t=[];if(this.authenticationType)for(let s=0;s<this.authenticationType.length;s++)this.authenticationType[s]!==null&&t.push("authenticationType="+encodeURIComponent(this.authenticationType[s].toString()));return this.customTags!==null&&this.customTags.toString()&&t.push("customTags="+encodeURIComponent(this.customTags.toString())),this.filter!==null&&this.filter.toString()&&t.push("filter="+encodeURIComponent(this.filter.toString())),this.hasUserVault!==null&&this.hasUserVault.toString()&&t.push("hasUserVault="+encodeURIComponent(this.hasUserVault.toString())),this.includeUserGroupsAndVaults!==null&&this.includeUserGroupsAndVaults.toString()&&t.push("includeUserGroupsAndVaults="+encodeURIComponent(this.includeUserGroupsAndVaults.toString())),this.isEnabled!==null&&this.isEnabled.toString()&&t.push("isEnabled="+encodeURIComponent(this.isEnabled.toString())),this.repositoryId!==null&&this.repositoryId.toString()&&t.push("repositoryId="+encodeURIComponent(this.repositoryId.toString())),this.tags!==null&&this.tags.toString()&&t.push("tags="+encodeURIComponent(this.tags.toString())),this.userType!==null&&this.userType.toString()&&t.push("userType="+encodeURIComponent(this.userType.toString())),this.key!==null&&this.key.toString()&&t.push("key="+encodeURIComponent(this.key.toString())),this.pageNumber!==null&&this.pageNumber.toString()&&t.push("pageNumber="+encodeURIComponent(this.pageNumber.toString())),this.pageSize!==null&&this.pageSize.toString()&&t.push("pageSize="+encodeURIComponent(this.pageSize.toString())),this.sortField!==null&&this.sortField.toString()&&t.push("sortField="+encodeURIComponent(this.sortField.toString())),this.sortOrder!==null&&this.sortOrder.toString()&&t.push("sortOrder="+encodeURIComponent(this.sortOrder.toString())),t.join("&")}constructor(t=null){this.clone=()=>new u(this),this.authenticationType=t&&t.authenticationType?t.authenticationType:[],this.customTags=r.manageDefaultValue(t,"customTags",null),this.filter=r.manageDefaultValue(t,"filter",""),this.hasUserVault=r.manageDefaultValue(t,"hasUserVault",null),this.includeUserGroupsAndVaults=r.manageDefaultValue(t,"includeUserGroupsAndVaults",!1),this.isEnabled=r.manageDefaultValue(t,"isEnabled",null),this.repositoryId=r.manageDefaultValue(t,"repositoryId",null),this.tags=r.manageDefaultValue(t,"tags",0),this.userType=r.manageDefaultValue(t,"userType",null),this.key=r.manageDefaultValue(t,"key",""),this.pageNumber=r.manageDefaultValue(t,"pageNumber",0),this.pageSize=r.manageDefaultValue(t,"pageSize",0),this.sortField=r.manageDefaultValue(t,"sortField",""),this.sortOrder=r.manageDefaultValue(t,"sortOrder",1);}get userTypeKey(){return Se.getEnumKey(this.userType)}};});export{l,n$1 as n};