Copyright | (c) 2013-2021 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Synopsis
Documentation
data VoteSummary Source #
Properties of an individual vote that a member cast for a proposal.
Applies only to Hyperledger Fabric.
See: newVoteSummary
smart constructor.
Instances
newVoteSummary :: VoteSummary Source #
Create a value of VoteSummary
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:memberName:VoteSummary'
, voteSummary_memberName
- The name of the member that cast the vote.
$sel:memberId:VoteSummary'
, voteSummary_memberId
- The unique identifier of the member that cast the vote.
$sel:vote:VoteSummary'
, voteSummary_vote
- The vote value, either YES
or NO
.
voteSummary_memberName :: Lens' VoteSummary (Maybe Text) Source #
The name of the member that cast the vote.
voteSummary_memberId :: Lens' VoteSummary (Maybe Text) Source #
The unique identifier of the member that cast the vote.
voteSummary_vote :: Lens' VoteSummary (Maybe VoteValue) Source #
The vote value, either YES
or NO
.