blib/lib/Paws/ApiGateway/MethodResponse.pm untested

filter: Statementstmt 0.0% 0 / 10 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 1 Podpod n/a totaltotal 0.0% 0 / 11 CC 1 SCAR 6.9
CC
1
Cov
0%
BEGIN
2.0
CRAP 2.0
1  
2 package Paws::ApiGateway::MethodResponse;
3 use Moose;
4 has ResponseModels => (is => 'ro', isa => 'Paws::ApiGateway::MapOfStringToString', traits => ['NameInRequest'], request_name => 'responseModels');
5 has ResponseParameters => (is => 'ro', isa => 'Paws::ApiGateway::MapOfStringToBoolean', traits => ['NameInRequest'], request_name => 'responseParameters');
6 has StatusCode => (is => 'ro', isa => 'Str', traits => ['NameInRequest'], request_name => 'statusCode');
7  
8 has _request_id => (is => 'ro', isa => 'Str');
9 1;
10  
11 ### main pod documentation begin ###
12  
13 =head1 NAME
14  
15 Paws::ApiGateway::MethodResponse
16  
17 =head1 ATTRIBUTES
18  
19  
20 =head2 ResponseModels => L<Paws::ApiGateway::MapOfStringToString>
21  
22 Specifies the Model resources used for the response's content-type.
23 Response models are represented as a key/value map, with a content-type
24 as the key and a Model name as the value.
25  
26  
27 =head2 ResponseParameters => L<Paws::ApiGateway::MapOfStringToBoolean>
28  
29 A key-value map specifying required or optional response parameters
30 that API Gateway can send back to the caller. A key defines a method
31 response header and the value specifies whether the associated method
32 response header is required or not. The expression of the key must
33 match the pattern C<method.response.header.{name}>, where C<name> is a
34 valid and unique header name. API Gateway passes certain integration
35 response data to the method response headers specified here according
36 to the mapping you prescribe in the API's IntegrationResponse. The
37 integration response data that can be mapped include an integration
38 response header expressed in C<integration.response.header.{name}>, a
39 static value enclosed within a pair of single quotes (e.g.,
40 C<'application/json'>), or a JSON expression from the back-end response
41 payload in the form of C<integration.response.body.{JSON-expression}>,
42 where C<JSON-expression> is a valid JSON expression without the C<$>
43 prefix.)
44  
45  
46 =head2 StatusCode => Str
47  
48 The method response's status code.
49  
50  
51 =head2 _request_id => Str
52  
53  
54 =cut
55