owner

package
v0.20241118.1115603 Latest Latest
Warning

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

Go to latest
Published: Nov 18, 2024 License: MPL-2.0 Imports: 9 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AddOwnerRefOperationOptions

type AddOwnerRefOperationOptions struct {
	Metadata  *odata.Metadata
	RetryFunc client.RequestRetryFunc
}

func DefaultAddOwnerRefOperationOptions

func DefaultAddOwnerRefOperationOptions() AddOwnerRefOperationOptions

func (AddOwnerRefOperationOptions) ToHeaders

func (AddOwnerRefOperationOptions) ToOData

func (AddOwnerRefOperationOptions) ToQuery

type AddOwnerRefOperationResponse

type AddOwnerRefOperationResponse struct {
	HttpResponse *http.Response
	OData        *odata.OData
}

type DirectoryObjectOperationPredicate

type DirectoryObjectOperationPredicate struct {
}

func (DirectoryObjectOperationPredicate) Matches

type GetOwnersCountOperationOptions

type GetOwnersCountOperationOptions struct {
	ConsistencyLevel *odata.ConsistencyLevel
	Filter           *string
	Metadata         *odata.Metadata
	RetryFunc        client.RequestRetryFunc
	Search           *string
}

func DefaultGetOwnersCountOperationOptions

func DefaultGetOwnersCountOperationOptions() GetOwnersCountOperationOptions

func (GetOwnersCountOperationOptions) ToHeaders

func (GetOwnersCountOperationOptions) ToOData

func (GetOwnersCountOperationOptions) ToQuery

type GetOwnersCountOperationResponse

type GetOwnersCountOperationResponse struct {
	HttpResponse *http.Response
	OData        *odata.OData
	Model        *[]byte
}

type ListOwnerRefsCompleteResult

type ListOwnerRefsCompleteResult struct {
	LatestHttpResponse *http.Response
	Items              []beta.DirectoryObject
}

type ListOwnerRefsCustomPager

type ListOwnerRefsCustomPager struct {
	NextLink *odata.Link `json:"@odata.nextLink"`
}
func (p *ListOwnerRefsCustomPager) NextPageLink() *odata.Link

type ListOwnerRefsOperationOptions

type ListOwnerRefsOperationOptions struct {
	ConsistencyLevel *odata.ConsistencyLevel
	Count            *bool
	Filter           *string
	Metadata         *odata.Metadata
	OrderBy          *odata.OrderBy
	RetryFunc        client.RequestRetryFunc
	Search           *string
	Skip             *int64
	Top              *int64
}

func DefaultListOwnerRefsOperationOptions

func DefaultListOwnerRefsOperationOptions() ListOwnerRefsOperationOptions

func (ListOwnerRefsOperationOptions) ToHeaders

func (ListOwnerRefsOperationOptions) ToOData

func (ListOwnerRefsOperationOptions) ToQuery

type ListOwnerRefsOperationResponse

type ListOwnerRefsOperationResponse struct {
	HttpResponse *http.Response
	OData        *odata.OData
	Model        *[]beta.DirectoryObject
}

type ListOwnersCompleteResult

type ListOwnersCompleteResult struct {
	LatestHttpResponse *http.Response
	Items              []beta.DirectoryObject
}

type ListOwnersCustomPager

type ListOwnersCustomPager struct {
	NextLink *odata.Link `json:"@odata.nextLink"`
}
func (p *ListOwnersCustomPager) NextPageLink() *odata.Link

type ListOwnersOperationOptions

type ListOwnersOperationOptions 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 DefaultListOwnersOperationOptions

func DefaultListOwnersOperationOptions() ListOwnersOperationOptions

func (ListOwnersOperationOptions) ToHeaders

func (o ListOwnersOperationOptions) ToHeaders() *client.Headers

func (ListOwnersOperationOptions) ToOData

func (o ListOwnersOperationOptions) ToOData() *odata.Query

func (ListOwnersOperationOptions) ToQuery

type ListOwnersOperationResponse

type ListOwnersOperationResponse struct {
	HttpResponse *http.Response
	OData        *odata.OData
	Model        *[]beta.DirectoryObject
}

type OwnerClient

type OwnerClient struct {
	Client *msgraph.Client
}

func NewOwnerClientWithBaseURI

func NewOwnerClientWithBaseURI(sdkApi sdkEnv.Api) (*OwnerClient, error)

func (OwnerClient) AddOwnerRef

AddOwnerRef - Add owners. Add a user or service principal to a Microsoft 365 or security group's owners. The owners are a set of users or service principals who are allowed to modify the group object.

func (OwnerClient) GetOwnersCount

GetOwnersCount - Get the number of the resource

func (OwnerClient) ListOwnerRefs

ListOwnerRefs - List group owners. Retrieve a list of the group's owners. The owners are a set of users who are allowed to modify the group object. Owners are currently not available in Microsoft Graph for groups that were created in Exchange or groups that are synchronized from an on-premises environment.

func (OwnerClient) ListOwnerRefsComplete

ListOwnerRefsComplete retrieves all the results into a single object

func (OwnerClient) ListOwnerRefsCompleteMatchingPredicate

func (c OwnerClient) ListOwnerRefsCompleteMatchingPredicate(ctx context.Context, id beta.GroupId, options ListOwnerRefsOperationOptions, predicate DirectoryObjectOperationPredicate) (result ListOwnerRefsCompleteResult, err error)

ListOwnerRefsCompleteMatchingPredicate retrieves all the results and then applies the predicate

func (OwnerClient) ListOwners

ListOwners - List group owners. Retrieve a list of the group's owners. The owners are a set of users who are allowed to modify the group object. Owners are currently not available in Microsoft Graph for groups that were created in Exchange or groups that are synchronized from an on-premises environment.

func (OwnerClient) ListOwnersComplete

ListOwnersComplete retrieves all the results into a single object

func (OwnerClient) ListOwnersCompleteMatchingPredicate

func (c OwnerClient) ListOwnersCompleteMatchingPredicate(ctx context.Context, id beta.GroupId, options ListOwnersOperationOptions, predicate DirectoryObjectOperationPredicate) (result ListOwnersCompleteResult, err error)

ListOwnersCompleteMatchingPredicate retrieves all the results and then applies the predicate

func (OwnerClient) RemoveOwnerRef

RemoveOwnerRef - Remove group owner. Use this API to remove an owner from a Microsoft 365 group or a security group through the owners navigation property. When owners are assigned to a group, the last owner (a user object) of the group cannot be removed.

func (OwnerClient) RemoveOwnerRefs

RemoveOwnerRefs - Remove group owner. Use this API to remove an owner from a Microsoft 365 group or a security group through the owners navigation property. When owners are assigned to a group, the last owner (a user object) of the group cannot be removed.

type RemoveOwnerRefOperationOptions

type RemoveOwnerRefOperationOptions struct {
	IfMatch   *string
	Metadata  *odata.Metadata
	RetryFunc client.RequestRetryFunc
}

func DefaultRemoveOwnerRefOperationOptions

func DefaultRemoveOwnerRefOperationOptions() RemoveOwnerRefOperationOptions

func (RemoveOwnerRefOperationOptions) ToHeaders

func (RemoveOwnerRefOperationOptions) ToOData

func (RemoveOwnerRefOperationOptions) ToQuery

type RemoveOwnerRefOperationResponse

type RemoveOwnerRefOperationResponse struct {
	HttpResponse *http.Response
	OData        *odata.OData
}

type RemoveOwnerRefsOperationOptions

type RemoveOwnerRefsOperationOptions struct {
	Id        *string
	IfMatch   *string
	Metadata  *odata.Metadata
	RetryFunc client.RequestRetryFunc
}

func DefaultRemoveOwnerRefsOperationOptions

func DefaultRemoveOwnerRefsOperationOptions() RemoveOwnerRefsOperationOptions

func (RemoveOwnerRefsOperationOptions) ToHeaders

func (RemoveOwnerRefsOperationOptions) ToOData

func (RemoveOwnerRefsOperationOptions) ToQuery

type RemoveOwnerRefsOperationResponse

type RemoveOwnerRefsOperationResponse struct {
	HttpResponse *http.Response
	OData        *odata.OData
}

Jump to

Keyboard shortcuts

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