Skip to content

Latest commit

 

History

History
35 lines (26 loc) · 1.91 KB

SimpleQuorum.md

File metadata and controls

35 lines (26 loc) · 1.91 KB

SimpleQuorum

The flattened shape used when the request has a single sub-request with a single tier, which is the common case. The threshold and approval count sit directly on the quorum object instead of inside rulesets.

Properties

Name Type Description Notes
type str Discriminator identifying the flattened single-tier shape.
threshold int Number of approvals this request requires.
current_approval_count int Approvals collected so far toward `threshold`.
status QuorumApprovalState
is_mandatory_owner_approved bool Present only when this request additionally requires the workspace owner's approval. `false` means the owner has not approved yet, which is why `status` can remain `PENDING` even once `currentApprovalCount` reaches `threshold`. Absent when no owner approval is required. [optional]
members List[int] Indexes into the top-level `users` array identifying the users who may approve. Returned only for `quorumStatusMode=FULL`; omitted otherwise. [optional]

Example

from fireblocks.models.simple_quorum import SimpleQuorum

# TODO update the JSON string below
json = "{}"
# create an instance of SimpleQuorum from a JSON string
simple_quorum_instance = SimpleQuorum.from_json(json)
# print the JSON string representation of the object
print(SimpleQuorum.to_json())

# convert the object into a dict
simple_quorum_dict = simple_quorum_instance.to_dict()
# create an instance of SimpleQuorum from a dict
simple_quorum_from_dict = SimpleQuorum.from_dict(simple_quorum_dict)

[Back to Model list] [Back to API list] [Back to README]