blib/lib/Paws/ManagedBlockchain/ProposalSummary.pm untested

filter: Statementstmt 0.0% 0 / 11 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 0.0% 0 / 1 Podpod n/a totaltotal 0.0% 0 / 12 CC 1 SCAR 6.9
CC
1
Cov
0%
BEGIN
2.0
CRAP 2.0
1 # Generated by default/object.tt
2 package Paws::ManagedBlockchain::ProposalSummary;
3 use Moose;
4 has Arn => (is => 'ro', isa => 'Str');
5 has CreationDate => (is => 'ro', isa => 'Str');
6 has Description => (is => 'ro', isa => 'Str');
7 has ExpirationDate => (is => 'ro', isa => 'Str');
8 has ProposalId => (is => 'ro', isa => 'Str');
9 has ProposedByMemberId => (is => 'ro', isa => 'Str');
10 has ProposedByMemberName => (is => 'ro', isa => 'Str');
11 has Status => (is => 'ro', isa => 'Str');
12  
13 1;
14  
15 ### main pod documentation begin ###
16  
17 =head1 NAME
18  
19 Paws::ManagedBlockchain::ProposalSummary
20  
21 =head1 USAGE
22  
23 This class represents one of two things:
24  
25 =head3 Arguments in a call to a service
26  
27 Use the attributes of this class as arguments to methods. You shouldn't make instances of this class.
28 Each attribute should be used as a named argument in the calls that expect this type of object.
29  
30 As an example, if Att1 is expected to be a Paws::ManagedBlockchain::ProposalSummary object:
31  
32 $service_obj->Method(Att1 => { Arn => $value, ..., Status => $value });
33  
34 =head3 Results returned from an API call
35  
36 Use accessors for each attribute. If Att1 is expected to be an Paws::ManagedBlockchain::ProposalSummary object:
37  
38 $result = $service_obj->Method(...);
39 $result->Att1->Arn
40  
41 =head1 DESCRIPTION
42  
43 Properties of a proposal.
44  
45 Applies only to Hyperledger Fabric.
46  
47 =head1 ATTRIBUTES
48  
49  
50 =head2 Arn => Str
51  
52 The Amazon Resource Name (ARN) of the proposal. For more information
53 about ARNs and their format, see Amazon Resource Names (ARNs)
54 (https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html)
55 in the I<AWS General Reference>.
56  
57  
58 =head2 CreationDate => Str
59  
60 The date and time that the proposal was created.
61  
62  
63 =head2 Description => Str
64  
65 The description of the proposal.
66  
67  
68 =head2 ExpirationDate => Str
69  
70 The date and time that the proposal expires. This is the
71 C<CreationDate> plus the C<ProposalDurationInHours> that is specified
72 in the C<ProposalThresholdPolicy>. After this date and time, if members
73 have not cast enough votes to determine the outcome according to the
74 voting policy, the proposal is C<EXPIRED> and C<Actions> are not
75 carried out.
76  
77  
78 =head2 ProposalId => Str
79  
80 The unique identifier of the proposal.
81  
82  
83 =head2 ProposedByMemberId => Str
84  
85 The unique identifier of the member that created the proposal.
86  
87  
88 =head2 ProposedByMemberName => Str
89  
90 The name of the member that created the proposal.
91  
92  
93 =head2 Status => Str
94  
95 The status of the proposal. Values are as follows:
96  
97 =over
98  
99 =item *
100  
101 C<IN_PROGRESS> - The proposal is active and open for member voting.
102  
103 =item *
104  
105 C<APPROVED> - The proposal was approved with sufficient C<YES> votes
106 among members according to the C<VotingPolicy> specified for the
107 C<Network>. The specified proposal actions are carried out.
108  
109 =item *
110  
111 C<REJECTED> - The proposal was rejected with insufficient C<YES> votes
112 among members according to the C<VotingPolicy> specified for the
113 C<Network>. The specified C<ProposalActions> are not carried out.
114  
115 =item *
116  
117 C<EXPIRED> - Members did not cast the number of votes required to
118 determine the proposal outcome before the proposal expired. The
119 specified C<ProposalActions> are not carried out.
120  
121 =item *
122  
123 C<ACTION_FAILED> - One or more of the specified C<ProposalActions> in a
124 proposal that was approved could not be completed because of an error.
125  
126 =back
127  
128  
129  
130  
131 =head1 SEE ALSO
132  
133 This class forms part of L<Paws>, describing an object used in L<Paws::ManagedBlockchain>
134  
135 =head1 BUGS and CONTRIBUTIONS
136  
137 The source code is located here: L<https://github.com/pplu/aws-sdk-perl>
138  
139 Please report bugs to: L<https://github.com/pplu/aws-sdk-perl/issues>
140  
141 =cut
142