"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),function(target,all){for(var name in all)Object.defineProperty(target,name,{enumerable:!0,get:all[name]})}(exports,{IoK8sApiNetworkingV1NetworkPolicy:function(){return NetworkPolicy},NetworkPolicy:function(){return NetworkPolicy}});let _base=require("@kubernetes-models/base"),_IoK8sApiNetworkingV1NetworkPolicy=require("../../_schemas/IoK8sApiNetworkingV1NetworkPolicy.js");class NetworkPolicy extends _base.Model{constructor(data){super(),this.setDefinedProps({apiVersion:NetworkPolicy.apiVersion,kind:NetworkPolicy.kind,...data})}}NetworkPolicy.apiVersion="networking.k8s.io/v1",NetworkPolicy.kind="NetworkPolicy",NetworkPolicy.is=(0,_base.createTypeMetaGuard)(NetworkPolicy),(0,_base.setValidateFunc)(NetworkPolicy,_IoK8sApiNetworkingV1NetworkPolicy.validate);