File Coverage

blib/lib/Paws/ImportExport/GetShippingLabel.pm
Criterion Covered Total %
statement 6 6 100.0
branch n/a
condition n/a
subroutine 2 2 100.0
pod n/a
total 8 8 100.0


line stmt bran cond sub pod time code
1              
2             package Paws::ImportExport::GetShippingLabel;
3 1     1   923 use Moose;
  1         4  
  1         15  
4             has APIVersion => (is => 'ro', isa => 'Str');
5             has City => (is => 'ro', isa => 'Str', traits => ['NameInRequest'], request_name => 'city' );
6             has Company => (is => 'ro', isa => 'Str', traits => ['NameInRequest'], request_name => 'company' );
7             has Country => (is => 'ro', isa => 'Str', traits => ['NameInRequest'], request_name => 'country' );
8             has JobIds => (is => 'ro', isa => 'ArrayRef[Str|Undef]', traits => ['NameInRequest'], request_name => 'jobIds' , required => 1);
9             has Name => (is => 'ro', isa => 'Str', traits => ['NameInRequest'], request_name => 'name' );
10             has PhoneNumber => (is => 'ro', isa => 'Str', traits => ['NameInRequest'], request_name => 'phoneNumber' );
11             has PostalCode => (is => 'ro', isa => 'Str', traits => ['NameInRequest'], request_name => 'postalCode' );
12             has StateOrProvince => (is => 'ro', isa => 'Str', traits => ['NameInRequest'], request_name => 'stateOrProvince' );
13             has Street1 => (is => 'ro', isa => 'Str', traits => ['NameInRequest'], request_name => 'street1' );
14             has Street2 => (is => 'ro', isa => 'Str', traits => ['NameInRequest'], request_name => 'street2' );
15             has Street3 => (is => 'ro', isa => 'Str', traits => ['NameInRequest'], request_name => 'street3' );
16              
17 1     1   13428 use MooseX::ClassAttribute;
  1         8  
  1         18  
18              
19             class_has _api_call => (isa => 'Str', is => 'ro', default => 'GetShippingLabel');
20             class_has _returns => (isa => 'Str', is => 'ro', default => 'Paws::ImportExport::GetShippingLabelOutput');
21             class_has _result_key => (isa => 'Str', is => 'ro', default => 'GetShippingLabelResult');
22             1;
23              
24             ### main pod documentation begin ###
25              
26             =head1 NAME
27              
28             Paws::ImportExport::GetShippingLabel - Arguments for method GetShippingLabel on Paws::ImportExport
29              
30             =head1 DESCRIPTION
31              
32             This class represents the parameters used for calling the method GetShippingLabel on the
33             AWS Import/Export service. Use the attributes of this class
34             as arguments to method GetShippingLabel.
35              
36             You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to GetShippingLabel.
37              
38             As an example:
39              
40             $service_obj->GetShippingLabel(Att1 => $value1, Att2 => $value2, ...);
41              
42             Values for attributes that are native types (Int, String, Float, etc) can passed as-is (scalar values). Values for complex Types (objects) can be passed as a HashRef. The keys and values of the hashref will be used to instance the underlying object.
43              
44             =head1 ATTRIBUTES
45              
46              
47             =head2 APIVersion => Str
48              
49              
50              
51              
52              
53             =head2 City => Str
54              
55              
56              
57              
58              
59             =head2 Company => Str
60              
61              
62              
63              
64              
65             =head2 Country => Str
66              
67              
68              
69              
70              
71             =head2 B<REQUIRED> JobIds => ArrayRef[Str|Undef]
72              
73              
74              
75              
76              
77             =head2 Name => Str
78              
79              
80              
81              
82              
83             =head2 PhoneNumber => Str
84              
85              
86              
87              
88              
89             =head2 PostalCode => Str
90              
91              
92              
93              
94              
95             =head2 StateOrProvince => Str
96              
97              
98              
99              
100              
101             =head2 Street1 => Str
102              
103              
104              
105              
106              
107             =head2 Street2 => Str
108              
109              
110              
111              
112              
113             =head2 Street3 => Str
114              
115              
116              
117              
118              
119              
120             =head1 SEE ALSO
121              
122             This class forms part of L<Paws>, documenting arguments for method GetShippingLabel in L<Paws::ImportExport>
123              
124             =head1 BUGS and CONTRIBUTIONS
125              
126             The source code is located here: https://github.com/pplu/aws-sdk-perl
127              
128             Please report bugs to: https://github.com/pplu/aws-sdk-perl/issues
129              
130             =cut
131