Package | Description |
---|---|
org.eclipse.microprofile.openapi.apps.airlines.data |
Copyright (c) 2017 Contributors to the Eclipse Foundation
|
org.eclipse.microprofile.openapi.apps.airlines.model |
Copyright (c) 2017 Contributors to the Eclipse Foundation
|
org.eclipse.microprofile.openapi.apps.airlines.resources |
Copyright (c) 2017 Contributors to the Eclipse Foundation
|
Modifier and Type | Method and Description |
---|---|
User |
UserData.findUserById(int id) |
User |
UserData.findUserByName(String username) |
Modifier and Type | Method and Description |
---|---|
void |
UserData.addUser(User user) |
Modifier and Type | Method and Description |
---|---|
User |
Review.getUser()
Returns the user of this Review
|
Modifier and Type | Method and Description |
---|---|
void |
Review.setUser(User user)
Sets the user for this Review
|
Constructor and Description |
---|
Review(String id,
User user,
Airline airlines,
int rating,
String comment)
Creates an instance of the Review object with the given fields.
|
Modifier and Type | Method and Description |
---|---|
javax.ws.rs.core.Response |
UserResource.createUser(User user) |
javax.ws.rs.core.Response |
UserResource.createUsersWithArrayInput(User[] users) |
javax.ws.rs.core.Response |
UserResource.updateUser(String username,
User user) |
Modifier and Type | Method and Description |
---|---|
javax.ws.rs.core.Response |
UserResource.createUsersWithListInput(List<User> users) |
Copyright © 2021 Eclipse Foundation. All rights reserved.