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

filter: Statementstmt 0.0% 0 / 17 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 2 Podpod n/a totaltotal 0.0% 0 / 19 CC 1 SCAR 6.9
CC
1
Cov
0%
BEGIN
2.0
BEGIN
2.0
CRAP 2.0
1  
2 package Paws::CodeCommit::MergeBranchesByFastForward;
3 use Moose;
4 has DestinationCommitSpecifier => (is => 'ro', isa => 'Str', traits => ['NameInRequest'], request_name => 'destinationCommitSpecifier' , required => 1);
5 has RepositoryName => (is => 'ro', isa => 'Str', traits => ['NameInRequest'], request_name => 'repositoryName' , required => 1);
6 has SourceCommitSpecifier => (is => 'ro', isa => 'Str', traits => ['NameInRequest'], request_name => 'sourceCommitSpecifier' , required => 1);
7 has TargetBranch => (is => 'ro', isa => 'Str', traits => ['NameInRequest'], request_name => 'targetBranch' );
8  
9 use MooseX::ClassAttribute;
10  
11 class_has _api_call => (isa => 'Str', is => 'ro', default => 'MergeBranchesByFastForward');
12 class_has _returns => (isa => 'Str', is => 'ro', default => 'Paws::CodeCommit::MergeBranchesByFastForwardOutput');
13 class_has _result_key => (isa => 'Str', is => 'ro');
14 1;
15  
16 ### main pod documentation begin ###
17  
18 =head1 NAME
19  
20 Paws::CodeCommit::MergeBranchesByFastForward - Arguments for method MergeBranchesByFastForward on L<Paws::CodeCommit>
21  
22 =head1 DESCRIPTION
23  
24 This class represents the parameters used for calling the method MergeBranchesByFastForward on the
25 L<AWS CodeCommit|Paws::CodeCommit> service. Use the attributes of this class
26 as arguments to method MergeBranchesByFastForward.
27  
28 You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to MergeBranchesByFastForward.
29  
30 =head1 SYNOPSIS
31  
32 my $codecommit = Paws->service('CodeCommit');
33 my $MergeBranchesByFastForwardOutput =
34 $codecommit->MergeBranchesByFastForward(
35 DestinationCommitSpecifier => 'MyCommitName',
36 RepositoryName => 'MyRepositoryName',
37 SourceCommitSpecifier => 'MyCommitName',
38 TargetBranch => 'MyBranchName', # OPTIONAL
39 );
40  
41 # Results:
42 my $CommitId = $MergeBranchesByFastForwardOutput->CommitId;
43 my $TreeId = $MergeBranchesByFastForwardOutput->TreeId;
44  
45 # Returns a L<Paws::CodeCommit::MergeBranchesByFastForwardOutput> object.
46  
47 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.
48 For the AWS API documentation, see L<https://docs.aws.amazon.com/goto/WebAPI/codecommit/MergeBranchesByFastForward>
49  
50 =head1 ATTRIBUTES
51  
52  
53 =head2 B<REQUIRED> DestinationCommitSpecifier => Str
54  
55 The branch, tag, HEAD, or other fully qualified reference used to
56 identify a commit (for example, a branch name or a full commit ID).
57  
58  
59  
60 =head2 B<REQUIRED> RepositoryName => Str
61  
62 The name of the repository where you want to merge two branches.
63  
64  
65  
66 =head2 B<REQUIRED> SourceCommitSpecifier => Str
67  
68 The branch, tag, HEAD, or other fully qualified reference used to
69 identify a commit (for example, a branch name or a full commit ID).
70  
71  
72  
73 =head2 TargetBranch => Str
74  
75 The branch where the merge is applied.
76  
77  
78  
79  
80 =head1 SEE ALSO
81  
82 This class forms part of L<Paws>, documenting arguments for method MergeBranchesByFastForward in L<Paws::CodeCommit>
83  
84 =head1 BUGS and CONTRIBUTIONS
85  
86 The source code is located here: L<https://github.com/pplu/aws-sdk-perl>
87  
88 Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues>
89  
90 =cut
91