/** * Returns the first api with the provided id * * @param id * the id of the api to return * * @return the api with the given id * * @throws NoSuchElementException * whenever there are no apis with the provided id */ public static ApiMetadata withId(String id) throws NoSuchElementException { return find(all(), ApiPredicates.id(id)); }
/** * Returns the first api with the provided id * * @param id * the id of the api to return * * @return the api with the given id * * @throws NoSuchElementException * whenever there are no apis with the provided id */ public static ApiMetadata withId(String id) throws NoSuchElementException { return find(all(), ApiPredicates.id(id)); }
/** * Returns the first api with the provided id * * @param id * the id of the api to return * * @return the api with the given id * * @throws NoSuchElementException * whenever there are no apis with the provided id */ public static ApiMetadata withId(String id) throws NoSuchElementException { return find(all(), ApiPredicates.id(id)); }
/** * Returns the first api with the provided id * * @param id * the id of the api to return * * @return the api with the given id * * @throws NoSuchElementException * whenever there are no apis with the provided id */ public static ApiMetadata withId(String id) throws NoSuchElementException { return find(all(), ApiPredicates.id(id)); }
/** * Returns the first api with the provided id * * @param id * the id of the api to return * * @return the api with the given id * * @throws NoSuchElementException * whenever there are no apis with the provided id */ public static ApiMetadata withId(String id) throws NoSuchElementException { return find(all(), ApiPredicates.id(id)); }
/** * Returns the first api with the provided id * * @param id * the id of the api to return * * @return the api with the given id * * @throws NoSuchElementException * whenever there are no apis with the provided id */ public static ApiMetadata withId(String id) throws NoSuchElementException { return find(all(), ApiPredicates.id(id)); }