@Generated(value="class io.swagger.codegen.languages.JavaClientCodegen", date="2015-12-03T18:48:57.986-05:00") public class SeatBlocksApi extends Object
| Constructor and Description |
|---|
SeatBlocksApi() |
SeatBlocksApi(ApiClient apiClient) |
| Modifier and Type | Method and Description |
|---|---|
ApiClient |
getApiClient() |
SeatBlocksList |
seatblocksGet(Date startTime,
Date endTime,
Date lastUpdatedStartTime,
Date lastUpdatedEndTime,
String productId,
Integer itemsPerPage,
String pageNavigationToken,
Integer pageNumber)
Retrieve seat blocks
Retrieve existing seat blocks\n The result is limited by the permissions of the apiKey.\n <p/>\n It is possible to filter by time blocked and/or time of the last change.\n To filter by time blocked, the parameters startTime and endTime are required.\n To filter by last time changed, the parameters lastUpdatedStartTime and lastUpdatedEndTime are required.\n It is possible to filter by both at the same time.
|
void |
seatblocksIdDelete(String id)
Delete a block
|
ResourceBlock |
seatblocksIdGet(String id)
Retrieve a block
Retrieve a block by its id
|
void |
seatblocksIdPut(ResourceBlock block,
String id)
Update an existing block
Updates an existing seat block
|
void |
seatblocksPost(ResourceBlock block)
Create a new seat block
\"blocks\" a given number of seats, so that they're not available for booking.
|
void |
setApiClient(ApiClient apiClient) |
public SeatBlocksApi()
public SeatBlocksApi(ApiClient apiClient)
public ApiClient getApiClient()
public void setApiClient(ApiClient apiClient)
public SeatBlocksList seatblocksGet(Date startTime, Date endTime, Date lastUpdatedStartTime, Date lastUpdatedEndTime, String productId, Integer itemsPerPage, String pageNavigationToken, Integer pageNumber) throws ApiException
startTime - if specified, only include blocks that start on or after this time. If specified, endTime must be specified as well.endTime - if specified, only include blocks that start on or before this time. If specified, startTime must be specified as well. The maximum allowed interval is 31 days.lastUpdatedStartTime - if specified, only include blocks that were last changed (or created) on or after this time. If specified, lastUpdatedEndTime must be specified as well.lastUpdatedEndTime - if specified, only include blocks that were last changed (or created) on or before this time. If specified, lastUpdatedStartTime must be specified as well. The maximum allowed interval is 31 days.productId - if specified, only include blocks for this product. If not specified, include blocks for any productitemsPerPage - maximum: 100pageNavigationToken - pageNumber - ApiExceptionpublic void seatblocksPost(ResourceBlock block) throws ApiException
block - ApiExceptionpublic ResourceBlock seatblocksIdGet(String id) throws ApiException
id - ApiExceptionpublic void seatblocksIdPut(ResourceBlock block, String id) throws ApiException
block - id - ApiExceptionpublic void seatblocksIdDelete(String id) throws ApiException
id - ApiExceptionCopyright © 2015. All rights reserved.