The Perl and Raku Conference 2025: Greenville, South Carolina - June 27-29 Learn more

use Moo;
use Types::Standard qw/Bool Int Str/;
has continue => (is => 'ro', isa => Str);
has fieldSelector => (is => 'ro', isa => Str);
has labelSelector => (is => 'ro', isa => Str);
has limit => (is => 'ro', isa => Int);
has resourceVersion => (is => 'ro', isa => Str);
has timeoutSeconds => (is => 'ro', isa => Int);
has watch => (is => 'ro', isa => Bool);
has includeUninitialized => (is => 'ro', isa => Bool);
has namespace => (is => 'ro', isa => Str,required => 1);
has pretty => (is => 'ro', isa => Str);
sub _url_params { [
{ name => 'namespace' },
] }
sub _query_params { [
{ name => 'continue' },
{ name => 'fieldSelector' },
{ name => 'labelSelector' },
{ name => 'limit' },
{ name => 'resourceVersion' },
{ name => 'timeoutSeconds' },
{ name => 'watch' },
{ name => 'includeUninitialized' },
{ name => 'pretty' },
] }
sub _url { '/apis/extensions/v1beta1/namespaces/{namespace}/networkpolicies' }
sub _method { 'DELETE' }
1;