Tsarr Documentation - v2.16.0
    Preparing search index...

    Type Alias AccessSchedule

    An entity representing a user's access schedule.

    type AccessSchedule = {
        Id?: number;
        UserId?: string;
        DayOfWeek?:
            | "Sunday"
            | "Monday"
            | "Tuesday"
            | "Wednesday"
            | "Thursday"
            | "Friday"
            | "Saturday"
            | "Everyday"
            | "Weekday"
            | "Weekend";
        StartHour?: number;
        EndHour?: number;
    }
    Index
    Id?: number

    Gets the id of this instance.

    UserId?: string

    Gets the id of the associated user.

    DayOfWeek?:
        | "Sunday"
        | "Monday"
        | "Tuesday"
        | "Wednesday"
        | "Thursday"
        | "Friday"
        | "Saturday"
        | "Everyday"
        | "Weekday"
        | "Weekend"

    Gets or sets the day of week.

    StartHour?: number

    Gets or sets the start hour.

    EndHour?: number

    Gets or sets the end hour.