2828 */
2929@ ApiModel (description = "spec defines the desired state of SandboxClaim" )
3030@ javax .annotation .Generated (value = "org.openapitools.codegen.languages.JavaClientCodegen" ,
31- date = "2026-02-05T05:47:28.584Z [Etc/UTC]" )
31+ date = "2026-03-09T07:30:17.307Z [Etc/UTC]" )
3232public class V1alpha1SandboxClaimSpec {
3333 public static final String SERIALIZED_NAME_ANNOTATIONS = "annotations" ;
3434 @ SerializedName (SERIALIZED_NAME_ANNOTATIONS )
@@ -38,10 +38,18 @@ public class V1alpha1SandboxClaimSpec {
3838 @ SerializedName (SERIALIZED_NAME_CLAIM_TIMEOUT )
3939 private String claimTimeout ;
4040
41+ public static final String SERIALIZED_NAME_CREATE_ON_NO_STOCK = "createOnNoStock" ;
42+ @ SerializedName (SERIALIZED_NAME_CREATE_ON_NO_STOCK )
43+ private Boolean createOnNoStock ;
44+
4145 public static final String SERIALIZED_NAME_ENV_VARS = "envVars" ;
4246 @ SerializedName (SERIALIZED_NAME_ENV_VARS )
4347 private Map <String , String > envVars = null ;
4448
49+ public static final String SERIALIZED_NAME_INPLACE_UPDATE = "inplaceUpdate" ;
50+ @ SerializedName (SERIALIZED_NAME_INPLACE_UPDATE )
51+ private V1alpha1InplaceUpdate inplaceUpdate ;
52+
4553 public static final String SERIALIZED_NAME_LABELS = "labels" ;
4654 @ SerializedName (SERIALIZED_NAME_LABELS )
4755 private Map <String , String > labels = null ;
@@ -50,6 +58,10 @@ public class V1alpha1SandboxClaimSpec {
5058 @ SerializedName (SERIALIZED_NAME_REPLICAS )
5159 private Integer replicas ;
5260
61+ public static final String SERIALIZED_NAME_RESERVE_FAILED_SANDBOX = "reserveFailedSandbox" ;
62+ @ SerializedName (SERIALIZED_NAME_RESERVE_FAILED_SANDBOX )
63+ private Boolean reserveFailedSandbox ;
64+
5365 public static final String SERIALIZED_NAME_SHUTDOWN_TIME = "shutdownTime" ;
5466 @ SerializedName (SERIALIZED_NAME_SHUTDOWN_TIME )
5567 private OffsetDateTime shutdownTime ;
@@ -62,6 +74,10 @@ public class V1alpha1SandboxClaimSpec {
6274 @ SerializedName (SERIALIZED_NAME_TTL_AFTER_COMPLETED )
6375 private String ttlAfterCompleted ;
6476
77+ public static final String SERIALIZED_NAME_WAIT_READY_TIMEOUT = "waitReadyTimeout" ;
78+ @ SerializedName (SERIALIZED_NAME_WAIT_READY_TIMEOUT )
79+ private String waitReadyTimeout ;
80+
6581 public V1alpha1SandboxClaimSpec annotations (Map <String , String > annotations ) {
6682
6783 this .annotations = annotations ;
@@ -119,6 +135,28 @@ public void setClaimTimeout(String claimTimeout) {
119135 this .claimTimeout = claimTimeout ;
120136 }
121137
138+ public V1alpha1SandboxClaimSpec createOnNoStock (Boolean createOnNoStock ) {
139+
140+ this .createOnNoStock = createOnNoStock ;
141+ return this ;
142+ }
143+
144+ /**
145+ * CreateOnNoStock allows to create new sandbox if no stock available
146+ *
147+ * @return createOnNoStock
148+ **/
149+ @ javax .annotation .Nullable
150+ @ ApiModelProperty (value = "CreateOnNoStock allows to create new sandbox if no stock available" )
151+
152+ public Boolean getCreateOnNoStock () {
153+ return createOnNoStock ;
154+ }
155+
156+ public void setCreateOnNoStock (Boolean createOnNoStock ) {
157+ this .createOnNoStock = createOnNoStock ;
158+ }
159+
122160 public V1alpha1SandboxClaimSpec envVars (Map <String , String > envVars ) {
123161
124162 this .envVars = envVars ;
@@ -152,6 +190,28 @@ public void setEnvVars(Map<String, String> envVars) {
152190 this .envVars = envVars ;
153191 }
154192
193+ public V1alpha1SandboxClaimSpec inplaceUpdate (V1alpha1InplaceUpdate inplaceUpdate ) {
194+
195+ this .inplaceUpdate = inplaceUpdate ;
196+ return this ;
197+ }
198+
199+ /**
200+ * Get inplaceUpdate
201+ *
202+ * @return inplaceUpdate
203+ **/
204+ @ javax .annotation .Nullable
205+ @ ApiModelProperty (value = "" )
206+
207+ public V1alpha1InplaceUpdate getInplaceUpdate () {
208+ return inplaceUpdate ;
209+ }
210+
211+ public void setInplaceUpdate (V1alpha1InplaceUpdate inplaceUpdate ) {
212+ this .inplaceUpdate = inplaceUpdate ;
213+ }
214+
155215 public V1alpha1SandboxClaimSpec labels (Map <String , String > labels ) {
156216
157217 this .labels = labels ;
@@ -208,6 +268,28 @@ public void setReplicas(Integer replicas) {
208268 this .replicas = replicas ;
209269 }
210270
271+ public V1alpha1SandboxClaimSpec reserveFailedSandbox (Boolean reserveFailedSandbox ) {
272+
273+ this .reserveFailedSandbox = reserveFailedSandbox ;
274+ return this ;
275+ }
276+
277+ /**
278+ * Set ReserveFailedSandbox to true to reserve failed sandboxes
279+ *
280+ * @return reserveFailedSandbox
281+ **/
282+ @ javax .annotation .Nullable
283+ @ ApiModelProperty (value = "Set ReserveFailedSandbox to true to reserve failed sandboxes" )
284+
285+ public Boolean getReserveFailedSandbox () {
286+ return reserveFailedSandbox ;
287+ }
288+
289+ public void setReserveFailedSandbox (Boolean reserveFailedSandbox ) {
290+ this .reserveFailedSandbox = reserveFailedSandbox ;
291+ }
292+
211293 public V1alpha1SandboxClaimSpec shutdownTime (OffsetDateTime shutdownTime ) {
212294
213295 this .shutdownTime = shutdownTime ;
@@ -281,6 +363,33 @@ public void setTtlAfterCompleted(String ttlAfterCompleted) {
281363 this .ttlAfterCompleted = ttlAfterCompleted ;
282364 }
283365
366+ public V1alpha1SandboxClaimSpec waitReadyTimeout (String waitReadyTimeout ) {
367+
368+ this .waitReadyTimeout = waitReadyTimeout ;
369+ return this ;
370+ }
371+
372+ /**
373+ * WaitReadyTimeout specifies the maximum duration for waiting claimed sandbox ready. Default: 30s. A waiting
374+ * happens when an inplace update happens, a new sandbox created, etc. Format: duration string (e.g.,
375+ * \"3h\", \"200s\", \"15m\")
376+ *
377+ * @return waitReadyTimeout
378+ **/
379+ @ javax .annotation .Nullable
380+ @ ApiModelProperty (
381+ value = "WaitReadyTimeout specifies the maximum duration for waiting claimed sandbox ready. Default: 30s. A "
382+ + "waiting happens when an inplace update happens, a new sandbox created, etc. Format: duration string (e"
383+ + ".g., \" 3h\" , \" 200s\" , \" 15m\" )" )
384+
385+ public String getWaitReadyTimeout () {
386+ return waitReadyTimeout ;
387+ }
388+
389+ public void setWaitReadyTimeout (String waitReadyTimeout ) {
390+ this .waitReadyTimeout = waitReadyTimeout ;
391+ }
392+
284393 @ Override
285394 public boolean equals (Object o ) {
286395 if (this == o ) {
@@ -292,18 +401,22 @@ public boolean equals(Object o) {
292401 V1alpha1SandboxClaimSpec v1alpha1SandboxClaimSpec = (V1alpha1SandboxClaimSpec )o ;
293402 return Objects .equals (this .annotations , v1alpha1SandboxClaimSpec .annotations ) &&
294403 Objects .equals (this .claimTimeout , v1alpha1SandboxClaimSpec .claimTimeout ) &&
404+ Objects .equals (this .createOnNoStock , v1alpha1SandboxClaimSpec .createOnNoStock ) &&
295405 Objects .equals (this .envVars , v1alpha1SandboxClaimSpec .envVars ) &&
406+ Objects .equals (this .inplaceUpdate , v1alpha1SandboxClaimSpec .inplaceUpdate ) &&
296407 Objects .equals (this .labels , v1alpha1SandboxClaimSpec .labels ) &&
297408 Objects .equals (this .replicas , v1alpha1SandboxClaimSpec .replicas ) &&
409+ Objects .equals (this .reserveFailedSandbox , v1alpha1SandboxClaimSpec .reserveFailedSandbox ) &&
298410 Objects .equals (this .shutdownTime , v1alpha1SandboxClaimSpec .shutdownTime ) &&
299411 Objects .equals (this .templateName , v1alpha1SandboxClaimSpec .templateName ) &&
300- Objects .equals (this .ttlAfterCompleted , v1alpha1SandboxClaimSpec .ttlAfterCompleted );
412+ Objects .equals (this .ttlAfterCompleted , v1alpha1SandboxClaimSpec .ttlAfterCompleted ) &&
413+ Objects .equals (this .waitReadyTimeout , v1alpha1SandboxClaimSpec .waitReadyTimeout );
301414 }
302415
303416 @ Override
304417 public int hashCode () {
305- return Objects .hash (annotations , claimTimeout , envVars , labels , replicas , shutdownTime , templateName ,
306- ttlAfterCompleted );
418+ return Objects .hash (annotations , claimTimeout , createOnNoStock , envVars , inplaceUpdate , labels , replicas ,
419+ reserveFailedSandbox , shutdownTime , templateName , ttlAfterCompleted , waitReadyTimeout );
307420 }
308421
309422 @ Override
@@ -312,12 +425,16 @@ public String toString() {
312425 sb .append ("class V1alpha1SandboxClaimSpec {\n " );
313426 sb .append (" annotations: " ).append (toIndentedString (annotations )).append ("\n " );
314427 sb .append (" claimTimeout: " ).append (toIndentedString (claimTimeout )).append ("\n " );
428+ sb .append (" createOnNoStock: " ).append (toIndentedString (createOnNoStock )).append ("\n " );
315429 sb .append (" envVars: " ).append (toIndentedString (envVars )).append ("\n " );
430+ sb .append (" inplaceUpdate: " ).append (toIndentedString (inplaceUpdate )).append ("\n " );
316431 sb .append (" labels: " ).append (toIndentedString (labels )).append ("\n " );
317432 sb .append (" replicas: " ).append (toIndentedString (replicas )).append ("\n " );
433+ sb .append (" reserveFailedSandbox: " ).append (toIndentedString (reserveFailedSandbox )).append ("\n " );
318434 sb .append (" shutdownTime: " ).append (toIndentedString (shutdownTime )).append ("\n " );
319435 sb .append (" templateName: " ).append (toIndentedString (templateName )).append ("\n " );
320436 sb .append (" ttlAfterCompleted: " ).append (toIndentedString (ttlAfterCompleted )).append ("\n " );
437+ sb .append (" waitReadyTimeout: " ).append (toIndentedString (waitReadyTimeout )).append ("\n " );
321438 sb .append ("}" );
322439 return sb .toString ();
323440 }
0 commit comments