blib/lib/Paws/CodeCommit/PullRequestTarget.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::CodeCommit::PullRequestTarget;
3 use Moose;
4 has DestinationCommit => (is => 'ro', isa => 'Str', request_name => 'destinationCommit', traits => ['NameInRequest']);
5 has DestinationReference => (is => 'ro', isa => 'Str', request_name => 'destinationReference', traits => ['NameInRequest']);
6 has MergeBase => (is => 'ro', isa => 'Str', request_name => 'mergeBase', traits => ['NameInRequest']);
7 has MergeMetadata => (is => 'ro', isa => 'Paws::CodeCommit::MergeMetadata', request_name => 'mergeMetadata', traits => ['NameInRequest']);
8 has RepositoryName => (is => 'ro', isa => 'Str', request_name => 'repositoryName', traits => ['NameInRequest']);
9 has SourceCommit => (is => 'ro', isa => 'Str', request_name => 'sourceCommit', traits => ['NameInRequest']);
10 has SourceReference => (is => 'ro', isa => 'Str', request_name => 'sourceReference', traits => ['NameInRequest']);
11  
12 1;
13  
14 ### main pod documentation begin ###
15  
16 =head1 NAME
17  
18 Paws::CodeCommit::PullRequestTarget
19  
20 =head1 USAGE
21  
22 This class represents one of two things:
23  
24 =head3 Arguments in a call to a service
25  
26 Use the attributes of this class as arguments to methods. You shouldn't make instances of this class.
27 Each attribute should be used as a named argument in the calls that expect this type of object.
28  
29 As an example, if Att1 is expected to be a Paws::CodeCommit::PullRequestTarget object:
30  
31 $service_obj->Method(Att1 => { DestinationCommit => $value, ..., SourceReference => $value });
32  
33 =head3 Results returned from an API call
34  
35 Use accessors for each attribute. If Att1 is expected to be an Paws::CodeCommit::PullRequestTarget object:
36  
37 $result = $service_obj->Method(...);
38 $result->Att1->DestinationCommit
39  
40 =head1 DESCRIPTION
41  
42 Returns information about a pull request target.
43  
44 =head1 ATTRIBUTES
45  
46  
47 =head2 DestinationCommit => Str
48  
49 The full commit ID that is the tip of the destination branch. This is
50 the commit where the pull request was or will be merged.
51  
52  
53 =head2 DestinationReference => Str
54  
55 The branch of the repository where the pull request changes are merged.
56 Also known as the destination branch.
57  
58  
59 =head2 MergeBase => Str
60  
61 The commit ID of the most recent commit that the source branch and the
62 destination branch have in common.
63  
64  
65 =head2 MergeMetadata => L<Paws::CodeCommit::MergeMetadata>
66  
67 Returns metadata about the state of the merge, including whether the
68 merge has been made.
69  
70  
71 =head2 RepositoryName => Str
72  
73 The name of the repository that contains the pull request source and
74 destination branches.
75  
76  
77 =head2 SourceCommit => Str
78  
79 The full commit ID of the tip of the source branch used to create the
80 pull request. If the pull request branch is updated by a push while the
81 pull request is open, the commit ID changes to reflect the new tip of
82 the branch.
83  
84  
85 =head2 SourceReference => Str
86  
87 The branch of the repository that contains the changes for the pull
88 request. Also known as the source branch.
89  
90  
91  
92 =head1 SEE ALSO
93  
94 This class forms part of L<Paws>, describing an object used in L<Paws::CodeCommit>
95  
96 =head1 BUGS and CONTRIBUTIONS
97  
98 The source code is located here: L<https://github.com/pplu/aws-sdk-perl>
99  
100 Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues>
101  
102 =cut
103