added and updated models
This commit is contained in:
@@ -10,20 +10,6 @@ pub enum EventStatus {
|
||||
tentative
|
||||
}
|
||||
|
||||
// EventColor represents the color categorization of a calendar event
|
||||
pub enum EventColor {
|
||||
red
|
||||
blue
|
||||
green
|
||||
yellow
|
||||
purple
|
||||
orange
|
||||
cyan
|
||||
magenta
|
||||
gray
|
||||
custom // For custom color values
|
||||
}
|
||||
|
||||
// EventVisibility represents the visibility setting of a calendar event
|
||||
pub enum EventVisibility {
|
||||
public
|
||||
@@ -41,7 +27,7 @@ pub enum AttendeeResponse {
|
||||
|
||||
// Calendar represents a collection of events
|
||||
pub struct Calendar {
|
||||
base.Base
|
||||
base.Base // Provides id u32, creation_time, mod_time, comments []u32
|
||||
pub mut:
|
||||
name string // Name of the calendar
|
||||
description string // Description of the calendar
|
||||
@@ -74,7 +60,6 @@ pub mut:
|
||||
attendees []Attendee // List of attendees
|
||||
organizer u32 // The user (see circle) who created the event
|
||||
status EventStatus // Status of the event
|
||||
color EventColor // User-friendly color categorization
|
||||
reminders []Reminder // Reminders for this event
|
||||
timezone string // Timezone for this specific event
|
||||
visibility EventVisibility // Visibility setting for the event
|
||||
|
Reference in New Issue
Block a user