@Generated(value="class io.swagger.codegen.languages.JavaClientCodegen", date="2015-12-03T18:48:57.986-05:00") public class AvailabilityApi extends Object
| Constructor and Description |
|---|
AvailabilityApi() |
AvailabilityApi(ApiClient apiClient) |
| Modifier and Type | Method and Description |
|---|---|
MatchingSlotList |
availabilityMatchingslotsPageNavigationTokenGet(String pageNavigationToken,
Integer pageNumber)
Navigate results of a matching slots search
|
void |
availabilityMatchingslotsPost(MatchingSlotsSearchParameters search,
Integer itemsPerPage)
Find available slots matching given search parameters
Create a search for available slots that match the given search parameters.\n Note that there are two different searches possible, /availability/slots and /availability/matchingslots (this endpoint).\n The former simply shows the number of available seats for each available slot.
|
SlotList |
availabilitySlotsGet(String productId,
Date startTime,
Date endTime,
Integer itemsPerPage,
String pageNavigationToken,
Integer pageNumber)
Get information about the availability of a product
Performs a basic search to find available slots and number of seats in each.\n Note that there are two different searches possible, /availability/slots (this endpoint) and /availability/matchingslots .\n The former simply shows the number of available seats for each available slot.
|
ApiClient |
getApiClient() |
void |
setApiClient(ApiClient apiClient) |
public AvailabilityApi()
public AvailabilityApi(ApiClient apiClient)
public ApiClient getApiClient()
public void setApiClient(ApiClient apiClient)
public void availabilityMatchingslotsPost(MatchingSlotsSearchParameters search, Integer itemsPerPage) throws ApiException
search - itemsPerPage - .\nmaximum: 300ApiExceptionpublic MatchingSlotList availabilityMatchingslotsPageNavigationTokenGet(String pageNavigationToken, Integer pageNumber) throws ApiException
pageNavigationToken - pageNumber - ApiExceptionpublic SlotList availabilitySlotsGet(String productId, Date startTime, Date endTime, Integer itemsPerPage, String pageNavigationToken, Integer pageNumber) throws ApiException
productId - the product code (see /availability/products). Required unless pageNavigationToken is used. Note that the product must be of type \"fixed\" or \"fixedCourse\". For products of type \"flexibleTime\", use /availability/matchingslots instead.startTime - the start time to search from. Required unless pageNavigationToken is used.endTime - the end time to search to. Required unless pageNavigationToken is used. The maximum date range in a single call is 31 days.itemsPerPage - .\nmaximum: 300pageNavigationToken - pageNumber - ApiExceptionCopyright © 2015. All rights reserved.