departments

package
v3.0.10 Latest Latest
Warning

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

Go to latest
Published: Nov 23, 2024 License: MIT Imports: 5 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 {
	// Department ID
	ID int `json:"id"`

	// Department name
	Name string `json:"name,omitempty"`

	// Identity provider (IdP) ID
	IdpID int `json:"idpId"`

	// Additional information about this department
	Comments string `json:"comments,omitempty"`
	Deleted  bool   `json:"deleted"`
}

func GetAll

func GetAll(ctx context.Context, service *zscaler.Service) ([]Department, error)

func GetDepartments

func GetDepartments(ctx context.Context, service *zscaler.Service, departmentID int) (*Department, error)

func GetDepartmentsByName

func GetDepartmentsByName(ctx context.Context, service *zscaler.Service, departmentName string) (*Department, error)

Jump to

Keyboard shortcuts

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