diff --git a/README.md b/README.md
index dca535c1..e35def7d 100644
--- a/README.md
+++ b/README.md
@@ -40,7 +40,7 @@ Add this dependency to your project's POM:
com.bandwidth.sdk
bandwidth-sdk
- 9.1.3
+ 9.1.4
compile
```
@@ -56,7 +56,7 @@ Add this dependency to your project's build file:
}
dependencies {
- implementation "com.bandwidth.sdk:bandwidth-sdk:9.1.3"
+ implementation "com.bandwidth.sdk:bandwidth-sdk:9.1.4"
}
```
@@ -70,7 +70,7 @@ mvn clean package
Then manually install the following JARs:
-* `target/bandwidth-sdk-9.1.3.jar`
+* `target/bandwidth-sdk-9.1.4.jar`
* `target/lib/*.jar`
## Getting Started
diff --git a/build.gradle b/build.gradle
index 95395e46..107ec296 100644
--- a/build.gradle
+++ b/build.gradle
@@ -4,7 +4,7 @@ apply plugin: 'java'
apply plugin: 'com.diffplug.spotless'
group = 'com.bandwidth.sdk'
-version = '9.1.3'
+version = '9.1.4'
buildscript {
repositories {
diff --git a/build.sbt b/build.sbt
index 87399cf3..6fd82031 100644
--- a/build.sbt
+++ b/build.sbt
@@ -2,7 +2,7 @@ lazy val root = (project in file(".")).
settings(
organization := "com.bandwidth.sdk",
name := "bandwidth-sdk",
- version := "9.1.3",
+ version := "9.1.4",
scalaVersion := "2.11.4",
scalacOptions ++= Seq("-feature"),
javacOptions in compile ++= Seq("-Xlint:deprecation"),
diff --git a/openapi-config.yml b/openapi-config.yml
index 2241a785..094ac3b1 100644
--- a/openapi-config.yml
+++ b/openapi-config.yml
@@ -1,5 +1,5 @@
artifactId: bandwidth-sdk
-artifactVersion: 9.1.3
+artifactVersion: 9.1.4
artifactDescription: The official client SDK for Bandwidth's Voice, Messaging, MFA, and WebRTC APIs
artifactUrl: https://github.com/Bandwidth/java-sdk
developerEmail: dx@bandwidth.com
diff --git a/pom.xml b/pom.xml
index f99cb001..ce851964 100644
--- a/pom.xml
+++ b/pom.xml
@@ -6,7 +6,7 @@
bandwidth-sdk
jar
bandwidth-sdk
- 9.1.3
+ 9.1.4
https://github.com/Bandwidth/java-sdk
The official client SDK for Bandwidth's Voice, Messaging, MFA, and WebRTC APIs
@@ -89,7 +89,7 @@
org.apache.maven.plugins
maven-surefire-plugin
- 2.22.2
+ 3.2.5
@@ -409,7 +409,7 @@
0.2.3
1.3.5
- 5.8.2
+ 5.9.1
1.6.2
3.12.4
diff --git a/src/main/java/com/bandwidth/sdk/ApiClient.java b/src/main/java/com/bandwidth/sdk/ApiClient.java
index a36ef153..a714adbe 100644
--- a/src/main/java/com/bandwidth/sdk/ApiClient.java
+++ b/src/main/java/com/bandwidth/sdk/ApiClient.java
@@ -141,7 +141,7 @@ private void init() {
json = new JSON();
// Set default User-Agent.
- setUserAgent("OpenAPI-Generator/9.1.3/java");
+ setUserAgent("OpenAPI-Generator/9.1.4/java");
authentications = new HashMap();
}
diff --git a/src/main/java/com/bandwidth/sdk/Configuration.java b/src/main/java/com/bandwidth/sdk/Configuration.java
index 3a5abc80..a2050f6a 100644
--- a/src/main/java/com/bandwidth/sdk/Configuration.java
+++ b/src/main/java/com/bandwidth/sdk/Configuration.java
@@ -15,7 +15,7 @@
@javax.annotation.Generated(value = "org.openapitools.codegen.languages.JavaClientCodegen")
public class Configuration {
- public static final String VERSION = "9.1.3";
+ public static final String VERSION = "9.1.4";
private static ApiClient defaultApiClient = new ApiClient();
diff --git a/src/main/java/com/bandwidth/sdk/model/DiversionReason.java b/src/main/java/com/bandwidth/sdk/model/DiversionReason.java
index 8af30ae8..49b7c9a8 100644
--- a/src/main/java/com/bandwidth/sdk/model/DiversionReason.java
+++ b/src/main/java/com/bandwidth/sdk/model/DiversionReason.java
@@ -10,17 +10,17 @@
@Getter
public enum DiversionReason {
- AWAY("away"),
- DEFLECTION("deflection"),
- DO_NOT_DISTURB("do-not-disturb"),
- FOLLOW_ME("follow-me"),
- NO_ANSWER("no-answer"),
- OUT_OF_SERVICE("out-of-service"),
- TIME_OF_DAY("time-of-day"),
- UNAVAILABLE("unavailable"),
- UNCONDITIONAL("unconditional"),
- UNKNOWN("unknown"),
- USER_BUSY("user-busy"),
+ away("away"),
+ deflection("deflection"),
+ do_not_disturb("do-not-disturb"),
+ follow_me("follow-me"),
+ no_answer("no-answer"),
+ out_of_service("out-of-service"),
+ time_of_day("time-of-day"),
+ unavailable("unavailable"),
+ unconditional("unconditional"),
+ unknown("unknown"),
+ user_busy("user-busy"),
;
private static final Map DESERIALIZATION_MAP =
diff --git a/src/main/java/com/bandwidth/sdk/model/DiversionTreatment.java b/src/main/java/com/bandwidth/sdk/model/DiversionTreatment.java
index 684666d1..ffe39616 100644
--- a/src/main/java/com/bandwidth/sdk/model/DiversionTreatment.java
+++ b/src/main/java/com/bandwidth/sdk/model/DiversionTreatment.java
@@ -10,9 +10,9 @@
@Getter
public enum DiversionTreatment {
- NONE("none"),
- PROPAGATE("propagate"),
- STACK("stack"),
+ none("none"),
+ propagate("propagate"),
+ stack("stack"),
;
private static final Map DESERIALIZATION_MAP =
diff --git a/src/main/java/com/bandwidth/sdk/model/bxml/Forward.java b/src/main/java/com/bandwidth/sdk/model/bxml/Forward.java
index aebea3bd..8ee5389c 100644
--- a/src/main/java/com/bandwidth/sdk/model/bxml/Forward.java
+++ b/src/main/java/com/bandwidth/sdk/model/bxml/Forward.java
@@ -73,11 +73,11 @@ public class Forward implements Verb {
@XmlAttribute
@Builder.Default
- private DiversionTreatment diversionTreatment = DiversionTreatment.NONE;
+ private DiversionTreatment diversionTreatment = DiversionTreatment.none;
@XmlAttribute
@Builder.Default
- private DiversionReason diversionReason = DiversionReason.UNKNOWN;
+ private DiversionReason diversionReason = DiversionReason.unknown;
@Override
public String getVerbName() {
diff --git a/src/main/java/com/bandwidth/sdk/model/bxml/Transfer.java b/src/main/java/com/bandwidth/sdk/model/bxml/Transfer.java
index 4a93bd7e..d8eb49ca 100644
--- a/src/main/java/com/bandwidth/sdk/model/bxml/Transfer.java
+++ b/src/main/java/com/bandwidth/sdk/model/bxml/Transfer.java
@@ -122,11 +122,11 @@ public class Transfer implements Verb {
@XmlAttribute
@Default
- protected DiversionTreatment diversionTreatment = DiversionTreatment.NONE;
+ protected DiversionTreatment diversionTreatment = DiversionTreatment.none;
@XmlAttribute
@Default
- protected DiversionReason diversionReason = DiversionReason.UNKNOWN;
+ protected DiversionReason diversionReason = DiversionReason.unknown;
@Override
public String getVerbName() {
diff --git a/src/test/java/com/bandwidth/sdk/model/unit/bxml/ForwardVerbTest.java b/src/test/java/com/bandwidth/sdk/model/unit/bxml/ForwardVerbTest.java
index 596d1125..1b1a8710 100644
--- a/src/test/java/com/bandwidth/sdk/model/unit/bxml/ForwardVerbTest.java
+++ b/src/test/java/com/bandwidth/sdk/model/unit/bxml/ForwardVerbTest.java
@@ -29,15 +29,15 @@ public class ForwardVerbTest {
.to("+19195554321")
.from("19195554322")
.callTimeout(15d)
- .diversionTreatment(DiversionTreatment.PROPAGATE)
- .diversionReason(DiversionReason.AWAY)
+ .diversionTreatment(DiversionTreatment.propagate)
+ .diversionReason(DiversionReason.away)
.uui("93d6f3c0be5845960b744fa28015d8ede84bd1a4;encoding=base64,asdf;encoding=jwt")
.build();
@Test
public void forwardVerbWorks() throws JAXBException {
JAXBContext jaxbContext = JAXBContext.newInstance(Bxml.class);
- String expectedBxml = "";
+ String expectedBxml = "";
assertThat(new Bxml().with(forward).toBxml(jaxbContext), is(expectedBxml));
}
diff --git a/src/test/java/com/bandwidth/sdk/model/unit/bxml/StartTranscriptionVerbTest.java b/src/test/java/com/bandwidth/sdk/model/unit/bxml/StartTranscriptionVerbTest.java
index d4a8be72..ea051ecf 100644
--- a/src/test/java/com/bandwidth/sdk/model/unit/bxml/StartTranscriptionVerbTest.java
+++ b/src/test/java/com/bandwidth/sdk/model/unit/bxml/StartTranscriptionVerbTest.java
@@ -50,7 +50,7 @@ public class StartTranscriptionVerbTest {
@Test
public void startTranscriptionVerbWorks() throws JAXBException {
JAXBContext jaxbContext = JAXBContext.newInstance(Bxml.class);
- String expectedBxml = "";
+ String expectedBxml = "";
assertThat(new Bxml().with(startTranscription).toBxml(jaxbContext), is(expectedBxml));
}
diff --git a/src/test/java/com/bandwidth/sdk/model/unit/bxml/TransferVerbTest.java b/src/test/java/com/bandwidth/sdk/model/unit/bxml/TransferVerbTest.java
index ddfe5013..6ae55d73 100644
--- a/src/test/java/com/bandwidth/sdk/model/unit/bxml/TransferVerbTest.java
+++ b/src/test/java/com/bandwidth/sdk/model/unit/bxml/TransferVerbTest.java
@@ -57,8 +57,8 @@ public class TransferVerbTest {
@Test
public void transferVerbWorks() throws JAXBException {
JAXBContext jaxbContext = JAXBContext.newInstance(Bxml.class);
- String expectedSipUriBxml = "sip@bw.com";
- String expectedPhoneNumberBxml = "+19195551234";
+ String expectedSipUriBxml = "sip@bw.com";
+ String expectedPhoneNumberBxml = "+19195551234"; //
assertThat(new Bxml().with(transfer1).toBxml(jaxbContext), is(expectedSipUriBxml));
assertThat(new Bxml().with(transfer2).toBxml(jaxbContext), is(expectedPhoneNumberBxml));