models

package
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: Jan 7, 2025 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Department

type Department struct {
	ID                         int
	Name                       string
	ParentID                   int
	ParentDepartmentExternalID string
	ChildIDs                   []int
	ChildDeparmentExternalIDs  []string
	ExternalID                 string
}

type JobPermission

type JobPermission struct {
	ID         int
	JobID      int
	UserRoleID int
}
type Link struct {
	Next string
	Last string
}

func (*Link) MarshalText

func (l *Link) MarshalText() ([]byte, error)

func (*Link) UnmarshalText

func (l *Link) UnmarshalText(text []byte) error

type Location

type Location struct {
	Name string
}

type Office

type Office struct {
	ID                     int
	Name                   string
	Location               Location
	PrimaryContactUserID   int
	ParentID               int
	ParentOfficeExternalID string
	ChildIDs               []int
	ChildOfficeExternalIDs []string
	ExternalID             string
}

type Role

type Role struct {
	ID   int
	Type string
	Name string
}

type User

type User struct {
	ID                  int
	Name                string
	LastName            string
	PrimaryEmailAddress string
	UpdatedAt           time.Time
	CreatedAt           time.Time
	Disabled            bool
	SiteAdmin           bool
	Emails              []string
	EmployeeID          int
	LinkedCandidateIDs  []int
	Offices             []Office
	Departments         []Department
}

Jump to

Keyboard shortcuts

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