Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,9 @@ public enum LifecycleState {

DELETING("DELETING"),

INACTIVE("INACTIVE");
INACTIVE("INACTIVE"),

UNKNOWN_DEFAULT_OPEN_API("unknown_default_open_api");

private String value;

Expand All @@ -58,7 +60,7 @@ public static LifecycleState fromValue(String value) {
return b;
}
}
throw new IllegalArgumentException("Unexpected value '" + value + "'");
return UNKNOWN_DEFAULT_OPEN_API;
}

public static class Adapter extends TypeAdapter<LifecycleState> {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,9 @@ public class Parent {
public enum TypeEnum {
ORGANIZATION("ORGANIZATION"),

FOLDER("FOLDER");
FOLDER("FOLDER"),

UNKNOWN_DEFAULT_OPEN_API("unknown_default_open_api");

private String value;

Expand All @@ -91,7 +93,7 @@ public static TypeEnum fromValue(String value) {
return b;
}
}
throw new IllegalArgumentException("Unexpected value '" + value + "'");
return UNKNOWN_DEFAULT_OPEN_API;
}

public static class Adapter extends TypeAdapter<TypeEnum> {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,9 @@ public class ParentListInner {
public enum TypeEnum {
FOLDER("FOLDER"),

ORGANIZATION("ORGANIZATION");
ORGANIZATION("ORGANIZATION"),

UNKNOWN_DEFAULT_OPEN_API("unknown_default_open_api");

private String value;

Expand All @@ -106,7 +108,7 @@ public static TypeEnum fromValue(String value) {
return b;
}
}
throw new IllegalArgumentException("Unexpected value '" + value + "'");
return UNKNOWN_DEFAULT_OPEN_API;
}

public static class Adapter extends TypeAdapter<TypeEnum> {
Expand Down