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 {
35
35
36
36
DELETING ("DELETING" ),
37
37
38
- INACTIVE ("INACTIVE" );
38
+ INACTIVE ("INACTIVE" ),
39
+
40
+ UNKNOWN_DEFAULT_OPEN_API ("unknown_default_open_api" );
39
41
40
42
private String value ;
41
43
@@ -58,7 +60,7 @@ public static LifecycleState fromValue(String value) {
58
60
return b ;
59
61
}
60
62
}
61
- throw new IllegalArgumentException ( "Unexpected value '" + value + "'" ) ;
63
+ return UNKNOWN_DEFAULT_OPEN_API ;
62
64
}
63
65
64
66
public static class Adapter extends TypeAdapter <LifecycleState > {
Original file line number Diff line number Diff line change @@ -68,7 +68,9 @@ public class Parent {
68
68
public enum TypeEnum {
69
69
ORGANIZATION ("ORGANIZATION" ),
70
70
71
- FOLDER ("FOLDER" );
71
+ FOLDER ("FOLDER" ),
72
+
73
+ UNKNOWN_DEFAULT_OPEN_API ("unknown_default_open_api" );
72
74
73
75
private String value ;
74
76
@@ -91,7 +93,7 @@ public static TypeEnum fromValue(String value) {
91
93
return b ;
92
94
}
93
95
}
94
- throw new IllegalArgumentException ( "Unexpected value '" + value + "'" ) ;
96
+ return UNKNOWN_DEFAULT_OPEN_API ;
95
97
}
96
98
97
99
public static class Adapter extends TypeAdapter <TypeEnum > {
Original file line number Diff line number Diff line change @@ -83,7 +83,9 @@ public class ParentListInner {
83
83
public enum TypeEnum {
84
84
FOLDER ("FOLDER" ),
85
85
86
- ORGANIZATION ("ORGANIZATION" );
86
+ ORGANIZATION ("ORGANIZATION" ),
87
+
88
+ UNKNOWN_DEFAULT_OPEN_API ("unknown_default_open_api" );
87
89
88
90
private String value ;
89
91
@@ -106,7 +108,7 @@ public static TypeEnum fromValue(String value) {
106
108
return b ;
107
109
}
108
110
}
109
- throw new IllegalArgumentException ( "Unexpected value '" + value + "'" ) ;
111
+ return UNKNOWN_DEFAULT_OPEN_API ;
110
112
}
111
113
112
114
public static class Adapter extends TypeAdapter <TypeEnum > {
You can’t perform that action at this time.
0 commit comments