0Client, namespace string) *networkPolicies {  return &networkPolicies{   client: c.RESTClient(),   ns:     namespace,  } }  // Create takes the representation of a networkPolicy and creates it.  Returns the server's representation of the networkPolicy, and an error, if there is any. func (c *networkPolicies) Create(networkPolicy *v0.NetworkPolicy) (result *v0.NetworkPolicy, err error) {  result = &v0.NetworkPolicy{}  err = c.client.Post().   Namespace(c.ns).   Resource("networkpolicies").   Body(networkPolicy).   Do().   Into(result)  return }  // Update takes the representation of a networkPolicy and updates it. Returns the server's representation of the networkPolicy, and an error, if there is any. func (c *networkPolicies) Update(networkPolicy *v0.NetworkPolicy) (result *v0.NetworkPolicy, err error) {  result = &v0.NetworkPolicy{}  err = c.client.Put().   Namespace(c.ns).   Resource("networkpolicies").   Name(networkPolicy.Name).   Body(networkPolicy).   Do().   Into(result)  return }  // Delete takes name of the networkPolicy and deletes it. Returns an error if one occurs. func (c *networkPolicies) Delete(name string, options *meta_v0.DeleteOptions) error {  return c.client.Delete().   Namespace(c.ns).   Resource("networkpolicies").   Name(name).   Body(options).   Do().   Error() }  // DeleteCollection deletes a collection of objects. func (c *networkPolicies) DeleteCollection(options *meta_v0.DeleteOptions, listOptions meta_v0.ListOptions) error {  return c.client.Delete().   Namespace(c.ns).   Resource("networkpolicies").   VersionedParams(&listOptions, scheme.ParameterCodec).   Body(options).   Do().   Error() }  // Get takes name of the networkPolicy, and returns the corresponding networkPolicy object, and an error if there is any. func (c *networkPolicies) Get(