slots

package
v9.0.68 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 23, 2024 License: Unlicense Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DateSettingsDateSettingsSpecificDay

type DateSettingsDateSettingsSpecificDay struct {
	ID      string `json:"row_id"`
	Date    string `json:"date"`
	AltDate string `json:"alt_date"`
}

type HolidaysHolidaysHoliday

type HolidaysHolidaysHoliday struct {
	Date      string `json:"date"`
	AltDate   string `json:"alt_date"`
	DateTo    string `json:"date_to"`
	AltDateTo string `json:"alt_date_to"`
}

type Slots

type Slots struct {
	DateSettingsDateSettingsSpecificDays []DateSettingsDateSettingsSpecificDay `json:"datesettings_datesettings_specific_days"`
	DateSettingsDateSettingsMinimum      string                                `json:"datesettings_datesettings_minimum"`
	DateSettingsDateSettingsMaximum      string                                `json:"datesettings_datesettings_maximum"`
	TimeSettingsTimeSettingsTimeSlots    []TimeSettingsTimeSettingsTimeSlot    `json:"timesettings_timesettings_timeslots"`
	TimeSettingsTimeSettingsCutoff       string                                `json:"timesettings_timesettings_cutoff"`
	HolidaysHolidaysHolidays             []HolidaysHolidaysHoliday             `json:"holidays_holidays_holidays"`
}

func GetSlots

func GetSlots(ctx context.Context) (*Slots, error)

type TimeSettingsTimeSettingsTimeSlot

type TimeSettingsTimeSettingsTimeSlot struct {
	Duration  string   `json:"duration"`
	Frequency string   `json:"frequency"`
	TimeFrom  string   `json:"timefrom"`
	TimeTo    string   `json:"timeto"`
	Days      []string `json:"days"`
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL