-
Notifications
You must be signed in to change notification settings - Fork 19
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat:
notify:list
ResponseTransformer
- Loading branch information
1 parent
984e2ee
commit c08db89
Showing
2 changed files
with
91 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
43 changes: 43 additions & 0 deletions
43
at_client/src/main/java/org/atsign/common/response_models/NotifyListResponse.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,43 @@ | ||
package org.atsign.common.response_models; | ||
|
||
import java.util.List; | ||
|
||
import com.fasterxml.jackson.annotation.JsonProperty; | ||
|
||
public class NotifyListResponse { | ||
|
||
@JsonProperty | ||
public List<Notification> notifications; | ||
|
||
public static class Notification { | ||
@JsonProperty | ||
public String id; | ||
|
||
@JsonProperty | ||
public String from; | ||
|
||
@JsonProperty | ||
public String to; | ||
|
||
@JsonProperty | ||
public String key; | ||
|
||
@JsonProperty | ||
public String value; | ||
|
||
@JsonProperty | ||
public String operation; | ||
|
||
@JsonProperty | ||
public Long epochMillis; | ||
|
||
@JsonProperty | ||
public String messageType; | ||
|
||
@JsonProperty | ||
public Boolean isEncrypted; | ||
|
||
} | ||
|
||
|
||
} |