libZSservicesZSamazonka-managedblockchainZSamazonka-managedblockchain
Copyright(c) 2013-2021 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone

Amazonka.ManagedBlockChain.Types.VoteSummary

Description

 
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.

Constructors

VoteSummary' 

Fields

Instances

Instances details
Eq VoteSummary Source # 
Instance details

Defined in Amazonka.ManagedBlockChain.Types.VoteSummary

Read VoteSummary Source # 
Instance details

Defined in Amazonka.ManagedBlockChain.Types.VoteSummary

Show VoteSummary Source # 
Instance details

Defined in Amazonka.ManagedBlockChain.Types.VoteSummary

Generic VoteSummary Source # 
Instance details

Defined in Amazonka.ManagedBlockChain.Types.VoteSummary

Associated Types

type Rep VoteSummary :: Type -> Type #

NFData VoteSummary Source # 
Instance details

Defined in Amazonka.ManagedBlockChain.Types.VoteSummary

Methods

rnf :: VoteSummary -> () #

Hashable VoteSummary Source # 
Instance details

Defined in Amazonka.ManagedBlockChain.Types.VoteSummary

FromJSON VoteSummary Source # 
Instance details

Defined in Amazonka.ManagedBlockChain.Types.VoteSummary

type Rep VoteSummary Source # 
Instance details

Defined in Amazonka.ManagedBlockChain.Types.VoteSummary

type Rep VoteSummary = D1 ('MetaData "VoteSummary" "Amazonka.ManagedBlockChain.Types.VoteSummary" "libZSservicesZSamazonka-managedblockchainZSamazonka-managedblockchain" 'False) (C1 ('MetaCons "VoteSummary'" 'PrefixI 'True) (S1 ('MetaSel ('Just "memberName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "memberId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "vote") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe VoteValue)))))

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.