blib/lib/Paws/AlexaForBusiness/UpdateContact.pm untested

filter: Statementstmt 0.0% 0 / 16 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 2 Podpod n/a totaltotal 0.0% 0 / 18 CC 1 SCAR 6.9
CC
1
Cov
0%
BEGIN
2.0
BEGIN
2.0
CRAP 2.0
1  
2 package Paws::AlexaForBusiness::UpdateContact;
3 use Moose;
4 has ContactArn => (is => 'ro', isa => 'Str', required => 1);
5 has DisplayName => (is => 'ro', isa => 'Str');
6 has FirstName => (is => 'ro', isa => 'Str');
7 has LastName => (is => 'ro', isa => 'Str');
8 has PhoneNumber => (is => 'ro', isa => 'Str');
9 has PhoneNumbers => (is => 'ro', isa => 'ArrayRef[Paws::AlexaForBusiness::PhoneNumber]');
10 has SipAddresses => (is => 'ro', isa => 'ArrayRef[Paws::AlexaForBusiness::SipAddress]');
11  
12 use MooseX::ClassAttribute;
13  
14 class_has _api_call => (isa => 'Str', is => 'ro', default => 'UpdateContact');
15 class_has _returns => (isa => 'Str', is => 'ro', default => 'Paws::AlexaForBusiness::UpdateContactResponse');
16 class_has _result_key => (isa => 'Str', is => 'ro');
17 1;
18  
19 ### main pod documentation begin ###
20  
21 =head1 NAME
22  
23 Paws::AlexaForBusiness::UpdateContact - Arguments for method UpdateContact on L<Paws::AlexaForBusiness>
24  
25 =head1 DESCRIPTION
26  
27 This class represents the parameters used for calling the method UpdateContact on the
28 L<Alexa For Business|Paws::AlexaForBusiness> service. Use the attributes of this class
29 as arguments to method UpdateContact.
30  
31 You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to UpdateContact.
32  
33 =head1 SYNOPSIS
34  
35 my $a4b = Paws->service('AlexaForBusiness');
36 my $UpdateContactResponse = $a4b->UpdateContact(
37 ContactArn => 'MyArn',
38 DisplayName => 'MyContactName', # OPTIONAL
39 FirstName => 'MyContactName', # OPTIONAL
40 LastName => 'MyContactName', # OPTIONAL
41 PhoneNumber => 'MyRawPhoneNumber', # OPTIONAL
42 PhoneNumbers => [
43 {
44 Number => 'MyRawPhoneNumber', # max: 50
45 Type => 'MOBILE', # values: MOBILE, WORK, HOME
46  
47 },
48 ...
49 ], # OPTIONAL
50 SipAddresses => [
51 {
52 Type => 'WORK', # values: WORK
53 Uri => 'MySipUri', # min: 1, max: 256
54  
55 },
56 ...
57 ], # OPTIONAL
58 );
59  
60 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.
61 For the AWS API documentation, see L<https://docs.aws.amazon.com/goto/WebAPI/a4b/UpdateContact>
62  
63 =head1 ATTRIBUTES
64  
65  
66 =head2 B<REQUIRED> ContactArn => Str
67  
68 The ARN of the contact to update.
69  
70  
71  
72 =head2 DisplayName => Str
73  
74 The updated display name of the contact.
75  
76  
77  
78 =head2 FirstName => Str
79  
80 The updated first name of the contact.
81  
82  
83  
84 =head2 LastName => Str
85  
86 The updated last name of the contact.
87  
88  
89  
90 =head2 PhoneNumber => Str
91  
92 The updated phone number of the contact. The phone number type defaults
93 to WORK. You can either specify PhoneNumber or PhoneNumbers. We
94 recommend that you use PhoneNumbers, which lets you specify the phone
95 number type and multiple numbers.
96  
97  
98  
99 =head2 PhoneNumbers => ArrayRef[L<Paws::AlexaForBusiness::PhoneNumber>]
100  
101 The list of phone numbers for the contact.
102  
103  
104  
105 =head2 SipAddresses => ArrayRef[L<Paws::AlexaForBusiness::SipAddress>]
106  
107 The list of SIP addresses for the contact.
108  
109  
110  
111  
112 =head1 SEE ALSO
113  
114 This class forms part of L<Paws>, documenting arguments for method UpdateContact in L<Paws::AlexaForBusiness>
115  
116 =head1 BUGS and CONTRIBUTIONS
117  
118 The source code is located here: L<https://github.com/pplu/aws-sdk-perl>
119  
120 Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues>
121  
122 =cut
123