View Source CalDAVClient.XML.Builder (caldav_client v2.0.0)
Builds XML request body for the calendar server.
Link to this section Summary
Functions
Generates XML request body to create a calendar (see RFC 4791, section 5.3.1.2).
Generates XML request body to retrieve event with specified UID property (see RFC 4791, section 7.8.6).
Generates XML request body to retrieve all events or its occurrences having an VALARM within a specific time range (see RFC 4791, section 7.8.5).
Generates XML request body to retrieve all events or its occurrences within a specific time range (see RFC 4791, section 7.8.1).
Generates XML request body to update calendar properties.
Link to this section Functions
Specs
Generates XML request body to create a calendar (see RFC 4791, section 5.3.1.2).
options
Options
name
- calendar name.description
- calendar description.
Generates XML request body to retrieve event with specified UID property (see RFC 4791, section 7.8.6).
Specs
build_retrieval_of_events_having_alarm_xml( from :: DateTime.t(), to :: DateTime.t(), opts :: keyword() ) :: String.t()
Generates XML request body to retrieve all events or its occurrences having an VALARM within a specific time range (see RFC 4791, section 7.8.5).
build_retrieval_of_events_xml(start_datetime, end_datetime, opts \\ [])
View SourceSpecs
build_retrieval_of_events_xml( start_icalendar :: DateTime.t(), end_icalendar :: DateTime.t(), opts :: keyword() ) :: String.t()
Generates XML request body to retrieve all events or its occurrences within a specific time range (see RFC 4791, section 7.8.1).
options
Options
expand
- iftrue
, recurring events will be expanded to occurrences, defaults tofalse
.
Specs
Generates XML request body to update calendar properties.
options
Options
name
- calendar name.description
- calendar description.