scimgroup

package
v2.5.0 Latest Latest
Warning

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

Go to latest
Published: May 8, 2024 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

View Source
const (
	ASCSortOrder          SortOrder = "ASC"
	DESCSortOrder                   = "DESC"
	IDSortField           SortField = "id"
	NameSortField                   = "name"
	CreationTimeSortField           = "creationTime"
	ModifiedTimeSortField           = "modifiedTime"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type ScimGroup

type ScimGroup struct {
	CreationTime int64  `json:"creationTime,omitempty"`
	ID           int64  `json:"id,omitempty"`
	IdpGroupID   string `json:"idpGroupId,omitempty"`
	IdpID        int64  `json:"idpId,omitempty"`
	IdpName      string `json:"idpName,omitempty"`
	ModifiedTime int64  `json:"modifiedTime,omitempty"`
	Name         string `json:"name,omitempty"`
	InternalID   string `json:"internalId,omitempty"`
}

type Service

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

func New

func New(c *zpa.Client) *Service

func (*Service) Get

func (service *Service) Get(scimGroupID string) (*ScimGroup, *http.Response, error)

func (*Service) GetAllByIdpId

func (service *Service) GetAllByIdpId(idpId string) ([]ScimGroup, *http.Response, error)

func (*Service) GetByName

func (service *Service) GetByName(scimName, idpId string) (*ScimGroup, *http.Response, error)

func (*Service) WithSort added in v2.1.7

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

type SortField added in v2.1.7

type SortField string

type SortOrder added in v2.1.7

type SortOrder string

Jump to

Keyboard shortcuts

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