File Coverage

blib/lib/Paws/ApiGateway/RequestValidator.pm
Criterion Covered Total %
statement 3 3 100.0
branch n/a
condition n/a
subroutine 1 1 100.0
pod n/a
total 4 4 100.0


line stmt bran cond sub pod time code
1              
2             package Paws::ApiGateway::RequestValidator;
3 1     1   413 use Moose;
  1         2  
  1         9  
4             has Id => (is => 'ro', isa => 'Str', traits => ['NameInRequest'], request_name => 'id');
5             has Name => (is => 'ro', isa => 'Str', traits => ['NameInRequest'], request_name => 'name');
6             has ValidateRequestBody => (is => 'ro', isa => 'Bool', traits => ['NameInRequest'], request_name => 'validateRequestBody');
7             has ValidateRequestParameters => (is => 'ro', isa => 'Bool', traits => ['NameInRequest'], request_name => 'validateRequestParameters');
8              
9             has _request_id => (is => 'ro', isa => 'Str');
10             1;
11              
12             ### main pod documentation begin ###
13              
14             =head1 NAME
15              
16             Paws::ApiGateway::RequestValidator
17              
18             =head1 ATTRIBUTES
19              
20              
21             =head2 Id => Str
22              
23             The identifier of this RequestValidator.
24              
25              
26             =head2 Name => Str
27              
28             The name of this RequestValidator
29              
30              
31             =head2 ValidateRequestBody => Bool
32              
33             A Boolean flag to indicate whether to validate a request body according
34             to the configured Model schema.
35              
36              
37             =head2 ValidateRequestParameters => Bool
38              
39             A Boolean flag to indicate whether to validate request parameters
40             (C<true>) or not (C<false>).
41              
42              
43             =head2 _request_id => Str
44              
45              
46             =cut
47