/// <summary>
 /// Initializes a new instance of the <see cref="V1beta1NetworkPolicyList" /> class.
 /// </summary>
 /// <param name="ApiVersion">APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#resources.</param>
 /// <param name="Items">Items is a list of schema objects. (required).</param>
 /// <param name="Kind">Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#types-kinds.</param>
 /// <param name="Metadata">Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata.</param>
 public V1beta1NetworkPolicyList(string ApiVersion = default(string), List <V1beta1NetworkPolicy> Items = default(List <V1beta1NetworkPolicy>), string Kind = default(string), V1ListMeta Metadata = default(V1ListMeta))
 {
     // to ensure "Items" is required (not null)
     if (Items == null)
     {
         throw new InvalidDataException("Items is a required property for V1beta1NetworkPolicyList and cannot be null");
     }
     else
     {
         this.Items = Items;
     }
     this.ApiVersion = ApiVersion;
     this.Kind       = Kind;
     this.Metadata   = Metadata;
 }