public BillsByOfficial getByOfficial(String candidateId, String officeId, String categoryId) throws VoteSmartException, VoteSmartErrorException {
    """
	This method dumps all the bills an official has voted on based on the candidateId, officeId, categoryId, and year
	Input: candidateId*, officeId, categoryId, year
	
	@param candidateId
	@param officeId
	@param categoryId
	@return {@link BillsByOfficial}
    """
		return api.query("Votes.getByOfficial", new ArgMap("candidateId", candidateId, "officeId", officeId, "categoryId", categoryId), BillsByOfficial.class );
	}
public BillsByOfficial getByOfficial(String candidateId, String officeId, String categoryId) throws VoteSmartException, VoteSmartErrorException {
		return api.query("Votes.getByOfficial", new ArgMap("candidateId", candidateId, "officeId", officeId, "categoryId", categoryId), BillsByOfficial.class );
	}
public BillsByOfficial getByOfficial ( String candidateId , String officeId , String categoryId ) throws VoteSmartException , VoteSmartErrorException { return api . query ( "Votes.getByOfficial" , new ArgMap ( "candidateId" , candidateId , "officeId" , officeId , "categoryId" , categoryId ) , BillsByOfficial . class ) ; }
This method dumps all the bills an official has voted on based on the candidateId, officeId, categoryId, and year
Input: candidateId*, officeId, categoryId, year

@param candidateId
@param officeId
@param categoryId
@return {@link BillsByOfficial}
This method dumps all the bills an official has voted on based on the candidateId officeId categoryId and year Input : candidateId * officeId categoryId year