administration

package
v2.732.0 Latest Latest
Warning

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

Go to latest
Published: Oct 31, 2024 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Department added in v2.61.0

type Department struct {
	ID   int    `json:"id"`
	Name string `json:"name,omitempty"`
}

func GetDepartments added in v2.61.0

func GetDepartments(service *services.Service, filters GetDepartmentsFilters) ([]Department, *http.Response, error)

Gets the list of configured departments.

type GetDepartmentsFilters

type GetDepartmentsFilters struct {
	From   int    `json:"from,omitempty" url:"from,omitempty"`
	To     int    `json:"to,omitempty" url:"to,omitempty"`
	Search string `json:"search,omitempty" url:"search,omitempty"`
}

type GetLocationsFilters

type GetLocationsFilters struct {
	From   int    `json:"from,omitempty" url:"from,omitempty"`
	To     int    `json:"to,omitempty" url:"to,omitempty"`
	Search string `json:"search,omitempty" url:"search,omitempty"`
	Q      string `json:"q,omitempty" url:"q,omitempty"`
}

type Location added in v2.61.0

type Location struct {
	ID   int    `json:"id"`
	Name string `json:"name,omitempty"`
}

func GetLocations added in v2.61.0

func GetLocations(service *services.Service, filters GetLocationsFilters) ([]Location, *http.Response, error)

Gets the list of configured locations.

Jump to

Keyboard shortcuts

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