Proposal
public struct Proposal : AWSShape
Undocumented
-
Declaration
Swift
public static var _members: [AWSShapeMember]
-
The actions to perform on the network if the proposal is APPROVED.
Declaration
Swift
public let actions: ProposalActions?
-
The date and time that the proposal was created.
Declaration
Swift
public let creationDate: TimeStamp?
-
The description of the proposal.
Declaration
Swift
public let description: String?
-
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.
Declaration
Swift
public let expirationDate: TimeStamp?
-
The unique identifier of the network for which the proposal is made.
Declaration
Swift
public let networkId: String?
-
The current total of NO votes cast on the proposal by members.
Declaration
Swift
public let noVoteCount: Int?
-
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.
Declaration
Swift
public let outstandingVoteCount: Int?
-
The unique identifier of the proposal.
Declaration
Swift
public let proposalId: String?
-
The unique identifier of the member that created the proposal.
Declaration
Swift
public let proposedByMemberId: String?
-
The name of the member that created the proposal.
Declaration
Swift
public let proposedByMemberName: 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 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 are not carried out. EXPIRED - Members did not cast the number of votes required to determine the proposal outcome before the proposal expired. The specified ProposalActions are not carried out. ACTION_FAILED - One or more of the specified ProposalActions in a proposal that was approved could not be completed because of an error. The ACTION_FAILED status occurs even if only one ProposalAction fails and other actions are successful.
Declaration
Swift
public let status: ProposalStatus?
-
The current total of YES votes cast on the proposal by members.
Declaration
Swift
public let yesVoteCount: Int?
-
init(actions:creationDate:description:expirationDate:networkId:noVoteCount:outstandingVoteCount:proposalId:proposedByMemberId:proposedByMemberName:status:yesVoteCount:)
Undocumented
Declaration
Swift
public init(actions: ProposalActions? = nil, creationDate: TimeStamp? = nil, description: String? = nil, expirationDate: TimeStamp? = nil, networkId: String? = nil, noVoteCount: Int? = nil, outstandingVoteCount: Int? = nil, proposalId: String? = nil, proposedByMemberId: String? = nil, proposedByMemberName: String? = nil, status: ProposalStatus? = nil, yesVoteCount: Int? = nil)