Class NotificationApi
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionreactor.core.publisher.Mono<NotificationView>markAsRead(String companyIdentifier, String identifier) Mark as read Mark notification as read.reactor.core.publisher.Mono<org.springframework.http.ResponseEntity<NotificationView>>markAsReadWithHttpInfo(String companyIdentifier, String identifier) reactor.core.publisher.Mono<RemoveEntryResponse>removeNotification(String companyIdentifier, String identifier, String accept) Delete notification Remove notification specified by its identifier.reactor.core.publisher.Mono<org.springframework.http.ResponseEntity<RemoveEntryResponse>>removeNotificationWithHttpInfo(String companyIdentifier, String identifier, String accept) voidsetApiClient(ApiClient apiClient) reactor.core.publisher.Mono<NotificationView>showNotifications(String companyIdentifier, String identifier, String accept) Show notification Retrieve messages for a specific company by idreactor.core.publisher.Flux<NotificationView>showNotifications1(String companyIdentifier, String accept) Show notifications Retrieve all the messages for this companyreactor.core.publisher.Mono<org.springframework.http.ResponseEntity<List<NotificationView>>>showNotifications1WithHttpInfo(String companyIdentifier, String accept) reactor.core.publisher.Mono<org.springframework.http.ResponseEntity<NotificationView>>showNotificationsWithHttpInfo(String companyIdentifier, String identifier, String accept) reactor.core.publisher.Mono<CountResponse>showUnreadMessageCount(String companyIdentifier, String accept) Show unread message count Retrieve count of unread messagesreactor.core.publisher.Mono<org.springframework.http.ResponseEntity<CountResponse>>showUnreadMessageCountWithHttpInfo(String companyIdentifier, String accept)
-
Constructor Details
-
NotificationApi
public NotificationApi() -
NotificationApi
-
-
Method Details
-
getApiClient
-
setApiClient
-
markAsRead
public reactor.core.publisher.Mono<NotificationView> markAsRead(String companyIdentifier, String identifier) throws org.springframework.web.reactive.function.client.WebClientResponseException Mark as read Mark notification as read.400 - Bad Request
405 - Method Not Allowed
415 - Unsupported Media Type
500 - Internal Server Error
404 - Not Found
403 - Forbidden
401 - Unauthorized
503 - Service Unavailable
200 - OK
- Parameters:
companyIdentifier- The companyIdentifier parameteridentifier- The identifier parameter- Returns:
- NotificationView
- Throws:
org.springframework.web.reactive.function.client.WebClientResponseException- if an error occurs while attempting to invoke the API
-
markAsReadWithHttpInfo
public reactor.core.publisher.Mono<org.springframework.http.ResponseEntity<NotificationView>> markAsReadWithHttpInfo(String companyIdentifier, String identifier) throws org.springframework.web.reactive.function.client.WebClientResponseException - Throws:
org.springframework.web.reactive.function.client.WebClientResponseException
-
removeNotification
public reactor.core.publisher.Mono<RemoveEntryResponse> removeNotification(String companyIdentifier, String identifier, String accept) throws org.springframework.web.reactive.function.client.WebClientResponseException Delete notification Remove notification specified by its identifier.400 - Bad Request
405 - Method Not Allowed
415 - Unsupported Media Type
500 - Internal Server Error
404 - Not Found
403 - Forbidden
401 - Unauthorized
503 - Service Unavailable
202 - Accepted
- Parameters:
companyIdentifier- The companyIdentifier parameteridentifier- The identifier parameteraccept- The accept parameter- Returns:
- RemoveEntryResponse
- Throws:
org.springframework.web.reactive.function.client.WebClientResponseException- if an error occurs while attempting to invoke the API
-
removeNotificationWithHttpInfo
public reactor.core.publisher.Mono<org.springframework.http.ResponseEntity<RemoveEntryResponse>> removeNotificationWithHttpInfo(String companyIdentifier, String identifier, String accept) throws org.springframework.web.reactive.function.client.WebClientResponseException - Throws:
org.springframework.web.reactive.function.client.WebClientResponseException
-
showNotifications
public reactor.core.publisher.Mono<NotificationView> showNotifications(String companyIdentifier, String identifier, String accept) throws org.springframework.web.reactive.function.client.WebClientResponseException Show notification Retrieve messages for a specific company by id400 - Bad Request
405 - Method Not Allowed
415 - Unsupported Media Type
500 - Internal Server Error
404 - Not Found
403 - Forbidden
401 - Unauthorized
503 - Service Unavailable
200 - OK
- Parameters:
companyIdentifier- The companyIdentifier parameteridentifier- The identifier parameteraccept- The accept parameter- Returns:
- NotificationView
- Throws:
org.springframework.web.reactive.function.client.WebClientResponseException- if an error occurs while attempting to invoke the API
-
showNotificationsWithHttpInfo
public reactor.core.publisher.Mono<org.springframework.http.ResponseEntity<NotificationView>> showNotificationsWithHttpInfo(String companyIdentifier, String identifier, String accept) throws org.springframework.web.reactive.function.client.WebClientResponseException - Throws:
org.springframework.web.reactive.function.client.WebClientResponseException
-
showNotifications1
public reactor.core.publisher.Flux<NotificationView> showNotifications1(String companyIdentifier, String accept) throws org.springframework.web.reactive.function.client.WebClientResponseException Show notifications Retrieve all the messages for this company400 - Bad Request
405 - Method Not Allowed
415 - Unsupported Media Type
500 - Internal Server Error
404 - Not Found
403 - Forbidden
401 - Unauthorized
503 - Service Unavailable
200 - OK
- Parameters:
companyIdentifier- The companyIdentifier parameteraccept- The accept parameter- Returns:
- List<NotificationView>
- Throws:
org.springframework.web.reactive.function.client.WebClientResponseException- if an error occurs while attempting to invoke the API
-
showNotifications1WithHttpInfo
public reactor.core.publisher.Mono<org.springframework.http.ResponseEntity<List<NotificationView>>> showNotifications1WithHttpInfo(String companyIdentifier, String accept) throws org.springframework.web.reactive.function.client.WebClientResponseException - Throws:
org.springframework.web.reactive.function.client.WebClientResponseException
-
showUnreadMessageCount
public reactor.core.publisher.Mono<CountResponse> showUnreadMessageCount(String companyIdentifier, String accept) throws org.springframework.web.reactive.function.client.WebClientResponseException Show unread message count Retrieve count of unread messages400 - Bad Request
405 - Method Not Allowed
415 - Unsupported Media Type
500 - Internal Server Error
404 - Not Found
403 - Forbidden
401 - Unauthorized
503 - Service Unavailable
200 - OK
- Parameters:
companyIdentifier- The companyIdentifier parameteraccept- The accept parameter- Returns:
- CountResponse
- Throws:
org.springframework.web.reactive.function.client.WebClientResponseException- if an error occurs while attempting to invoke the API
-
showUnreadMessageCountWithHttpInfo
public reactor.core.publisher.Mono<org.springframework.http.ResponseEntity<CountResponse>> showUnreadMessageCountWithHttpInfo(String companyIdentifier, String accept) throws org.springframework.web.reactive.function.client.WebClientResponseException - Throws:
org.springframework.web.reactive.function.client.WebClientResponseException
-