Contributor

A contributor to the attack and their contribution.

Types

Link copied to clipboard
class Builder
Link copied to clipboard
object Companion

Properties

Link copied to clipboard
val name: 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.

Link copied to clipboard
val value: Long

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

Functions

Link copied to clipboard
inline fun copy(block: Contributor.Builder.() -> Unit = {}): Contributor
Link copied to clipboard
open operator override fun equals(other: Any?): Boolean
Link copied to clipboard
open override fun hashCode(): Int
Link copied to clipboard
open override fun toString(): String