{-# LANGUAGE DeriveGeneric #-}
{-# LANGUAGE DuplicateRecordFields #-}
{-# LANGUAGE NamedFieldPuns #-}
{-# LANGUAGE OverloadedStrings #-}
{-# LANGUAGE RecordWildCards #-}
{-# LANGUAGE StrictData #-}
{-# LANGUAGE NoImplicitPrelude #-}
{-# OPTIONS_GHC -fno-warn-unused-imports #-}
{-# OPTIONS_GHC -fno-warn-unused-matches #-}

-- Derived from AWS service descriptions, licensed under Apache 2.0.

-- |
-- Module      : Amazonka.ManagedBlockChain.Types.ProposalSummary
-- Copyright   : (c) 2013-2023 Brendan Hay
-- License     : Mozilla Public License, v. 2.0.
-- Maintainer  : Brendan Hay
-- Stability   : auto-generated
-- Portability : non-portable (GHC extensions)
module Amazonka.ManagedBlockChain.Types.ProposalSummary where

import qualified Amazonka.Core as Core
import qualified Amazonka.Core.Lens.Internal as Lens
import qualified Amazonka.Data as Data
import Amazonka.ManagedBlockChain.Types.ProposalStatus
import qualified Amazonka.Prelude as Prelude

-- | Properties of a proposal.
--
-- Applies only to Hyperledger Fabric.
--
-- /See:/ 'newProposalSummary' smart constructor.
data ProposalSummary = ProposalSummary'
  { -- | The Amazon Resource Name (ARN) of the proposal. For more information
    -- about ARNs and their format, see
    -- <https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html Amazon Resource Names (ARNs)>
    -- in the /Amazon Web Services General Reference/.
    ProposalSummary -> Maybe Text
arn :: Prelude.Maybe Prelude.Text,
    -- | The date and time that the proposal was created.
    ProposalSummary -> Maybe ISO8601
creationDate :: Prelude.Maybe Data.ISO8601,
    -- | The description of the proposal.
    ProposalSummary -> Maybe Text
description :: Prelude.Maybe Prelude.Text,
    -- | The date and time that the proposal expires. This is the @CreationDate@
    -- plus the @ProposalDurationInHours@ that is specified in the
    -- @ProposalThresholdPolicy@. After this date and time, if members haven\'t
    -- cast enough votes to determine the outcome according to the voting
    -- policy, the proposal is @EXPIRED@ and @Actions@ aren\'t carried out.
    ProposalSummary -> Maybe ISO8601
expirationDate :: Prelude.Maybe Data.ISO8601,
    -- | The unique identifier of the proposal.
    ProposalSummary -> Maybe Text
proposalId :: Prelude.Maybe Prelude.Text,
    -- | The unique identifier of the member that created the proposal.
    ProposalSummary -> Maybe Text
proposedByMemberId :: Prelude.Maybe Prelude.Text,
    -- | The name of the member that created the proposal.
    ProposalSummary -> Maybe Text
proposedByMemberName :: Prelude.Maybe Prelude.Text,
    -- | The status of the proposal. Values are as follows:
    --
    -- -   @IN_PROGRESS@ - The proposal is active and open for member voting.
    --
    -- -   @APPROVED@ - The proposal was approved with sufficient @YES@ votes
    --     among members according to the @VotingPolicy@ specified for the
    --     @Network@. The specified proposal actions are carried out.
    --
    -- -   @REJECTED@ - The proposal was rejected with insufficient @YES@ votes
    --     among members according to the @VotingPolicy@ specified for the
    --     @Network@. The specified @ProposalActions@ aren\'t carried out.
    --
    -- -   @EXPIRED@ - Members didn\'t cast the number of votes required to
    --     determine the proposal outcome before the proposal expired. The
    --     specified @ProposalActions@ aren\'t carried out.
    --
    -- -   @ACTION_FAILED@ - One or more of the specified @ProposalActions@ in
    --     a proposal that was approved couldn\'t be completed because of an
    --     error.
    ProposalSummary -> Maybe ProposalStatus
status :: Prelude.Maybe ProposalStatus
  }
  deriving (ProposalSummary -> ProposalSummary -> Bool
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: ProposalSummary -> ProposalSummary -> Bool
$c/= :: ProposalSummary -> ProposalSummary -> Bool
== :: ProposalSummary -> ProposalSummary -> Bool
$c== :: ProposalSummary -> ProposalSummary -> Bool
Prelude.Eq, ReadPrec [ProposalSummary]
ReadPrec ProposalSummary
Int -> ReadS ProposalSummary
ReadS [ProposalSummary]
forall a.
(Int -> ReadS a)
-> ReadS [a] -> ReadPrec a -> ReadPrec [a] -> Read a
readListPrec :: ReadPrec [ProposalSummary]
$creadListPrec :: ReadPrec [ProposalSummary]
readPrec :: ReadPrec ProposalSummary
$creadPrec :: ReadPrec ProposalSummary
readList :: ReadS [ProposalSummary]
$creadList :: ReadS [ProposalSummary]
readsPrec :: Int -> ReadS ProposalSummary
$creadsPrec :: Int -> ReadS ProposalSummary
Prelude.Read, Int -> ProposalSummary -> ShowS
[ProposalSummary] -> ShowS
ProposalSummary -> String
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [ProposalSummary] -> ShowS
$cshowList :: [ProposalSummary] -> ShowS
show :: ProposalSummary -> String
$cshow :: ProposalSummary -> String
showsPrec :: Int -> ProposalSummary -> ShowS
$cshowsPrec :: Int -> ProposalSummary -> ShowS
Prelude.Show, forall x. Rep ProposalSummary x -> ProposalSummary
forall x. ProposalSummary -> Rep ProposalSummary x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cto :: forall x. Rep ProposalSummary x -> ProposalSummary
$cfrom :: forall x. ProposalSummary -> Rep ProposalSummary x
Prelude.Generic)

-- |
-- Create a value of 'ProposalSummary' with all optional fields omitted.
--
-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.
--
-- The following record fields are available, with the corresponding lenses provided
-- for backwards compatibility:
--
-- 'arn', 'proposalSummary_arn' - The Amazon Resource Name (ARN) of the proposal. For more information
-- about ARNs and their format, see
-- <https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html Amazon Resource Names (ARNs)>
-- in the /Amazon Web Services General Reference/.
--
-- 'creationDate', 'proposalSummary_creationDate' - The date and time that the proposal was created.
--
-- 'description', 'proposalSummary_description' - The description of the proposal.
--
-- 'expirationDate', 'proposalSummary_expirationDate' - The date and time that the proposal expires. This is the @CreationDate@
-- plus the @ProposalDurationInHours@ that is specified in the
-- @ProposalThresholdPolicy@. After this date and time, if members haven\'t
-- cast enough votes to determine the outcome according to the voting
-- policy, the proposal is @EXPIRED@ and @Actions@ aren\'t carried out.
--
-- 'proposalId', 'proposalSummary_proposalId' - The unique identifier of the proposal.
--
-- 'proposedByMemberId', 'proposalSummary_proposedByMemberId' - The unique identifier of the member that created the proposal.
--
-- 'proposedByMemberName', 'proposalSummary_proposedByMemberName' - The name of the member that created the proposal.
--
-- 'status', 'proposalSummary_status' - The status of the proposal. Values are as follows:
--
-- -   @IN_PROGRESS@ - The proposal is active and open for member voting.
--
-- -   @APPROVED@ - The proposal was approved with sufficient @YES@ votes
--     among members according to the @VotingPolicy@ specified for the
--     @Network@. The specified proposal actions are carried out.
--
-- -   @REJECTED@ - The proposal was rejected with insufficient @YES@ votes
--     among members according to the @VotingPolicy@ specified for the
--     @Network@. The specified @ProposalActions@ aren\'t carried out.
--
-- -   @EXPIRED@ - Members didn\'t cast the number of votes required to
--     determine the proposal outcome before the proposal expired. The
--     specified @ProposalActions@ aren\'t carried out.
--
-- -   @ACTION_FAILED@ - One or more of the specified @ProposalActions@ in
--     a proposal that was approved couldn\'t be completed because of an
--     error.
newProposalSummary ::
  ProposalSummary
newProposalSummary :: ProposalSummary
newProposalSummary =
  ProposalSummary'
    { $sel:arn:ProposalSummary' :: Maybe Text
arn = forall a. Maybe a
Prelude.Nothing,
      $sel:creationDate:ProposalSummary' :: Maybe ISO8601
creationDate = forall a. Maybe a
Prelude.Nothing,
      $sel:description:ProposalSummary' :: Maybe Text
description = forall a. Maybe a
Prelude.Nothing,
      $sel:expirationDate:ProposalSummary' :: Maybe ISO8601
expirationDate = forall a. Maybe a
Prelude.Nothing,
      $sel:proposalId:ProposalSummary' :: Maybe Text
proposalId = forall a. Maybe a
Prelude.Nothing,
      $sel:proposedByMemberId:ProposalSummary' :: Maybe Text
proposedByMemberId = forall a. Maybe a
Prelude.Nothing,
      $sel:proposedByMemberName:ProposalSummary' :: Maybe Text
proposedByMemberName = forall a. Maybe a
Prelude.Nothing,
      $sel:status:ProposalSummary' :: Maybe ProposalStatus
status = forall a. Maybe a
Prelude.Nothing
    }

-- | The Amazon Resource Name (ARN) of the proposal. For more information
-- about ARNs and their format, see
-- <https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html Amazon Resource Names (ARNs)>
-- in the /Amazon Web Services General Reference/.
proposalSummary_arn :: Lens.Lens' ProposalSummary (Prelude.Maybe Prelude.Text)
proposalSummary_arn :: Lens' ProposalSummary (Maybe Text)
proposalSummary_arn = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\ProposalSummary' {Maybe Text
arn :: Maybe Text
$sel:arn:ProposalSummary' :: ProposalSummary -> Maybe Text
arn} -> Maybe Text
arn) (\s :: ProposalSummary
s@ProposalSummary' {} Maybe Text
a -> ProposalSummary
s {$sel:arn:ProposalSummary' :: Maybe Text
arn = Maybe Text
a} :: ProposalSummary)

-- | The date and time that the proposal was created.
proposalSummary_creationDate :: Lens.Lens' ProposalSummary (Prelude.Maybe Prelude.UTCTime)
proposalSummary_creationDate :: Lens' ProposalSummary (Maybe UTCTime)
proposalSummary_creationDate = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\ProposalSummary' {Maybe ISO8601
creationDate :: Maybe ISO8601
$sel:creationDate:ProposalSummary' :: ProposalSummary -> Maybe ISO8601
creationDate} -> Maybe ISO8601
creationDate) (\s :: ProposalSummary
s@ProposalSummary' {} Maybe ISO8601
a -> ProposalSummary
s {$sel:creationDate:ProposalSummary' :: Maybe ISO8601
creationDate = Maybe ISO8601
a} :: ProposalSummary) forall b c a. (b -> c) -> (a -> b) -> a -> c
Prelude.. forall (f :: * -> *) (g :: * -> *) s t a b.
(Functor f, Functor g) =>
AnIso s t a b -> Iso (f s) (g t) (f a) (g b)
Lens.mapping forall (a :: Format). Iso' (Time a) UTCTime
Data._Time

-- | The description of the proposal.
proposalSummary_description :: Lens.Lens' ProposalSummary (Prelude.Maybe Prelude.Text)
proposalSummary_description :: Lens' ProposalSummary (Maybe Text)
proposalSummary_description = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\ProposalSummary' {Maybe Text
description :: Maybe Text
$sel:description:ProposalSummary' :: ProposalSummary -> Maybe Text
description} -> Maybe Text
description) (\s :: ProposalSummary
s@ProposalSummary' {} Maybe Text
a -> ProposalSummary
s {$sel:description:ProposalSummary' :: Maybe Text
description = Maybe Text
a} :: ProposalSummary)

-- | The date and time that the proposal expires. This is the @CreationDate@
-- plus the @ProposalDurationInHours@ that is specified in the
-- @ProposalThresholdPolicy@. After this date and time, if members haven\'t
-- cast enough votes to determine the outcome according to the voting
-- policy, the proposal is @EXPIRED@ and @Actions@ aren\'t carried out.
proposalSummary_expirationDate :: Lens.Lens' ProposalSummary (Prelude.Maybe Prelude.UTCTime)
proposalSummary_expirationDate :: Lens' ProposalSummary (Maybe UTCTime)
proposalSummary_expirationDate = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\ProposalSummary' {Maybe ISO8601
expirationDate :: Maybe ISO8601
$sel:expirationDate:ProposalSummary' :: ProposalSummary -> Maybe ISO8601
expirationDate} -> Maybe ISO8601
expirationDate) (\s :: ProposalSummary
s@ProposalSummary' {} Maybe ISO8601
a -> ProposalSummary
s {$sel:expirationDate:ProposalSummary' :: Maybe ISO8601
expirationDate = Maybe ISO8601
a} :: ProposalSummary) forall b c a. (b -> c) -> (a -> b) -> a -> c
Prelude.. forall (f :: * -> *) (g :: * -> *) s t a b.
(Functor f, Functor g) =>
AnIso s t a b -> Iso (f s) (g t) (f a) (g b)
Lens.mapping forall (a :: Format). Iso' (Time a) UTCTime
Data._Time

-- | The unique identifier of the proposal.
proposalSummary_proposalId :: Lens.Lens' ProposalSummary (Prelude.Maybe Prelude.Text)
proposalSummary_proposalId :: Lens' ProposalSummary (Maybe Text)
proposalSummary_proposalId = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\ProposalSummary' {Maybe Text
proposalId :: Maybe Text
$sel:proposalId:ProposalSummary' :: ProposalSummary -> Maybe Text
proposalId} -> Maybe Text
proposalId) (\s :: ProposalSummary
s@ProposalSummary' {} Maybe Text
a -> ProposalSummary
s {$sel:proposalId:ProposalSummary' :: Maybe Text
proposalId = Maybe Text
a} :: ProposalSummary)

-- | The unique identifier of the member that created the proposal.
proposalSummary_proposedByMemberId :: Lens.Lens' ProposalSummary (Prelude.Maybe Prelude.Text)
proposalSummary_proposedByMemberId :: Lens' ProposalSummary (Maybe Text)
proposalSummary_proposedByMemberId = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\ProposalSummary' {Maybe Text
proposedByMemberId :: Maybe Text
$sel:proposedByMemberId:ProposalSummary' :: ProposalSummary -> Maybe Text
proposedByMemberId} -> Maybe Text
proposedByMemberId) (\s :: ProposalSummary
s@ProposalSummary' {} Maybe Text
a -> ProposalSummary
s {$sel:proposedByMemberId:ProposalSummary' :: Maybe Text
proposedByMemberId = Maybe Text
a} :: ProposalSummary)

-- | The name of the member that created the proposal.
proposalSummary_proposedByMemberName :: Lens.Lens' ProposalSummary (Prelude.Maybe Prelude.Text)
proposalSummary_proposedByMemberName :: Lens' ProposalSummary (Maybe Text)
proposalSummary_proposedByMemberName = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\ProposalSummary' {Maybe Text
proposedByMemberName :: Maybe Text
$sel:proposedByMemberName:ProposalSummary' :: ProposalSummary -> Maybe Text
proposedByMemberName} -> Maybe Text
proposedByMemberName) (\s :: ProposalSummary
s@ProposalSummary' {} Maybe Text
a -> ProposalSummary
s {$sel:proposedByMemberName:ProposalSummary' :: Maybe Text
proposedByMemberName = Maybe Text
a} :: ProposalSummary)

-- | The status of the proposal. Values are as follows:
--
-- -   @IN_PROGRESS@ - The proposal is active and open for member voting.
--
-- -   @APPROVED@ - The proposal was approved with sufficient @YES@ votes
--     among members according to the @VotingPolicy@ specified for the
--     @Network@. The specified proposal actions are carried out.
--
-- -   @REJECTED@ - The proposal was rejected with insufficient @YES@ votes
--     among members according to the @VotingPolicy@ specified for the
--     @Network@. The specified @ProposalActions@ aren\'t carried out.
--
-- -   @EXPIRED@ - Members didn\'t cast the number of votes required to
--     determine the proposal outcome before the proposal expired. The
--     specified @ProposalActions@ aren\'t carried out.
--
-- -   @ACTION_FAILED@ - One or more of the specified @ProposalActions@ in
--     a proposal that was approved couldn\'t be completed because of an
--     error.
proposalSummary_status :: Lens.Lens' ProposalSummary (Prelude.Maybe ProposalStatus)
proposalSummary_status :: Lens' ProposalSummary (Maybe ProposalStatus)
proposalSummary_status = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\ProposalSummary' {Maybe ProposalStatus
status :: Maybe ProposalStatus
$sel:status:ProposalSummary' :: ProposalSummary -> Maybe ProposalStatus
status} -> Maybe ProposalStatus
status) (\s :: ProposalSummary
s@ProposalSummary' {} Maybe ProposalStatus
a -> ProposalSummary
s {$sel:status:ProposalSummary' :: Maybe ProposalStatus
status = Maybe ProposalStatus
a} :: ProposalSummary)

instance Data.FromJSON ProposalSummary where
  parseJSON :: Value -> Parser ProposalSummary
parseJSON =
    forall a. String -> (Object -> Parser a) -> Value -> Parser a
Data.withObject
      String
"ProposalSummary"
      ( \Object
x ->
          Maybe Text
-> Maybe ISO8601
-> Maybe Text
-> Maybe ISO8601
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe ProposalStatus
-> ProposalSummary
ProposalSummary'
            forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> (Object
x forall a. FromJSON a => Object -> Key -> Parser (Maybe a)
Data..:? Key
"Arn")
            forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (Object
x forall a. FromJSON a => Object -> Key -> Parser (Maybe a)
Data..:? Key
"CreationDate")
            forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (Object
x forall a. FromJSON a => Object -> Key -> Parser (Maybe a)
Data..:? Key
"Description")
            forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (Object
x forall a. FromJSON a => Object -> Key -> Parser (Maybe a)
Data..:? Key
"ExpirationDate")
            forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (Object
x forall a. FromJSON a => Object -> Key -> Parser (Maybe a)
Data..:? Key
"ProposalId")
            forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (Object
x forall a. FromJSON a => Object -> Key -> Parser (Maybe a)
Data..:? Key
"ProposedByMemberId")
            forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (Object
x forall a. FromJSON a => Object -> Key -> Parser (Maybe a)
Data..:? Key
"ProposedByMemberName")
            forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (Object
x forall a. FromJSON a => Object -> Key -> Parser (Maybe a)
Data..:? Key
"Status")
      )

instance Prelude.Hashable ProposalSummary where
  hashWithSalt :: Int -> ProposalSummary -> Int
hashWithSalt Int
_salt ProposalSummary' {Maybe Text
Maybe ISO8601
Maybe ProposalStatus
status :: Maybe ProposalStatus
proposedByMemberName :: Maybe Text
proposedByMemberId :: Maybe Text
proposalId :: Maybe Text
expirationDate :: Maybe ISO8601
description :: Maybe Text
creationDate :: Maybe ISO8601
arn :: Maybe Text
$sel:status:ProposalSummary' :: ProposalSummary -> Maybe ProposalStatus
$sel:proposedByMemberName:ProposalSummary' :: ProposalSummary -> Maybe Text
$sel:proposedByMemberId:ProposalSummary' :: ProposalSummary -> Maybe Text
$sel:proposalId:ProposalSummary' :: ProposalSummary -> Maybe Text
$sel:expirationDate:ProposalSummary' :: ProposalSummary -> Maybe ISO8601
$sel:description:ProposalSummary' :: ProposalSummary -> Maybe Text
$sel:creationDate:ProposalSummary' :: ProposalSummary -> Maybe ISO8601
$sel:arn:ProposalSummary' :: ProposalSummary -> Maybe Text
..} =
    Int
_salt
      forall a. Hashable a => Int -> a -> Int
`Prelude.hashWithSalt` Maybe Text
arn
      forall a. Hashable a => Int -> a -> Int
`Prelude.hashWithSalt` Maybe ISO8601
creationDate
      forall a. Hashable a => Int -> a -> Int
`Prelude.hashWithSalt` Maybe Text
description
      forall a. Hashable a => Int -> a -> Int
`Prelude.hashWithSalt` Maybe ISO8601
expirationDate
      forall a. Hashable a => Int -> a -> Int
`Prelude.hashWithSalt` Maybe Text
proposalId
      forall a. Hashable a => Int -> a -> Int
`Prelude.hashWithSalt` Maybe Text
proposedByMemberId
      forall a. Hashable a => Int -> a -> Int
`Prelude.hashWithSalt` Maybe Text
proposedByMemberName
      forall a. Hashable a => Int -> a -> Int
`Prelude.hashWithSalt` Maybe ProposalStatus
status

instance Prelude.NFData ProposalSummary where
  rnf :: ProposalSummary -> ()
rnf ProposalSummary' {Maybe Text
Maybe ISO8601
Maybe ProposalStatus
status :: Maybe ProposalStatus
proposedByMemberName :: Maybe Text
proposedByMemberId :: Maybe Text
proposalId :: Maybe Text
expirationDate :: Maybe ISO8601
description :: Maybe Text
creationDate :: Maybe ISO8601
arn :: Maybe Text
$sel:status:ProposalSummary' :: ProposalSummary -> Maybe ProposalStatus
$sel:proposedByMemberName:ProposalSummary' :: ProposalSummary -> Maybe Text
$sel:proposedByMemberId:ProposalSummary' :: ProposalSummary -> Maybe Text
$sel:proposalId:ProposalSummary' :: ProposalSummary -> Maybe Text
$sel:expirationDate:ProposalSummary' :: ProposalSummary -> Maybe ISO8601
$sel:description:ProposalSummary' :: ProposalSummary -> Maybe Text
$sel:creationDate:ProposalSummary' :: ProposalSummary -> Maybe ISO8601
$sel:arn:ProposalSummary' :: ProposalSummary -> Maybe Text
..} =
    forall a. NFData a => a -> ()
Prelude.rnf Maybe Text
arn
      seq :: forall a b. a -> b -> b
`Prelude.seq` forall a. NFData a => a -> ()
Prelude.rnf Maybe ISO8601
creationDate
      seq :: forall a b. a -> b -> b
`Prelude.seq` forall a. NFData a => a -> ()
Prelude.rnf Maybe Text
description
      seq :: forall a b. a -> b -> b
`Prelude.seq` forall a. NFData a => a -> ()
Prelude.rnf Maybe ISO8601
expirationDate
      seq :: forall a b. a -> b -> b
`Prelude.seq` forall a. NFData a => a -> ()
Prelude.rnf Maybe Text
proposalId
      seq :: forall a b. a -> b -> b
`Prelude.seq` forall a. NFData a => a -> ()
Prelude.rnf Maybe Text
proposedByMemberId
      seq :: forall a b. a -> b -> b
`Prelude.seq` forall a. NFData a => a -> ()
Prelude.rnf Maybe Text
proposedByMemberName
      seq :: forall a b. a -> b -> b
`Prelude.seq` forall a. NFData a => a -> ()
Prelude.rnf Maybe ProposalStatus
status