blib/lib/Paws/CodeBuild/BuildStatusConfig.pm untested

filter: Statementstmt 0.0% 0 / 7 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 1 Podpod n/a totaltotal 0.0% 0 / 8 CC 1 SCAR 6.9
CC
1
Cov
0%
BEGIN
2.0
CRAP 2.0
1 # Generated by default/object.tt
2 package Paws::CodeBuild::BuildStatusConfig;
3 use Moose;
4 has Context => (is => 'ro', isa => 'Str', request_name => 'context', traits => ['NameInRequest']);
5 has TargetUrl => (is => 'ro', isa => 'Str', request_name => 'targetUrl', traits => ['NameInRequest']);
6  
7 1;
8  
9 ### main pod documentation begin ###
10  
11 =head1 NAME
12  
13 Paws::CodeBuild::BuildStatusConfig
14  
15 =head1 USAGE
16  
17 This class represents one of two things:
18  
19 =head3 Arguments in a call to a service
20  
21 Use the attributes of this class as arguments to methods. You shouldn't make instances of this class.
22 Each attribute should be used as a named argument in the calls that expect this type of object.
23  
24 As an example, if Att1 is expected to be a Paws::CodeBuild::BuildStatusConfig object:
25  
26 $service_obj->Method(Att1 => { Context => $value, ..., TargetUrl => $value });
27  
28 =head3 Results returned from an API call
29  
30 Use accessors for each attribute. If Att1 is expected to be an Paws::CodeBuild::BuildStatusConfig object:
31  
32 $result = $service_obj->Method(...);
33 $result->Att1->Context
34  
35 =head1 DESCRIPTION
36  
37 Contains information that defines how the CodeBuild build project
38 reports the build status to the source provider.
39  
40 =head1 ATTRIBUTES
41  
42  
43 =head2 Context => Str
44  
45 Specifies the context of the build status CodeBuild sends to the source
46 provider. The usage of this parameter depends on the source provider.
47  
48 =over
49  
50 =item Bitbucket
51  
52 This parameter is used for the C<name> parameter in the Bitbucket
53 commit status. For more information, see build
54 (https://developer.atlassian.com/bitbucket/api/2/reference/resource/repositories/%7Bworkspace%7D/%7Brepo_slug%7D/commit/%7Bnode%7D/statuses/build)
55 in the Bitbucket API documentation.
56  
57 =item GitHub/GitHub Enterprise Server
58  
59 This parameter is used for the C<context> parameter in the GitHub
60 commit status. For more information, see Create a commit status
61 (https://developer.github.com/v3/repos/statuses/#create-a-commit-status)
62 in the GitHub developer guide.
63  
64 =back
65  
66  
67  
68 =head2 TargetUrl => Str
69  
70 Specifies the target url of the build status CodeBuild sends to the
71 source provider. The usage of this parameter depends on the source
72 provider.
73  
74 =over
75  
76 =item Bitbucket
77  
78 This parameter is used for the C<url> parameter in the Bitbucket commit
79 status. For more information, see build
80 (https://developer.atlassian.com/bitbucket/api/2/reference/resource/repositories/%7Bworkspace%7D/%7Brepo_slug%7D/commit/%7Bnode%7D/statuses/build)
81 in the Bitbucket API documentation.
82  
83 =item GitHub/GitHub Enterprise Server
84  
85 This parameter is used for the C<target_url> parameter in the GitHub
86 commit status. For more information, see Create a commit status
87 (https://developer.github.com/v3/repos/statuses/#create-a-commit-status)
88 in the GitHub developer guide.
89  
90 =back
91  
92  
93  
94  
95 =head1 SEE ALSO
96  
97 This class forms part of L<Paws>, describing an object used in L<Paws::CodeBuild>
98  
99 =head1 BUGS and CONTRIBUTIONS
100  
101 The source code is located here: L<https://github.com/pplu/aws-sdk-perl>
102  
103 Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues>
104  
105 =cut
106