Class AnnouncementApi
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionreactor.core.publisher.Mono<AnnouncementView>createAnnouncement(String hotelIdentifier, Announcement announcement) Create Announcement Create a new announcementreactor.core.publisher.Mono<org.springframework.http.ResponseEntity<AnnouncementView>>createAnnouncementWithHttpInfo(String hotelIdentifier, Announcement announcement) reactor.core.publisher.Mono<RemoveEntryResponse>removeAnnouncement(String hotelIdentifier, String announcementIdentifier, String accept) Delete Announcement Delete an announcement by its identifierreactor.core.publisher.Mono<org.springframework.http.ResponseEntity<RemoveEntryResponse>>removeAnnouncementWithHttpInfo(String hotelIdentifier, String announcementIdentifier, String accept) voidsetApiClient(ApiClient apiClient) reactor.core.publisher.Mono<AnnouncementView>showAnnouncement(String hotelIdentifier, String announcementIdentifier, String accept) Show Announcement Retrieve an announcement by its identifierreactor.core.publisher.Flux<AnnouncementView>showAnnouncements(String hotelIdentifier, String accept) Show Announcements Retrieve list of announcementsreactor.core.publisher.Mono<org.springframework.http.ResponseEntity<List<AnnouncementView>>>showAnnouncementsWithHttpInfo(String hotelIdentifier, String accept) reactor.core.publisher.Mono<org.springframework.http.ResponseEntity<AnnouncementView>>showAnnouncementWithHttpInfo(String hotelIdentifier, String announcementIdentifier, String accept) reactor.core.publisher.Mono<AnnouncementView>updateAnnouncement(String hotelIdentifier, String announcementIdentifier, Announcement announcement) Update Announcement Update an announcement by its identifierreactor.core.publisher.Mono<org.springframework.http.ResponseEntity<AnnouncementView>>updateAnnouncementWithHttpInfo(String hotelIdentifier, String announcementIdentifier, Announcement announcement)
-
Constructor Details
-
AnnouncementApi
public AnnouncementApi() -
AnnouncementApi
-
-
Method Details
-
getApiClient
-
setApiClient
-
createAnnouncement
public reactor.core.publisher.Mono<AnnouncementView> createAnnouncement(String hotelIdentifier, Announcement announcement) 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 identifierannouncement- The announcement parameter- Returns:
- AnnouncementView
- 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<AnnouncementView>> createAnnouncementWithHttpInfo(String hotelIdentifier, Announcement announcement) throws org.springframework.web.reactive.function.client.WebClientResponseException - Throws:
org.springframework.web.reactive.function.client.WebClientResponseException
-
removeAnnouncement
public reactor.core.publisher.Mono<RemoveEntryResponse> removeAnnouncement(String hotelIdentifier, String announcementIdentifier, String accept) 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 identifieraccept- The accept parameter- Returns:
- RemoveEntryResponse
- 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<RemoveEntryResponse>> removeAnnouncementWithHttpInfo(String hotelIdentifier, String announcementIdentifier, String accept) throws org.springframework.web.reactive.function.client.WebClientResponseException - Throws:
org.springframework.web.reactive.function.client.WebClientResponseException
-
showAnnouncement
public reactor.core.publisher.Mono<AnnouncementView> showAnnouncement(String hotelIdentifier, String announcementIdentifier, String accept) 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 identifieraccept- The accept parameter- Returns:
- AnnouncementView
- 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<AnnouncementView>> showAnnouncementWithHttpInfo(String hotelIdentifier, String announcementIdentifier, String accept) throws org.springframework.web.reactive.function.client.WebClientResponseException - Throws:
org.springframework.web.reactive.function.client.WebClientResponseException
-
showAnnouncements
public reactor.core.publisher.Flux<AnnouncementView> showAnnouncements(String hotelIdentifier, String accept) 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 identifieraccept- The accept parameter- Returns:
- List<AnnouncementView>
- 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<AnnouncementView>>> showAnnouncementsWithHttpInfo(String hotelIdentifier, String accept) throws org.springframework.web.reactive.function.client.WebClientResponseException - Throws:
org.springframework.web.reactive.function.client.WebClientResponseException
-
updateAnnouncement
public reactor.core.publisher.Mono<AnnouncementView> updateAnnouncement(String hotelIdentifier, String announcementIdentifier, Announcement announcement) 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 identifierannouncement- The announcement parameter- Returns:
- AnnouncementView
- 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<AnnouncementView>> updateAnnouncementWithHttpInfo(String hotelIdentifier, String announcementIdentifier, Announcement announcement) throws org.springframework.web.reactive.function.client.WebClientResponseException - Throws:
org.springframework.web.reactive.function.client.WebClientResponseException
-