owner

package
v0.20241203.1090052 Latest Latest
Warning

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

Go to latest
Published: Dec 3, 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              []stable.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        *[]stable.DirectoryObject
}

type ListOwnersCompleteResult

type ListOwnersCompleteResult struct {
	LatestHttpResponse *http.Response
	Items              []stable.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        *[]stable.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 or service principals 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 stable.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 or service principals 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 stable.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. Remove an owner from a Microsoft 365 group or a security group through the owners navigation property. Once 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. Remove an owner from a Microsoft 365 group or a security group through the owners navigation property. Once 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