Class AnnouncementApi
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionreactor.core.publisher.Mono<AnnouncementViewSupplier>createAnnouncement(String hotelIdentifier, AnnouncementSupplier announcementSupplier, String winkVersion) Create Announcement Create a new announcementreactor.core.publisher.Mono<org.springframework.http.ResponseEntity<AnnouncementViewSupplier>>createAnnouncementWithHttpInfo(String hotelIdentifier, AnnouncementSupplier announcementSupplier, String winkVersion) reactor.core.publisher.Mono<RemoveEntryResponseSupplier>removeAnnouncement(String hotelIdentifier, String announcementIdentifier, String winkVersion) Delete Announcement Delete an announcement by its identifierreactor.core.publisher.Mono<org.springframework.http.ResponseEntity<RemoveEntryResponseSupplier>>removeAnnouncementWithHttpInfo(String hotelIdentifier, String announcementIdentifier, String winkVersion) voidsetApiClient(ApiClient apiClient) reactor.core.publisher.Mono<AnnouncementViewSupplier>showAnnouncement(String hotelIdentifier, String announcementIdentifier, String winkVersion) Show Announcement Retrieve an announcement by its identifierreactor.core.publisher.Flux<AnnouncementViewSupplier>showAnnouncements(String hotelIdentifier, String winkVersion) Show Announcements Retrieve list of announcementsreactor.core.publisher.Mono<org.springframework.http.ResponseEntity<List<AnnouncementViewSupplier>>>showAnnouncementsWithHttpInfo(String hotelIdentifier, String winkVersion) reactor.core.publisher.Mono<org.springframework.http.ResponseEntity<AnnouncementViewSupplier>>showAnnouncementWithHttpInfo(String hotelIdentifier, String announcementIdentifier, String winkVersion) reactor.core.publisher.Mono<AnnouncementViewSupplier>updateAnnouncement(String hotelIdentifier, String announcementIdentifier, AnnouncementSupplier announcementSupplier, String winkVersion) Update Announcement Update an announcement by its identifierreactor.core.publisher.Mono<org.springframework.http.ResponseEntity<AnnouncementViewSupplier>>updateAnnouncementWithHttpInfo(String hotelIdentifier, String announcementIdentifier, AnnouncementSupplier announcementSupplier, String winkVersion)
-
Constructor Details
-
AnnouncementApi
public AnnouncementApi() -
AnnouncementApi
-
-
Method Details
-
getApiClient
-
setApiClient
-
createAnnouncement
public reactor.core.publisher.Mono<AnnouncementViewSupplier> createAnnouncement(String hotelIdentifier, AnnouncementSupplier announcementSupplier, String winkVersion) throws org.springframework.web.reactive.function.client.WebClientResponseException Create Announcement Create a new announcement503 - Service Unavailable
400 - Bad Request
405 - Method Not Allowed
415 - Unsupported Media Type
500 - Internal Server Error
404 - Not Found
403 - Forbidden
401 - Unauthorized
201 - Created
- Parameters:
hotelIdentifier- Create announcement for this hotel identifierannouncementSupplier- The announcementSupplier parameterwinkVersion- The winkVersion parameter- Returns:
- AnnouncementViewSupplier
- Throws:
org.springframework.web.reactive.function.client.WebClientResponseException- if an error occurs while attempting to invoke the API
-
createAnnouncementWithHttpInfo
public reactor.core.publisher.Mono<org.springframework.http.ResponseEntity<AnnouncementViewSupplier>> createAnnouncementWithHttpInfo(String hotelIdentifier, AnnouncementSupplier announcementSupplier, String winkVersion) throws org.springframework.web.reactive.function.client.WebClientResponseException - Throws:
org.springframework.web.reactive.function.client.WebClientResponseException
-
removeAnnouncement
public reactor.core.publisher.Mono<RemoveEntryResponseSupplier> removeAnnouncement(String hotelIdentifier, String announcementIdentifier, String winkVersion) throws org.springframework.web.reactive.function.client.WebClientResponseException Delete Announcement Delete an announcement by its identifier503 - Service Unavailable
400 - Bad Request
405 - Method Not Allowed
415 - Unsupported Media Type
500 - Internal Server Error
404 - Not Found
403 - Forbidden
401 - Unauthorized
202 - Accepted
- Parameters:
hotelIdentifier- Remove announcement for this hotel identifierannouncementIdentifier- Remove announcement with this identifierwinkVersion- The winkVersion parameter- Returns:
- RemoveEntryResponseSupplier
- Throws:
org.springframework.web.reactive.function.client.WebClientResponseException- if an error occurs while attempting to invoke the API
-
removeAnnouncementWithHttpInfo
public reactor.core.publisher.Mono<org.springframework.http.ResponseEntity<RemoveEntryResponseSupplier>> removeAnnouncementWithHttpInfo(String hotelIdentifier, String announcementIdentifier, String winkVersion) throws org.springframework.web.reactive.function.client.WebClientResponseException - Throws:
org.springframework.web.reactive.function.client.WebClientResponseException
-
showAnnouncement
public reactor.core.publisher.Mono<AnnouncementViewSupplier> showAnnouncement(String hotelIdentifier, String announcementIdentifier, String winkVersion) throws org.springframework.web.reactive.function.client.WebClientResponseException Show Announcement Retrieve an announcement by its identifier503 - Service Unavailable
400 - Bad Request
405 - Method Not Allowed
415 - Unsupported Media Type
500 - Internal Server Error
404 - Not Found
403 - Forbidden
401 - Unauthorized
200 - OK
- Parameters:
hotelIdentifier- Show announcement for this hotel identifierannouncementIdentifier- Show data for this announcement identifierwinkVersion- The winkVersion parameter- Returns:
- AnnouncementViewSupplier
- Throws:
org.springframework.web.reactive.function.client.WebClientResponseException- if an error occurs while attempting to invoke the API
-
showAnnouncementWithHttpInfo
public reactor.core.publisher.Mono<org.springframework.http.ResponseEntity<AnnouncementViewSupplier>> showAnnouncementWithHttpInfo(String hotelIdentifier, String announcementIdentifier, String winkVersion) throws org.springframework.web.reactive.function.client.WebClientResponseException - Throws:
org.springframework.web.reactive.function.client.WebClientResponseException
-
showAnnouncements
public reactor.core.publisher.Flux<AnnouncementViewSupplier> showAnnouncements(String hotelIdentifier, String winkVersion) throws org.springframework.web.reactive.function.client.WebClientResponseException Show Announcements Retrieve list of announcements503 - Service Unavailable
400 - Bad Request
405 - Method Not Allowed
415 - Unsupported Media Type
500 - Internal Server Error
404 - Not Found
403 - Forbidden
401 - Unauthorized
200 - OK
- Parameters:
hotelIdentifier- Show announcements for this hotel identifierwinkVersion- The winkVersion parameter- Returns:
- List<AnnouncementViewSupplier>
- Throws:
org.springframework.web.reactive.function.client.WebClientResponseException- if an error occurs while attempting to invoke the API
-
showAnnouncementsWithHttpInfo
public reactor.core.publisher.Mono<org.springframework.http.ResponseEntity<List<AnnouncementViewSupplier>>> showAnnouncementsWithHttpInfo(String hotelIdentifier, String winkVersion) throws org.springframework.web.reactive.function.client.WebClientResponseException - Throws:
org.springframework.web.reactive.function.client.WebClientResponseException
-
updateAnnouncement
public reactor.core.publisher.Mono<AnnouncementViewSupplier> updateAnnouncement(String hotelIdentifier, String announcementIdentifier, AnnouncementSupplier announcementSupplier, String winkVersion) throws org.springframework.web.reactive.function.client.WebClientResponseException Update Announcement Update an announcement by its identifier503 - Service Unavailable
400 - Bad Request
405 - Method Not Allowed
415 - Unsupported Media Type
500 - Internal Server Error
404 - Not Found
403 - Forbidden
401 - Unauthorized
200 - OK
- Parameters:
hotelIdentifier- Update announcement for this hotel identifierannouncementIdentifier- Update announcement with this identifierannouncementSupplier- The announcementSupplier parameterwinkVersion- The winkVersion parameter- Returns:
- AnnouncementViewSupplier
- Throws:
org.springframework.web.reactive.function.client.WebClientResponseException- if an error occurs while attempting to invoke the API
-
updateAnnouncementWithHttpInfo
public reactor.core.publisher.Mono<org.springframework.http.ResponseEntity<AnnouncementViewSupplier>> updateAnnouncementWithHttpInfo(String hotelIdentifier, String announcementIdentifier, AnnouncementSupplier announcementSupplier, String winkVersion) throws org.springframework.web.reactive.function.client.WebClientResponseException - Throws:
org.springframework.web.reactive.function.client.WebClientResponseException
-