priority Property
Defines the relative priority for a calendar event.
Syntax
def get_priority() -> int: ... def set_priority(value: int) -> None: ...
priority = property(get_priority, set_priority)
Default Value
0
Remarks
This property defines the relative priority of a calendar event. The priority is specified as an integer in the range 0 to 9. A value of 0 specifies an undefined priority. A value of 1 is the highest priority. A value of 2 is the second highest priority. Subsequent numbers specify a decreasing ordinal priority. A value of 9 is the lowest priority.
A Calendar User-Agent (CUA) with a three-level priority scheme of "HIGH", "MEDIUM", and "LOW" is mapped into this property such that a property value in the range of 1 to 4 specifies "HIGH" priority. A value of 5 is the normal or "MEDIUM" priority. A value in the range of 6 to 9 is "LOW" priority.
This property is filled from the response to a get_calendar_event, and is also used when creating an event to be added using the put_calendar_event method. However, when requesting a report using the get_calendar_report method, the contents of this property will only be valid inside the on_event_details event.