public class NotificationClient extends EntityClientBase implements GetListEndpoint<Notification>, GetByIdEndpoint<Notification>, DeleteByIdEndpoint
api, path| Constructor and Description |
|---|
NotificationClient(ApiClient api) |
| Modifier and Type | Method and Description |
|---|---|
Class<? extends MetaEntity> |
entityClass() |
void |
markAsRead(Notification notification) |
void |
markAsRead(String id) |
void |
markAsReadAll() |
NotificationSubscriptionClient |
subscription() |
api, metaEntityClass, path, positionEntityClassclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetget, getdelete, deleteapi, metaEntityClass, path, positionEntityClasspublic NotificationClient(ApiClient api)
public void markAsRead(String id) throws IOException, ApiClientException
IOExceptionApiClientExceptionpublic void markAsRead(Notification notification) throws IOException, ApiClientException
IOExceptionApiClientExceptionpublic void markAsReadAll()
throws IOException,
ApiClientException
IOExceptionApiClientExceptionpublic NotificationSubscriptionClient subscription()
public Class<? extends MetaEntity> entityClass()
entityClass in interface EndpointentityClass in class EntityClientBaseCopyright © 2023. All rights reserved.