blib/lib/Paws/CodeCommit/ApprovalRule.pm untested

filter: Statementstmt 0.0% 0 / 19 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 1 Podpod n/a totaltotal 0.0% 0 / 20 CC 1 SCAR 6.9
CC
1
Cov
0%
BEGIN
2.0
CRAP 2.0
1 # Generated by default/object.tt
2 package Paws::CodeCommit::ApprovalRule;
3 use Moose;
4 has ApprovalRuleContent => (is => 'ro', isa => 'Str', request_name => 'approvalRuleContent', traits => ['NameInRequest']);
5 has ApprovalRuleId => (is => 'ro', isa => 'Str', request_name => 'approvalRuleId', traits => ['NameInRequest']);
6 has ApprovalRuleName => (is => 'ro', isa => 'Str', request_name => 'approvalRuleName', traits => ['NameInRequest']);
7 has CreationDate => (is => 'ro', isa => 'Str', request_name => 'creationDate', traits => ['NameInRequest']);
8 has LastModifiedDate => (is => 'ro', isa => 'Str', request_name => 'lastModifiedDate', traits => ['NameInRequest']);
9 has LastModifiedUser => (is => 'ro', isa => 'Str', request_name => 'lastModifiedUser', traits => ['NameInRequest']);
10 has OriginApprovalRuleTemplate => (is => 'ro', isa => 'Paws::CodeCommit::OriginApprovalRuleTemplate', request_name => 'originApprovalRuleTemplate', traits => ['NameInRequest']);
11 has RuleContentSha256 => (is => 'ro', isa => 'Str', request_name => 'ruleContentSha256', traits => ['NameInRequest']);
12  
13 1;
14  
15 ### main pod documentation begin ###
16  
17 =head1 NAME
18  
19 Paws::CodeCommit::ApprovalRule
20  
21 =head1 USAGE
22  
23 This class represents one of two things:
24  
25 =head3 Arguments in a call to a service
26  
27 Use the attributes of this class as arguments to methods. You shouldn't make instances of this class.
28 Each attribute should be used as a named argument in the calls that expect this type of object.
29  
30 As an example, if Att1 is expected to be a Paws::CodeCommit::ApprovalRule object:
31  
32 $service_obj->Method(Att1 => { ApprovalRuleContent => $value, ..., RuleContentSha256 => $value });
33  
34 =head3 Results returned from an API call
35  
36 Use accessors for each attribute. If Att1 is expected to be an Paws::CodeCommit::ApprovalRule object:
37  
38 $result = $service_obj->Method(...);
39 $result->Att1->ApprovalRuleContent
40  
41 =head1 DESCRIPTION
42  
43 Returns information about an approval rule.
44  
45 =head1 ATTRIBUTES
46  
47  
48 =head2 ApprovalRuleContent => Str
49  
50 The content of the approval rule.
51  
52  
53 =head2 ApprovalRuleId => Str
54  
55 The system-generated ID of the approval rule.
56  
57  
58 =head2 ApprovalRuleName => Str
59  
60 The name of the approval rule.
61  
62  
63 =head2 CreationDate => Str
64  
65 The date the approval rule was created, in timestamp format.
66  
67  
68 =head2 LastModifiedDate => Str
69  
70 The date the approval rule was most recently changed, in timestamp
71 format.
72  
73  
74 =head2 LastModifiedUser => Str
75  
76 The Amazon Resource Name (ARN) of the user who made the most recent
77 changes to the approval rule.
78  
79  
80 =head2 OriginApprovalRuleTemplate => L<Paws::CodeCommit::OriginApprovalRuleTemplate>
81  
82 The approval rule template used to create the rule.
83  
84  
85 =head2 RuleContentSha256 => Str
86  
87 The SHA-256 hash signature for the content of the approval rule.
88  
89  
90  
91 =head1 SEE ALSO
92  
93 This class forms part of L<Paws>, describing an object used in L<Paws::CodeCommit>
94  
95 =head1 BUGS and CONTRIBUTIONS
96  
97 The source code is located here: L<https://github.com/pplu/aws-sdk-perl>
98  
99 Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues>
100  
101 =cut
102