src/main/java/com/blockscore/net/BlockscoreApiClient.java
@NotNull
  public Candidate retrieveCandidate(@NotNull final String id) {
    Candidate candidate = restAdapter.retrieveCandidate(id);
    candidate.setAdapter(restAdapter);
    return candidate;
  }
@NotNull
  public Candidate retrieveCandidate(@NotNull final String id) {
    Candidate candidate = restAdapter.retrieveCandidate(id);
    candidate.setAdapter(restAdapter);
    return candidate;
  }
Retrieves a candidate.

@param id  ID of the candidate.
@return the candidate, not null