saviyntecf

package module
v0.1.10 Latest Latest
Warning

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

Go to latest
Published: Feb 10, 2025 License: MIT Imports: 6 Imported by: 1

README

Saviynt External Connector Framework (ECF) in Go

Build Status Lint Status Go Report Card Docs License

This is the Saviynt External Connector Framework (ECF) implemented in Go with Chi.

It is built with oapi-codegen.

Usage

To use go-saviyntecf to create a connector, see go-saviyntecf-tutorial.

To implement a connector, implement the functions listed here in ServerInterface.

Rebuild

To rebuild this module using an updated OpenAPI spec, do the following:

git clone https://github.com/grokify/go-saviyntecf
cd go-saviyntecf
curl -XGET https://raw.githubusercontent.com/saviynt/ExternalConnectorFramework-APISpec/main/spec/OpenAPISpec.yaml > openapi.yaml
go generate

This will create a new server.gen.go file using the config at oapi-codegen.yaml.

For more information on oapi-codegen, see the following:

  1. https://www.jvt.me/posts/2022/07/12/go-openapi-server/

Documentation

Overview

Package saviyntecf provides primitives to interact with the openapi HTTP API.

Code generated by github.com/oapi-codegen/oapi-codegen/v2 version v2.3.0 DO NOT EDIT.

Index

Constants

View Source
const (
	BearerAuthScopes = "bearerAuth.Scopes"
)

Variables

This section is empty.

Functions

func Handler

func Handler(si ServerInterface) http.Handler

Handler creates http.Handler with routing matching OpenAPI spec.

func HandlerFromMux

func HandlerFromMux(si ServerInterface, r chi.Router) http.Handler

HandlerFromMux creates http.Handler with routing matching OpenAPI spec based on the provided mux.

func HandlerFromMuxWithBaseURL

func HandlerFromMuxWithBaseURL(si ServerInterface, r chi.Router, baseURL string) http.Handler

func HandlerWithOptions

func HandlerWithOptions(si ServerInterface, options ChiServerOptions) http.Handler

HandlerWithOptions creates http.Handler with additional options

Types

type Account added in v0.1.6

type Account struct {
	ACCOUNTCLASS             *string `json:"ACCOUNTCLASS,omitempty"`
	ACCOUNTID                *string `json:"ACCOUNTID,omitempty"`
	ACCOUNTTYPE              *string `json:"ACCOUNTTYPE,omitempty"`
	COMMENTS                 *string `json:"COMMENTS,omitempty"`
	CUSTOMPROPERTY1          *string `json:"CUSTOMPROPERTY1,omitempty"`
	CUSTOMPROPERTY10         *string `json:"CUSTOMPROPERTY10,omitempty"`
	CUSTOMPROPERTY11         *string `json:"CUSTOMPROPERTY11,omitempty"`
	CUSTOMPROPERTY12         *string `json:"CUSTOMPROPERTY12,omitempty"`
	CUSTOMPROPERTY13         *string `json:"CUSTOMPROPERTY13,omitempty"`
	CUSTOMPROPERTY14         *string `json:"CUSTOMPROPERTY14,omitempty"`
	CUSTOMPROPERTY15         *string `json:"CUSTOMPROPERTY15,omitempty"`
	CUSTOMPROPERTY16         *string `json:"CUSTOMPROPERTY16,omitempty"`
	CUSTOMPROPERTY17         *string `json:"CUSTOMPROPERTY17,omitempty"`
	CUSTOMPROPERTY18         *string `json:"CUSTOMPROPERTY18,omitempty"`
	CUSTOMPROPERTY19         *string `json:"CUSTOMPROPERTY19,omitempty"`
	CUSTOMPROPERTY2          *string `json:"CUSTOMPROPERTY2,omitempty"`
	CUSTOMPROPERTY20         *string `json:"CUSTOMPROPERTY20,omitempty"`
	CUSTOMPROPERTY21         *string `json:"CUSTOMPROPERTY21,omitempty"`
	CUSTOMPROPERTY22         *string `json:"CUSTOMPROPERTY22,omitempty"`
	CUSTOMPROPERTY23         *string `json:"CUSTOMPROPERTY23,omitempty"`
	CUSTOMPROPERTY24         *string `json:"CUSTOMPROPERTY24,omitempty"`
	CUSTOMPROPERTY25         *string `json:"CUSTOMPROPERTY25,omitempty"`
	CUSTOMPROPERTY26         *string `json:"CUSTOMPROPERTY26,omitempty"`
	CUSTOMPROPERTY27         *string `json:"CUSTOMPROPERTY27,omitempty"`
	CUSTOMPROPERTY28         *string `json:"CUSTOMPROPERTY28,omitempty"`
	CUSTOMPROPERTY29         *string `json:"CUSTOMPROPERTY29,omitempty"`
	CUSTOMPROPERTY3          *string `json:"CUSTOMPROPERTY3,omitempty"`
	CUSTOMPROPERTY30         *int    `json:"CUSTOMPROPERTY30,omitempty"`
	CUSTOMPROPERTY31         *string `json:"CUSTOMPROPERTY31,omitempty"`
	CUSTOMPROPERTY32         *string `json:"CUSTOMPROPERTY32,omitempty"`
	CUSTOMPROPERTY33         *string `json:"CUSTOMPROPERTY33,omitempty"`
	CUSTOMPROPERTY34         *string `json:"CUSTOMPROPERTY34,omitempty"`
	CUSTOMPROPERTY35         *string `json:"CUSTOMPROPERTY35,omitempty"`
	CUSTOMPROPERTY36         *string `json:"CUSTOMPROPERTY36,omitempty"`
	CUSTOMPROPERTY37         *string `json:"CUSTOMPROPERTY37,omitempty"`
	CUSTOMPROPERTY38         *string `json:"CUSTOMPROPERTY38,omitempty"`
	CUSTOMPROPERTY39         *string `json:"CUSTOMPROPERTY39,omitempty"`
	CUSTOMPROPERTY4          *string `json:"CUSTOMPROPERTY4,omitempty"`
	CUSTOMPROPERTY40         *string `json:"CUSTOMPROPERTY40,omitempty"`
	CUSTOMPROPERTY41         *string `json:"CUSTOMPROPERTY41,omitempty"`
	CUSTOMPROPERTY42         *string `json:"CUSTOMPROPERTY42,omitempty"`
	CUSTOMPROPERTY43         *string `json:"CUSTOMPROPERTY43,omitempty"`
	CUSTOMPROPERTY44         *string `json:"CUSTOMPROPERTY44,omitempty"`
	CUSTOMPROPERTY45         *string `json:"CUSTOMPROPERTY45,omitempty"`
	CUSTOMPROPERTY46         *string `json:"CUSTOMPROPERTY46,omitempty"`
	CUSTOMPROPERTY47         *string `json:"CUSTOMPROPERTY47,omitempty"`
	CUSTOMPROPERTY48         *string `json:"CUSTOMPROPERTY48,omitempty"`
	CUSTOMPROPERTY49         *string `json:"CUSTOMPROPERTY49,omitempty"`
	CUSTOMPROPERTY5          *string `json:"CUSTOMPROPERTY5,omitempty"`
	CUSTOMPROPERTY50         *string `json:"CUSTOMPROPERTY50,omitempty"`
	CUSTOMPROPERTY51         *string `json:"CUSTOMPROPERTY51,omitempty"`
	CUSTOMPROPERTY52         *string `json:"CUSTOMPROPERTY52,omitempty"`
	CUSTOMPROPERTY53         *string `json:"CUSTOMPROPERTY53,omitempty"`
	CUSTOMPROPERTY54         *string `json:"CUSTOMPROPERTY54,omitempty"`
	CUSTOMPROPERTY55         *string `json:"CUSTOMPROPERTY55,omitempty"`
	CUSTOMPROPERTY56         *string `json:"CUSTOMPROPERTY56,omitempty"`
	CUSTOMPROPERTY57         *string `json:"CUSTOMPROPERTY57,omitempty"`
	CUSTOMPROPERTY58         *string `json:"CUSTOMPROPERTY58,omitempty"`
	CUSTOMPROPERTY59         *string `json:"CUSTOMPROPERTY59,omitempty"`
	CUSTOMPROPERTY6          *string `json:"CUSTOMPROPERTY6,omitempty"`
	CUSTOMPROPERTY60         *string `json:"CUSTOMPROPERTY60,omitempty"`
	CUSTOMPROPERTY7          *string `json:"CUSTOMPROPERTY7,omitempty"`
	CUSTOMPROPERTY8          *string `json:"CUSTOMPROPERTY8,omitempty"`
	CUSTOMPROPERTY9          *string `json:"CUSTOMPROPERTY9,omitempty"`
	DESCRIPTION              *string `json:"DESCRIPTION,omitempty"`
	DISPLAYNAME              *string `json:"DISPLAYNAME,omitempty"`
	INCORRECTLOGONS          *string `json:"INCORRECTLOGONS,omitempty"`
	LASTLOGONDATE            *string `json:"LASTLOGONDATE,omitempty"`
	LASTPASSWORDCHANGE       *string `json:"LASTPASSWORDCHANGE,omitempty"`
	LOCKEDSTATE              *string `json:"LOCKEDSTATE,omitempty"`
	NAME                     *string `json:"NAME,omitempty"`
	PASSWORDCHANGESTATUS     *string `json:"PASSWORDCHANGESTATUS,omitempty"`
	PASSWORDLOCKDATE         *string `json:"PASSWORDLOCKDATE,omitempty"`
	STATUS                   *int    `json:"STATUS,omitempty"`
	TARGETLASTPASSWORDCHANGE *string `json:"TARGETLASTPASSWORDCHANGE,omitempty"`
	UPDATEDATE               *string `json:"UPDATEDATE,omitempty"`
	VALIDFROM                *string `json:"VALIDFROM,omitempty"`
	VALIDTHROUGH             *string `json:"VALIDTHROUGH,omitempty"`
}

Account defines model for account.

type Accounts

type Accounts struct {
	Accounts   *[]Account `json:"accounts,omitempty"`
	Offset     *int       `json:"offset,omitempty"`
	Pagesize   *int       `json:"pagesize,omitempty"`
	Totalcount *int       `json:"totalcount,omitempty"`
}

Accounts defines model for accounts.

type ChiServerOptions

type ChiServerOptions struct {
	BaseURL          string
	BaseRouter       chi.Router
	Middlewares      []MiddlewareFunc
	ErrorHandlerFunc func(w http.ResponseWriter, r *http.Request, err error)
}

type Childgroups added in v0.1.8

type Childgroups = []struct {
	EntitlementID *int `json:"entitlementID,omitempty"`
}

Childgroups defines model for childgroups.

type Childroles added in v0.1.8

type Childroles = []struct {
	EntitlementID *int `json:"entitlementID,omitempty"`
}

Childroles defines model for childroles.

type Createaccount

type Createaccount struct {
	AccountID         *string `json:"accountID,omitempty"`
	Customproperty1   *string `json:"customproperty1,omitempty"`
	Email             *string `json:"email,omitempty"`
	EmployeeType      *string `json:"employeeType,omitempty"`
	Firstname         *string `json:"firstname,omitempty"`
	Jobcodedesc       *string `json:"jobcodedesc,omitempty"`
	Lastname          *string `json:"lastname,omitempty"`
	Manager           *string `json:"manager,omitempty"`
	Middlename        *string `json:"middlename,omitempty"`
	PreferedFirstName *string `json:"preferedFirstName,omitempty"`
	Statuskey         *string `json:"statuskey,omitempty"`
}

Createaccount defines model for createaccount.

type Group added in v0.1.7

type Group struct {
	CUSTOMPROPERTY1   *string    `json:"CUSTOMPROPERTY1,omitempty"`
	CUSTOMPROPERTY10  *string    `json:"CUSTOMPROPERTY10,omitempty"`
	CUSTOMPROPERTY11  *string    `json:"CUSTOMPROPERTY11,omitempty"`
	CUSTOMPROPERTY12  *string    `json:"CUSTOMPROPERTY12,omitempty"`
	CUSTOMPROPERTY13  *string    `json:"CUSTOMPROPERTY13,omitempty"`
	CUSTOMPROPERTY14  *string    `json:"CUSTOMPROPERTY14,omitempty"`
	CUSTOMPROPERTY15  *string    `json:"CUSTOMPROPERTY15,omitempty"`
	CUSTOMPROPERTY16  *string    `json:"CUSTOMPROPERTY16,omitempty"`
	CUSTOMPROPERTY17  *string    `json:"CUSTOMPROPERTY17,omitempty"`
	CUSTOMPROPERTY18  *string    `json:"CUSTOMPROPERTY18,omitempty"`
	CUSTOMPROPERTY19  *string    `json:"CUSTOMPROPERTY19,omitempty"`
	CUSTOMPROPERTY2   *time.Time `json:"CUSTOMPROPERTY2,omitempty"`
	CUSTOMPROPERTY20  *string    `json:"CUSTOMPROPERTY20,omitempty"`
	CUSTOMPROPERTY21  *string    `json:"CUSTOMPROPERTY21,omitempty"`
	CUSTOMPROPERTY22  *string    `json:"CUSTOMPROPERTY22,omitempty"`
	CUSTOMPROPERTY23  *string    `json:"CUSTOMPROPERTY23,omitempty"`
	CUSTOMPROPERTY24  *string    `json:"CUSTOMPROPERTY24,omitempty"`
	CUSTOMPROPERTY25  *string    `json:"CUSTOMPROPERTY25,omitempty"`
	CUSTOMPROPERTY26  *string    `json:"CUSTOMPROPERTY26,omitempty"`
	CUSTOMPROPERTY27  *string    `json:"CUSTOMPROPERTY27,omitempty"`
	CUSTOMPROPERTY28  *string    `json:"CUSTOMPROPERTY28,omitempty"`
	CUSTOMPROPERTY29  *string    `json:"CUSTOMPROPERTY29,omitempty"`
	CUSTOMPROPERTY3   *time.Time `json:"CUSTOMPROPERTY3,omitempty"`
	CUSTOMPROPERTY30  *int       `json:"CUSTOMPROPERTY30,omitempty"`
	CUSTOMPROPERTY31  *string    `json:"CUSTOMPROPERTY31,omitempty"`
	CUSTOMPROPERTY32  *string    `json:"CUSTOMPROPERTY32,omitempty"`
	CUSTOMPROPERTY33  *string    `json:"CUSTOMPROPERTY33,omitempty"`
	CUSTOMPROPERTY34  *string    `json:"CUSTOMPROPERTY34,omitempty"`
	CUSTOMPROPERTY35  *string    `json:"CUSTOMPROPERTY35,omitempty"`
	CUSTOMPROPERTY36  *string    `json:"CUSTOMPROPERTY36,omitempty"`
	CUSTOMPROPERTY37  *string    `json:"CUSTOMPROPERTY37,omitempty"`
	CUSTOMPROPERTY38  *string    `json:"CUSTOMPROPERTY38,omitempty"`
	CUSTOMPROPERTY39  *string    `json:"CUSTOMPROPERTY39,omitempty"`
	CUSTOMPROPERTY4   *string    `json:"CUSTOMPROPERTY4,omitempty"`
	CUSTOMPROPERTY40  *string    `json:"CUSTOMPROPERTY40,omitempty"`
	CUSTOMPROPERTY5   *string    `json:"CUSTOMPROPERTY5,omitempty"`
	CUSTOMPROPERTY6   *string    `json:"CUSTOMPROPERTY6,omitempty"`
	CUSTOMPROPERTY7   *string    `json:"CUSTOMPROPERTY7,omitempty"`
	CUSTOMPROPERTY8   *string    `json:"CUSTOMPROPERTY8,omitempty"`
	CUSTOMPROPERTY9   *string    `json:"CUSTOMPROPERTY9,omitempty"`
	ChildEntitlements *struct {
		Groups *Childgroups `json:"groups,omitempty"`
	} `json:"childEntitlements,omitempty"`
	Description         *string   `json:"description,omitempty"`
	Displayname         *string   `json:"displayname,omitempty"`
	Entclass            *string   `json:"entclass,omitempty"`
	EntitlementID       *int      `json:"entitlementID,omitempty"`
	EntitlementGlossary *string   `json:"entitlement_glossary,omitempty"`
	EntitlementValue    *string   `json:"entitlement_value,omitempty"`
	Owners              *[]string `json:"owners,omitempty"`
	Status              *string   `json:"status,omitempty"`
}

Group defines model for group.

type Groups

type Groups struct {
	Groups     *[]Group `json:"groups,omitempty"`
	Offset     *int     `json:"offset,omitempty"`
	Pagesize   *int     `json:"pagesize,omitempty"`
	Totalcount *int     `json:"totalcount,omitempty"`
}

Groups defines model for groups.

type Groupsmembership

type Groupsmembership struct {
	GroupMemberships *[]struct {
		AccountID     *int `json:"accountID,omitempty"`
		EntitlementID *int `json:"entitlementID,omitempty"`
	} `json:"group_memberships,omitempty"`
}

Groupsmembership defines model for groupsmembership.

type InvalidParamFormatError

type InvalidParamFormatError struct {
	ParamName string
	Err       error
}

func (*InvalidParamFormatError) Error

func (e *InvalidParamFormatError) Error() string

func (*InvalidParamFormatError) Unwrap

func (e *InvalidParamFormatError) Unwrap() error

type MiddlewareFunc

type MiddlewareFunc func(http.Handler) http.Handler

type PatchUpdateAccountJSONBody added in v0.1.5

type PatchUpdateAccountJSONBody = map[string]interface{}

PatchUpdateAccountJSONBody defines parameters for PatchUpdateAccount.

type PatchUpdateAccountJSONRequestBody added in v0.1.5

type PatchUpdateAccountJSONRequestBody = PatchUpdateAccountJSONBody

PatchUpdateAccountJSONRequestBody defines body for PatchUpdateAccount for application/json ContentType.

type PatchUpdateUserJSONRequestBody added in v0.1.5

type PatchUpdateUserJSONRequestBody = Updateuser

PatchUpdateUserJSONRequestBody defines body for PatchUpdateUser for application/json ContentType.

type PostAccountsJSONBody added in v0.1.5

type PostAccountsJSONBody struct {
	Fields *string `json:"fields,omitempty"`
	Order  *string `json:"order,omitempty"`
	Q      *string `json:"q,omitempty"`
	Sort   *string `json:"sort,omitempty"`
}

PostAccountsJSONBody defines parameters for PostAccounts.

type PostAccountsJSONRequestBody added in v0.1.5

type PostAccountsJSONRequestBody PostAccountsJSONBody

PostAccountsJSONRequestBody defines body for PostAccounts for application/json ContentType.

type PostAccountsParams added in v0.1.5

type PostAccountsParams struct {
	Offset   *int `form:"offset,omitempty" json:"offset,omitempty"`
	Pagesize *int `form:"pagesize,omitempty" json:"pagesize,omitempty"`
}

PostAccountsParams defines parameters for PostAccounts.

type PostCreateAccountJSONRequestBody added in v0.1.5

type PostCreateAccountJSONRequestBody = Createaccount

PostCreateAccountJSONRequestBody defines body for PostCreateAccount for application/json ContentType.

type PostEntitlementsGroupsJSONBody added in v0.1.5

type PostEntitlementsGroupsJSONBody struct {
	Fields *string `json:"fields,omitempty"`
	Order  *string `json:"order,omitempty"`
	Sort   *string `json:"sort,omitempty"`
}

PostEntitlementsGroupsJSONBody defines parameters for PostEntitlementsGroups.

type PostEntitlementsGroupsJSONRequestBody added in v0.1.5

type PostEntitlementsGroupsJSONRequestBody PostEntitlementsGroupsJSONBody

PostEntitlementsGroupsJSONRequestBody defines body for PostEntitlementsGroups for application/json ContentType.

type PostEntitlementsGroupsParams added in v0.1.5

type PostEntitlementsGroupsParams struct {
	Offset   *int `form:"offset,omitempty" json:"offset,omitempty"`
	Pagesize *int `form:"pagesize,omitempty" json:"pagesize,omitempty"`
}

PostEntitlementsGroupsParams defines parameters for PostEntitlementsGroups.

type PostEntitlementsRolesJSONBody added in v0.1.5

type PostEntitlementsRolesJSONBody struct {
	Fields *string `json:"fields,omitempty"`
	Order  *string `json:"order,omitempty"`
	Sort   *string `json:"sort,omitempty"`
}

PostEntitlementsRolesJSONBody defines parameters for PostEntitlementsRoles.

type PostEntitlementsRolesJSONRequestBody added in v0.1.5

type PostEntitlementsRolesJSONRequestBody PostEntitlementsRolesJSONBody

PostEntitlementsRolesJSONRequestBody defines body for PostEntitlementsRoles for application/json ContentType.

type PostEntitlementsRolesParams added in v0.1.5

type PostEntitlementsRolesParams struct {
	Offset   *int `form:"offset,omitempty" json:"offset,omitempty"`
	Pagesize *int `form:"pagesize,omitempty" json:"pagesize,omitempty"`
}

PostEntitlementsRolesParams defines parameters for PostEntitlementsRoles.

type PostUsersJSONBody added in v0.1.5

type PostUsersJSONBody struct {
	Fields *string `json:"fields,omitempty"`
	Order  *string `json:"order,omitempty"`
	Sort   *string `json:"sort,omitempty"`
}

PostUsersJSONBody defines parameters for PostUsers.

type PostUsersJSONRequestBody added in v0.1.5

type PostUsersJSONRequestBody PostUsersJSONBody

PostUsersJSONRequestBody defines body for PostUsers for application/json ContentType.

type PostUsersParams added in v0.1.5

type PostUsersParams struct {
	Offset   *int `form:"offset,omitempty" json:"offset,omitempty"`
	Pagesize *int `form:"pagesize,omitempty" json:"pagesize,omitempty"`
}

PostUsersParams defines parameters for PostUsers.

type PutChangePasswordJSONBody added in v0.1.5

type PutChangePasswordJSONBody struct {
	AccountID *string `json:"accountID,omitempty"`
	Password  *string `json:"password,omitempty"`
}

PutChangePasswordJSONBody defines parameters for PutChangePassword.

type PutChangePasswordJSONRequestBody added in v0.1.5

type PutChangePasswordJSONRequestBody PutChangePasswordJSONBody

PutChangePasswordJSONRequestBody defines body for PutChangePassword for application/json ContentType.

type PutEntitlementGroupRemoveAccessJSONBody added in v0.1.5

type PutEntitlementGroupRemoveAccessJSONBody struct {
	AccountID     *string `json:"accountID,omitempty"`
	EntitlementID *string `json:"entitlementID,omitempty"`
}

PutEntitlementGroupRemoveAccessJSONBody defines parameters for PutEntitlementGroupRemoveAccess.

type PutEntitlementGroupRemoveAccessJSONRequestBody added in v0.1.5

type PutEntitlementGroupRemoveAccessJSONRequestBody PutEntitlementGroupRemoveAccessJSONBody

PutEntitlementGroupRemoveAccessJSONRequestBody defines body for PutEntitlementGroupRemoveAccess for application/json ContentType.

type PutEntitlementRoleAddAccessJSONBody added in v0.1.5

type PutEntitlementRoleAddAccessJSONBody struct {
	AccountID     *string `json:"accountID,omitempty"`
	EntitlementID *string `json:"entitlementID,omitempty"`
}

PutEntitlementRoleAddAccessJSONBody defines parameters for PutEntitlementRoleAddAccess.

type PutEntitlementRoleAddAccessJSONRequestBody added in v0.1.5

type PutEntitlementRoleAddAccessJSONRequestBody PutEntitlementRoleAddAccessJSONBody

PutEntitlementRoleAddAccessJSONRequestBody defines body for PutEntitlementRoleAddAccess for application/json ContentType.

type PutEntitlementRoleRemoveAccessJSONBody added in v0.1.5

type PutEntitlementRoleRemoveAccessJSONBody struct {
	AccountID     *string `json:"accountID,omitempty"`
	EntitlementID *string `json:"entitlementID,omitempty"`
}

PutEntitlementRoleRemoveAccessJSONBody defines parameters for PutEntitlementRoleRemoveAccess.

type PutEntitlementRoleRemoveAccessJSONRequestBody added in v0.1.5

type PutEntitlementRoleRemoveAccessJSONRequestBody PutEntitlementRoleRemoveAccessJSONBody

PutEntitlementRoleRemoveAccessJSONRequestBody defines body for PutEntitlementRoleRemoveAccess for application/json ContentType.

type PutEntitlementgroupsJSONBody added in v0.1.5

type PutEntitlementgroupsJSONBody struct {
	AccountID     *string `json:"accountID,omitempty"`
	EntitlementID *string `json:"entitlementID,omitempty"`
}

PutEntitlementgroupsJSONBody defines parameters for PutEntitlementgroups.

type PutEntitlementgroupsJSONRequestBody added in v0.1.5

type PutEntitlementgroupsJSONRequestBody PutEntitlementgroupsJSONBody

PutEntitlementgroupsJSONRequestBody defines body for PutEntitlementgroups for application/json ContentType.

type RequiredHeaderError

type RequiredHeaderError struct {
	ParamName string
	Err       error
}

func (*RequiredHeaderError) Error

func (e *RequiredHeaderError) Error() string

func (*RequiredHeaderError) Unwrap

func (e *RequiredHeaderError) Unwrap() error

type RequiredParamError

type RequiredParamError struct {
	ParamName string
}

func (*RequiredParamError) Error

func (e *RequiredParamError) Error() string

type Role added in v0.1.7

type Role struct {
	CUSTOMPROPERTY1   *string    `json:"CUSTOMPROPERTY1,omitempty"`
	CUSTOMPROPERTY10  *string    `json:"CUSTOMPROPERTY10,omitempty"`
	CUSTOMPROPERTY11  *string    `json:"CUSTOMPROPERTY11,omitempty"`
	CUSTOMPROPERTY12  *string    `json:"CUSTOMPROPERTY12,omitempty"`
	CUSTOMPROPERTY13  *string    `json:"CUSTOMPROPERTY13,omitempty"`
	CUSTOMPROPERTY14  *string    `json:"CUSTOMPROPERTY14,omitempty"`
	CUSTOMPROPERTY15  *string    `json:"CUSTOMPROPERTY15,omitempty"`
	CUSTOMPROPERTY16  *string    `json:"CUSTOMPROPERTY16,omitempty"`
	CUSTOMPROPERTY17  *string    `json:"CUSTOMPROPERTY17,omitempty"`
	CUSTOMPROPERTY18  *string    `json:"CUSTOMPROPERTY18,omitempty"`
	CUSTOMPROPERTY19  *string    `json:"CUSTOMPROPERTY19,omitempty"`
	CUSTOMPROPERTY2   *time.Time `json:"CUSTOMPROPERTY2,omitempty"`
	CUSTOMPROPERTY20  *string    `json:"CUSTOMPROPERTY20,omitempty"`
	CUSTOMPROPERTY21  *string    `json:"CUSTOMPROPERTY21,omitempty"`
	CUSTOMPROPERTY22  *string    `json:"CUSTOMPROPERTY22,omitempty"`
	CUSTOMPROPERTY23  *string    `json:"CUSTOMPROPERTY23,omitempty"`
	CUSTOMPROPERTY24  *string    `json:"CUSTOMPROPERTY24,omitempty"`
	CUSTOMPROPERTY25  *string    `json:"CUSTOMPROPERTY25,omitempty"`
	CUSTOMPROPERTY26  *string    `json:"CUSTOMPROPERTY26,omitempty"`
	CUSTOMPROPERTY27  *string    `json:"CUSTOMPROPERTY27,omitempty"`
	CUSTOMPROPERTY28  *string    `json:"CUSTOMPROPERTY28,omitempty"`
	CUSTOMPROPERTY29  *string    `json:"CUSTOMPROPERTY29,omitempty"`
	CUSTOMPROPERTY3   *time.Time `json:"CUSTOMPROPERTY3,omitempty"`
	CUSTOMPROPERTY30  *int       `json:"CUSTOMPROPERTY30,omitempty"`
	CUSTOMPROPERTY31  *string    `json:"CUSTOMPROPERTY31,omitempty"`
	CUSTOMPROPERTY32  *string    `json:"CUSTOMPROPERTY32,omitempty"`
	CUSTOMPROPERTY33  *string    `json:"CUSTOMPROPERTY33,omitempty"`
	CUSTOMPROPERTY34  *string    `json:"CUSTOMPROPERTY34,omitempty"`
	CUSTOMPROPERTY35  *string    `json:"CUSTOMPROPERTY35,omitempty"`
	CUSTOMPROPERTY36  *string    `json:"CUSTOMPROPERTY36,omitempty"`
	CUSTOMPROPERTY37  *string    `json:"CUSTOMPROPERTY37,omitempty"`
	CUSTOMPROPERTY38  *string    `json:"CUSTOMPROPERTY38,omitempty"`
	CUSTOMPROPERTY39  *string    `json:"CUSTOMPROPERTY39,omitempty"`
	CUSTOMPROPERTY4   *string    `json:"CUSTOMPROPERTY4,omitempty"`
	CUSTOMPROPERTY40  *string    `json:"CUSTOMPROPERTY40,omitempty"`
	CUSTOMPROPERTY5   *string    `json:"CUSTOMPROPERTY5,omitempty"`
	CUSTOMPROPERTY6   *string    `json:"CUSTOMPROPERTY6,omitempty"`
	CUSTOMPROPERTY7   *string    `json:"CUSTOMPROPERTY7,omitempty"`
	CUSTOMPROPERTY8   *string    `json:"CUSTOMPROPERTY8,omitempty"`
	CUSTOMPROPERTY9   *string    `json:"CUSTOMPROPERTY9,omitempty"`
	ChildEntitlements *struct {
		Roles *Childroles `json:"roles,omitempty"`
	} `json:"childEntitlements,omitempty"`
	Description         *string   `json:"description,omitempty"`
	Displayname         *string   `json:"displayname,omitempty"`
	Entclass            *string   `json:"entclass,omitempty"`
	EntitlementID       *int      `json:"entitlementID,omitempty"`
	EntitlementGlossary *string   `json:"entitlement_glossary,omitempty"`
	EntitlementValue    *string   `json:"entitlement_value,omitempty"`
	Owners              *[]string `json:"owners,omitempty"`
	Status              *string   `json:"status,omitempty"`
}

Role defines model for role.

type Roles

type Roles struct {
	Offset     *int    `json:"offset,omitempty"`
	Pagesize   *int    `json:"pagesize,omitempty"`
	Roles      *[]Role `json:"roles,omitempty"`
	Totalcount *int    `json:"totalcount,omitempty"`
}

Roles defines model for roles.

type Rolesmembership

type Rolesmembership struct {
	RoleMemberships *[]struct {
		AccountID     *int `json:"accountID,omitempty"`
		EntitlementID *int `json:"entitlementID,omitempty"`
	} `json:"role_memberships,omitempty"`
}

Rolesmembership defines model for rolesmembership.

type ServerInterface

type ServerInterface interface {
	// This API returns the list of accounts
	// (POST /accounts)
	PostAccounts(w http.ResponseWriter, r *http.Request, params PostAccountsParams)
	// This API returns the list of account entitlement association for entitlement type group
	// (GET /accounts/group_memberships)
	GetAccountsGroupMemberships(w http.ResponseWriter, r *http.Request)
	// This API returns the list of account entitlement association for entitlement type role
	// (GET /accounts/role_memberships)
	GetAccountsRoleMemberships(w http.ResponseWriter, r *http.Request)
	// This API can be used to change password of an account
	// (PUT /changePassword)
	PutChangePassword(w http.ResponseWriter, r *http.Request)
	// This API creates an account
	// (POST /createAccount)
	PostCreateAccount(w http.ResponseWriter, r *http.Request)
	// This API grants group access to an account
	// (PUT /entitlement/group/addAccess)
	PutEntitlementgroups(w http.ResponseWriter, r *http.Request)
	// This API removes group access from an account
	// (PUT /entitlement/group/removeAccess)
	PutEntitlementGroupRemoveAccess(w http.ResponseWriter, r *http.Request)
	// This API grants role access to an account
	// (PUT /entitlement/role/addAccess)
	PutEntitlementRoleAddAccess(w http.ResponseWriter, r *http.Request)
	// This API removes role access from an account
	// (PUT /entitlement/role/removeAccess)
	PutEntitlementRoleRemoveAccess(w http.ResponseWriter, r *http.Request)
	// This API returns the list of group type entitlements
	// (POST /entitlements/groups)
	PostEntitlementsGroups(w http.ResponseWriter, r *http.Request, params PostEntitlementsGroupsParams)
	// This API returns the list of role type entitlements
	// (POST /entitlements/roles)
	PostEntitlementsRoles(w http.ResponseWriter, r *http.Request, params PostEntitlementsRolesParams)
	// This API deletes an account
	// (DELETE /removeAccount/{accountID})
	DeleteRemoveAccount(w http.ResponseWriter, r *http.Request, accountID string)
	// This API updates an account
	// (PATCH /updateAccount/{accountID})
	PatchUpdateAccount(w http.ResponseWriter, r *http.Request, accountID string)
	// This API updates a user
	// (PATCH /updateUser/{userName})
	PatchUpdateUser(w http.ResponseWriter, r *http.Request, userName string)
	// This API returns the list of users
	// (POST /users)
	PostUsers(w http.ResponseWriter, r *http.Request, params PostUsersParams)
}

ServerInterface represents all server handlers.

type ServerInterfaceWrapper

type ServerInterfaceWrapper struct {
	Handler            ServerInterface
	HandlerMiddlewares []MiddlewareFunc
	ErrorHandlerFunc   func(w http.ResponseWriter, r *http.Request, err error)
}

ServerInterfaceWrapper converts contexts to parameters.

func (*ServerInterfaceWrapper) DeleteRemoveAccount added in v0.1.5

func (siw *ServerInterfaceWrapper) DeleteRemoveAccount(w http.ResponseWriter, r *http.Request)

DeleteRemoveAccount operation middleware

func (*ServerInterfaceWrapper) GetAccountsGroupMemberships added in v0.1.5

func (siw *ServerInterfaceWrapper) GetAccountsGroupMemberships(w http.ResponseWriter, r *http.Request)

GetAccountsGroupMemberships operation middleware

func (*ServerInterfaceWrapper) GetAccountsRoleMemberships added in v0.1.5

func (siw *ServerInterfaceWrapper) GetAccountsRoleMemberships(w http.ResponseWriter, r *http.Request)

GetAccountsRoleMemberships operation middleware

func (*ServerInterfaceWrapper) PatchUpdateAccount added in v0.1.5

func (siw *ServerInterfaceWrapper) PatchUpdateAccount(w http.ResponseWriter, r *http.Request)

PatchUpdateAccount operation middleware

func (*ServerInterfaceWrapper) PatchUpdateUser added in v0.1.5

func (siw *ServerInterfaceWrapper) PatchUpdateUser(w http.ResponseWriter, r *http.Request)

PatchUpdateUser operation middleware

func (*ServerInterfaceWrapper) PostAccounts added in v0.1.5

func (siw *ServerInterfaceWrapper) PostAccounts(w http.ResponseWriter, r *http.Request)

PostAccounts operation middleware

func (*ServerInterfaceWrapper) PostCreateAccount added in v0.1.5

func (siw *ServerInterfaceWrapper) PostCreateAccount(w http.ResponseWriter, r *http.Request)

PostCreateAccount operation middleware

func (*ServerInterfaceWrapper) PostEntitlementsGroups added in v0.1.5

func (siw *ServerInterfaceWrapper) PostEntitlementsGroups(w http.ResponseWriter, r *http.Request)

PostEntitlementsGroups operation middleware

func (*ServerInterfaceWrapper) PostEntitlementsRoles added in v0.1.5

func (siw *ServerInterfaceWrapper) PostEntitlementsRoles(w http.ResponseWriter, r *http.Request)

PostEntitlementsRoles operation middleware

func (*ServerInterfaceWrapper) PostUsers added in v0.1.5

func (siw *ServerInterfaceWrapper) PostUsers(w http.ResponseWriter, r *http.Request)

PostUsers operation middleware

func (*ServerInterfaceWrapper) PutChangePassword added in v0.1.5

func (siw *ServerInterfaceWrapper) PutChangePassword(w http.ResponseWriter, r *http.Request)

PutChangePassword operation middleware

func (*ServerInterfaceWrapper) PutEntitlementGroupRemoveAccess added in v0.1.5

func (siw *ServerInterfaceWrapper) PutEntitlementGroupRemoveAccess(w http.ResponseWriter, r *http.Request)

PutEntitlementGroupRemoveAccess operation middleware

func (*ServerInterfaceWrapper) PutEntitlementRoleAddAccess added in v0.1.5

func (siw *ServerInterfaceWrapper) PutEntitlementRoleAddAccess(w http.ResponseWriter, r *http.Request)

PutEntitlementRoleAddAccess operation middleware

func (*ServerInterfaceWrapper) PutEntitlementRoleRemoveAccess added in v0.1.5

func (siw *ServerInterfaceWrapper) PutEntitlementRoleRemoveAccess(w http.ResponseWriter, r *http.Request)

PutEntitlementRoleRemoveAccess operation middleware

func (*ServerInterfaceWrapper) PutEntitlementgroups added in v0.1.5

func (siw *ServerInterfaceWrapper) PutEntitlementgroups(w http.ResponseWriter, r *http.Request)

PutEntitlementgroups operation middleware

type TooManyValuesForParamError

type TooManyValuesForParamError struct {
	ParamName string
	Count     int
}

func (*TooManyValuesForParamError) Error

type UnescapedCookieParamError

type UnescapedCookieParamError struct {
	ParamName string
	Err       error
}

func (*UnescapedCookieParamError) Error

func (e *UnescapedCookieParamError) Error() string

func (*UnescapedCookieParamError) Unwrap

func (e *UnescapedCookieParamError) Unwrap() error

type Unimplemented

type Unimplemented struct{}

func (Unimplemented) DeleteRemoveAccount added in v0.1.5

func (_ Unimplemented) DeleteRemoveAccount(w http.ResponseWriter, r *http.Request, accountID string)

This API deletes an account (DELETE /removeAccount/{accountID})

func (Unimplemented) GetAccountsGroupMemberships added in v0.1.5

func (_ Unimplemented) GetAccountsGroupMemberships(w http.ResponseWriter, r *http.Request)

This API returns the list of account entitlement association for entitlement type group (GET /accounts/group_memberships)

func (Unimplemented) GetAccountsRoleMemberships added in v0.1.5

func (_ Unimplemented) GetAccountsRoleMemberships(w http.ResponseWriter, r *http.Request)

This API returns the list of account entitlement association for entitlement type role (GET /accounts/role_memberships)

func (Unimplemented) PatchUpdateAccount added in v0.1.5

func (_ Unimplemented) PatchUpdateAccount(w http.ResponseWriter, r *http.Request, accountID string)

This API updates an account (PATCH /updateAccount/{accountID})

func (Unimplemented) PatchUpdateUser added in v0.1.5

func (_ Unimplemented) PatchUpdateUser(w http.ResponseWriter, r *http.Request, userName string)

This API updates a user (PATCH /updateUser/{userName})

func (Unimplemented) PostAccounts added in v0.1.5

func (_ Unimplemented) PostAccounts(w http.ResponseWriter, r *http.Request, params PostAccountsParams)

This API returns the list of accounts (POST /accounts)

func (Unimplemented) PostCreateAccount added in v0.1.5

func (_ Unimplemented) PostCreateAccount(w http.ResponseWriter, r *http.Request)

This API creates an account (POST /createAccount)

func (Unimplemented) PostEntitlementsGroups added in v0.1.5

func (_ Unimplemented) PostEntitlementsGroups(w http.ResponseWriter, r *http.Request, params PostEntitlementsGroupsParams)

This API returns the list of group type entitlements (POST /entitlements/groups)

func (Unimplemented) PostEntitlementsRoles added in v0.1.5

func (_ Unimplemented) PostEntitlementsRoles(w http.ResponseWriter, r *http.Request, params PostEntitlementsRolesParams)

This API returns the list of role type entitlements (POST /entitlements/roles)

func (Unimplemented) PostUsers added in v0.1.5

func (_ Unimplemented) PostUsers(w http.ResponseWriter, r *http.Request, params PostUsersParams)

This API returns the list of users (POST /users)

func (Unimplemented) PutChangePassword added in v0.1.5

func (_ Unimplemented) PutChangePassword(w http.ResponseWriter, r *http.Request)

This API can be used to change password of an account (PUT /changePassword)

func (Unimplemented) PutEntitlementGroupRemoveAccess added in v0.1.5

func (_ Unimplemented) PutEntitlementGroupRemoveAccess(w http.ResponseWriter, r *http.Request)

This API removes group access from an account (PUT /entitlement/group/removeAccess)

func (Unimplemented) PutEntitlementRoleAddAccess added in v0.1.5

func (_ Unimplemented) PutEntitlementRoleAddAccess(w http.ResponseWriter, r *http.Request)

This API grants role access to an account (PUT /entitlement/role/addAccess)

func (Unimplemented) PutEntitlementRoleRemoveAccess added in v0.1.5

func (_ Unimplemented) PutEntitlementRoleRemoveAccess(w http.ResponseWriter, r *http.Request)

This API removes role access from an account (PUT /entitlement/role/removeAccess)

func (Unimplemented) PutEntitlementgroups added in v0.1.5

func (_ Unimplemented) PutEntitlementgroups(w http.ResponseWriter, r *http.Request)

This API grants group access to an account (PUT /entitlement/group/addAccess)

type UnmarshalingParamError

type UnmarshalingParamError struct {
	ParamName string
	Err       error
}

func (*UnmarshalingParamError) Error

func (e *UnmarshalingParamError) Error() string

func (*UnmarshalingParamError) Unwrap

func (e *UnmarshalingParamError) Unwrap() error

type Updateuser

type Updateuser struct {
	Customproperty1   *string `json:"customproperty1,omitempty"`
	Email             *string `json:"email,omitempty"`
	EmployeeType      *string `json:"employeeType,omitempty"`
	Firstname         *string `json:"firstname,omitempty"`
	Jobcodedesc       *string `json:"jobcodedesc,omitempty"`
	Lastname          *string `json:"lastname,omitempty"`
	Manager           *string `json:"manager,omitempty"`
	Middlename        *string `json:"middlename,omitempty"`
	PreferedFirstName *string `json:"preferedFirstName,omitempty"`
	Statuskey         *string `json:"statuskey,omitempty"`
}

Updateuser defines model for updateuser.

type User added in v0.1.7

type User = []struct {
	ACCOUNTEXPIRED    *int    `json:"ACCOUNTEXPIRED,omitempty"`
	ACCOUNTLOCKED     *int    `json:"ACCOUNTLOCKED,omitempty"`
	CITY              *string `json:"CITY,omitempty"`
	COMMENTS          *string `json:"COMMENTS,omitempty"`
	COMPANYNAME       *string `json:"COMPANYNAME,omitempty"`
	COSTCENTER        *string `json:"COSTCENTER,omitempty"`
	COUNTRY           *string `json:"COUNTRY,omitempty"`
	CUSTOMPROPERTY1   *string `json:"CUSTOMPROPERTY1,omitempty"`
	CUSTOMPROPERTY10  *string `json:"CUSTOMPROPERTY10,omitempty"`
	CUSTOMPROPERTY11  *string `json:"CUSTOMPROPERTY11,omitempty"`
	CUSTOMPROPERTY12  *string `json:"CUSTOMPROPERTY12,omitempty"`
	CUSTOMPROPERTY13  *string `json:"CUSTOMPROPERTY13,omitempty"`
	CUSTOMPROPERTY14  *string `json:"CUSTOMPROPERTY14,omitempty"`
	CUSTOMPROPERTY15  *string `json:"CUSTOMPROPERTY15,omitempty"`
	CUSTOMPROPERTY16  *string `json:"CUSTOMPROPERTY16,omitempty"`
	CUSTOMPROPERTY17  *string `json:"CUSTOMPROPERTY17,omitempty"`
	CUSTOMPROPERTY18  *string `json:"CUSTOMPROPERTY18,omitempty"`
	CUSTOMPROPERTY19  *string `json:"CUSTOMPROPERTY19,omitempty"`
	CUSTOMPROPERTY2   *string `json:"CUSTOMPROPERTY2,omitempty"`
	CUSTOMPROPERTY20  *string `json:"CUSTOMPROPERTY20,omitempty"`
	CUSTOMPROPERTY21  *string `json:"CUSTOMPROPERTY21,omitempty"`
	CUSTOMPROPERTY22  *string `json:"CUSTOMPROPERTY22,omitempty"`
	CUSTOMPROPERTY23  *string `json:"CUSTOMPROPERTY23,omitempty"`
	CUSTOMPROPERTY24  *string `json:"CUSTOMPROPERTY24,omitempty"`
	CUSTOMPROPERTY25  *string `json:"CUSTOMPROPERTY25,omitempty"`
	CUSTOMPROPERTY26  *string `json:"CUSTOMPROPERTY26,omitempty"`
	CUSTOMPROPERTY27  *string `json:"CUSTOMPROPERTY27,omitempty"`
	CUSTOMPROPERTY28  *string `json:"CUSTOMPROPERTY28,omitempty"`
	CUSTOMPROPERTY29  *string `json:"CUSTOMPROPERTY29,omitempty"`
	CUSTOMPROPERTY3   *string `json:"CUSTOMPROPERTY3,omitempty"`
	CUSTOMPROPERTY30  *string `json:"CUSTOMPROPERTY30,omitempty"`
	CUSTOMPROPERTY31  *string `json:"CUSTOMPROPERTY31,omitempty"`
	CUSTOMPROPERTY32  *string `json:"CUSTOMPROPERTY32,omitempty"`
	CUSTOMPROPERTY33  *string `json:"CUSTOMPROPERTY33,omitempty"`
	CUSTOMPROPERTY34  *string `json:"CUSTOMPROPERTY34,omitempty"`
	CUSTOMPROPERTY35  *string `json:"CUSTOMPROPERTY35,omitempty"`
	CUSTOMPROPERTY36  *string `json:"CUSTOMPROPERTY36,omitempty"`
	CUSTOMPROPERTY37  *string `json:"CUSTOMPROPERTY37,omitempty"`
	CUSTOMPROPERTY38  *string `json:"CUSTOMPROPERTY38,omitempty"`
	CUSTOMPROPERTY39  *string `json:"CUSTOMPROPERTY39,omitempty"`
	CUSTOMPROPERTY4   *string `json:"CUSTOMPROPERTY4,omitempty"`
	CUSTOMPROPERTY40  *string `json:"CUSTOMPROPERTY40,omitempty"`
	CUSTOMPROPERTY41  *string `json:"CUSTOMPROPERTY41,omitempty"`
	CUSTOMPROPERTY42  *string `json:"CUSTOMPROPERTY42,omitempty"`
	CUSTOMPROPERTY43  *string `json:"CUSTOMPROPERTY43,omitempty"`
	CUSTOMPROPERTY44  *string `json:"CUSTOMPROPERTY44,omitempty"`
	CUSTOMPROPERTY45  *string `json:"CUSTOMPROPERTY45,omitempty"`
	CUSTOMPROPERTY46  *string `json:"CUSTOMPROPERTY46,omitempty"`
	CUSTOMPROPERTY47  *string `json:"CUSTOMPROPERTY47,omitempty"`
	CUSTOMPROPERTY48  *string `json:"CUSTOMPROPERTY48,omitempty"`
	CUSTOMPROPERTY49  *string `json:"CUSTOMPROPERTY49,omitempty"`
	CUSTOMPROPERTY5   *string `json:"CUSTOMPROPERTY5,omitempty"`
	CUSTOMPROPERTY50  *string `json:"CUSTOMPROPERTY50,omitempty"`
	CUSTOMPROPERTY51  *string `json:"CUSTOMPROPERTY51,omitempty"`
	CUSTOMPROPERTY52  *string `json:"CUSTOMPROPERTY52,omitempty"`
	CUSTOMPROPERTY53  *string `json:"CUSTOMPROPERTY53,omitempty"`
	CUSTOMPROPERTY54  *string `json:"CUSTOMPROPERTY54,omitempty"`
	CUSTOMPROPERTY55  *string `json:"CUSTOMPROPERTY55,omitempty"`
	CUSTOMPROPERTY56  *string `json:"CUSTOMPROPERTY56,omitempty"`
	CUSTOMPROPERTY57  *string `json:"CUSTOMPROPERTY57,omitempty"`
	CUSTOMPROPERTY58  *string `json:"CUSTOMPROPERTY58,omitempty"`
	CUSTOMPROPERTY59  *string `json:"CUSTOMPROPERTY59,omitempty"`
	CUSTOMPROPERTY6   *string `json:"CUSTOMPROPERTY6,omitempty"`
	CUSTOMPROPERTY60  *string `json:"CUSTOMPROPERTY60,omitempty"`
	CUSTOMPROPERTY61  *string `json:"CUSTOMPROPERTY61,omitempty"`
	CUSTOMPROPERTY62  *string `json:"CUSTOMPROPERTY62,omitempty"`
	CUSTOMPROPERTY63  *string `json:"CUSTOMPROPERTY63,omitempty"`
	CUSTOMPROPERTY64  *string `json:"CUSTOMPROPERTY64,omitempty"`
	CUSTOMPROPERTY65  *string `json:"CUSTOMPROPERTY65,omitempty"`
	CUSTOMPROPERTY7   *string `json:"CUSTOMPROPERTY7,omitempty"`
	CUSTOMPROPERTY8   *string `json:"CUSTOMPROPERTY8,omitempty"`
	CUSTOMPROPERTY9   *string `json:"CUSTOMPROPERTY9,omitempty"`
	DEPARTMENTNAME    *string `json:"DEPARTMENTNAME,omitempty"`
	DEPARTMENTNUMBER  *string `json:"DEPARTMENTNUMBER,omitempty"`
	DISPLAYNAME       *string `json:"DISPLAYNAME,omitempty"`
	EMAIL             *string `json:"EMAIL,omitempty"`
	EMPLOYEECLASS     *string `json:"EMPLOYEECLASS,omitempty"`
	EMPLOYEEID        *string `json:"EMPLOYEEID,omitempty"`
	EMPLOYEETYPE      *string `json:"EMPLOYEETYPE,omitempty"`
	ENDDATE           *string `json:"ENDDATE,omitempty"`
	FIRSTNAME         *string `json:"FIRSTNAME,omitempty"`
	JOBCODE           *string `json:"JOBCODE,omitempty"`
	JOBCODEDESC       *string `json:"JOBCODEDESC,omitempty"`
	JOBDESCRIPTION    *string `json:"JOBDESCRIPTION,omitempty"`
	JOBFUNCTION       *string `json:"JOB_FUNCTION,omitempty"`
	LASTNAME          *string `json:"LASTNAME,omitempty"`
	LEAVESTATUS       *string `json:"LEAVESTATUS,omitempty"`
	LOCALE            *string `json:"LOCALE,omitempty"`
	LOCATION          *string `json:"LOCATION,omitempty"`
	LOCATIONDESC      *string `json:"LOCATIONDESC,omitempty"`
	LOCATIONNUMBER    *string `json:"LOCATIONNUMBER,omitempty"`
	MANAGER           *string `json:"MANAGER,omitempty"`
	MIDDLENAME        *string `json:"MIDDLENAME,omitempty"`
	ORGUNITID         *string `json:"ORGUNITID,omitempty"`
	PHONENUMBER       *string `json:"PHONENUMBER,omitempty"`
	PREFEREDFIRSTNAME *string `json:"PREFEREDFIRSTNAME,omitempty"`
	REGION            *string `json:"REGION,omitempty"`
	REGIONCODE        *string `json:"REGIONCODE,omitempty"`
	SECONDARYEMAIL    *string `json:"SECONDARYEMAIL,omitempty"`
	SECONDARYMANAGER  *string `json:"SECONDARYMANAGER,omitempty"`
	SECONDARYPHONE    *string `json:"SECONDARYPHONE,omitempty"`
	SITEID            *string `json:"SITEID,omitempty"`
	STARTDATE         *string `json:"STARTDATE,omitempty"`
	STATE             *string `json:"STATE,omitempty"`
	STATUSKEY         *string `json:"STATUSKEY,omitempty"`
	STREET            *string `json:"STREET,omitempty"`
	TERMDATE          *string `json:"TERMDATE,omitempty"`
	TITLE             *string `json:"TITLE,omitempty"`
	UPDATEDATE        *string `json:"UPDATEDATE,omitempty"`
	USERNAME          *string `json:"USERNAME,omitempty"`
}

User defines model for user.

type Users

type Users struct {
	Offset     *int    `json:"offset,omitempty"`
	Pagesize   *int    `json:"pagesize,omitempty"`
	Totalcount *int    `json:"totalcount,omitempty"`
	Users      *[]User `json:"users,omitempty"`
}

Users defines model for users.

Jump to

Keyboard shortcuts

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