package com.kbs.kbsintranett;

import com.google.gson.annotations.SerializedName;
import java.util.List;
public class CreateEventRequest {
    @SerializedName("id")
    public String id;
    @SerializedName("title")
    public String title;

    @SerializedName("description")
    public String description;

    @SerializedName("location")
    public String location;

    @SerializedName("start_time")
    public String startTime;

    @SerializedName("end_time")
    public String endTime;

    @SerializedName("calendar_type")
    public String calendarType;

    @SerializedName("reminders")
    public List<Integer> reminders; // Liste, ikke int

    @SerializedName("is_all_day")
    public boolean isAllDay;

    @SerializedName("recurrence")
    public String recurrence;

    // Oppdatert konstruktør som tar imot List<Integer>
    public CreateEventRequest(String title, String description, String location, String startTime, String endTime, String calendarType, List<Integer> reminders, boolean isAllDay, String recurrence) {
        this.title = title;
        this.description = description;
        this.location = location;
        this.startTime = startTime;
        this.endTime = endTime;
        this.calendarType = calendarType;
        this.reminders = reminders;
        this.isAllDay = isAllDay;
        this.recurrence = recurrence;
    }
}
