File Coverage

blib/lib/Paws/SNS/MapStringToString.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::SNS::MapStringToString;
2 1     1   693 use Moose;
  1     1   4  
  1         12  
  1         575  
  1         3  
  1         6  
3             with 'Paws::API::StrToNativeMapParser';
4              
5 1     1   8055 use MooseX::ClassAttribute;
  1     1   4  
  1         15  
  1         4247  
  1         2  
  1         7  
6             class_has xml_keys =>(is => 'ro', default => 'key');
7             class_has xml_values =>(is => 'ro', default => 'value');
8              
9             has Map => (is => 'ro', isa => 'HashRef[Maybe[Str]]');
10             1;
11              
12             ### main pod documentation begin ###
13              
14             =head1 NAME
15              
16             Paws::SNS::MapStringToString
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::SNS::MapStringToString 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::SNS::MapStringToString 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 => Str
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::SNS>
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