Skip to content

Commit d53174d

Browse files
authored
feat(qaas): add booking req param (scaleway#2735)
1 parent e251d5d commit d53174d

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

api/qaas/v1alpha1/qaas_sdk.go

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -923,6 +923,15 @@ type PlatformBookingRequirement struct {
923923

924924
// MaxPlanificationDuration: allowed planification time from now where the platform can be booked in the future.
925925
MaxPlanificationDuration *scw.Duration `json:"max_planification_duration"`
926+
927+
// MinPlanificationDuration: minimum planification time before a platform can be booked.
928+
MinPlanificationDuration *scw.Duration `json:"min_planification_duration"`
929+
930+
// MaxBookingPerWeek: maximum amount of booking allowed for one organization per week.
931+
MaxBookingPerWeek uint32 `json:"max_booking_per_week"`
932+
933+
// MaxBookingPerDay: maximum amount of booking allowed for one organization per day.
934+
MaxBookingPerDay uint32 `json:"max_booking_per_day"`
926935
}
927936

928937
// PlatformHardware: platform hardware.

0 commit comments

Comments
 (0)