blib/lib/Paws/WorkMail/UpdateResource.pm untested

filter: Statementstmt 0.0% 0 / 13 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 2 Podpod n/a totaltotal 0.0% 0 / 15 CC 1 SCAR 6.9
CC
1
Cov
0%
BEGIN
2.0
BEGIN
2.0
CRAP 2.0
1  
2 package Paws::WorkMail::UpdateResource;
3 use Moose;
4 has BookingOptions => (is => 'ro', isa => 'Paws::WorkMail::BookingOptions');
5 has Name => (is => 'ro', isa => 'Str');
6 has OrganizationId => (is => 'ro', isa => 'Str', required => 1);
7 has ResourceId => (is => 'ro', isa => 'Str', required => 1);
8  
9 use MooseX::ClassAttribute;
10  
11 class_has _api_call => (isa => 'Str', is => 'ro', default => 'UpdateResource');
12 class_has _returns => (isa => 'Str', is => 'ro', default => 'Paws::WorkMail::UpdateResourceResponse');
13 class_has _result_key => (isa => 'Str', is => 'ro');
14 1;
15  
16 ### main pod documentation begin ###
17  
18 =head1 NAME
19  
20 Paws::WorkMail::UpdateResource - Arguments for method UpdateResource on L<Paws::WorkMail>
21  
22 =head1 DESCRIPTION
23  
24 This class represents the parameters used for calling the method UpdateResource on the
25 L<Amazon WorkMail|Paws::WorkMail> service. Use the attributes of this class
26 as arguments to method UpdateResource.
27  
28 You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to UpdateResource.
29  
30 =head1 SYNOPSIS
31  
32 my $workmail = Paws->service('WorkMail');
33 my $UpdateResourceResponse = $workmail->UpdateResource(
34 OrganizationId => 'MyOrganizationId',
35 ResourceId => 'MyResourceId',
36 BookingOptions => {
37 AutoAcceptRequests => 1, # OPTIONAL
38 AutoDeclineConflictingRequests => 1, # OPTIONAL
39 AutoDeclineRecurringRequests => 1, # OPTIONAL
40 }, # OPTIONAL
41 Name => 'MyResourceName', # OPTIONAL
42 );
43  
44 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.
45 For the AWS API documentation, see L<https://docs.aws.amazon.com/goto/WebAPI/workmail/UpdateResource>
46  
47 =head1 ATTRIBUTES
48  
49  
50 =head2 BookingOptions => L<Paws::WorkMail::BookingOptions>
51  
52 The resource's booking options to be updated.
53  
54  
55  
56 =head2 Name => Str
57  
58 The name of the resource to be updated.
59  
60  
61  
62 =head2 B<REQUIRED> OrganizationId => Str
63  
64 The identifier associated with the organization for which the resource
65 is updated.
66  
67  
68  
69 =head2 B<REQUIRED> ResourceId => Str
70  
71 The identifier of the resource to be updated.
72  
73  
74  
75  
76 =head1 SEE ALSO
77  
78 This class forms part of L<Paws>, documenting arguments for method UpdateResource in L<Paws::WorkMail>
79  
80 =head1 BUGS and CONTRIBUTIONS
81  
82 The source code is located here: L<https://github.com/pplu/aws-sdk-perl>
83  
84 Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues>
85  
86 =cut
87