// FILSTI: app\src\main\java\com\kbs\kbsintranett\LoginResponse.java
package com.kbs.kbsintranett;

import com.google.gson.annotations.SerializedName;
import java.util.List;

public class LoginResponse {
    public boolean success;
    @SerializedName("full_cookie")
    public String fullCookie;

    public String role;

    @SerializedName("user_id")
    public int userId;

    @SerializedName("first_name")
    public String firstName;

    @SerializedName("last_name")
    public String lastName;

    @SerializedName("stilling")
    public String stilling;

    @SerializedName("mobiltelefon")
    public String mobiltelefon;

    // NYTT FELT: Liste over kalendere brukeren kan skrive til
    @SerializedName("writeable_calendars")
    public List<String> writeableCalendars;

    public String message;
}