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

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