public interface DoctorEndpointResponse
Modifier and Type | Method and Description |
---|---|
Optional<String> |
getErrorMessage() |
com.google.common.collect.ImmutableList<DoctorSuggestion> |
getSuggestions() |
static DoctorEndpointResponse |
of(Optional<String> errorMessage,
com.google.common.collect.ImmutableList<DoctorSuggestion> suggestions) |
com.google.common.collect.ImmutableList<DoctorSuggestion> getSuggestions()
static DoctorEndpointResponse of(Optional<String> errorMessage, com.google.common.collect.ImmutableList<DoctorSuggestion> suggestions)