Skip to content

Commit efe3abc

Browse files
SWI-4587
1 parent 728aedb commit efe3abc

17 files changed

+21
-15
lines changed

openapi-config.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,3 +12,4 @@ apiPackage: com.bandwidth.sdk.api
1212
modelPackage: com.bandwidth.sdk.model
1313
library: okhttp-gson
1414
licenseName: MIT
15+
useEnumCaseInsensitive: true

src/main/java/com/bandwidth/sdk/model/CallDirectionEnum.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ public String toString() {
5050

5151
public static CallDirectionEnum fromValue(String value) {
5252
for (CallDirectionEnum b : CallDirectionEnum.values()) {
53-
if (b.value.equals(value)) {
53+
if (b.value.equalsIgnoreCase(value)) {
5454
return b;
5555
}
5656
}

src/main/java/com/bandwidth/sdk/model/CallStateEnum.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ public String toString() {
5050

5151
public static CallStateEnum fromValue(String value) {
5252
for (CallStateEnum b : CallStateEnum.values()) {
53-
if (b.value.equals(value)) {
53+
if (b.value.equalsIgnoreCase(value)) {
5454
return b;
5555
}
5656
}

src/main/java/com/bandwidth/sdk/model/CallbackMethodEnum.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ public String toString() {
5050

5151
public static CallbackMethodEnum fromValue(String value) {
5252
for (CallbackMethodEnum b : CallbackMethodEnum.values()) {
53-
if (b.value.equals(value)) {
53+
if (b.value.equalsIgnoreCase(value)) {
5454
return b;
5555
}
5656
}

src/main/java/com/bandwidth/sdk/model/ConferenceStateEnum.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ public String toString() {
5050

5151
public static ConferenceStateEnum fromValue(String value) {
5252
for (ConferenceStateEnum b : ConferenceStateEnum.values()) {
53-
if (b.value.equals(value)) {
53+
if (b.value.equalsIgnoreCase(value)) {
5454
return b;
5555
}
5656
}

src/main/java/com/bandwidth/sdk/model/FileFormatEnum.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ public String toString() {
5050

5151
public static FileFormatEnum fromValue(String value) {
5252
for (FileFormatEnum b : FileFormatEnum.values()) {
53-
if (b.value.equals(value)) {
53+
if (b.value.equalsIgnoreCase(value)) {
5454
return b;
5555
}
5656
}

src/main/java/com/bandwidth/sdk/model/ListMessageDirectionEnum.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ public String toString() {
5050

5151
public static ListMessageDirectionEnum fromValue(String value) {
5252
for (ListMessageDirectionEnum b : ListMessageDirectionEnum.values()) {
53-
if (b.value.equals(value)) {
53+
if (b.value.equalsIgnoreCase(value)) {
5454
return b;
5555
}
5656
}

src/main/java/com/bandwidth/sdk/model/LookupStatusEnum.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ public String toString() {
5454

5555
public static LookupStatusEnum fromValue(String value) {
5656
for (LookupStatusEnum b : LookupStatusEnum.values()) {
57-
if (b.value.equals(value)) {
57+
if (b.value.equalsIgnoreCase(value)) {
5858
return b;
5959
}
6060
}

src/main/java/com/bandwidth/sdk/model/MachineDetectionModeEnum.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ public String toString() {
5050

5151
public static MachineDetectionModeEnum fromValue(String value) {
5252
for (MachineDetectionModeEnum b : MachineDetectionModeEnum.values()) {
53-
if (b.value.equals(value)) {
53+
if (b.value.equalsIgnoreCase(value)) {
5454
return b;
5555
}
5656
}

src/main/java/com/bandwidth/sdk/model/MessageDirectionEnum.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ public String toString() {
5050

5151
public static MessageDirectionEnum fromValue(String value) {
5252
for (MessageDirectionEnum b : MessageDirectionEnum.values()) {
53-
if (b.value.equals(value)) {
53+
if (b.value.equalsIgnoreCase(value)) {
5454
return b;
5555
}
5656
}

0 commit comments

Comments
 (0)