groups

package
v2.4.32 Latest Latest
Warning

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

Go to latest
Published: Mar 27, 2024 License: MIT Imports: 5 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Groups

type Groups struct {
	// Unique identfier for the group
	ID int `json:"id"`

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

	// Unique identfier for the identity provider (IdP)
	IdpID int `json:"idpId"`

	// Additional information about the group
	Comments string `json:"comments,omitempty"`
}

type Service

type Service struct {
	Client *zia.Client
	// contains filtered or unexported fields
}

func New

func New(c *zia.Client) *Service

func (*Service) GetAllGroups

func (service *Service) GetAllGroups() ([]Groups, error)

func (*Service) GetGroupByName

func (service *Service) GetGroupByName(targetGroup string) (*Groups, error)

func (*Service) GetGroups

func (service *Service) GetGroups(groupID int) (*Groups, error)

func (*Service) WithSort added in v2.2.0

func (service *Service) WithSort(sortBy common.SortField, sortOrder common.SortOrder) *Service

Jump to

Keyboard shortcuts

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