File tree Expand file tree Collapse file tree 3 files changed +12
-6
lines changed
services/resourcemanager/src/main/java/cloud/stackit/sdk/resourcemanager/model Expand file tree Collapse file tree 3 files changed +12
-6
lines changed Original file line number Diff line number Diff line change @@ -35,7 +35,9 @@ public enum LifecycleState {
3535
3636 DELETING ("DELETING" ),
3737
38- INACTIVE ("INACTIVE" );
38+ INACTIVE ("INACTIVE" ),
39+
40+ UNKNOWN_DEFAULT_OPEN_API ("unknown_default_open_api" );
3941
4042 private String value ;
4143
@@ -58,7 +60,7 @@ public static LifecycleState fromValue(String value) {
5860 return b ;
5961 }
6062 }
61- throw new IllegalArgumentException ( "Unexpected value '" + value + "'" ) ;
63+ return UNKNOWN_DEFAULT_OPEN_API ;
6264 }
6365
6466 public static class Adapter extends TypeAdapter <LifecycleState > {
Original file line number Diff line number Diff line change @@ -68,7 +68,9 @@ public class Parent {
6868 public enum TypeEnum {
6969 ORGANIZATION ("ORGANIZATION" ),
7070
71- FOLDER ("FOLDER" );
71+ FOLDER ("FOLDER" ),
72+
73+ UNKNOWN_DEFAULT_OPEN_API ("unknown_default_open_api" );
7274
7375 private String value ;
7476
@@ -91,7 +93,7 @@ public static TypeEnum fromValue(String value) {
9193 return b ;
9294 }
9395 }
94- throw new IllegalArgumentException ( "Unexpected value '" + value + "'" ) ;
96+ return UNKNOWN_DEFAULT_OPEN_API ;
9597 }
9698
9799 public static class Adapter extends TypeAdapter <TypeEnum > {
Original file line number Diff line number Diff line change @@ -83,7 +83,9 @@ public class ParentListInner {
8383 public enum TypeEnum {
8484 FOLDER ("FOLDER" ),
8585
86- ORGANIZATION ("ORGANIZATION" );
86+ ORGANIZATION ("ORGANIZATION" ),
87+
88+ UNKNOWN_DEFAULT_OPEN_API ("unknown_default_open_api" );
8789
8890 private String value ;
8991
@@ -106,7 +108,7 @@ public static TypeEnum fromValue(String value) {
106108 return b ;
107109 }
108110 }
109- throw new IllegalArgumentException ( "Unexpected value '" + value + "'" ) ;
111+ return UNKNOWN_DEFAULT_OPEN_API ;
110112 }
111113
112114 public static class Adapter extends TypeAdapter <TypeEnum > {
You can’t perform that action at this time.
0 commit comments