public static class SearchShiftsResponse.Builder extends Object
SearchShiftsResponse.| Constructor and Description |
|---|
Builder() |
| Modifier and Type | Method and Description |
|---|---|
SearchShiftsResponse |
build()
Builds a new
SearchShiftsResponse object using the set fields. |
SearchShiftsResponse.Builder |
cursor(String cursor)
Setter for cursor.
|
SearchShiftsResponse.Builder |
errors(List<Error> errors)
Setter for errors.
|
SearchShiftsResponse.Builder |
httpContext(HttpContext httpContext)
Setter for httpContext.
|
SearchShiftsResponse.Builder |
shifts(List<Shift> shifts)
Setter for shifts.
|
public SearchShiftsResponse.Builder httpContext(HttpContext httpContext)
httpContext - HttpContext value for httpContext.public SearchShiftsResponse.Builder shifts(List<Shift> shifts)
shifts - List of Shift value for shifts.public SearchShiftsResponse.Builder cursor(String cursor)
cursor - String value for cursor.public SearchShiftsResponse.Builder errors(List<Error> errors)
errors - List of Error value for errors.public SearchShiftsResponse build()
SearchShiftsResponse object using the set fields.SearchShiftsResponseCopyright © 2022. All rights reserved.