File tree Expand file tree Collapse file tree 18 files changed +885
-2
lines changed
src/main/java/com/notificationapi/model Expand file tree Collapse file tree 18 files changed +885
-2
lines changed Original file line number Diff line number Diff line change @@ -10,7 +10,7 @@ Add the following dependency to your project's `pom.xml`:
10
10
<dependency >
11
11
<groupId >com.notificationapi</groupId >
12
12
<artifactId >notificationapi-java-server-sdk</artifactId >
13
- <version >0.1 .0</version >
13
+ <version >0.3 .0</version >
14
14
</dependency >
15
15
```
16
16
Original file line number Diff line number Diff line change 6
6
7
7
<groupId >com.notificationapi</groupId >
8
8
<artifactId >notificationapi-java-server-sdk</artifactId >
9
- <version >0.2 .0</version >
9
+ <version >0.3 .0</version >
10
10
<packaging >jar</packaging >
11
11
12
12
<!-- Project metadata -->
Original file line number Diff line number Diff line change
1
+ package com .notificationapi .model ;
2
+
3
+ import com .fasterxml .jackson .annotation .JsonInclude ;
4
+ import com .fasterxml .jackson .annotation .JsonProperty ;
5
+
6
+ @ JsonInclude (JsonInclude .Include .NON_NULL )
7
+ public class CallOptions {
8
+ @ JsonProperty ("message" )
9
+ private String message ;
10
+
11
+ public String getMessage () { return message ; }
12
+ public CallOptions setMessage (String message ) { this .message = message ; return this ; }
13
+ }
Original file line number Diff line number Diff line change
1
+ package com .notificationapi .model ;
2
+
3
+ import com .fasterxml .jackson .annotation .JsonInclude ;
4
+ import com .fasterxml .jackson .annotation .JsonProperty ;
5
+
6
+ @ JsonInclude (JsonInclude .Include .NON_NULL )
7
+ public class Device {
8
+ @ JsonProperty ("app_id" )
9
+ private String appId ;
10
+
11
+ @ JsonProperty ("ad_id" )
12
+ private String adId ;
13
+
14
+ @ JsonProperty ("device_id" )
15
+ private String deviceId ;
16
+
17
+ @ JsonProperty ("platform" )
18
+ private String platform ;
19
+
20
+ @ JsonProperty ("manufacturer" )
21
+ private String manufacturer ;
22
+
23
+ @ JsonProperty ("model" )
24
+ private String model ;
25
+
26
+ public String getAppId () { return appId ; }
27
+ public Device setAppId (String appId ) { this .appId = appId ; return this ; }
28
+
29
+ public String getAdId () { return adId ; }
30
+ public Device setAdId (String adId ) { this .adId = adId ; return this ; }
31
+
32
+ public String getDeviceId () { return deviceId ; }
33
+ public Device setDeviceId (String deviceId ) { this .deviceId = deviceId ; return this ; }
34
+
35
+ public String getPlatform () { return platform ; }
36
+ public Device setPlatform (String platform ) { this .platform = platform ; return this ; }
37
+
38
+ public String getManufacturer () { return manufacturer ; }
39
+ public Device setManufacturer (String manufacturer ) { this .manufacturer = manufacturer ; return this ; }
40
+
41
+ public String getModel () { return model ; }
42
+ public Device setModel (String model ) { this .model = model ; return this ; }
43
+ }
Original file line number Diff line number Diff line change
1
+ package com .notificationapi .model ;
2
+
3
+ import com .fasterxml .jackson .annotation .JsonInclude ;
4
+ import com .fasterxml .jackson .annotation .JsonProperty ;
5
+
6
+ @ JsonInclude (JsonInclude .Include .NON_NULL )
7
+ public class EmailOptions {
8
+ @ JsonProperty ("subject" )
9
+ private String subject ;
10
+ @ JsonProperty ("html" )
11
+ private String html ;
12
+ @ JsonProperty ("previewText" )
13
+ private String previewText ;
14
+ @ JsonProperty ("senderName" )
15
+ private String senderName ;
16
+ @ JsonProperty ("senderEmail" )
17
+ private String senderEmail ;
18
+
19
+ public String getSubject () { return subject ; }
20
+ public EmailOptions setSubject (String subject ) { this .subject = subject ; return this ; }
21
+ public String getHtml () { return html ; }
22
+ public EmailOptions setHtml (String html ) { this .html = html ; return this ; }
23
+ public String getPreviewText () { return previewText ; }
24
+ public EmailOptions setPreviewText (String previewText ) { this .previewText = previewText ; return this ; }
25
+ public String getSenderName () { return senderName ; }
26
+ public EmailOptions setSenderName (String senderName ) { this .senderName = senderName ; return this ; }
27
+ public String getSenderEmail () { return senderEmail ; }
28
+ public EmailOptions setSenderEmail (String senderEmail ) { this .senderEmail = senderEmail ; return this ; }
29
+ }
Original file line number Diff line number Diff line change
1
+ package com .notificationapi .model ;
2
+
3
+ import com .fasterxml .jackson .annotation .JsonInclude ;
4
+ import com .fasterxml .jackson .annotation .JsonProperty ;
5
+
6
+ @ JsonInclude (JsonInclude .Include .NON_NULL )
7
+ public class InAppOptions {
8
+ @ JsonProperty ("title" )
9
+ private String title ;
10
+ @ JsonProperty ("url" )
11
+ private String url ;
12
+ @ JsonProperty ("image" )
13
+ private String image ;
14
+
15
+ public String getTitle () { return title ; }
16
+ public InAppOptions setTitle (String title ) { this .title = title ; return this ; }
17
+ public String getUrl () { return url ; }
18
+ public InAppOptions setUrl (String url ) { this .url = url ; return this ; }
19
+ public String getImage () { return image ; }
20
+ public InAppOptions setImage (String image ) { this .image = image ; return this ; }
21
+ }
Original file line number Diff line number Diff line change
1
+ package com .notificationapi .model ;
2
+
3
+ import com .fasterxml .jackson .annotation .JsonInclude ;
4
+ import com .fasterxml .jackson .annotation .JsonProperty ;
5
+
6
+ @ JsonInclude (JsonInclude .Include .NON_NULL )
7
+ public class MobilePushOptions {
8
+ @ JsonProperty ("title" )
9
+ private String title ;
10
+ @ JsonProperty ("message" )
11
+ private String message ;
12
+
13
+ public String getTitle () { return title ; }
14
+ public MobilePushOptions setTitle (String title ) { this .title = title ; return this ; }
15
+ public String getMessage () { return message ; }
16
+ public MobilePushOptions setMessage (String message ) { this .message = message ; return this ; }
17
+ }
You can’t perform that action at this time.
0 commit comments