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

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