File Coverage

blib/lib/Paws/Pinpoint/EndpointLocation.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             package Paws::Pinpoint::EndpointLocation;
2 1     1   319 use Moose;
  1         3  
  1         10  
3             has City => (is => 'ro', isa => 'Str');
4             has Country => (is => 'ro', isa => 'Str');
5             has Latitude => (is => 'ro', isa => 'Num');
6             has Longitude => (is => 'ro', isa => 'Num');
7             has PostalCode => (is => 'ro', isa => 'Str');
8             has Region => (is => 'ro', isa => 'Str');
9             1;
10              
11             ### main pod documentation begin ###
12              
13             =head1 NAME
14              
15             Paws::Pinpoint::EndpointLocation
16              
17             =head1 USAGE
18              
19             This class represents one of two things:
20              
21             =head3 Arguments in a call to a service
22              
23             Use the attributes of this class as arguments to methods. You shouldn't make instances of this class.
24             Each attribute should be used as a named argument in the calls that expect this type of object.
25              
26             As an example, if Att1 is expected to be a Paws::Pinpoint::EndpointLocation object:
27              
28             $service_obj->Method(Att1 => { City => $value, ..., Region => $value });
29              
30             =head3 Results returned from an API call
31              
32             Use accessors for each attribute. If Att1 is expected to be an Paws::Pinpoint::EndpointLocation object:
33              
34             $result = $service_obj->Method(...);
35             $result->Att1->City
36              
37             =head1 DESCRIPTION
38              
39             Endpoint location data
40              
41             =head1 ATTRIBUTES
42              
43              
44             =head2 City => Str
45              
46             The city where the endpoint is located.
47              
48              
49             =head2 Country => Str
50              
51             Country according to ISO 3166-1 Alpha-2 codes. For example, US.
52              
53              
54             =head2 Latitude => Num
55              
56             The latitude of the endpoint location. Rounded to one decimal (Roughly
57             corresponding to a mile).
58              
59              
60             =head2 Longitude => Num
61              
62             The longitude of the endpoint location. Rounded to one decimal (Roughly
63             corresponding to a mile).
64              
65              
66             =head2 PostalCode => Str
67              
68             The postal code or zip code of the endpoint.
69              
70              
71             =head2 Region => Str
72              
73             The region of the endpoint location. For example, corresponds to a
74             state in US.
75              
76              
77              
78             =head1 SEE ALSO
79              
80             This class forms part of L<Paws>, describing an object used in L<Paws::Pinpoint>
81              
82             =head1 BUGS and CONTRIBUTIONS
83              
84             The source code is located here: https://github.com/pplu/aws-sdk-perl
85              
86             Please report bugs to: https://github.com/pplu/aws-sdk-perl/issues
87              
88             =cut
89