Skip to content

Contributor

Source code in docs_src/capo_shield/types/contributor.py
class Contributor(TypedDict, closed=True):
    name: NotRequired["capo_shield.types.string.String"]
    """<p>The name of the contributor. The type of name that you'll find here depends on the <code>AttackPropertyIdentifier</code> setting in the <code>AttackProperty</code> where this contributor is defined. For example, if the <code>AttackPropertyIdentifier</code> is <code>SOURCE_COUNTRY</code>, the <code>Name</code> could be <code>United States</code>.</p>"""
    value: "capo_shield.types.long.Long"
    """<p>The contribution of this contributor expressed in <a>Protection</a> units. For example <code>10,000</code>.</p>"""

name instance-attribute

name: NotRequired[String]

The name of the contributor. The type of name that you'll find here depends on the AttackPropertyIdentifier setting in the AttackProperty where this contributor is defined. For example, if the AttackPropertyIdentifier is SOURCE_COUNTRY, the Name could be United States.

value instance-attribute

value: Long

The contribution of this contributor expressed in Protection units. For example 10,000.