pub struct BookingCalculatedWithIncludesBaseResource {Show 18 fields
pub admin_ids: Vec<i64>,
pub description: Option<String>,
pub i_cal_location: Option<String>,
pub is_auto_accept: bool,
pub is_virtual: bool,
pub location: Option<String>,
pub name: String,
pub quantity: i64,
pub random_string: Option<String>,
pub resource_type_id: i64,
pub sort_key: i64,
pub does_require_cal_entry: Option<bool>,
pub id: i64,
pub involved_persons_domain_objects: Option<BookingCalculatedWithIncludesBaseResourceInvolvedPersonsDomainObjects>,
pub meta: MetaDataEntityId,
pub name_translated: String,
pub needs_appointment: Option<bool>,
pub extra: Map<String, Value>,
}Expand description
Use resourceId instead.
Fields§
§admin_ids: Vec<i64>Persons responsible for this resource. Resource administrators can view and administer its bookings; changing resource settings still requires permission to edit resource master data.
description: Option<String>Additional information about the resource, such as capacity or available equipment.
i_cal_location: Option<String>Location text used in the resource’s iCalendar export.
is_auto_accept: boolAutomatically approves pending bookings when there are no conflicts. For virtual resources, automatic approval bypasses the conflict check. This does not grant permission to edit resource settings.
is_virtual: boolWhether this is a virtual resource. Virtual bookings have a separate creation permission and bypass conflicts when checking automatic approval.
location: Option<String>Internal location of the resource.
name: StringName of the individual resource, for example a room or vehicle.
quantity: i64Number of units available for simultaneous bookings.
random_string: Option<String>Access token used by the legacy public iCalendar export. Changing or clearing it invalidates subscriptions using the previous token.
resource_type_id: i64Resource type used to group this resource, such as rooms or vehicles. Resource types are available from /resourcetypes.
sort_key: i64Sort value for displaying resources.
does_require_cal_entry: Option<bool>Use needsAppointment instead.
Use needsAppointment instead.
id: i64§involved_persons_domain_objects: Option<BookingCalculatedWithIncludesBaseResourceInvolvedPersonsDomainObjects>Included with include[]=involvedPersonsDomainObjects. Contains person references for resolvable adminIds; missing persons are omitted.
meta: MetaDataEntityId§name_translated: StringResource name translated for the current language, falling back to name.
needs_appointment: Option<bool>Whether bookings must be linked to a calendar appointment. Legacy resources can return null.
extra: Map<String, Value>Fields not described by the spec, e.g. instance-specific DB fields.