You are viewing documentation for version 2 of the AWS SDK for Ruby. Version 3 documentation can be found here.
Class: Aws::ManagedBlockchain::Types::Proposal
- Inherits:
-
Struct
- Object
- Struct
- Aws::ManagedBlockchain::Types::Proposal
- Defined in:
- (unknown)
Overview
Instance Attribute Summary collapse
-
#actions ⇒ Types::ProposalActions
The actions to perform on the network if the proposal is
APPROVED
. -
#creation_date ⇒ Time
The date and time that the proposal was created.
-
#description ⇒ String
The description of the proposal.
-
#expiration_date ⇒ Time
The date and time that the proposal expires.
-
#network_id ⇒ String
The unique identifier of the network for which the proposal is made.
-
#no_vote_count ⇒ Integer
The current total of
NO
votes cast on the proposal by members. -
#outstanding_vote_count ⇒ Integer
The number of votes remaining to be cast on the proposal by members.
-
#proposal_id ⇒ String
The unique identifier of the proposal.
-
#proposed_by_member_id ⇒ String
The unique identifier of the member that created the proposal.
-
#proposed_by_member_name ⇒ String
The name of the member that created the proposal.
-
#status ⇒ String
The status of the proposal.
-
#yes_vote_count ⇒ Integer
The current total of
YES
votes cast on the proposal by members.
Instance Attribute Details
#actions ⇒ Types::ProposalActions
The actions to perform on the network if the proposal is APPROVED
.
#creation_date ⇒ Time
The date and time that the proposal was created.
#description ⇒ String
The description of the proposal.
#expiration_date ⇒ Time
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 have not
cast enough votes to determine the outcome according to the voting
policy, the proposal is EXPIRED
and Actions
are not carried out.
#network_id ⇒ String
The unique identifier of the network for which the proposal is made.
#no_vote_count ⇒ Integer
The current total of NO
votes cast on the proposal by members.
#outstanding_vote_count ⇒ Integer
The number of votes remaining to be cast on the proposal by members. In
other words, the number of members minus the sum of YES
votes and NO
votes.
#proposal_id ⇒ String
The unique identifier of the proposal.
#proposed_by_member_id ⇒ String
The unique identifier of the member that created the proposal.
#proposed_by_member_name ⇒ String
The name of the member that created the proposal.
#status ⇒ String
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 sufficientYES
votes among members according to theVotingPolicy
specified for theNetwork
. The specified proposal actions are carried out.REJECTED
- The proposal was rejected with insufficientYES
votes among members according to theVotingPolicy
specified for theNetwork
. The specifiedProposalActions
are not carried out.EXPIRED
- Members did not cast the number of votes required to determine the proposal outcome before the proposal expired. The specifiedProposalActions
are not carried out.ACTION_FAILED
- One or more of the specifiedProposalActions
in a proposal that was approved could not be completed because of an error. TheACTION_FAILED
status occurs even if only one ProposalAction fails and other actions are successful.Possible values:
- IN_PROGRESS
- APPROVED
- REJECTED
- EXPIRED
- ACTION_FAILED
#yes_vote_count ⇒ Integer
The current total of YES
votes cast on the proposal by members.