# `CalDAVEx.Types.Event`
[🔗](https://github.com/ciroque/caldav_ex/blob/v0.1.3/lib/caldav_ex/types.ex#L58)

Represents a CalDAV event.

Contains both the raw iCalendar data and parsed event properties.

# `t`

```elixir
@type t() :: %CalDAVEx.Types.Event{
  attendees: [String.t()],
  calendar_data: String.t() | nil,
  content_type: String.t() | nil,
  description: String.t() | nil,
  dtend: DateTime.t() | Date.t() | nil,
  dtstart: DateTime.t() | Date.t() | nil,
  etag: String.t() | nil,
  href: String.t(),
  location: String.t() | nil,
  organizer: String.t() | nil,
  rrule: String.t() | nil,
  status: String.t() | nil,
  summary: String.t() | nil,
  uid: String.t() | nil
}
```

Event struct.

## Fields

- `href` - The full URL of the event resource
- `etag` - Entity tag for optimistic locking
- `calendar_data` - Raw iCalendar (ICS) data
- `content_type` - MIME type of the calendar data
- `summary` - Event title/summary
- `dtstart` - Start date/time (DateTime for timed events, Date for all-day events)
- `dtend` - End date/time (DateTime for timed events, Date for all-day events)
- `uid` - Unique identifier for the event
- `description` - Detailed description of the event
- `location` - Location of the event
- `status` - Event status (e.g., "CONFIRMED", "TENTATIVE", "CANCELLED")
- `rrule` - Recurrence rule (RRULE) as a string
- `organizer` - Event organizer
- `attendees` - List of event attendees

---

*Consult [api-reference.md](api-reference.md) for complete listing*
