Documentation ¶
Index ¶
- type DirectoryObjectOperationPredicate
- type GetSponsorOperationOptions
- type GetSponsorOperationResponse
- type GetSponsorsCountOperationOptions
- type GetSponsorsCountOperationResponse
- type ListSponsorsCompleteResult
- type ListSponsorsCustomPager
- type ListSponsorsOperationOptions
- type ListSponsorsOperationResponse
- type SponsorClient
- func (c SponsorClient) GetSponsor(ctx context.Context, id beta.UserIdSponsorId, ...) (result GetSponsorOperationResponse, err error)
- func (c SponsorClient) GetSponsorsCount(ctx context.Context, id beta.UserId, options GetSponsorsCountOperationOptions) (result GetSponsorsCountOperationResponse, err error)
- func (c SponsorClient) ListSponsors(ctx context.Context, id beta.UserId, options ListSponsorsOperationOptions) (result ListSponsorsOperationResponse, err error)
- func (c SponsorClient) ListSponsorsComplete(ctx context.Context, id beta.UserId, options ListSponsorsOperationOptions) (ListSponsorsCompleteResult, error)
- func (c SponsorClient) ListSponsorsCompleteMatchingPredicate(ctx context.Context, id beta.UserId, options ListSponsorsOperationOptions, ...) (result ListSponsorsCompleteResult, err error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DirectoryObjectOperationPredicate ¶
type DirectoryObjectOperationPredicate struct { }
func (DirectoryObjectOperationPredicate) Matches ¶
func (p DirectoryObjectOperationPredicate) Matches(input beta.DirectoryObject) bool
type GetSponsorOperationOptions ¶
type GetSponsorOperationOptions struct { Expand *odata.Expand Metadata *odata.Metadata RetryFunc client.RequestRetryFunc Select *[]string }
func DefaultGetSponsorOperationOptions ¶
func DefaultGetSponsorOperationOptions() GetSponsorOperationOptions
func (GetSponsorOperationOptions) ToHeaders ¶
func (o GetSponsorOperationOptions) ToHeaders() *client.Headers
func (GetSponsorOperationOptions) ToOData ¶
func (o GetSponsorOperationOptions) ToOData() *odata.Query
func (GetSponsorOperationOptions) ToQuery ¶
func (o GetSponsorOperationOptions) ToQuery() *client.QueryParams
type GetSponsorsCountOperationOptions ¶
type GetSponsorsCountOperationOptions struct { Filter *string Metadata *odata.Metadata RetryFunc client.RequestRetryFunc Search *string }
func DefaultGetSponsorsCountOperationOptions ¶
func DefaultGetSponsorsCountOperationOptions() GetSponsorsCountOperationOptions
func (GetSponsorsCountOperationOptions) ToHeaders ¶
func (o GetSponsorsCountOperationOptions) ToHeaders() *client.Headers
func (GetSponsorsCountOperationOptions) ToOData ¶
func (o GetSponsorsCountOperationOptions) ToOData() *odata.Query
func (GetSponsorsCountOperationOptions) ToQuery ¶
func (o GetSponsorsCountOperationOptions) ToQuery() *client.QueryParams
type ListSponsorsCompleteResult ¶
type ListSponsorsCompleteResult struct { LatestHttpResponse *http.Response Items []beta.DirectoryObject }
type ListSponsorsCustomPager ¶
func (*ListSponsorsCustomPager) NextPageLink ¶
func (p *ListSponsorsCustomPager) NextPageLink() *odata.Link
type ListSponsorsOperationOptions ¶
type ListSponsorsOperationOptions struct { 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 DefaultListSponsorsOperationOptions ¶
func DefaultListSponsorsOperationOptions() ListSponsorsOperationOptions
func (ListSponsorsOperationOptions) ToHeaders ¶
func (o ListSponsorsOperationOptions) ToHeaders() *client.Headers
func (ListSponsorsOperationOptions) ToOData ¶
func (o ListSponsorsOperationOptions) ToOData() *odata.Query
func (ListSponsorsOperationOptions) ToQuery ¶
func (o ListSponsorsOperationOptions) ToQuery() *client.QueryParams
type SponsorClient ¶
func NewSponsorClientWithBaseURI ¶
func NewSponsorClientWithBaseURI(sdkApi sdkEnv.Api) (*SponsorClient, error)
func (SponsorClient) GetSponsor ¶
func (c SponsorClient) GetSponsor(ctx context.Context, id beta.UserIdSponsorId, options GetSponsorOperationOptions) (result GetSponsorOperationResponse, err error)
GetSponsor - Get sponsors from users. The users and groups responsible for this guest user's privileges in the tenant and keep the guest user's information and access updated. (HTTP Methods: GET, POST, DELETE.). Supports $expand.
func (SponsorClient) GetSponsorsCount ¶
func (c SponsorClient) GetSponsorsCount(ctx context.Context, id beta.UserId, options GetSponsorsCountOperationOptions) (result GetSponsorsCountOperationResponse, err error)
GetSponsorsCount - Get the number of the resource
func (SponsorClient) ListSponsors ¶
func (c SponsorClient) ListSponsors(ctx context.Context, id beta.UserId, options ListSponsorsOperationOptions) (result ListSponsorsOperationResponse, err error)
ListSponsors - List sponsors. Get a user's sponsors. Sponsors are users and groups that are responsible for this guest's privileges in the tenant and for keeping the guest's information and access up to date.
func (SponsorClient) ListSponsorsComplete ¶
func (c SponsorClient) ListSponsorsComplete(ctx context.Context, id beta.UserId, options ListSponsorsOperationOptions) (ListSponsorsCompleteResult, error)
ListSponsorsComplete retrieves all the results into a single object
func (SponsorClient) ListSponsorsCompleteMatchingPredicate ¶
func (c SponsorClient) ListSponsorsCompleteMatchingPredicate(ctx context.Context, id beta.UserId, options ListSponsorsOperationOptions, predicate DirectoryObjectOperationPredicate) (result ListSponsorsCompleteResult, err error)
ListSponsorsCompleteMatchingPredicate retrieves all the results and then applies the predicate