Documentation ¶
Index ¶
- type DirectReportClient
- func (c DirectReportClient) GetDirectReport(ctx context.Context, id beta.UserIdDirectReportId, ...) (result GetDirectReportOperationResponse, err error)
- func (c DirectReportClient) GetDirectReportsCount(ctx context.Context, id beta.UserId, ...) (result GetDirectReportsCountOperationResponse, err error)
- func (c DirectReportClient) ListDirectReports(ctx context.Context, id beta.UserId, options ListDirectReportsOperationOptions) (result ListDirectReportsOperationResponse, err error)
- func (c DirectReportClient) ListDirectReportsComplete(ctx context.Context, id beta.UserId, options ListDirectReportsOperationOptions) (ListDirectReportsCompleteResult, error)
- func (c DirectReportClient) ListDirectReportsCompleteMatchingPredicate(ctx context.Context, id beta.UserId, options ListDirectReportsOperationOptions, ...) (result ListDirectReportsCompleteResult, err error)
- type DirectoryObjectOperationPredicate
- type GetDirectReportOperationOptions
- type GetDirectReportOperationResponse
- type GetDirectReportsCountOperationOptions
- type GetDirectReportsCountOperationResponse
- type ListDirectReportsCompleteResult
- type ListDirectReportsCustomPager
- type ListDirectReportsOperationOptions
- type ListDirectReportsOperationResponse
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DirectReportClient ¶
func NewDirectReportClientWithBaseURI ¶
func NewDirectReportClientWithBaseURI(sdkApi sdkEnv.Api) (*DirectReportClient, error)
func (DirectReportClient) GetDirectReport ¶
func (c DirectReportClient) GetDirectReport(ctx context.Context, id beta.UserIdDirectReportId, options GetDirectReportOperationOptions) (result GetDirectReportOperationResponse, err error)
GetDirectReport - Get directReports from users. The users and contacts that report to the user. (The users and contacts with their manager property set to this user.) Read-only. Nullable. Supports $expand.
func (DirectReportClient) GetDirectReportsCount ¶
func (c DirectReportClient) GetDirectReportsCount(ctx context.Context, id beta.UserId, options GetDirectReportsCountOperationOptions) (result GetDirectReportsCountOperationResponse, err error)
GetDirectReportsCount - Get the number of the resource
func (DirectReportClient) ListDirectReports ¶
func (c DirectReportClient) ListDirectReports(ctx context.Context, id beta.UserId, options ListDirectReportsOperationOptions) (result ListDirectReportsOperationResponse, err error)
ListDirectReports - Get directReports from users. The users and contacts that report to the user. (The users and contacts with their manager property set to this user.) Read-only. Nullable. Supports $expand.
func (DirectReportClient) ListDirectReportsComplete ¶
func (c DirectReportClient) ListDirectReportsComplete(ctx context.Context, id beta.UserId, options ListDirectReportsOperationOptions) (ListDirectReportsCompleteResult, error)
ListDirectReportsComplete retrieves all the results into a single object
func (DirectReportClient) ListDirectReportsCompleteMatchingPredicate ¶
func (c DirectReportClient) ListDirectReportsCompleteMatchingPredicate(ctx context.Context, id beta.UserId, options ListDirectReportsOperationOptions, predicate DirectoryObjectOperationPredicate) (result ListDirectReportsCompleteResult, err error)
ListDirectReportsCompleteMatchingPredicate retrieves all the results and then applies the predicate
type DirectoryObjectOperationPredicate ¶
type DirectoryObjectOperationPredicate struct { }
func (DirectoryObjectOperationPredicate) Matches ¶
func (p DirectoryObjectOperationPredicate) Matches(input beta.DirectoryObject) bool
type GetDirectReportOperationOptions ¶
type GetDirectReportOperationOptions struct { ConsistencyLevel *odata.ConsistencyLevel Expand *odata.Expand Metadata *odata.Metadata RetryFunc client.RequestRetryFunc Select *[]string }
func DefaultGetDirectReportOperationOptions ¶
func DefaultGetDirectReportOperationOptions() GetDirectReportOperationOptions
func (GetDirectReportOperationOptions) ToHeaders ¶
func (o GetDirectReportOperationOptions) ToHeaders() *client.Headers
func (GetDirectReportOperationOptions) ToOData ¶
func (o GetDirectReportOperationOptions) ToOData() *odata.Query
func (GetDirectReportOperationOptions) ToQuery ¶
func (o GetDirectReportOperationOptions) ToQuery() *client.QueryParams
type GetDirectReportsCountOperationOptions ¶
type GetDirectReportsCountOperationOptions struct { ConsistencyLevel *odata.ConsistencyLevel Filter *string Metadata *odata.Metadata RetryFunc client.RequestRetryFunc Search *string }
func DefaultGetDirectReportsCountOperationOptions ¶
func DefaultGetDirectReportsCountOperationOptions() GetDirectReportsCountOperationOptions
func (GetDirectReportsCountOperationOptions) ToHeaders ¶
func (o GetDirectReportsCountOperationOptions) ToHeaders() *client.Headers
func (GetDirectReportsCountOperationOptions) ToOData ¶
func (o GetDirectReportsCountOperationOptions) ToOData() *odata.Query
func (GetDirectReportsCountOperationOptions) ToQuery ¶
func (o GetDirectReportsCountOperationOptions) ToQuery() *client.QueryParams
type ListDirectReportsCompleteResult ¶
type ListDirectReportsCompleteResult struct { LatestHttpResponse *http.Response Items []beta.DirectoryObject }
type ListDirectReportsCustomPager ¶
func (*ListDirectReportsCustomPager) NextPageLink ¶
func (p *ListDirectReportsCustomPager) NextPageLink() *odata.Link
type ListDirectReportsOperationOptions ¶
type ListDirectReportsOperationOptions struct { ConsistencyLevel *odata.ConsistencyLevel Count *bool Expand *odata.Expand Filter *string Metadata *odata.Metadata OrderBy *odata.OrderBy RetryFunc client.RequestRetryFunc Search *string Select *[]string Skip *int64 Top *int64 }
func DefaultListDirectReportsOperationOptions ¶
func DefaultListDirectReportsOperationOptions() ListDirectReportsOperationOptions
func (ListDirectReportsOperationOptions) ToHeaders ¶
func (o ListDirectReportsOperationOptions) ToHeaders() *client.Headers
func (ListDirectReportsOperationOptions) ToOData ¶
func (o ListDirectReportsOperationOptions) ToOData() *odata.Query
func (ListDirectReportsOperationOptions) ToQuery ¶
func (o ListDirectReportsOperationOptions) ToQuery() *client.QueryParams