Documentation ¶
Index ¶
- type GetManagerOperationOptions
- type GetManagerOperationResponse
- type GetManagerRefOperationOptions
- type GetManagerRefOperationResponse
- type ManagerClient
- func (c ManagerClient) GetManager(ctx context.Context, id beta.UserId, options GetManagerOperationOptions) (result GetManagerOperationResponse, err error)
- func (c ManagerClient) GetManagerRef(ctx context.Context, id beta.UserId, options GetManagerRefOperationOptions) (result GetManagerRefOperationResponse, err error)
- func (c ManagerClient) RemoveManagerRef(ctx context.Context, id beta.UserId, options RemoveManagerRefOperationOptions) (result RemoveManagerRefOperationResponse, err error)
- func (c ManagerClient) SetManagerRef(ctx context.Context, id beta.UserId, input beta.ReferenceUpdate, ...) (result SetManagerRefOperationResponse, err error)
- type RemoveManagerRefOperationOptions
- type RemoveManagerRefOperationResponse
- type SetManagerRefOperationOptions
- type SetManagerRefOperationResponse
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type GetManagerOperationOptions ¶
type GetManagerOperationOptions struct { Expand *odata.Expand Metadata *odata.Metadata RetryFunc client.RequestRetryFunc Select *[]string }
func DefaultGetManagerOperationOptions ¶
func DefaultGetManagerOperationOptions() GetManagerOperationOptions
func (GetManagerOperationOptions) ToHeaders ¶
func (o GetManagerOperationOptions) ToHeaders() *client.Headers
func (GetManagerOperationOptions) ToOData ¶
func (o GetManagerOperationOptions) ToOData() *odata.Query
func (GetManagerOperationOptions) ToQuery ¶
func (o GetManagerOperationOptions) ToQuery() *client.QueryParams
type GetManagerRefOperationOptions ¶
type GetManagerRefOperationOptions struct { Metadata *odata.Metadata RetryFunc client.RequestRetryFunc }
func DefaultGetManagerRefOperationOptions ¶
func DefaultGetManagerRefOperationOptions() GetManagerRefOperationOptions
func (GetManagerRefOperationOptions) ToHeaders ¶
func (o GetManagerRefOperationOptions) ToHeaders() *client.Headers
func (GetManagerRefOperationOptions) ToOData ¶
func (o GetManagerRefOperationOptions) ToOData() *odata.Query
func (GetManagerRefOperationOptions) ToQuery ¶
func (o GetManagerRefOperationOptions) ToQuery() *client.QueryParams
type ManagerClient ¶
func NewManagerClientWithBaseURI ¶
func NewManagerClientWithBaseURI(sdkApi sdkEnv.Api) (*ManagerClient, error)
func (ManagerClient) GetManager ¶
func (c ManagerClient) GetManager(ctx context.Context, id beta.UserId, options GetManagerOperationOptions) (result GetManagerOperationResponse, err error)
GetManager - List manager. Returns the user or organizational contact assigned as the user's manager. Optionally, you can expand the manager's chain up to the root node.
func (ManagerClient) GetManagerRef ¶
func (c ManagerClient) GetManagerRef(ctx context.Context, id beta.UserId, options GetManagerRefOperationOptions) (result GetManagerRefOperationResponse, err error)
GetManagerRef - List manager. Returns the user or organizational contact assigned as the user's manager. Optionally, you can expand the manager's chain up to the root node.
func (ManagerClient) RemoveManagerRef ¶
func (c ManagerClient) RemoveManagerRef(ctx context.Context, id beta.UserId, options RemoveManagerRefOperationOptions) (result RemoveManagerRefOperationResponse, err error)
RemoveManagerRef - Remove manager. Remove a user's manager.
func (ManagerClient) SetManagerRef ¶
func (c ManagerClient) SetManagerRef(ctx context.Context, id beta.UserId, input beta.ReferenceUpdate, options SetManagerRefOperationOptions) (result SetManagerRefOperationResponse, err error)
SetManagerRef - Assign a manager. Assign a user's manager.
type RemoveManagerRefOperationOptions ¶
type RemoveManagerRefOperationOptions struct { IfMatch *string Metadata *odata.Metadata RetryFunc client.RequestRetryFunc }
func DefaultRemoveManagerRefOperationOptions ¶
func DefaultRemoveManagerRefOperationOptions() RemoveManagerRefOperationOptions
func (RemoveManagerRefOperationOptions) ToHeaders ¶
func (o RemoveManagerRefOperationOptions) ToHeaders() *client.Headers
func (RemoveManagerRefOperationOptions) ToOData ¶
func (o RemoveManagerRefOperationOptions) ToOData() *odata.Query
func (RemoveManagerRefOperationOptions) ToQuery ¶
func (o RemoveManagerRefOperationOptions) ToQuery() *client.QueryParams
type SetManagerRefOperationOptions ¶
type SetManagerRefOperationOptions struct { Metadata *odata.Metadata RetryFunc client.RequestRetryFunc }
func DefaultSetManagerRefOperationOptions ¶
func DefaultSetManagerRefOperationOptions() SetManagerRefOperationOptions
func (SetManagerRefOperationOptions) ToHeaders ¶
func (o SetManagerRefOperationOptions) ToHeaders() *client.Headers
func (SetManagerRefOperationOptions) ToOData ¶
func (o SetManagerRefOperationOptions) ToOData() *odata.Query
func (SetManagerRefOperationOptions) ToQuery ¶
func (o SetManagerRefOperationOptions) ToQuery() *client.QueryParams
Click to show internal directories.
Click to hide internal directories.