"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,{IoK8sApiExtensionsV1beta1NetworkPolicy:function(){return NetworkPolicy},NetworkPolicy:function(){return NetworkPolicy}});let _base=require("@kubernetes-models/base"),_IoK8sApiExtensionsV1beta1NetworkPolicy=require("../../_schemas/IoK8sApiExtensionsV1beta1NetworkPolicy.js");class NetworkPolicy extends _base.Model{constructor(data){super(),this.setDefinedProps({apiVersion:NetworkPolicy.apiVersion,kind:NetworkPolicy.kind,...data})}}NetworkPolicy.apiVersion="extensions/v1beta1",NetworkPolicy.kind="NetworkPolicy",NetworkPolicy.is=(0,_base.createTypeMetaGuard)(NetworkPolicy),(0,_base.setValidateFunc)(NetworkPolicy,_IoK8sApiExtensionsV1beta1NetworkPolicy.validate);