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