|
10 | 10 | * Do not edit the class manually. |
11 | 11 | */ |
12 | 12 |
|
13 | | -package cloud.stackit.sdk.sfs.v1api; |
| 13 | +package cloud.stackit.sdk.sfs; |
14 | 14 |
|
15 | 15 | import com.google.gson.Gson; |
16 | 16 | import com.google.gson.GsonBuilder; |
@@ -96,142 +96,132 @@ private static Class getClassByDiscriminator( |
96 | 96 | gsonBuilder.registerTypeAdapter(LocalDate.class, localDateTypeAdapter); |
97 | 97 | gsonBuilder.registerTypeAdapter(byte[].class, byteArrayAdapter); |
98 | 98 | gsonBuilder.registerTypeAdapterFactory( |
99 | | - new cloud.stackit.sdk.sfs.v1api.model.CreateResourcePoolPayload |
| 99 | + new cloud.stackit.sdk.sfs.model.CreateResourcePoolPayload |
100 | 100 | .CustomTypeAdapterFactory()); |
101 | 101 | gsonBuilder.registerTypeAdapterFactory( |
102 | | - new cloud.stackit.sdk.sfs.v1api.model.CreateResourcePoolResponse |
| 102 | + new cloud.stackit.sdk.sfs.model.CreateResourcePoolResponse |
103 | 103 | .CustomTypeAdapterFactory()); |
104 | 104 | gsonBuilder.registerTypeAdapterFactory( |
105 | | - new cloud.stackit.sdk.sfs.v1api.model.CreateResourcePoolSnapshotPayload |
| 105 | + new cloud.stackit.sdk.sfs.model.CreateResourcePoolSnapshotPayload |
106 | 106 | .CustomTypeAdapterFactory()); |
107 | 107 | gsonBuilder.registerTypeAdapterFactory( |
108 | | - new cloud.stackit.sdk.sfs.v1api.model.CreateResourcePoolSnapshotResponse |
| 108 | + new cloud.stackit.sdk.sfs.model.CreateResourcePoolSnapshotResponse |
109 | 109 | .CustomTypeAdapterFactory()); |
110 | 110 | gsonBuilder.registerTypeAdapterFactory( |
111 | | - new cloud.stackit.sdk.sfs.v1api.model.CreateShareExportPolicyPayload |
| 111 | + new cloud.stackit.sdk.sfs.model.CreateShareExportPolicyPayload |
112 | 112 | .CustomTypeAdapterFactory()); |
113 | 113 | gsonBuilder.registerTypeAdapterFactory( |
114 | | - new cloud.stackit.sdk.sfs.v1api.model.CreateShareExportPolicyRequestRule |
| 114 | + new cloud.stackit.sdk.sfs.model.CreateShareExportPolicyRequestRule |
115 | 115 | .CustomTypeAdapterFactory()); |
116 | 116 | gsonBuilder.registerTypeAdapterFactory( |
117 | | - new cloud.stackit.sdk.sfs.v1api.model.CreateShareExportPolicyResponse |
| 117 | + new cloud.stackit.sdk.sfs.model.CreateShareExportPolicyResponse |
118 | 118 | .CustomTypeAdapterFactory()); |
119 | 119 | gsonBuilder.registerTypeAdapterFactory( |
120 | | - new cloud.stackit.sdk.sfs.v1api.model.CreateSharePayload |
121 | | - .CustomTypeAdapterFactory()); |
| 120 | + new cloud.stackit.sdk.sfs.model.CreateSharePayload.CustomTypeAdapterFactory()); |
122 | 121 | gsonBuilder.registerTypeAdapterFactory( |
123 | | - new cloud.stackit.sdk.sfs.v1api.model.CreateShareResponse |
124 | | - .CustomTypeAdapterFactory()); |
| 122 | + new cloud.stackit.sdk.sfs.model.CreateShareResponse.CustomTypeAdapterFactory()); |
125 | 123 | gsonBuilder.registerTypeAdapterFactory( |
126 | | - new cloud.stackit.sdk.sfs.v1api.model.EnableLockResponse |
127 | | - .CustomTypeAdapterFactory()); |
| 124 | + new cloud.stackit.sdk.sfs.model.EnableLockResponse.CustomTypeAdapterFactory()); |
128 | 125 | gsonBuilder.registerTypeAdapterFactory( |
129 | | - new cloud.stackit.sdk.sfs.v1api.model.Error.CustomTypeAdapterFactory()); |
| 126 | + new cloud.stackit.sdk.sfs.model.Error.CustomTypeAdapterFactory()); |
130 | 127 | gsonBuilder.registerTypeAdapterFactory( |
131 | | - new cloud.stackit.sdk.sfs.v1api.model.GetLockResponse.CustomTypeAdapterFactory()); |
| 128 | + new cloud.stackit.sdk.sfs.model.GetLockResponse.CustomTypeAdapterFactory()); |
132 | 129 | gsonBuilder.registerTypeAdapterFactory( |
133 | | - new cloud.stackit.sdk.sfs.v1api.model.GetResourcePoolResponse |
134 | | - .CustomTypeAdapterFactory()); |
| 130 | + new cloud.stackit.sdk.sfs.model.GetResourcePoolResponse.CustomTypeAdapterFactory()); |
135 | 131 | gsonBuilder.registerTypeAdapterFactory( |
136 | | - new cloud.stackit.sdk.sfs.v1api.model.GetResourcePoolSnapshotResponse |
| 132 | + new cloud.stackit.sdk.sfs.model.GetResourcePoolSnapshotResponse |
137 | 133 | .CustomTypeAdapterFactory()); |
138 | 134 | gsonBuilder.registerTypeAdapterFactory( |
139 | | - new cloud.stackit.sdk.sfs.v1api.model.GetScheduleResponse |
140 | | - .CustomTypeAdapterFactory()); |
| 135 | + new cloud.stackit.sdk.sfs.model.GetScheduleResponse.CustomTypeAdapterFactory()); |
141 | 136 | gsonBuilder.registerTypeAdapterFactory( |
142 | | - new cloud.stackit.sdk.sfs.v1api.model.GetShareExportPolicyResponse |
| 137 | + new cloud.stackit.sdk.sfs.model.GetShareExportPolicyResponse |
143 | 138 | .CustomTypeAdapterFactory()); |
144 | 139 | gsonBuilder.registerTypeAdapterFactory( |
145 | | - new cloud.stackit.sdk.sfs.v1api.model.GetShareResponse.CustomTypeAdapterFactory()); |
| 140 | + new cloud.stackit.sdk.sfs.model.GetShareResponse.CustomTypeAdapterFactory()); |
146 | 141 | gsonBuilder.registerTypeAdapterFactory( |
147 | | - new cloud.stackit.sdk.sfs.v1api.model.GetSnapshotPolicyResponse |
| 142 | + new cloud.stackit.sdk.sfs.model.GetSnapshotPolicyResponse |
148 | 143 | .CustomTypeAdapterFactory()); |
149 | 144 | gsonBuilder.registerTypeAdapterFactory( |
150 | | - new cloud.stackit.sdk.sfs.v1api.model.GoogleProtobufAny.CustomTypeAdapterFactory()); |
| 145 | + new cloud.stackit.sdk.sfs.model.GoogleProtobufAny.CustomTypeAdapterFactory()); |
151 | 146 | gsonBuilder.registerTypeAdapterFactory( |
152 | | - new cloud.stackit.sdk.sfs.v1api.model.ListPerformanceClassesResponse |
| 147 | + new cloud.stackit.sdk.sfs.model.ListPerformanceClassesResponse |
153 | 148 | .CustomTypeAdapterFactory()); |
154 | 149 | gsonBuilder.registerTypeAdapterFactory( |
155 | | - new cloud.stackit.sdk.sfs.v1api.model.ListResourcePoolSnapshotsResponse |
| 150 | + new cloud.stackit.sdk.sfs.model.ListResourcePoolSnapshotsResponse |
156 | 151 | .CustomTypeAdapterFactory()); |
157 | 152 | gsonBuilder.registerTypeAdapterFactory( |
158 | | - new cloud.stackit.sdk.sfs.v1api.model.ListResourcePoolsResponse |
| 153 | + new cloud.stackit.sdk.sfs.model.ListResourcePoolsResponse |
159 | 154 | .CustomTypeAdapterFactory()); |
160 | 155 | gsonBuilder.registerTypeAdapterFactory( |
161 | | - new cloud.stackit.sdk.sfs.v1api.model.ListSchedulesResponse |
162 | | - .CustomTypeAdapterFactory()); |
| 156 | + new cloud.stackit.sdk.sfs.model.ListSchedulesResponse.CustomTypeAdapterFactory()); |
163 | 157 | gsonBuilder.registerTypeAdapterFactory( |
164 | | - new cloud.stackit.sdk.sfs.v1api.model.ListShareExportPoliciesResponse |
| 158 | + new cloud.stackit.sdk.sfs.model.ListShareExportPoliciesResponse |
165 | 159 | .CustomTypeAdapterFactory()); |
166 | 160 | gsonBuilder.registerTypeAdapterFactory( |
167 | | - new cloud.stackit.sdk.sfs.v1api.model.ListSharesResponse |
168 | | - .CustomTypeAdapterFactory()); |
| 161 | + new cloud.stackit.sdk.sfs.model.ListSharesResponse.CustomTypeAdapterFactory()); |
169 | 162 | gsonBuilder.registerTypeAdapterFactory( |
170 | | - new cloud.stackit.sdk.sfs.v1api.model.ListSnapshotPoliciesResponse |
| 163 | + new cloud.stackit.sdk.sfs.model.ListSnapshotPoliciesResponse |
171 | 164 | .CustomTypeAdapterFactory()); |
172 | 165 | gsonBuilder.registerTypeAdapterFactory( |
173 | | - new cloud.stackit.sdk.sfs.v1api.model.PerformanceClass.CustomTypeAdapterFactory()); |
| 166 | + new cloud.stackit.sdk.sfs.model.PerformanceClass.CustomTypeAdapterFactory()); |
174 | 167 | gsonBuilder.registerTypeAdapterFactory( |
175 | | - new cloud.stackit.sdk.sfs.v1api.model.ResourcePool.CustomTypeAdapterFactory()); |
| 168 | + new cloud.stackit.sdk.sfs.model.ResourcePool.CustomTypeAdapterFactory()); |
176 | 169 | gsonBuilder.registerTypeAdapterFactory( |
177 | | - new cloud.stackit.sdk.sfs.v1api.model.ResourcePoolPerformanceClass |
| 170 | + new cloud.stackit.sdk.sfs.model.ResourcePoolPerformanceClass |
178 | 171 | .CustomTypeAdapterFactory()); |
179 | 172 | gsonBuilder.registerTypeAdapterFactory( |
180 | | - new cloud.stackit.sdk.sfs.v1api.model.ResourcePoolSnapshot |
181 | | - .CustomTypeAdapterFactory()); |
| 173 | + new cloud.stackit.sdk.sfs.model.ResourcePoolSnapshot.CustomTypeAdapterFactory()); |
182 | 174 | gsonBuilder.registerTypeAdapterFactory( |
183 | | - new cloud.stackit.sdk.sfs.v1api.model.ResourcePoolSnapshotPolicy |
| 175 | + new cloud.stackit.sdk.sfs.model.ResourcePoolSnapshotPolicy |
184 | 176 | .CustomTypeAdapterFactory()); |
185 | 177 | gsonBuilder.registerTypeAdapterFactory( |
186 | | - new cloud.stackit.sdk.sfs.v1api.model.ResourcePoolSpace.CustomTypeAdapterFactory()); |
| 178 | + new cloud.stackit.sdk.sfs.model.ResourcePoolSpace.CustomTypeAdapterFactory()); |
187 | 179 | gsonBuilder.registerTypeAdapterFactory( |
188 | | - new cloud.stackit.sdk.sfs.v1api.model.Schedule.CustomTypeAdapterFactory()); |
| 180 | + new cloud.stackit.sdk.sfs.model.Schedule.CustomTypeAdapterFactory()); |
189 | 181 | gsonBuilder.registerTypeAdapterFactory( |
190 | | - new cloud.stackit.sdk.sfs.v1api.model.Share.CustomTypeAdapterFactory()); |
| 182 | + new cloud.stackit.sdk.sfs.model.Share.CustomTypeAdapterFactory()); |
191 | 183 | gsonBuilder.registerTypeAdapterFactory( |
192 | | - new cloud.stackit.sdk.sfs.v1api.model.ShareExportPolicy.CustomTypeAdapterFactory()); |
| 184 | + new cloud.stackit.sdk.sfs.model.ShareExportPolicy.CustomTypeAdapterFactory()); |
193 | 185 | gsonBuilder.registerTypeAdapterFactory( |
194 | | - new cloud.stackit.sdk.sfs.v1api.model.ShareExportPolicyRule |
195 | | - .CustomTypeAdapterFactory()); |
| 186 | + new cloud.stackit.sdk.sfs.model.ShareExportPolicyRule.CustomTypeAdapterFactory()); |
| 187 | + gsonBuilder.registerTypeAdapterFactory( |
| 188 | + new cloud.stackit.sdk.sfs.model.SnapshotPolicy.CustomTypeAdapterFactory()); |
196 | 189 | gsonBuilder.registerTypeAdapterFactory( |
197 | | - new cloud.stackit.sdk.sfs.v1api.model.SnapshotPolicy.CustomTypeAdapterFactory()); |
| 190 | + new cloud.stackit.sdk.sfs.model.SnapshotPolicySchedule.CustomTypeAdapterFactory()); |
198 | 191 | gsonBuilder.registerTypeAdapterFactory( |
199 | | - new cloud.stackit.sdk.sfs.v1api.model.SnapshotPolicySchedule |
| 192 | + new cloud.stackit.sdk.sfs.model.SnapshotPolicySnapshotPolicySchedule |
200 | 193 | .CustomTypeAdapterFactory()); |
201 | 194 | gsonBuilder.registerTypeAdapterFactory( |
202 | | - new cloud.stackit.sdk.sfs.v1api.model.Status.CustomTypeAdapterFactory()); |
| 195 | + new cloud.stackit.sdk.sfs.model.Status.CustomTypeAdapterFactory()); |
203 | 196 | gsonBuilder.registerTypeAdapterFactory( |
204 | | - new cloud.stackit.sdk.sfs.v1api.model.UpdateResourcePoolPayload |
| 197 | + new cloud.stackit.sdk.sfs.model.UpdateResourcePoolPayload |
205 | 198 | .CustomTypeAdapterFactory()); |
206 | 199 | gsonBuilder.registerTypeAdapterFactory( |
207 | | - new cloud.stackit.sdk.sfs.v1api.model.UpdateResourcePoolResponse |
| 200 | + new cloud.stackit.sdk.sfs.model.UpdateResourcePoolResponse |
208 | 201 | .CustomTypeAdapterFactory()); |
209 | 202 | gsonBuilder.registerTypeAdapterFactory( |
210 | | - new cloud.stackit.sdk.sfs.v1api.model.UpdateResourcePoolSnapshotPayload |
| 203 | + new cloud.stackit.sdk.sfs.model.UpdateResourcePoolSnapshotPayload |
211 | 204 | .CustomTypeAdapterFactory()); |
212 | 205 | gsonBuilder.registerTypeAdapterFactory( |
213 | | - new cloud.stackit.sdk.sfs.v1api.model.UpdateResourcePoolSnapshotResponse |
| 206 | + new cloud.stackit.sdk.sfs.model.UpdateResourcePoolSnapshotResponse |
214 | 207 | .CustomTypeAdapterFactory()); |
215 | 208 | gsonBuilder.registerTypeAdapterFactory( |
216 | | - new cloud.stackit.sdk.sfs.v1api.model.UpdateShareExportPolicyBodyRule |
| 209 | + new cloud.stackit.sdk.sfs.model.UpdateShareExportPolicyBodyRule |
217 | 210 | .CustomTypeAdapterFactory()); |
218 | 211 | gsonBuilder.registerTypeAdapterFactory( |
219 | | - new cloud.stackit.sdk.sfs.v1api.model.UpdateShareExportPolicyPayload |
| 212 | + new cloud.stackit.sdk.sfs.model.UpdateShareExportPolicyPayload |
220 | 213 | .CustomTypeAdapterFactory()); |
221 | 214 | gsonBuilder.registerTypeAdapterFactory( |
222 | | - new cloud.stackit.sdk.sfs.v1api.model.UpdateShareExportPolicyResponse |
| 215 | + new cloud.stackit.sdk.sfs.model.UpdateShareExportPolicyResponse |
223 | 216 | .CustomTypeAdapterFactory()); |
224 | 217 | gsonBuilder.registerTypeAdapterFactory( |
225 | | - new cloud.stackit.sdk.sfs.v1api.model.UpdateSharePayload |
226 | | - .CustomTypeAdapterFactory()); |
| 218 | + new cloud.stackit.sdk.sfs.model.UpdateSharePayload.CustomTypeAdapterFactory()); |
227 | 219 | gsonBuilder.registerTypeAdapterFactory( |
228 | | - new cloud.stackit.sdk.sfs.v1api.model.UpdateShareResponse |
229 | | - .CustomTypeAdapterFactory()); |
| 220 | + new cloud.stackit.sdk.sfs.model.UpdateShareResponse.CustomTypeAdapterFactory()); |
230 | 221 | gsonBuilder.registerTypeAdapterFactory( |
231 | | - new cloud.stackit.sdk.sfs.v1api.model.ValidationError.CustomTypeAdapterFactory()); |
| 222 | + new cloud.stackit.sdk.sfs.model.ValidationError.CustomTypeAdapterFactory()); |
232 | 223 | gsonBuilder.registerTypeAdapterFactory( |
233 | | - new cloud.stackit.sdk.sfs.v1api.model.ValidationErrorField |
234 | | - .CustomTypeAdapterFactory()); |
| 224 | + new cloud.stackit.sdk.sfs.model.ValidationErrorField.CustomTypeAdapterFactory()); |
235 | 225 | gson = gsonBuilder.create(); |
236 | 226 | } |
237 | 227 |
|
|
0 commit comments