Class SchedulerApi
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionreactor.core.publisher.Mono<RemoveEntryResponse>removeScheduleItem(String hotelIdentifier, String inventoryIdentifier, String identifier, String accept) Delete Scheduler Item Delete a calendar item for any travel inventory such as meeting room, restaurant, spa, activity, attraction or place.reactor.core.publisher.Mono<org.springframework.http.ResponseEntity<RemoveEntryResponse>>removeScheduleItemWithHttpInfo(String hotelIdentifier, String inventoryIdentifier, String identifier, String accept) reactor.core.publisher.Mono<ScheduleItemView>saveScheduleItem(String hotelIdentifier, String inventoryIdentifier, CreateScheduleItemRequest createScheduleItemRequest) Create Scheduler Item Create a calendar item for any travel inventory such as meeting room, restaurant, spa, activity, attraction or place.reactor.core.publisher.Mono<org.springframework.http.ResponseEntity<ScheduleItemView>>saveScheduleItemWithHttpInfo(String hotelIdentifier, String inventoryIdentifier, CreateScheduleItemRequest createScheduleItemRequest) voidsetApiClient(ApiClient apiClient) reactor.core.publisher.Flux<ScheduleItemView>showScheduleItems(String hotelIdentifier, String inventoryIdentifier, OffsetDateTime start, OffsetDateTime end, String accept) Show Scheduler Items Retrieve list of calendar items for a meeting room, restaurant, spa, activity, attraction or place.reactor.core.publisher.Mono<org.springframework.http.ResponseEntity<List<ScheduleItemView>>>showScheduleItemsWithHttpInfo(String hotelIdentifier, String inventoryIdentifier, OffsetDateTime start, OffsetDateTime end, String accept) reactor.core.publisher.Mono<ScheduleItemView>updateScheduleItem(String hotelIdentifier, String inventoryIdentifier, String identifier, UpdateScheduleItemRequest updateScheduleItemRequest) Update Scheduler Item Update an existing calendar item for any travel inventory such as meeting room, restaurant, spa, activity, attraction or place.reactor.core.publisher.Mono<org.springframework.http.ResponseEntity<ScheduleItemView>>updateScheduleItemWithHttpInfo(String hotelIdentifier, String inventoryIdentifier, String identifier, UpdateScheduleItemRequest updateScheduleItemRequest)
-
Constructor Details
-
SchedulerApi
public SchedulerApi() -
SchedulerApi
-
-
Method Details
-
getApiClient
-
setApiClient
-
removeScheduleItem
public reactor.core.publisher.Mono<RemoveEntryResponse> removeScheduleItem(String hotelIdentifier, String inventoryIdentifier, String identifier, String accept) throws org.springframework.web.reactive.function.client.WebClientResponseException Delete Scheduler Item Delete a calendar item for any travel inventory such as meeting room, restaurant, spa, activity, attraction or place.503 - Service Unavailable
400 - Bad Request
500 - Internal Server Error
404 - Not Found
405 - Method Not Allowed
415 - Unsupported Media Type
403 - Forbidden
401 - Unauthorized
202 - Accepted
- Parameters:
hotelIdentifier- Remove a calendar item for travel inventory owned by this hotel identifierinventoryIdentifier- Remove a calendar item for travel inventory with this identifieridentifier- Remove a calendar item with this identifieraccept- The accept parameter- Returns:
- RemoveEntryResponse
- Throws:
org.springframework.web.reactive.function.client.WebClientResponseException- if an error occurs while attempting to invoke the API
-
removeScheduleItemWithHttpInfo
public reactor.core.publisher.Mono<org.springframework.http.ResponseEntity<RemoveEntryResponse>> removeScheduleItemWithHttpInfo(String hotelIdentifier, String inventoryIdentifier, String identifier, String accept) throws org.springframework.web.reactive.function.client.WebClientResponseException - Throws:
org.springframework.web.reactive.function.client.WebClientResponseException
-
saveScheduleItem
public reactor.core.publisher.Mono<ScheduleItemView> saveScheduleItem(String hotelIdentifier, String inventoryIdentifier, CreateScheduleItemRequest createScheduleItemRequest) throws org.springframework.web.reactive.function.client.WebClientResponseException Create Scheduler Item Create a calendar item for any travel inventory such as meeting room, restaurant, spa, activity, attraction or place.503 - Service Unavailable
400 - Bad Request
500 - Internal Server Error
404 - Not Found
405 - Method Not Allowed
415 - Unsupported Media Type
403 - Forbidden
401 - Unauthorized
201 - Created
- Parameters:
hotelIdentifier- Create a calendar item for travel inventory owned by this hotel identifierinventoryIdentifier- Create a calendar item for travel inventory with this identifiercreateScheduleItemRequest- The createScheduleItemRequest parameter- Returns:
- ScheduleItemView
- Throws:
org.springframework.web.reactive.function.client.WebClientResponseException- if an error occurs while attempting to invoke the API
-
saveScheduleItemWithHttpInfo
public reactor.core.publisher.Mono<org.springframework.http.ResponseEntity<ScheduleItemView>> saveScheduleItemWithHttpInfo(String hotelIdentifier, String inventoryIdentifier, CreateScheduleItemRequest createScheduleItemRequest) throws org.springframework.web.reactive.function.client.WebClientResponseException - Throws:
org.springframework.web.reactive.function.client.WebClientResponseException
-
showScheduleItems
public reactor.core.publisher.Flux<ScheduleItemView> showScheduleItems(String hotelIdentifier, String inventoryIdentifier, OffsetDateTime start, OffsetDateTime end, String accept) throws org.springframework.web.reactive.function.client.WebClientResponseException Show Scheduler Items Retrieve list of calendar items for a meeting room, restaurant, spa, activity, attraction or place.503 - Service Unavailable
400 - Bad Request
500 - Internal Server Error
404 - Not Found
405 - Method Not Allowed
415 - Unsupported Media Type
403 - Forbidden
401 - Unauthorized
200 - OK
- Parameters:
hotelIdentifier- Show calendar items for travel inventory owned by this hotel identifierinventoryIdentifier- Show calendar items for travel inventory with this identifierstart- Specify start date rangeend- Specify end date rangeaccept- The accept parameter- Returns:
- List<ScheduleItemView>
- Throws:
org.springframework.web.reactive.function.client.WebClientResponseException- if an error occurs while attempting to invoke the API
-
showScheduleItemsWithHttpInfo
public reactor.core.publisher.Mono<org.springframework.http.ResponseEntity<List<ScheduleItemView>>> showScheduleItemsWithHttpInfo(String hotelIdentifier, String inventoryIdentifier, OffsetDateTime start, OffsetDateTime end, String accept) throws org.springframework.web.reactive.function.client.WebClientResponseException - Throws:
org.springframework.web.reactive.function.client.WebClientResponseException
-
updateScheduleItem
public reactor.core.publisher.Mono<ScheduleItemView> updateScheduleItem(String hotelIdentifier, String inventoryIdentifier, String identifier, UpdateScheduleItemRequest updateScheduleItemRequest) throws org.springframework.web.reactive.function.client.WebClientResponseException Update Scheduler Item Update an existing calendar item for any travel inventory such as meeting room, restaurant, spa, activity, attraction or place.503 - Service Unavailable
400 - Bad Request
500 - Internal Server Error
404 - Not Found
405 - Method Not Allowed
415 - Unsupported Media Type
403 - Forbidden
401 - Unauthorized
200 - OK
- Parameters:
hotelIdentifier- Update a calendar item for travel inventory owned by this hotel identifierinventoryIdentifier- Update a calendar item for travel inventory with this identifieridentifier- Update a calendar item with this identifierupdateScheduleItemRequest- The updateScheduleItemRequest parameter- Returns:
- ScheduleItemView
- Throws:
org.springframework.web.reactive.function.client.WebClientResponseException- if an error occurs while attempting to invoke the API
-
updateScheduleItemWithHttpInfo
public reactor.core.publisher.Mono<org.springframework.http.ResponseEntity<ScheduleItemView>> updateScheduleItemWithHttpInfo(String hotelIdentifier, String inventoryIdentifier, String identifier, UpdateScheduleItemRequest updateScheduleItemRequest) throws org.springframework.web.reactive.function.client.WebClientResponseException - Throws:
org.springframework.web.reactive.function.client.WebClientResponseException
-