Skip to main content

NewReservationEntryStatus

Creates a new ReservationEntry using the provided status, with all other fields initialized to default values.

def NewReservationEntryStatus(
status: core.CatalogReservation_Status
) - > ReservationEntry

Creates a new ReservationEntry using the provided status, while all other fields are initialized to their default values. This function is used to quickly generate a ReservationEntry with a specific initial status.

Parameters

NameTypeDescription
statuscore.CatalogReservation_StatusThe desired status for the new ReservationEntry. This value determines the initial state of the reservation.

Returns

TypeDescription
ReservationEntryA new ReservationEntry instance with the specified status and default values for other fields.