blib/lib/Paws/CodePipeline/ListWebhookItem.pm untested

filter: Statementstmt 0.0% 0 / 17 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 1 Podpod n/a totaltotal 0.0% 0 / 18 CC 1 SCAR 6.9
CC
1
Cov
0%
BEGIN
2.0
CRAP 2.0
1 # Generated by default/object.tt
2 package Paws::CodePipeline::ListWebhookItem;
3 use Moose;
4 has Arn => (is => 'ro', isa => 'Str', request_name => 'arn', traits => ['NameInRequest']);
5 has Definition => (is => 'ro', isa => 'Paws::CodePipeline::WebhookDefinition', request_name => 'definition', traits => ['NameInRequest'], required => 1);
6 has ErrorCode => (is => 'ro', isa => 'Str', request_name => 'errorCode', traits => ['NameInRequest']);
7 has ErrorMessage => (is => 'ro', isa => 'Str', request_name => 'errorMessage', traits => ['NameInRequest']);
8 has LastTriggered => (is => 'ro', isa => 'Str', request_name => 'lastTriggered', traits => ['NameInRequest']);
9 has Tags => (is => 'ro', isa => 'ArrayRef[Paws::CodePipeline::Tag]', request_name => 'tags', traits => ['NameInRequest']);
10 has Url => (is => 'ro', isa => 'Str', request_name => 'url', traits => ['NameInRequest'], required => 1);
11  
12 1;
13  
14 ### main pod documentation begin ###
15  
16 =head1 NAME
17  
18 Paws::CodePipeline::ListWebhookItem
19  
20 =head1 USAGE
21  
22 This class represents one of two things:
23  
24 =head3 Arguments in a call to a service
25  
26 Use the attributes of this class as arguments to methods. You shouldn't make instances of this class.
27 Each attribute should be used as a named argument in the calls that expect this type of object.
28  
29 As an example, if Att1 is expected to be a Paws::CodePipeline::ListWebhookItem object:
30  
31 $service_obj->Method(Att1 => { Arn => $value, ..., Url => $value });
32  
33 =head3 Results returned from an API call
34  
35 Use accessors for each attribute. If Att1 is expected to be an Paws::CodePipeline::ListWebhookItem object:
36  
37 $result = $service_obj->Method(...);
38 $result->Att1->Arn
39  
40 =head1 DESCRIPTION
41  
42 The detail returned for each webhook after listing webhooks, such as
43 the webhook URL, the webhook name, and the webhook ARN.
44  
45 =head1 ATTRIBUTES
46  
47  
48 =head2 Arn => Str
49  
50 The Amazon Resource Name (ARN) of the webhook.
51  
52  
53 =head2 B<REQUIRED> Definition => L<Paws::CodePipeline::WebhookDefinition>
54  
55 The detail returned for each webhook, such as the webhook
56 authentication type and filter rules.
57  
58  
59 =head2 ErrorCode => Str
60  
61 The number code of the error.
62  
63  
64 =head2 ErrorMessage => Str
65  
66 The text of the error message about the webhook.
67  
68  
69 =head2 LastTriggered => Str
70  
71 The date and time a webhook was last successfully triggered, in
72 timestamp format.
73  
74  
75 =head2 Tags => ArrayRef[L<Paws::CodePipeline::Tag>]
76  
77 Specifies the tags applied to the webhook.
78  
79  
80 =head2 B<REQUIRED> Url => Str
81  
82 A unique URL generated by CodePipeline. When a POST request is made to
83 this URL, the defined pipeline is started as long as the body of the
84 post request satisfies the defined authentication and filtering
85 conditions. Deleting and re-creating a webhook makes the old URL
86 invalid and generates a new one.
87  
88  
89  
90 =head1 SEE ALSO
91  
92 This class forms part of L<Paws>, describing an object used in L<Paws::CodePipeline>
93  
94 =head1 BUGS and CONTRIBUTIONS
95  
96 The source code is located here: L<https://github.com/pplu/aws-sdk-perl>
97  
98 Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues>
99  
100 =cut
101