@NotNull
  public PaginatedResult<Candidate> listCandidates() {
    PaginatedResult<Candidate> result = restAdapter.listCandidates();

    for (Candidate candidate : result.getData()) {
      candidate.setAdapter(restAdapter);
    }

    return result;
  }
@NotNull
  public PaginatedResult<Candidate> listCandidates() {
    PaginatedResult<Candidate> result = restAdapter.listCandidates();

    for (Candidate candidate : result.getData()) {
      candidate.setAdapter(restAdapter);
    }

    return result;
  }
@ NotNull public PaginatedResult < Candidate > listCandidates ( ) { PaginatedResult < Candidate > result = restAdapter . listCandidates ( ) ; for ( Candidate candidate : result . getData ( ) ) { candidate . setAdapter ( restAdapter ) ; } return result ; }
Lists a historical record of all candidates you have created.
The list is displayed in reverse chronological order (newer candidates appear first).

@return the historical listing of created candidates, not null
Lists a historical record of all candidates you have created . The list is displayed in reverse chronological order ( newer candidates appear first ) .