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

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