blib/lib/Paws/CodeBuild/DescribeTestCases.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::CodeBuild::DescribeTestCases;
3 use Moose;
4 has Filter => (is => 'ro', isa => 'Paws::CodeBuild::TestCaseFilter', traits => ['NameInRequest'], request_name => 'filter' );
5 has MaxResults => (is => 'ro', isa => 'Int', traits => ['NameInRequest'], request_name => 'maxResults' );
6 has NextToken => (is => 'ro', isa => 'Str', traits => ['NameInRequest'], request_name => 'nextToken' );
7 has ReportArn => (is => 'ro', isa => 'Str', traits => ['NameInRequest'], request_name => 'reportArn' , required => 1);
8  
9 use MooseX::ClassAttribute;
10  
11 class_has _api_call => (isa => 'Str', is => 'ro', default => 'DescribeTestCases');
12 class_has _returns => (isa => 'Str', is => 'ro', default => 'Paws::CodeBuild::DescribeTestCasesOutput');
13 class_has _result_key => (isa => 'Str', is => 'ro');
14 1;
15  
16 ### main pod documentation begin ###
17  
18 =head1 NAME
19  
20 Paws::CodeBuild::DescribeTestCases - Arguments for method DescribeTestCases on L<Paws::CodeBuild>
21  
22 =head1 DESCRIPTION
23  
24 This class represents the parameters used for calling the method DescribeTestCases on the
25 L<AWS CodeBuild|Paws::CodeBuild> service. Use the attributes of this class
26 as arguments to method DescribeTestCases.
27  
28 You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to DescribeTestCases.
29  
30 =head1 SYNOPSIS
31  
32 my $codebuild = Paws->service('CodeBuild');
33 my $DescribeTestCasesOutput = $codebuild->DescribeTestCases(
34 ReportArn => 'MyString',
35 Filter => {
36 Keyword => 'MyString',
37 Status => 'MyString',
38 }, # OPTIONAL
39 MaxResults => 1, # OPTIONAL
40 NextToken => 'MyString', # OPTIONAL
41 );
42  
43 # Results:
44 my $NextToken = $DescribeTestCasesOutput->NextToken;
45 my $TestCases = $DescribeTestCasesOutput->TestCases;
46  
47 # Returns a L<Paws::CodeBuild::DescribeTestCasesOutput> object.
48  
49 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.
50 For the AWS API documentation, see L<https://docs.aws.amazon.com/goto/WebAPI/codebuild/DescribeTestCases>
51  
52 =head1 ATTRIBUTES
53  
54  
55 =head2 Filter => L<Paws::CodeBuild::TestCaseFilter>
56  
57 A C<TestCaseFilter> object used to filter the returned reports.
58  
59  
60  
61 =head2 MaxResults => Int
62  
63 The maximum number of paginated test cases returned per response. Use
64 C<nextToken> to iterate pages in the list of returned C<TestCase>
65 objects. The default value is 100.
66  
67  
68  
69 =head2 NextToken => Str
70  
71 During a previous call, the maximum number of items that can be
72 returned is the value specified in C<maxResults>. If there more items
73 in the list, then a unique string called a I<nextToken> is returned. To
74 get the next batch of items in the list, call this operation again,
75 adding the next token to the call. To get all of the items in the list,
76 keep calling this operation with each subsequent next token that is
77 returned, until no more next tokens are returned.
78  
79  
80  
81 =head2 B<REQUIRED> ReportArn => Str
82  
83 The ARN of the report for which test cases are returned.
84  
85  
86  
87  
88 =head1 SEE ALSO
89  
90 This class forms part of L<Paws>, documenting arguments for method DescribeTestCases in L<Paws::CodeBuild>
91  
92 =head1 BUGS and CONTRIBUTIONS
93  
94 The source code is located here: L<https://github.com/pplu/aws-sdk-perl>
95  
96 Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues>
97  
98 =cut
99