Module Values.ContributorSource

A contributor to the attack and their contribution.

Sourcetype nonrec t = {
  1. name : String_.t option;
    (*

    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.

    *)
  2. value : Long.t option;
    (*

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

    *)
}
Sourceval make : ?name:??? -> ?value:??? -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `Long of Long.t | `String of String_.t ]) list ]
Sourceval to_query : t -> Awso.Client.Query.t
Sourceval of_xml : Awso.Xml.t -> t
Sourceval of_string : string -> t
Sourceval of_json : Yojson.Safe.t -> t
Sourceval to_json : t -> Yojson.Safe.t