DeputesFromCsv.fromVote constructor

DeputesFromCsv.fromVote(
  1. DeputesFromCsv depute,
  2. IndividualVoteFromJson voter
)

Implementation

DeputesFromCsv.fromVote(DeputesFromCsv depute, IndividualVoteFromJson voter)
    : identifiant = depute.identifiant,
      prenom = depute.prenom,
      nom = depute.nom,
      region = depute.nom,
      departement = depute.departement,
      circoShort = depute.circoShort,
      profession = depute.profession,
      groupeLong = depute.groupeLong,
      groupShort = depute.groupShort,
      votedFor = voter.votedFor,
      votedAgainst = voter.votedAgainst,
      didNotVote = voter.didNotVote,
      votedAbstention = voter.votedAbstention;