blib/lib/Paws/CodeStar/GitHubCodeDestination.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::CodeStar::GitHubCodeDestination;
3 use Moose;
4 has Description => (is => 'ro', isa => 'Str', request_name => 'description', traits => ['NameInRequest']);
5 has IssuesEnabled => (is => 'ro', isa => 'Bool', request_name => 'issuesEnabled', traits => ['NameInRequest'], required => 1);
6 has Name => (is => 'ro', isa => 'Str', request_name => 'name', traits => ['NameInRequest'], required => 1);
7 has Owner => (is => 'ro', isa => 'Str', request_name => 'owner', traits => ['NameInRequest'], required => 1);
8 has PrivateRepository => (is => 'ro', isa => 'Bool', request_name => 'privateRepository', traits => ['NameInRequest'], required => 1);
9 has Token => (is => 'ro', isa => 'Str', request_name => 'token', traits => ['NameInRequest'], required => 1);
10 has Type => (is => 'ro', isa => 'Str', request_name => 'type', traits => ['NameInRequest'], required => 1);
11  
12 1;
13  
14 ### main pod documentation begin ###
15  
16 =head1 NAME
17  
18 Paws::CodeStar::GitHubCodeDestination
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::CodeStar::GitHubCodeDestination object:
30  
31 $service_obj->Method(Att1 => { Description => $value, ..., Type => $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::CodeStar::GitHubCodeDestination object:
36  
37 $result = $service_obj->Method(...);
38 $result->Att1->Description
39  
40 =head1 DESCRIPTION
41  
42 Information about the GitHub repository to be created in AWS CodeStar.
43 This is where the source code files provided with the project request
44 will be uploaded after project creation.
45  
46 =head1 ATTRIBUTES
47  
48  
49 =head2 Description => Str
50  
51 Description for the GitHub repository to be created in AWS CodeStar.
52 This description displays in GitHub after the repository is created.
53  
54  
55 =head2 B<REQUIRED> IssuesEnabled => Bool
56  
57 Whether to enable issues for the GitHub repository.
58  
59  
60 =head2 B<REQUIRED> Name => Str
61  
62 Name of the GitHub repository to be created in AWS CodeStar.
63  
64  
65 =head2 B<REQUIRED> Owner => Str
66  
67 The GitHub username for the owner of the GitHub repository to be
68 created in AWS CodeStar. If this repository should be owned by a GitHub
69 organization, provide its name.
70  
71  
72 =head2 B<REQUIRED> PrivateRepository => Bool
73  
74 Whether the GitHub repository is to be a private repository.
75  
76  
77 =head2 B<REQUIRED> Token => Str
78  
79 The GitHub user's personal access token for the GitHub repository.
80  
81  
82 =head2 B<REQUIRED> Type => Str
83  
84 The type of GitHub repository to be created in AWS CodeStar. Valid
85 values are User or Organization.
86  
87  
88  
89 =head1 SEE ALSO
90  
91 This class forms part of L<Paws>, describing an object used in L<Paws::CodeStar>
92  
93 =head1 BUGS and CONTRIBUTIONS
94  
95 The source code is located here: L<https://github.com/pplu/aws-sdk-perl>
96  
97 Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues>
98  
99 =cut
100