UNPKG

kubernetes-models

Version:
1 lines 568 B
import{createTypeMetaGuard,Model,setValidateFunc}from"@kubernetes-models/base";import{validate}from"../../_schemas/IoK8sApiRbacV1ClusterRoleList.mjs";export class ClusterRoleList extends Model{constructor(data){super(),this.setDefinedProps({apiVersion:ClusterRoleList.apiVersion,kind:ClusterRoleList.kind,...data})}}ClusterRoleList.apiVersion="rbac.authorization.k8s.io/v1",ClusterRoleList.kind="ClusterRoleList",ClusterRoleList.is=createTypeMetaGuard(ClusterRoleList),setValidateFunc(ClusterRoleList,validate);export{ClusterRoleList as IoK8sApiRbacV1ClusterRoleList};