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

filter: Statementstmt 0.0% 0 / 19 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 2 Podpod n/a totaltotal 0.0% 0 / 21 CC 1 SCAR 6.9
CC
1
Cov
0%
BEGIN
2.0
BEGIN
2.0
CRAP 2.0
1  
2 package Paws::CodeCommit::GetMergeCommit;
3 use Moose;
4 has ConflictDetailLevel => (is => 'ro', isa => 'Str', traits => ['NameInRequest'], request_name => 'conflictDetailLevel' );
5 has ConflictResolutionStrategy => (is => 'ro', isa => 'Str', traits => ['NameInRequest'], request_name => 'conflictResolutionStrategy' );
6 has DestinationCommitSpecifier => (is => 'ro', isa => 'Str', traits => ['NameInRequest'], request_name => 'destinationCommitSpecifier' , required => 1);
7 has RepositoryName => (is => 'ro', isa => 'Str', traits => ['NameInRequest'], request_name => 'repositoryName' , required => 1);
8 has SourceCommitSpecifier => (is => 'ro', isa => 'Str', traits => ['NameInRequest'], request_name => 'sourceCommitSpecifier' , required => 1);
9  
10 use MooseX::ClassAttribute;
11  
12 class_has _api_call => (isa => 'Str', is => 'ro', default => 'GetMergeCommit');
13 class_has _returns => (isa => 'Str', is => 'ro', default => 'Paws::CodeCommit::GetMergeCommitOutput');
14 class_has _result_key => (isa => 'Str', is => 'ro');
15 1;
16  
17 ### main pod documentation begin ###
18  
19 =head1 NAME
20  
21 Paws::CodeCommit::GetMergeCommit - Arguments for method GetMergeCommit on L<Paws::CodeCommit>
22  
23 =head1 DESCRIPTION
24  
25 This class represents the parameters used for calling the method GetMergeCommit on the
26 L<AWS CodeCommit|Paws::CodeCommit> service. Use the attributes of this class
27 as arguments to method GetMergeCommit.
28  
29 You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to GetMergeCommit.
30  
31 =head1 SYNOPSIS
32  
33 my $codecommit = Paws->service('CodeCommit');
34 my $GetMergeCommitOutput = $codecommit->GetMergeCommit(
35 DestinationCommitSpecifier => 'MyCommitName',
36 RepositoryName => 'MyRepositoryName',
37 SourceCommitSpecifier => 'MyCommitName',
38 ConflictDetailLevel => 'FILE_LEVEL', # OPTIONAL
39 ConflictResolutionStrategy => 'NONE', # OPTIONAL
40 );
41  
42 # Results:
43 my $BaseCommitId = $GetMergeCommitOutput->BaseCommitId;
44 my $DestinationCommitId = $GetMergeCommitOutput->DestinationCommitId;
45 my $MergedCommitId = $GetMergeCommitOutput->MergedCommitId;
46 my $SourceCommitId = $GetMergeCommitOutput->SourceCommitId;
47  
48 # Returns a L<Paws::CodeCommit::GetMergeCommitOutput> object.
49  
50 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.
51 For the AWS API documentation, see L<https://docs.aws.amazon.com/goto/WebAPI/codecommit/GetMergeCommit>
52  
53 =head1 ATTRIBUTES
54  
55  
56 =head2 ConflictDetailLevel => Str
57  
58 The level of conflict detail to use. If unspecified, the default
59 FILE_LEVEL is used, which returns a not-mergeable result if the same
60 file has differences in both branches. If LINE_LEVEL is specified, a
61 conflict is considered not mergeable if the same file in both branches
62 has differences on the same line.
63  
64 Valid values are: C<"FILE_LEVEL">, C<"LINE_LEVEL">
65  
66 =head2 ConflictResolutionStrategy => Str
67  
68 Specifies which branch to use when resolving conflicts, or whether to
69 attempt automatically merging two versions of a file. The default is
70 NONE, which requires any conflicts to be resolved manually before the
71 merge operation is successful.
72  
73 Valid values are: C<"NONE">, C<"ACCEPT_SOURCE">, C<"ACCEPT_DESTINATION">, C<"AUTOMERGE">
74  
75 =head2 B<REQUIRED> DestinationCommitSpecifier => Str
76  
77 The branch, tag, HEAD, or other fully qualified reference used to
78 identify a commit (for example, a branch name or a full commit ID).
79  
80  
81  
82 =head2 B<REQUIRED> RepositoryName => Str
83  
84 The name of the repository that contains the merge commit about which
85 you want to get information.
86  
87  
88  
89 =head2 B<REQUIRED> SourceCommitSpecifier => Str
90  
91 The branch, tag, HEAD, or other fully qualified reference used to
92 identify a commit (for example, a branch name or a full commit ID).
93  
94  
95  
96  
97 =head1 SEE ALSO
98  
99 This class forms part of L<Paws>, documenting arguments for method GetMergeCommit in L<Paws::CodeCommit>
100  
101 =head1 BUGS and CONTRIBUTIONS
102  
103 The source code is located here: L<https://github.com/pplu/aws-sdk-perl>
104  
105 Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues>
106  
107 =cut
108