File Coverage

blib/lib/Paws/SQS/MessageBodyAttributeMap.pm
Criterion Covered Total %
statement 12 12 100.0
branch n/a
condition n/a
subroutine 4 4 100.0
pod n/a
total 16 16 100.0


line stmt bran cond sub pod time code
1             package Paws::SQS::MessageBodyAttributeMap;
2 1     1   279 use Moose;
  1     2   3  
  1         7  
  2         834  
  2         6  
  2         13  
3             with 'Paws::API::StrToObjMapParser';
4              
5 1     1   3778 use MooseX::ClassAttribute;
  1     2   2  
  1         8  
  2         8192  
  2         5  
  2         13  
6             class_has xml_keys =>(is => 'ro', default => 'Name');
7             class_has xml_values =>(is => 'ro', default => 'Value');
8              
9             has Map => (is => 'ro', isa => 'HashRef[Paws::SQS::MessageAttributeValue]');
10             1;
11              
12             ### main pod documentation begin ###
13              
14             =head1 NAME
15              
16             Paws::SQS::MessageBodyAttributeMap
17              
18             =head1 USAGE
19              
20             This class represents one of two things:
21              
22             =head3 Arguments in a call to a service
23              
24             Use the attributes of this class as arguments to methods. You shouldn't make instances of this class.
25             Each attribute should be used as a named argument in the calls that expect this type of object.
26              
27             As an example, if Att1 is expected to be a Paws::SQS::MessageBodyAttributeMap object:
28              
29             $service_obj->Method(Att1 => { key1 => $value, ..., keyN => $value });
30              
31             =head3 Results returned from an API call
32              
33             Use accessors for each attribute. If Att1 is expected to be an Paws::SQS::MessageBodyAttributeMap object:
34              
35             $result = $service_obj->Method(...);
36             $result->Att1->Map->{ key1 }
37              
38             =head1 DESCRIPTION
39              
40             This class has no description
41              
42             =head1 ATTRIBUTES
43              
44             =head2 Map => L<Paws::SQS::MessageAttributeValue>
45              
46             Use the Map method to retrieve a HashRef to the map
47              
48             =head1 SEE ALSO
49              
50             This class forms part of L<Paws>, describing an object used in L<Paws::SQS>
51              
52             =head1 BUGS and CONTRIBUTIONS
53              
54             The source code is located here: https://github.com/pplu/aws-sdk-perl
55              
56             Please report bugs to: https://github.com/pplu/aws-sdk-perl/issues
57              
58             =cut
59