In SearchApi for searchRepositories, I am using Repository for items in reponse, since searchRepositories returns Repositories. Few fields For Ex. - updated_at - size - stargazers_count - forks_count which are required to test but are not included in Repository, If we create a new class for items which is list of Repositories it will be redunduncy So we should convert the getter methods of class repository so that it can be reused.