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

filter: Statementstmt 0.0% 0 / 17 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 1 Podpod n/a totaltotal 0.0% 0 / 18 CC 1 SCAR 6.9
CC
1
Cov
0%
BEGIN
2.0
CRAP 2.0
1 # Generated by default/object.tt
2 package Paws::WorkMail::MobileDeviceAccessRule;
3 use Moose;
4 has DateCreated => (is => 'ro', isa => 'Str');
5 has DateModified => (is => 'ro', isa => 'Str');
6 has Description => (is => 'ro', isa => 'Str');
7 has DeviceModels => (is => 'ro', isa => 'ArrayRef[Str|Undef]');
8 has DeviceOperatingSystems => (is => 'ro', isa => 'ArrayRef[Str|Undef]');
9 has DeviceTypes => (is => 'ro', isa => 'ArrayRef[Str|Undef]');
10 has DeviceUserAgents => (is => 'ro', isa => 'ArrayRef[Str|Undef]');
11 has Effect => (is => 'ro', isa => 'Str');
12 has MobileDeviceAccessRuleId => (is => 'ro', isa => 'Str');
13 has Name => (is => 'ro', isa => 'Str');
14 has NotDeviceModels => (is => 'ro', isa => 'ArrayRef[Str|Undef]');
15 has NotDeviceOperatingSystems => (is => 'ro', isa => 'ArrayRef[Str|Undef]');
16 has NotDeviceTypes => (is => 'ro', isa => 'ArrayRef[Str|Undef]');
17 has NotDeviceUserAgents => (is => 'ro', isa => 'ArrayRef[Str|Undef]');
18  
19 1;
20  
21 ### main pod documentation begin ###
22  
23 =head1 NAME
24  
25 Paws::WorkMail::MobileDeviceAccessRule
26  
27 =head1 USAGE
28  
29 This class represents one of two things:
30  
31 =head3 Arguments in a call to a service
32  
33 Use the attributes of this class as arguments to methods. You shouldn't make instances of this class.
34 Each attribute should be used as a named argument in the calls that expect this type of object.
35  
36 As an example, if Att1 is expected to be a Paws::WorkMail::MobileDeviceAccessRule object:
37  
38 $service_obj->Method(Att1 => { DateCreated => $value, ..., NotDeviceUserAgents => $value });
39  
40 =head3 Results returned from an API call
41  
42 Use accessors for each attribute. If Att1 is expected to be an Paws::WorkMail::MobileDeviceAccessRule object:
43  
44 $result = $service_obj->Method(...);
45 $result->Att1->DateCreated
46  
47 =head1 DESCRIPTION
48  
49 A rule that controls access to mobile devices for an Amazon WorkMail
50 group.
51  
52 =head1 ATTRIBUTES
53  
54  
55 =head2 DateCreated => Str
56  
57 The date and time at which an access rule was created.
58  
59  
60 =head2 DateModified => Str
61  
62 The date and time at which an access rule was modified.
63  
64  
65 =head2 Description => Str
66  
67 The description of a mobile access rule.
68  
69  
70 =head2 DeviceModels => ArrayRef[Str|Undef]
71  
72 Device models that a rule will match.
73  
74  
75 =head2 DeviceOperatingSystems => ArrayRef[Str|Undef]
76  
77 Device operating systems that a rule will match.
78  
79  
80 =head2 DeviceTypes => ArrayRef[Str|Undef]
81  
82 Device types that a rule will match.
83  
84  
85 =head2 DeviceUserAgents => ArrayRef[Str|Undef]
86  
87 Device user agents that a rule will match.
88  
89  
90 =head2 Effect => Str
91  
92 The effect of the rule when it matches. Allowed values are C<ALLOW> or
93 C<DENY>.
94  
95  
96 =head2 MobileDeviceAccessRuleId => Str
97  
98 The ID assigned to a mobile access rule.
99  
100  
101 =head2 Name => Str
102  
103 The name of a mobile access rule.
104  
105  
106 =head2 NotDeviceModels => ArrayRef[Str|Undef]
107  
108 Device models that a rule B<will not> match. All other device models
109 will match.
110  
111  
112 =head2 NotDeviceOperatingSystems => ArrayRef[Str|Undef]
113  
114 Device operating systems that a rule B<will not> match. All other
115 device types will match.
116  
117  
118 =head2 NotDeviceTypes => ArrayRef[Str|Undef]
119  
120 Device types that a rule B<will not> match. All other device types will
121 match.
122  
123  
124 =head2 NotDeviceUserAgents => ArrayRef[Str|Undef]
125  
126 Device user agents that a rule B<will not> match. All other device user
127 agents will match.
128  
129  
130  
131 =head1 SEE ALSO
132  
133 This class forms part of L<Paws>, describing an object used in L<Paws::WorkMail>
134  
135 =head1 BUGS and CONTRIBUTIONS
136  
137 The source code is located here: L<https://github.com/pplu/aws-sdk-perl>
138  
139 Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues>
140  
141 =cut
142