public class NotificationsApi extends CrowdinApi
clientConfig, graphqlUrl, httpClient, url
Constructor and Description |
---|
NotificationsApi(Credentials credentials) |
NotificationsApi(Credentials credentials,
ClientConfig clientConfig) |
Modifier and Type | Method and Description |
---|---|
void |
sendNotificationToAuthenticatedUser(SendNotificationToAuthenticatedUserRequest request) |
void |
sendNotificationToOrganizationMembers(SendNotificationToOrganizationMembersRequest request) |
void |
sendNotificationToProjectMembers(java.lang.Long projectId,
SendNotificationToProjectMemberRequest request) |
graphql, graphql
public NotificationsApi(Credentials credentials)
public NotificationsApi(Credentials credentials, ClientConfig clientConfig)
public void sendNotificationToAuthenticatedUser(SendNotificationToAuthenticatedUserRequest request) throws HttpException, HttpBadRequestException
request
- request objectHttpException
HttpBadRequestException
public void sendNotificationToProjectMembers(java.lang.Long projectId, SendNotificationToProjectMemberRequest request) throws HttpException, HttpBadRequestException
projectId
- Project Identifierrequest
- request objectHttpException
HttpBadRequestException
public void sendNotificationToOrganizationMembers(SendNotificationToOrganizationMembersRequest request) throws HttpException, HttpBadRequestException
request
- request objectHttpException
HttpBadRequestException