Documentation ¶
Index ¶
- type AddMemberRefOperationOptions
- type AddMemberRefOperationResponse
- type CreateMemberOperationOptions
- type CreateMemberOperationResponse
- type DirectoryObjectOperationPredicate
- type GetMembersCountOperationOptions
- type GetMembersCountOperationResponse
- type ListMemberRefsCompleteResult
- type ListMemberRefsCustomPager
- type ListMemberRefsOperationOptions
- type ListMemberRefsOperationResponse
- type ListMembersCompleteResult
- type ListMembersCustomPager
- type ListMembersOperationOptions
- type ListMembersOperationResponse
- type MemberClient
- func (c MemberClient) AddMemberRef(ctx context.Context, id beta.AdministrativeUnitId, input beta.ReferenceCreate, ...) (result AddMemberRefOperationResponse, err error)
- func (c MemberClient) CreateMember(ctx context.Context, id beta.AdministrativeUnitId, input beta.DirectoryObject, ...) (result CreateMemberOperationResponse, err error)
- func (c MemberClient) GetMembersCount(ctx context.Context, id beta.AdministrativeUnitId, ...) (result GetMembersCountOperationResponse, err error)
- func (c MemberClient) ListMemberRefs(ctx context.Context, id beta.AdministrativeUnitId, ...) (result ListMemberRefsOperationResponse, err error)
- func (c MemberClient) ListMemberRefsComplete(ctx context.Context, id beta.AdministrativeUnitId, ...) (ListMemberRefsCompleteResult, error)
- func (c MemberClient) ListMemberRefsCompleteMatchingPredicate(ctx context.Context, id beta.AdministrativeUnitId, ...) (result ListMemberRefsCompleteResult, err error)
- func (c MemberClient) ListMembers(ctx context.Context, id beta.AdministrativeUnitId, ...) (result ListMembersOperationResponse, err error)
- func (c MemberClient) ListMembersComplete(ctx context.Context, id beta.AdministrativeUnitId, ...) (ListMembersCompleteResult, error)
- func (c MemberClient) ListMembersCompleteMatchingPredicate(ctx context.Context, id beta.AdministrativeUnitId, ...) (result ListMembersCompleteResult, err error)
- func (c MemberClient) RemoveMemberRef(ctx context.Context, id beta.AdministrativeUnitIdMemberId, ...) (result RemoveMemberRefOperationResponse, err error)
- func (c MemberClient) RemoveMemberRefs(ctx context.Context, id beta.AdministrativeUnitId, ...) (result RemoveMemberRefsOperationResponse, err error)
- type RemoveMemberRefOperationOptions
- type RemoveMemberRefOperationResponse
- type RemoveMemberRefsOperationOptions
- type RemoveMemberRefsOperationResponse
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AddMemberRefOperationOptions ¶
type AddMemberRefOperationOptions struct { Metadata *odata.Metadata RetryFunc client.RequestRetryFunc }
func DefaultAddMemberRefOperationOptions ¶
func DefaultAddMemberRefOperationOptions() AddMemberRefOperationOptions
func (AddMemberRefOperationOptions) ToHeaders ¶
func (o AddMemberRefOperationOptions) ToHeaders() *client.Headers
func (AddMemberRefOperationOptions) ToOData ¶
func (o AddMemberRefOperationOptions) ToOData() *odata.Query
func (AddMemberRefOperationOptions) ToQuery ¶
func (o AddMemberRefOperationOptions) ToQuery() *client.QueryParams
type CreateMemberOperationOptions ¶
type CreateMemberOperationOptions struct { Metadata *odata.Metadata RetryFunc client.RequestRetryFunc }
func DefaultCreateMemberOperationOptions ¶
func DefaultCreateMemberOperationOptions() CreateMemberOperationOptions
func (CreateMemberOperationOptions) ToHeaders ¶
func (o CreateMemberOperationOptions) ToHeaders() *client.Headers
func (CreateMemberOperationOptions) ToOData ¶
func (o CreateMemberOperationOptions) ToOData() *odata.Query
func (CreateMemberOperationOptions) ToQuery ¶
func (o CreateMemberOperationOptions) ToQuery() *client.QueryParams
type DirectoryObjectOperationPredicate ¶
type DirectoryObjectOperationPredicate struct { }
func (DirectoryObjectOperationPredicate) Matches ¶
func (p DirectoryObjectOperationPredicate) Matches(input beta.DirectoryObject) bool
type GetMembersCountOperationOptions ¶
type GetMembersCountOperationOptions struct { ConsistencyLevel *odata.ConsistencyLevel Filter *string Metadata *odata.Metadata RetryFunc client.RequestRetryFunc Search *string }
func DefaultGetMembersCountOperationOptions ¶
func DefaultGetMembersCountOperationOptions() GetMembersCountOperationOptions
func (GetMembersCountOperationOptions) ToHeaders ¶
func (o GetMembersCountOperationOptions) ToHeaders() *client.Headers
func (GetMembersCountOperationOptions) ToOData ¶
func (o GetMembersCountOperationOptions) ToOData() *odata.Query
func (GetMembersCountOperationOptions) ToQuery ¶
func (o GetMembersCountOperationOptions) ToQuery() *client.QueryParams
type ListMemberRefsCompleteResult ¶
type ListMemberRefsCompleteResult struct { LatestHttpResponse *http.Response Items []beta.DirectoryObject }
type ListMemberRefsCustomPager ¶
func (*ListMemberRefsCustomPager) NextPageLink ¶
func (p *ListMemberRefsCustomPager) NextPageLink() *odata.Link
type ListMemberRefsOperationOptions ¶
type ListMemberRefsOperationOptions struct { ConsistencyLevel *odata.ConsistencyLevel Count *bool Filter *string Metadata *odata.Metadata OrderBy *odata.OrderBy RetryFunc client.RequestRetryFunc Search *string Skip *int64 Top *int64 }
func DefaultListMemberRefsOperationOptions ¶
func DefaultListMemberRefsOperationOptions() ListMemberRefsOperationOptions
func (ListMemberRefsOperationOptions) ToHeaders ¶
func (o ListMemberRefsOperationOptions) ToHeaders() *client.Headers
func (ListMemberRefsOperationOptions) ToOData ¶
func (o ListMemberRefsOperationOptions) ToOData() *odata.Query
func (ListMemberRefsOperationOptions) ToQuery ¶
func (o ListMemberRefsOperationOptions) ToQuery() *client.QueryParams
type ListMembersCompleteResult ¶
type ListMembersCompleteResult struct { LatestHttpResponse *http.Response Items []beta.DirectoryObject }
type ListMembersCustomPager ¶
func (*ListMembersCustomPager) NextPageLink ¶
func (p *ListMembersCustomPager) NextPageLink() *odata.Link
type ListMembersOperationOptions ¶
type ListMembersOperationOptions 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 DefaultListMembersOperationOptions ¶
func DefaultListMembersOperationOptions() ListMembersOperationOptions
func (ListMembersOperationOptions) ToHeaders ¶
func (o ListMembersOperationOptions) ToHeaders() *client.Headers
func (ListMembersOperationOptions) ToOData ¶
func (o ListMembersOperationOptions) ToOData() *odata.Query
func (ListMembersOperationOptions) ToQuery ¶
func (o ListMembersOperationOptions) ToQuery() *client.QueryParams
type MemberClient ¶
func NewMemberClientWithBaseURI ¶
func NewMemberClientWithBaseURI(sdkApi sdkEnv.Api) (*MemberClient, error)
func (MemberClient) AddMemberRef ¶
func (c MemberClient) AddMemberRef(ctx context.Context, id beta.AdministrativeUnitId, input beta.ReferenceCreate, options AddMemberRefOperationOptions) (result AddMemberRefOperationResponse, err error)
AddMemberRef - Add a member. Use this API to add a member (user, group, or device) to an administrative unit or to create a new group within an administrative unit. All group types can be created within an administrative unit. Note: Currently, it's only possible to add one member at a time to an administrative unit.`
func (MemberClient) CreateMember ¶
func (c MemberClient) CreateMember(ctx context.Context, id beta.AdministrativeUnitId, input beta.DirectoryObject, options CreateMemberOperationOptions) (result CreateMemberOperationResponse, err error)
CreateMember - Add a member. Use this API to add a member (user, group, or device) to an administrative unit or to create a new group within an administrative unit. All group types can be created within an administrative unit. Note: Currently, it's only possible to add one member at a time to an administrative unit.`
func (MemberClient) GetMembersCount ¶
func (c MemberClient) GetMembersCount(ctx context.Context, id beta.AdministrativeUnitId, options GetMembersCountOperationOptions) (result GetMembersCountOperationResponse, err error)
GetMembersCount - Get the number of the resource
func (MemberClient) ListMemberRefs ¶
func (c MemberClient) ListMemberRefs(ctx context.Context, id beta.AdministrativeUnitId, options ListMemberRefsOperationOptions) (result ListMemberRefsOperationResponse, err error)
ListMemberRefs - Get ref of members from administrativeUnits. Users and groups that are members of this administrative unit. Supports $expand.
func (MemberClient) ListMemberRefsComplete ¶
func (c MemberClient) ListMemberRefsComplete(ctx context.Context, id beta.AdministrativeUnitId, options ListMemberRefsOperationOptions) (ListMemberRefsCompleteResult, error)
ListMemberRefsComplete retrieves all the results into a single object
func (MemberClient) ListMemberRefsCompleteMatchingPredicate ¶
func (c MemberClient) ListMemberRefsCompleteMatchingPredicate(ctx context.Context, id beta.AdministrativeUnitId, options ListMemberRefsOperationOptions, predicate DirectoryObjectOperationPredicate) (result ListMemberRefsCompleteResult, err error)
ListMemberRefsCompleteMatchingPredicate retrieves all the results and then applies the predicate
func (MemberClient) ListMembers ¶
func (c MemberClient) ListMembers(ctx context.Context, id beta.AdministrativeUnitId, options ListMembersOperationOptions) (result ListMembersOperationResponse, err error)
ListMembers - Get members from administrativeUnits. Users and groups that are members of this administrative unit. Supports $expand.
func (MemberClient) ListMembersComplete ¶
func (c MemberClient) ListMembersComplete(ctx context.Context, id beta.AdministrativeUnitId, options ListMembersOperationOptions) (ListMembersCompleteResult, error)
ListMembersComplete retrieves all the results into a single object
func (MemberClient) ListMembersCompleteMatchingPredicate ¶
func (c MemberClient) ListMembersCompleteMatchingPredicate(ctx context.Context, id beta.AdministrativeUnitId, options ListMembersOperationOptions, predicate DirectoryObjectOperationPredicate) (result ListMembersCompleteResult, err error)
ListMembersCompleteMatchingPredicate retrieves all the results and then applies the predicate
func (MemberClient) RemoveMemberRef ¶
func (c MemberClient) RemoveMemberRef(ctx context.Context, id beta.AdministrativeUnitIdMemberId, options RemoveMemberRefOperationOptions) (result RemoveMemberRefOperationResponse, err error)
RemoveMemberRef - Delete ref of navigation property members for administrativeUnits
func (MemberClient) RemoveMemberRefs ¶
func (c MemberClient) RemoveMemberRefs(ctx context.Context, id beta.AdministrativeUnitId, options RemoveMemberRefsOperationOptions) (result RemoveMemberRefsOperationResponse, err error)
RemoveMemberRefs - Delete ref of navigation property members for administrativeUnits
type RemoveMemberRefOperationOptions ¶
type RemoveMemberRefOperationOptions struct { IfMatch *string Metadata *odata.Metadata RetryFunc client.RequestRetryFunc }
func DefaultRemoveMemberRefOperationOptions ¶
func DefaultRemoveMemberRefOperationOptions() RemoveMemberRefOperationOptions
func (RemoveMemberRefOperationOptions) ToHeaders ¶
func (o RemoveMemberRefOperationOptions) ToHeaders() *client.Headers
func (RemoveMemberRefOperationOptions) ToOData ¶
func (o RemoveMemberRefOperationOptions) ToOData() *odata.Query
func (RemoveMemberRefOperationOptions) ToQuery ¶
func (o RemoveMemberRefOperationOptions) ToQuery() *client.QueryParams
type RemoveMemberRefsOperationOptions ¶
type RemoveMemberRefsOperationOptions struct { Id *string IfMatch *string Metadata *odata.Metadata RetryFunc client.RequestRetryFunc }
func DefaultRemoveMemberRefsOperationOptions ¶
func DefaultRemoveMemberRefsOperationOptions() RemoveMemberRefsOperationOptions
func (RemoveMemberRefsOperationOptions) ToHeaders ¶
func (o RemoveMemberRefsOperationOptions) ToHeaders() *client.Headers
func (RemoveMemberRefsOperationOptions) ToOData ¶
func (o RemoveMemberRefsOperationOptions) ToOData() *odata.Query
func (RemoveMemberRefsOperationOptions) ToQuery ¶
func (o RemoveMemberRefsOperationOptions) ToQuery() *client.QueryParams