public class PetData extends Object
| Constructor and Description |
|---|
PetData() |
| Modifier and Type | Method and Description |
|---|---|
Pet |
addPet(Pet pet) |
boolean |
deletePet(long petId) |
List<Pet> |
findPetByStatus(String status) |
List<Pet> |
findPetByTags(String tags) |
Map<String,Integer> |
getInventoryByStatus() |
Pet |
getPetById(long petId) |
public Pet getPetById(long petId)
public boolean deletePet(long petId)
Copyright © 2017 – 2022 Eclipse Foundation. All rights reserved.
Use is subject to license terms.