pub struct Calendar {Show 17 fields
pub campus_id: Option<i64>,
pub color: Option<String>,
pub ev_termine_event_type_id: Option<i64>,
pub event_template_id: Option<i64>,
pub i_cal_source_url: Option<String>,
pub name: String,
pub sort_key: i64,
pub sync_to_ev_termine: bool,
pub type: String,
pub deprecated: BTreeMap<String, String>,
pub id: i64,
pub is_private: Option<bool>,
pub is_public: Option<bool>,
pub meta: MetaDataEntityId,
pub name_translated: String,
pub random_url: String,
pub extra: Map<String, Value>,
}Expand description
Calendar containing appointments and their series. Calendar settings, appointment editing and calendar administration are separate concerns. The type selects the applicable administration category; effective visibility depends on permissions. This object is also embedded in appointment responses.
Fields§
§campus_id: Option<i64>Campus associated with this calendar, or null for no campus. A campus represents a ChurchTools location/site, not a calendar permission group.
color: Option<String>Display color, normally a CSS hex color such as #336699.
ev_termine_event_type_id: Option<i64>Event type ID used by the Evangelische Termine integration, or null. This is an external event classification, not a ChurchTools calendar type.
event_template_id: Option<i64>Configured service-planning event template ID for this calendar, or null. This differs from an appointment template.
i_cal_source_url: Option<String>External iCalendar feed to import. webcal:// and ical:// are normalized to https://; addresses without a scheme receive https://.
name: StringCalendar display name.
sort_key: i64Display order. The calendar list is sorted by this value in ascending order.
sync_to_ev_termine: boolWhether the Evangelische Termine integration should synchronize this calendar. This is separate from importing an iCalendar feed.
type: StringCalendar category used by ChurchTools: church for a church calendar, group for a group calendar, personal for a personal calendar. The category determines which administration permissions apply; it does not by itself grant public access or link the calendar to a particular group or person. Access is controlled separately. The type is chosen on creation and cannot be changed by PUT.
Allowed values: church, group, personal.
deprecated: BTreeMap<String, String>Legacy response metadata mapping isPublic and isPrivate to type.
id: i64Calendar ID used in /calendars/{calendarId} and appointment URLs.
is_private: Option<bool>Use type instead.
Legacy category flag: true for personal calendars. Use type instead.
is_public: Option<bool>Use type; this flag does not replace access-permission checks.
Legacy category flag: true for church calendars. Use type; this flag does not replace access-permission checks.
meta: MetaDataEntityId§name_translated: StringLocalized display name, falling back to the stored name for ordinary calendar names.
random_url: StringGenerated token used by calendar subscription/export links. This is not a complete URL and is not the external import source address.
extra: Map<String, Value>Fields not described by the spec, e.g. instance-specific DB fields.