Skip to content

Commit c0d9bd8

Browse files
authored
Merge pull request #62 from OneSignal/user-api-updates
Add v5.2.1-beta1 package updates
2 parents 69d6fb1 + c8fbe0a commit c0d9bd8

File tree

77 files changed

+180
-114
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

77 files changed

+180
-114
lines changed

README.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# onesignal-java-client
22

33
OneSignal
4-
- API version: 5.2.0
4+
- API version: 5.2.1
55

66
A powerful way to send personalized messages at scale and build effective customer engagement strategies. Learn more at onesignal.com
77

@@ -30,7 +30,7 @@ Add this dependency to your project's POM:
3030
<dependency>
3131
<groupId>com.onesignal</groupId>
3232
<artifactId>onesignal-java-client</artifactId>
33-
<version>5.2.0</version>
33+
<version>5.2.1</version>
3434
<scope>compile</scope>
3535
</dependency>
3636
```
@@ -41,7 +41,7 @@ Add this dependency to your project's build file:
4141

4242
```groovy
4343
dependencies {
44-
implementation "com.onesignal:onesignal-java-client:5.2.0"
44+
implementation "com.onesignal:onesignal-java-client:5.2.1"
4545
}
4646
```
4747

@@ -62,7 +62,7 @@ repositories {
6262
}
6363
6464
dependencies {
65-
implementation "com.onesignal:onesignal-java-client:5.2.0"
65+
implementation "com.onesignal:onesignal-java-client:5.2.1"
6666
}
6767
```
6868

@@ -76,7 +76,7 @@ mvn clean package
7676

7777
Then manually install the following JARs:
7878

79-
* `target/onesignal-java-client-5.2.0.jar`
79+
* `target/onesignal-java-client-5.2.1.jar`
8080
* `target/lib/*.jar`
8181

8282
## Getting Started

api/openapi.yaml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ info:
88
customer engagement strategies. Learn more at onesignal.com
99
termsOfService: https://onesignal.com/tos
1010
title: OneSignal
11-
version: 5.2.0
11+
version: 5.2.1
1212
servers:
1313
- url: https://api.onesignal.com
1414
paths:
@@ -3987,6 +3987,10 @@ components:
39873987
\ details."
39883988
nullable: true
39893989
type: integer
3990+
canceled:
3991+
description: Indicates whether the notification was canceled before it could
3992+
be sent.
3993+
type: boolean
39903994
type: object
39913995
PlatformDeliveryData_sms_allOf:
39923996
properties:

build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ apply plugin: 'com.diffplug.spotless'
55
apply plugin: 'com.vanniktech.maven.publish'
66

77
group = 'com.onesignal'
8-
version = '5.2.0'
8+
version = '5.2.1'
99

1010
buildscript {
1111
repositories {

build.sbt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ lazy val root = (project in file(".")).
22
settings(
33
organization := "com.onesignal",
44
name := "onesignal-java-client",
5-
version := "5.2.0",
5+
version := "5.2.1",
66
scalaVersion := "2.11.4",
77
scalacOptions ++= Seq("-feature"),
88
javacOptions in compile ++= Seq("-Xlint:deprecation"),

docs/NotificationWithMeta.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -126,6 +126,7 @@
126126
|**sendAfter** | **Long** | Unix timestamp indicating when notification delivery should begin. | [optional] |
127127
|**completedAt** | **Long** | Unix timestamp indicating when notification delivery completed. The delivery duration from start to finish can be calculated with completed_at - send_after. | [optional] |
128128
|**platformDeliveryStats** | [**PlatformDeliveryData**](PlatformDeliveryData.md) | | [optional] |
129+
|**canceled** | **Boolean** | Indicates whether the notification was canceled before it could be sent. | [optional] |
129130

130131

131132

docs/NotificationWithMetaAllOf.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@
1818
|**platformDeliveryStats** | [**PlatformDeliveryData**](PlatformDeliveryData.md) | | [optional] |
1919
|**received** | **Integer** | Confirmed Deliveries number of devices that received the push notification. Paid Feature Only. Free accounts will see 0. | [optional] |
2020
|**throttleRatePerMinute** | **Integer** | number of push notifications sent per minute. Paid Feature Only. If throttling is not enabled for the app or the notification, and for free accounts, null is returned. Refer to Throttling for more details. | [optional] |
21+
|**canceled** | **Boolean** | Indicates whether the notification was canceled before it could be sent. | [optional] |
2122

2223

2324

pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
<artifactId>onesignal-java-client</artifactId>
66
<packaging>jar</packaging>
77
<name>onesignal-java-client</name>
8-
<version>5.2.0</version>
8+
<version>5.2.1</version>
99
<url>https://github.com/OneSignal/onesignal-java-api</url>
1010
<description>OneSignal Java API Client</description>
1111
<scm>

src/main/java/com/onesignal/client/ApiCallback.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
* OneSignal
33
* A powerful way to send personalized messages at scale and build effective customer engagement strategies. Learn more at onesignal.com
44
*
5-
* The version of the OpenAPI document: 5.2.0
5+
* The version of the OpenAPI document: 5.2.1
66
* Contact: [email protected]
77
*
88
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).

src/main/java/com/onesignal/client/ApiClient.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
* OneSignal
33
* A powerful way to send personalized messages at scale and build effective customer engagement strategies. Learn more at onesignal.com
44
*
5-
* The version of the OpenAPI document: 5.2.0
5+
* The version of the OpenAPI document: 5.2.1
66
* Contact: [email protected]
77
*
88
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -133,7 +133,7 @@ private void init() {
133133
json = new JSON();
134134

135135
// Set default User-Agent.
136-
setUserAgent("OpenAPI-Generator/5.2.0/java");
136+
setUserAgent("OpenAPI-Generator/5.2.1/java");
137137

138138
authentications = new HashMap<String, Authentication>();
139139
}

src/main/java/com/onesignal/client/ApiException.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
* OneSignal
33
* A powerful way to send personalized messages at scale and build effective customer engagement strategies. Learn more at onesignal.com
44
*
5-
* The version of the OpenAPI document: 5.2.0
5+
* The version of the OpenAPI document: 5.2.1
66
* Contact: [email protected]
77
*
88
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).

0 commit comments

Comments
 (0)