Documentation ¶
Index ¶
- type AssignDriveItemSensitivityLabelOperationOptions
- type AssignDriveItemSensitivityLabelOperationResponse
- type AssignDriveItemSensitivityLabelRequest
- type CheckinDriveItemOperationOptions
- type CheckinDriveItemOperationResponse
- type CheckinDriveItemRequest
- type CheckoutDriveItemOperationOptions
- type CheckoutDriveItemOperationResponse
- type CopyDriveItemOperationOptions
- type CopyDriveItemOperationResponse
- type CopyDriveItemRequest
- type CreateDriveItemLinkOperationOptions
- type CreateDriveItemLinkOperationResponse
- type CreateDriveItemLinkRequest
- type CreateDriveItemOperationOptions
- type CreateDriveItemOperationResponse
- type CreateDriveItemPermanentDeleteOperationOptions
- type CreateDriveItemPermanentDeleteOperationResponse
- type CreateDriveItemUploadSessionOperationOptions
- type CreateDriveItemUploadSessionOperationResponse
- type CreateDriveItemUploadSessionRequest
- type DeleteDriveItemOperationOptions
- type DeleteDriveItemOperationResponse
- type DiscardDriveItemCheckoutOperationOptions
- type DiscardDriveItemCheckoutOperationResponse
- type DriveItemClient
- func (c DriveItemClient) AssignDriveItemSensitivityLabel(ctx context.Context, id beta.GroupIdDriveIdItemId, ...) (result AssignDriveItemSensitivityLabelOperationResponse, err error)
- func (c DriveItemClient) CheckinDriveItem(ctx context.Context, id beta.GroupIdDriveIdItemId, ...) (result CheckinDriveItemOperationResponse, err error)
- func (c DriveItemClient) CheckoutDriveItem(ctx context.Context, id beta.GroupIdDriveIdItemId, ...) (result CheckoutDriveItemOperationResponse, err error)
- func (c DriveItemClient) CopyDriveItem(ctx context.Context, id beta.GroupIdDriveIdItemId, input CopyDriveItemRequest, ...) (result CopyDriveItemOperationResponse, err error)
- func (c DriveItemClient) CreateDriveItem(ctx context.Context, id beta.GroupIdDriveId, input beta.DriveItem, ...) (result CreateDriveItemOperationResponse, err error)
- func (c DriveItemClient) CreateDriveItemLink(ctx context.Context, id beta.GroupIdDriveIdItemId, ...) (result CreateDriveItemLinkOperationResponse, err error)
- func (c DriveItemClient) CreateDriveItemPermanentDelete(ctx context.Context, id beta.GroupIdDriveIdItemId, ...) (result CreateDriveItemPermanentDeleteOperationResponse, err error)
- func (c DriveItemClient) CreateDriveItemUploadSession(ctx context.Context, id beta.GroupIdDriveIdItemId, ...) (result CreateDriveItemUploadSessionOperationResponse, err error)
- func (c DriveItemClient) DeleteDriveItem(ctx context.Context, id beta.GroupIdDriveIdItemId, ...) (result DeleteDriveItemOperationResponse, err error)
- func (c DriveItemClient) DiscardDriveItemCheckout(ctx context.Context, id beta.GroupIdDriveIdItemId, ...) (result DiscardDriveItemCheckoutOperationResponse, err error)
- func (c DriveItemClient) ExtractDriveItemSensitivityLabels(ctx context.Context, id beta.GroupIdDriveIdItemId, ...) (result ExtractDriveItemSensitivityLabelsOperationResponse, err error)
- func (c DriveItemClient) FollowDriveItem(ctx context.Context, id beta.GroupIdDriveIdItemId, ...) (result FollowDriveItemOperationResponse, err error)
- func (c DriveItemClient) GetDriveItem(ctx context.Context, id beta.GroupIdDriveIdItemId, ...) (result GetDriveItemOperationResponse, err error)
- func (c DriveItemClient) GetDriveItemsCount(ctx context.Context, id beta.GroupIdDriveId, ...) (result GetDriveItemsCountOperationResponse, err error)
- func (c DriveItemClient) ListDriveItemInvites(ctx context.Context, id beta.GroupIdDriveIdItemId, ...) (result ListDriveItemInvitesOperationResponse, err error)
- func (c DriveItemClient) ListDriveItemInvitesComplete(ctx context.Context, id beta.GroupIdDriveIdItemId, ...) (ListDriveItemInvitesCompleteResult, error)
- func (c DriveItemClient) ListDriveItemInvitesCompleteMatchingPredicate(ctx context.Context, id beta.GroupIdDriveIdItemId, ...) (result ListDriveItemInvitesCompleteResult, err error)
- func (c DriveItemClient) ListDriveItems(ctx context.Context, id beta.GroupIdDriveId, ...) (result ListDriveItemsOperationResponse, err error)
- func (c DriveItemClient) ListDriveItemsComplete(ctx context.Context, id beta.GroupIdDriveId, ...) (ListDriveItemsCompleteResult, error)
- func (c DriveItemClient) ListDriveItemsCompleteMatchingPredicate(ctx context.Context, id beta.GroupIdDriveId, ...) (result ListDriveItemsCompleteResult, err error)
- func (c DriveItemClient) PreviewDriveItem(ctx context.Context, id beta.GroupIdDriveIdItemId, ...) (result PreviewDriveItemOperationResponse, err error)
- func (c DriveItemClient) RestoreDriveItem(ctx context.Context, id beta.GroupIdDriveIdItemId, ...) (result RestoreDriveItemOperationResponse, err error)
- func (c DriveItemClient) UnfollowDriveItem(ctx context.Context, id beta.GroupIdDriveIdItemId, ...) (result UnfollowDriveItemOperationResponse, err error)
- func (c DriveItemClient) UpdateDriveItem(ctx context.Context, id beta.GroupIdDriveIdItemId, input beta.DriveItem, ...) (result UpdateDriveItemOperationResponse, err error)
- func (c DriveItemClient) ValidateDriveItemPermission(ctx context.Context, id beta.GroupIdDriveIdItemId, ...) (result ValidateDriveItemPermissionOperationResponse, err error)
- type DriveItemOperationPredicate
- type ExtractDriveItemSensitivityLabelsOperationOptions
- type ExtractDriveItemSensitivityLabelsOperationResponse
- type FollowDriveItemOperationOptions
- type FollowDriveItemOperationResponse
- type GetDriveItemOperationOptions
- type GetDriveItemOperationResponse
- type GetDriveItemsCountOperationOptions
- type GetDriveItemsCountOperationResponse
- type ListDriveItemInvitesCompleteResult
- type ListDriveItemInvitesCustomPager
- type ListDriveItemInvitesOperationOptions
- type ListDriveItemInvitesOperationResponse
- type ListDriveItemInvitesRequest
- type ListDriveItemsCompleteResult
- type ListDriveItemsCustomPager
- type ListDriveItemsOperationOptions
- type ListDriveItemsOperationResponse
- type PermissionOperationPredicate
- type PreviewDriveItemOperationOptions
- type PreviewDriveItemOperationResponse
- type PreviewDriveItemRequest
- type RestoreDriveItemOperationOptions
- type RestoreDriveItemOperationResponse
- type RestoreDriveItemRequest
- type UnfollowDriveItemOperationOptions
- type UnfollowDriveItemOperationResponse
- type UpdateDriveItemOperationOptions
- type UpdateDriveItemOperationResponse
- type ValidateDriveItemPermissionOperationOptions
- type ValidateDriveItemPermissionOperationResponse
- type ValidateDriveItemPermissionRequest
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AssignDriveItemSensitivityLabelOperationOptions ¶
type AssignDriveItemSensitivityLabelOperationOptions struct { Metadata *odata.Metadata RetryFunc client.RequestRetryFunc }
func DefaultAssignDriveItemSensitivityLabelOperationOptions ¶
func DefaultAssignDriveItemSensitivityLabelOperationOptions() AssignDriveItemSensitivityLabelOperationOptions
func (AssignDriveItemSensitivityLabelOperationOptions) ToHeaders ¶
func (o AssignDriveItemSensitivityLabelOperationOptions) ToHeaders() *client.Headers
func (AssignDriveItemSensitivityLabelOperationOptions) ToOData ¶
func (o AssignDriveItemSensitivityLabelOperationOptions) ToOData() *odata.Query
func (AssignDriveItemSensitivityLabelOperationOptions) ToQuery ¶
func (o AssignDriveItemSensitivityLabelOperationOptions) ToQuery() *client.QueryParams
type AssignDriveItemSensitivityLabelRequest ¶
type AssignDriveItemSensitivityLabelRequest struct { AssignmentMethod *beta.SensitivityLabelAssignmentMethod `json:"assignmentMethod,omitempty"` JustificationText nullable.Type[string] `json:"justificationText,omitempty"` SensitivityLabelId nullable.Type[string] `json:"sensitivityLabelId,omitempty"` }
type CheckinDriveItemOperationOptions ¶
type CheckinDriveItemOperationOptions struct { Metadata *odata.Metadata RetryFunc client.RequestRetryFunc }
func DefaultCheckinDriveItemOperationOptions ¶
func DefaultCheckinDriveItemOperationOptions() CheckinDriveItemOperationOptions
func (CheckinDriveItemOperationOptions) ToHeaders ¶
func (o CheckinDriveItemOperationOptions) ToHeaders() *client.Headers
func (CheckinDriveItemOperationOptions) ToOData ¶
func (o CheckinDriveItemOperationOptions) ToOData() *odata.Query
func (CheckinDriveItemOperationOptions) ToQuery ¶
func (o CheckinDriveItemOperationOptions) ToQuery() *client.QueryParams
type CheckinDriveItemRequest ¶
type CheckoutDriveItemOperationOptions ¶
type CheckoutDriveItemOperationOptions struct { Metadata *odata.Metadata RetryFunc client.RequestRetryFunc }
func DefaultCheckoutDriveItemOperationOptions ¶
func DefaultCheckoutDriveItemOperationOptions() CheckoutDriveItemOperationOptions
func (CheckoutDriveItemOperationOptions) ToHeaders ¶
func (o CheckoutDriveItemOperationOptions) ToHeaders() *client.Headers
func (CheckoutDriveItemOperationOptions) ToOData ¶
func (o CheckoutDriveItemOperationOptions) ToOData() *odata.Query
func (CheckoutDriveItemOperationOptions) ToQuery ¶
func (o CheckoutDriveItemOperationOptions) ToQuery() *client.QueryParams
type CopyDriveItemOperationOptions ¶
type CopyDriveItemOperationOptions struct { Metadata *odata.Metadata RetryFunc client.RequestRetryFunc }
func DefaultCopyDriveItemOperationOptions ¶
func DefaultCopyDriveItemOperationOptions() CopyDriveItemOperationOptions
func (CopyDriveItemOperationOptions) ToHeaders ¶
func (o CopyDriveItemOperationOptions) ToHeaders() *client.Headers
func (CopyDriveItemOperationOptions) ToOData ¶
func (o CopyDriveItemOperationOptions) ToOData() *odata.Query
func (CopyDriveItemOperationOptions) ToQuery ¶
func (o CopyDriveItemOperationOptions) ToQuery() *client.QueryParams
type CopyDriveItemRequest ¶
type CreateDriveItemLinkOperationOptions ¶
type CreateDriveItemLinkOperationOptions struct { Metadata *odata.Metadata RetryFunc client.RequestRetryFunc }
func DefaultCreateDriveItemLinkOperationOptions ¶
func DefaultCreateDriveItemLinkOperationOptions() CreateDriveItemLinkOperationOptions
func (CreateDriveItemLinkOperationOptions) ToHeaders ¶
func (o CreateDriveItemLinkOperationOptions) ToHeaders() *client.Headers
func (CreateDriveItemLinkOperationOptions) ToOData ¶
func (o CreateDriveItemLinkOperationOptions) ToOData() *odata.Query
func (CreateDriveItemLinkOperationOptions) ToQuery ¶
func (o CreateDriveItemLinkOperationOptions) ToQuery() *client.QueryParams
type CreateDriveItemLinkRequest ¶
type CreateDriveItemLinkRequest struct { ExpirationDateTime nullable.Type[string] `json:"expirationDateTime,omitempty"` Message nullable.Type[string] `json:"message,omitempty"` Password nullable.Type[string] `json:"password,omitempty"` Recipients *[]beta.DriveRecipient `json:"recipients,omitempty"` RetainInheritedPermissions nullable.Type[bool] `json:"retainInheritedPermissions,omitempty"` Scope nullable.Type[string] `json:"scope,omitempty"` SendNotification nullable.Type[bool] `json:"sendNotification,omitempty"` Type nullable.Type[string] `json:"type,omitempty"` }
type CreateDriveItemOperationOptions ¶
type CreateDriveItemOperationOptions struct { Metadata *odata.Metadata RetryFunc client.RequestRetryFunc }
func DefaultCreateDriveItemOperationOptions ¶
func DefaultCreateDriveItemOperationOptions() CreateDriveItemOperationOptions
func (CreateDriveItemOperationOptions) ToHeaders ¶
func (o CreateDriveItemOperationOptions) ToHeaders() *client.Headers
func (CreateDriveItemOperationOptions) ToOData ¶
func (o CreateDriveItemOperationOptions) ToOData() *odata.Query
func (CreateDriveItemOperationOptions) ToQuery ¶
func (o CreateDriveItemOperationOptions) ToQuery() *client.QueryParams
type CreateDriveItemPermanentDeleteOperationOptions ¶
type CreateDriveItemPermanentDeleteOperationOptions struct { Metadata *odata.Metadata RetryFunc client.RequestRetryFunc }
func DefaultCreateDriveItemPermanentDeleteOperationOptions ¶
func DefaultCreateDriveItemPermanentDeleteOperationOptions() CreateDriveItemPermanentDeleteOperationOptions
func (CreateDriveItemPermanentDeleteOperationOptions) ToHeaders ¶
func (o CreateDriveItemPermanentDeleteOperationOptions) ToHeaders() *client.Headers
func (CreateDriveItemPermanentDeleteOperationOptions) ToOData ¶
func (o CreateDriveItemPermanentDeleteOperationOptions) ToOData() *odata.Query
func (CreateDriveItemPermanentDeleteOperationOptions) ToQuery ¶
func (o CreateDriveItemPermanentDeleteOperationOptions) ToQuery() *client.QueryParams
type CreateDriveItemUploadSessionOperationOptions ¶
type CreateDriveItemUploadSessionOperationOptions struct { Metadata *odata.Metadata RetryFunc client.RequestRetryFunc }
func DefaultCreateDriveItemUploadSessionOperationOptions ¶
func DefaultCreateDriveItemUploadSessionOperationOptions() CreateDriveItemUploadSessionOperationOptions
func (CreateDriveItemUploadSessionOperationOptions) ToHeaders ¶
func (o CreateDriveItemUploadSessionOperationOptions) ToHeaders() *client.Headers
func (CreateDriveItemUploadSessionOperationOptions) ToOData ¶
func (o CreateDriveItemUploadSessionOperationOptions) ToOData() *odata.Query
func (CreateDriveItemUploadSessionOperationOptions) ToQuery ¶
func (o CreateDriveItemUploadSessionOperationOptions) ToQuery() *client.QueryParams
type CreateDriveItemUploadSessionRequest ¶
type CreateDriveItemUploadSessionRequest struct {
Item *beta.DriveItemUploadableProperties `json:"item,omitempty"`
}
type DeleteDriveItemOperationOptions ¶
type DeleteDriveItemOperationOptions struct { IfMatch *string Metadata *odata.Metadata RetryFunc client.RequestRetryFunc }
func DefaultDeleteDriveItemOperationOptions ¶
func DefaultDeleteDriveItemOperationOptions() DeleteDriveItemOperationOptions
func (DeleteDriveItemOperationOptions) ToHeaders ¶
func (o DeleteDriveItemOperationOptions) ToHeaders() *client.Headers
func (DeleteDriveItemOperationOptions) ToOData ¶
func (o DeleteDriveItemOperationOptions) ToOData() *odata.Query
func (DeleteDriveItemOperationOptions) ToQuery ¶
func (o DeleteDriveItemOperationOptions) ToQuery() *client.QueryParams
type DiscardDriveItemCheckoutOperationOptions ¶
type DiscardDriveItemCheckoutOperationOptions struct { Metadata *odata.Metadata RetryFunc client.RequestRetryFunc }
func DefaultDiscardDriveItemCheckoutOperationOptions ¶
func DefaultDiscardDriveItemCheckoutOperationOptions() DiscardDriveItemCheckoutOperationOptions
func (DiscardDriveItemCheckoutOperationOptions) ToHeaders ¶
func (o DiscardDriveItemCheckoutOperationOptions) ToHeaders() *client.Headers
func (DiscardDriveItemCheckoutOperationOptions) ToOData ¶
func (o DiscardDriveItemCheckoutOperationOptions) ToOData() *odata.Query
func (DiscardDriveItemCheckoutOperationOptions) ToQuery ¶
func (o DiscardDriveItemCheckoutOperationOptions) ToQuery() *client.QueryParams
type DriveItemClient ¶
func NewDriveItemClientWithBaseURI ¶
func NewDriveItemClientWithBaseURI(sdkApi sdkEnv.Api) (*DriveItemClient, error)
func (DriveItemClient) AssignDriveItemSensitivityLabel ¶
func (c DriveItemClient) AssignDriveItemSensitivityLabel(ctx context.Context, id beta.GroupIdDriveIdItemId, input AssignDriveItemSensitivityLabelRequest, options AssignDriveItemSensitivityLabelOperationOptions) (result AssignDriveItemSensitivityLabelOperationResponse, err error)
AssignDriveItemSensitivityLabel - Invoke action assignSensitivityLabel
func (DriveItemClient) CheckinDriveItem ¶
func (c DriveItemClient) CheckinDriveItem(ctx context.Context, id beta.GroupIdDriveIdItemId, input CheckinDriveItemRequest, options CheckinDriveItemOperationOptions) (result CheckinDriveItemOperationResponse, err error)
CheckinDriveItem - Invoke action checkin. Check in a checked out driveItem resource, which makes the version of the document available to others.
func (DriveItemClient) CheckoutDriveItem ¶
func (c DriveItemClient) CheckoutDriveItem(ctx context.Context, id beta.GroupIdDriveIdItemId, options CheckoutDriveItemOperationOptions) (result CheckoutDriveItemOperationResponse, err error)
CheckoutDriveItem - Invoke action checkout. Check out a driveItem resource to prevent others from editing the document, and prevent your changes from being visible until the documented is checked in.
func (DriveItemClient) CopyDriveItem ¶
func (c DriveItemClient) CopyDriveItem(ctx context.Context, id beta.GroupIdDriveIdItemId, input CopyDriveItemRequest, options CopyDriveItemOperationOptions) (result CopyDriveItemOperationResponse, err error)
CopyDriveItem - Invoke action copy. Asynchronously create a copy of a driveItem (including any children) under a new parent item or with a new name. After the request is acknowledged, it enters a queue. The actual copying, including any subitems, occurs at an undetermined time. Progress is reported until the operation is completed by monitoring the progress.
func (DriveItemClient) CreateDriveItem ¶
func (c DriveItemClient) CreateDriveItem(ctx context.Context, id beta.GroupIdDriveId, input beta.DriveItem, options CreateDriveItemOperationOptions) (result CreateDriveItemOperationResponse, err error)
CreateDriveItem - Create new navigation property to items for groups
func (DriveItemClient) CreateDriveItemLink ¶
func (c DriveItemClient) CreateDriveItemLink(ctx context.Context, id beta.GroupIdDriveIdItemId, input CreateDriveItemLinkRequest, options CreateDriveItemLinkOperationOptions) (result CreateDriveItemLinkOperationResponse, err error)
CreateDriveItemLink - Invoke action createLink. Create a link to share a driveItem driveItem. The createLink action creates a new sharing link if the specified link type doesn't already exist for the calling application. If a sharing link of the specified type already exists for the app, the existing sharing link is returned. DriveItem resources inherit sharing permissions from their ancestors.
func (DriveItemClient) CreateDriveItemPermanentDelete ¶
func (c DriveItemClient) CreateDriveItemPermanentDelete(ctx context.Context, id beta.GroupIdDriveIdItemId, options CreateDriveItemPermanentDeleteOperationOptions) (result CreateDriveItemPermanentDeleteOperationResponse, err error)
CreateDriveItemPermanentDelete - Invoke action permanentDelete
func (DriveItemClient) CreateDriveItemUploadSession ¶
func (c DriveItemClient) CreateDriveItemUploadSession(ctx context.Context, id beta.GroupIdDriveIdItemId, input CreateDriveItemUploadSessionRequest, options CreateDriveItemUploadSessionOperationOptions) (result CreateDriveItemUploadSessionOperationResponse, err error)
CreateDriveItemUploadSession - Invoke action createUploadSession
func (DriveItemClient) DeleteDriveItem ¶
func (c DriveItemClient) DeleteDriveItem(ctx context.Context, id beta.GroupIdDriveIdItemId, options DeleteDriveItemOperationOptions) (result DeleteDriveItemOperationResponse, err error)
DeleteDriveItem - Delete navigation property items for groups
func (DriveItemClient) DiscardDriveItemCheckout ¶
func (c DriveItemClient) DiscardDriveItemCheckout(ctx context.Context, id beta.GroupIdDriveIdItemId, options DiscardDriveItemCheckoutOperationOptions) (result DiscardDriveItemCheckoutOperationResponse, err error)
DiscardDriveItemCheckout - Invoke action discardCheckout. Discard the check out of a driveItem. This action releases a driveItem resource that was previously checked out. Any changes made to the item while it was checked out are discarded. The same user that performed the checkout must discard it. Another alternative is to use application permissions.
func (DriveItemClient) ExtractDriveItemSensitivityLabels ¶
func (c DriveItemClient) ExtractDriveItemSensitivityLabels(ctx context.Context, id beta.GroupIdDriveIdItemId, options ExtractDriveItemSensitivityLabelsOperationOptions) (result ExtractDriveItemSensitivityLabelsOperationResponse, err error)
ExtractDriveItemSensitivityLabels - Invoke action extractSensitivityLabels
func (DriveItemClient) FollowDriveItem ¶
func (c DriveItemClient) FollowDriveItem(ctx context.Context, id beta.GroupIdDriveIdItemId, options FollowDriveItemOperationOptions) (result FollowDriveItemOperationResponse, err error)
FollowDriveItem - Invoke action follow. Follow a driveItem.
func (DriveItemClient) GetDriveItem ¶
func (c DriveItemClient) GetDriveItem(ctx context.Context, id beta.GroupIdDriveIdItemId, options GetDriveItemOperationOptions) (result GetDriveItemOperationResponse, err error)
GetDriveItem - Get items from groups. All items contained in the drive. Read-only. Nullable.
func (DriveItemClient) GetDriveItemsCount ¶
func (c DriveItemClient) GetDriveItemsCount(ctx context.Context, id beta.GroupIdDriveId, options GetDriveItemsCountOperationOptions) (result GetDriveItemsCountOperationResponse, err error)
GetDriveItemsCount - Get the number of the resource
func (DriveItemClient) ListDriveItemInvites ¶
func (c DriveItemClient) ListDriveItemInvites(ctx context.Context, id beta.GroupIdDriveIdItemId, input ListDriveItemInvitesRequest, options ListDriveItemInvitesOperationOptions) (result ListDriveItemInvitesOperationResponse, err error)
ListDriveItemInvites - Invoke action invite. Sends a sharing invitation for a driveItem. A sharing invitation provides permissions to the recipients and optionally sends an email to the recipients to notify them the item was shared.
func (DriveItemClient) ListDriveItemInvitesComplete ¶
func (c DriveItemClient) ListDriveItemInvitesComplete(ctx context.Context, id beta.GroupIdDriveIdItemId, input ListDriveItemInvitesRequest, options ListDriveItemInvitesOperationOptions) (ListDriveItemInvitesCompleteResult, error)
ListDriveItemInvitesComplete retrieves all the results into a single object
func (DriveItemClient) ListDriveItemInvitesCompleteMatchingPredicate ¶
func (c DriveItemClient) ListDriveItemInvitesCompleteMatchingPredicate(ctx context.Context, id beta.GroupIdDriveIdItemId, input ListDriveItemInvitesRequest, options ListDriveItemInvitesOperationOptions, predicate PermissionOperationPredicate) (result ListDriveItemInvitesCompleteResult, err error)
ListDriveItemInvitesCompleteMatchingPredicate retrieves all the results and then applies the predicate
func (DriveItemClient) ListDriveItems ¶
func (c DriveItemClient) ListDriveItems(ctx context.Context, id beta.GroupIdDriveId, options ListDriveItemsOperationOptions) (result ListDriveItemsOperationResponse, err error)
ListDriveItems - Get items from groups. All items contained in the drive. Read-only. Nullable.
func (DriveItemClient) ListDriveItemsComplete ¶
func (c DriveItemClient) ListDriveItemsComplete(ctx context.Context, id beta.GroupIdDriveId, options ListDriveItemsOperationOptions) (ListDriveItemsCompleteResult, error)
ListDriveItemsComplete retrieves all the results into a single object
func (DriveItemClient) ListDriveItemsCompleteMatchingPredicate ¶
func (c DriveItemClient) ListDriveItemsCompleteMatchingPredicate(ctx context.Context, id beta.GroupIdDriveId, options ListDriveItemsOperationOptions, predicate DriveItemOperationPredicate) (result ListDriveItemsCompleteResult, err error)
ListDriveItemsCompleteMatchingPredicate retrieves all the results and then applies the predicate
func (DriveItemClient) PreviewDriveItem ¶
func (c DriveItemClient) PreviewDriveItem(ctx context.Context, id beta.GroupIdDriveIdItemId, input PreviewDriveItemRequest, options PreviewDriveItemOperationOptions) (result PreviewDriveItemOperationResponse, err error)
PreviewDriveItem - Invoke action preview
func (DriveItemClient) RestoreDriveItem ¶
func (c DriveItemClient) RestoreDriveItem(ctx context.Context, id beta.GroupIdDriveIdItemId, input RestoreDriveItemRequest, options RestoreDriveItemOperationOptions) (result RestoreDriveItemOperationResponse, err error)
RestoreDriveItem - Invoke action restore. Restore a driveItem that has been deleted and is currently in the recycle bin.
func (DriveItemClient) UnfollowDriveItem ¶
func (c DriveItemClient) UnfollowDriveItem(ctx context.Context, id beta.GroupIdDriveIdItemId, options UnfollowDriveItemOperationOptions) (result UnfollowDriveItemOperationResponse, err error)
UnfollowDriveItem - Invoke action unfollow. Unfollow a driveItem.
func (DriveItemClient) UpdateDriveItem ¶
func (c DriveItemClient) UpdateDriveItem(ctx context.Context, id beta.GroupIdDriveIdItemId, input beta.DriveItem, options UpdateDriveItemOperationOptions) (result UpdateDriveItemOperationResponse, err error)
UpdateDriveItem - Update the navigation property items in groups
func (DriveItemClient) ValidateDriveItemPermission ¶
func (c DriveItemClient) ValidateDriveItemPermission(ctx context.Context, id beta.GroupIdDriveIdItemId, input ValidateDriveItemPermissionRequest, options ValidateDriveItemPermissionOperationOptions) (result ValidateDriveItemPermissionOperationResponse, err error)
ValidateDriveItemPermission - Invoke action validatePermission
type DriveItemOperationPredicate ¶
type DriveItemOperationPredicate struct { }
type ExtractDriveItemSensitivityLabelsOperationOptions ¶
type ExtractDriveItemSensitivityLabelsOperationOptions struct { Metadata *odata.Metadata RetryFunc client.RequestRetryFunc }
func DefaultExtractDriveItemSensitivityLabelsOperationOptions ¶
func DefaultExtractDriveItemSensitivityLabelsOperationOptions() ExtractDriveItemSensitivityLabelsOperationOptions
func (ExtractDriveItemSensitivityLabelsOperationOptions) ToHeaders ¶
func (o ExtractDriveItemSensitivityLabelsOperationOptions) ToHeaders() *client.Headers
func (ExtractDriveItemSensitivityLabelsOperationOptions) ToOData ¶
func (o ExtractDriveItemSensitivityLabelsOperationOptions) ToOData() *odata.Query
func (ExtractDriveItemSensitivityLabelsOperationOptions) ToQuery ¶
func (o ExtractDriveItemSensitivityLabelsOperationOptions) ToQuery() *client.QueryParams
type FollowDriveItemOperationOptions ¶
type FollowDriveItemOperationOptions struct { Metadata *odata.Metadata RetryFunc client.RequestRetryFunc }
func DefaultFollowDriveItemOperationOptions ¶
func DefaultFollowDriveItemOperationOptions() FollowDriveItemOperationOptions
func (FollowDriveItemOperationOptions) ToHeaders ¶
func (o FollowDriveItemOperationOptions) ToHeaders() *client.Headers
func (FollowDriveItemOperationOptions) ToOData ¶
func (o FollowDriveItemOperationOptions) ToOData() *odata.Query
func (FollowDriveItemOperationOptions) ToQuery ¶
func (o FollowDriveItemOperationOptions) ToQuery() *client.QueryParams
type GetDriveItemOperationOptions ¶
type GetDriveItemOperationOptions struct { Expand *odata.Expand Metadata *odata.Metadata RetryFunc client.RequestRetryFunc Select *[]string }
func DefaultGetDriveItemOperationOptions ¶
func DefaultGetDriveItemOperationOptions() GetDriveItemOperationOptions
func (GetDriveItemOperationOptions) ToHeaders ¶
func (o GetDriveItemOperationOptions) ToHeaders() *client.Headers
func (GetDriveItemOperationOptions) ToOData ¶
func (o GetDriveItemOperationOptions) ToOData() *odata.Query
func (GetDriveItemOperationOptions) ToQuery ¶
func (o GetDriveItemOperationOptions) ToQuery() *client.QueryParams
type GetDriveItemsCountOperationOptions ¶
type GetDriveItemsCountOperationOptions struct { Filter *string Metadata *odata.Metadata RetryFunc client.RequestRetryFunc Search *string }
func DefaultGetDriveItemsCountOperationOptions ¶
func DefaultGetDriveItemsCountOperationOptions() GetDriveItemsCountOperationOptions
func (GetDriveItemsCountOperationOptions) ToHeaders ¶
func (o GetDriveItemsCountOperationOptions) ToHeaders() *client.Headers
func (GetDriveItemsCountOperationOptions) ToOData ¶
func (o GetDriveItemsCountOperationOptions) ToOData() *odata.Query
func (GetDriveItemsCountOperationOptions) ToQuery ¶
func (o GetDriveItemsCountOperationOptions) ToQuery() *client.QueryParams
type ListDriveItemInvitesCompleteResult ¶
type ListDriveItemInvitesCompleteResult struct { LatestHttpResponse *http.Response Items []beta.Permission }
type ListDriveItemInvitesCustomPager ¶
func (*ListDriveItemInvitesCustomPager) NextPageLink ¶
func (p *ListDriveItemInvitesCustomPager) NextPageLink() *odata.Link
type ListDriveItemInvitesOperationOptions ¶
type ListDriveItemInvitesOperationOptions struct { Metadata *odata.Metadata RetryFunc client.RequestRetryFunc Skip *int64 Top *int64 }
func DefaultListDriveItemInvitesOperationOptions ¶
func DefaultListDriveItemInvitesOperationOptions() ListDriveItemInvitesOperationOptions
func (ListDriveItemInvitesOperationOptions) ToHeaders ¶
func (o ListDriveItemInvitesOperationOptions) ToHeaders() *client.Headers
func (ListDriveItemInvitesOperationOptions) ToOData ¶
func (o ListDriveItemInvitesOperationOptions) ToOData() *odata.Query
func (ListDriveItemInvitesOperationOptions) ToQuery ¶
func (o ListDriveItemInvitesOperationOptions) ToQuery() *client.QueryParams
type ListDriveItemInvitesRequest ¶
type ListDriveItemInvitesRequest struct { ExpirationDateTime nullable.Type[string] `json:"expirationDateTime,omitempty"` Message nullable.Type[string] `json:"message,omitempty"` Password nullable.Type[string] `json:"password,omitempty"` Recipients *[]beta.DriveRecipient `json:"recipients,omitempty"` RequireSignIn nullable.Type[bool] `json:"requireSignIn,omitempty"` RetainInheritedPermissions nullable.Type[bool] `json:"retainInheritedPermissions,omitempty"` Roles *[]string `json:"roles,omitempty"` SendInvitation nullable.Type[bool] `json:"sendInvitation,omitempty"` }
type ListDriveItemsCustomPager ¶
func (*ListDriveItemsCustomPager) NextPageLink ¶
func (p *ListDriveItemsCustomPager) NextPageLink() *odata.Link
type ListDriveItemsOperationOptions ¶
type ListDriveItemsOperationOptions 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 DefaultListDriveItemsOperationOptions ¶
func DefaultListDriveItemsOperationOptions() ListDriveItemsOperationOptions
func (ListDriveItemsOperationOptions) ToHeaders ¶
func (o ListDriveItemsOperationOptions) ToHeaders() *client.Headers
func (ListDriveItemsOperationOptions) ToOData ¶
func (o ListDriveItemsOperationOptions) ToOData() *odata.Query
func (ListDriveItemsOperationOptions) ToQuery ¶
func (o ListDriveItemsOperationOptions) ToQuery() *client.QueryParams
type PermissionOperationPredicate ¶
type PermissionOperationPredicate struct { }
func (PermissionOperationPredicate) Matches ¶
func (p PermissionOperationPredicate) Matches(input beta.Permission) bool
type PreviewDriveItemOperationOptions ¶
type PreviewDriveItemOperationOptions struct { Metadata *odata.Metadata RetryFunc client.RequestRetryFunc }
func DefaultPreviewDriveItemOperationOptions ¶
func DefaultPreviewDriveItemOperationOptions() PreviewDriveItemOperationOptions
func (PreviewDriveItemOperationOptions) ToHeaders ¶
func (o PreviewDriveItemOperationOptions) ToHeaders() *client.Headers
func (PreviewDriveItemOperationOptions) ToOData ¶
func (o PreviewDriveItemOperationOptions) ToOData() *odata.Query
func (PreviewDriveItemOperationOptions) ToQuery ¶
func (o PreviewDriveItemOperationOptions) ToQuery() *client.QueryParams
type PreviewDriveItemRequest ¶
type RestoreDriveItemOperationOptions ¶
type RestoreDriveItemOperationOptions struct { Metadata *odata.Metadata RetryFunc client.RequestRetryFunc }
func DefaultRestoreDriveItemOperationOptions ¶
func DefaultRestoreDriveItemOperationOptions() RestoreDriveItemOperationOptions
func (RestoreDriveItemOperationOptions) ToHeaders ¶
func (o RestoreDriveItemOperationOptions) ToHeaders() *client.Headers
func (RestoreDriveItemOperationOptions) ToOData ¶
func (o RestoreDriveItemOperationOptions) ToOData() *odata.Query
func (RestoreDriveItemOperationOptions) ToQuery ¶
func (o RestoreDriveItemOperationOptions) ToQuery() *client.QueryParams
type RestoreDriveItemRequest ¶
type RestoreDriveItemRequest struct { Name nullable.Type[string] `json:"name,omitempty"` ParentReference *beta.ItemReference `json:"parentReference,omitempty"` }
type UnfollowDriveItemOperationOptions ¶
type UnfollowDriveItemOperationOptions struct { Metadata *odata.Metadata RetryFunc client.RequestRetryFunc }
func DefaultUnfollowDriveItemOperationOptions ¶
func DefaultUnfollowDriveItemOperationOptions() UnfollowDriveItemOperationOptions
func (UnfollowDriveItemOperationOptions) ToHeaders ¶
func (o UnfollowDriveItemOperationOptions) ToHeaders() *client.Headers
func (UnfollowDriveItemOperationOptions) ToOData ¶
func (o UnfollowDriveItemOperationOptions) ToOData() *odata.Query
func (UnfollowDriveItemOperationOptions) ToQuery ¶
func (o UnfollowDriveItemOperationOptions) ToQuery() *client.QueryParams
type UpdateDriveItemOperationOptions ¶
type UpdateDriveItemOperationOptions struct { Metadata *odata.Metadata RetryFunc client.RequestRetryFunc }
func DefaultUpdateDriveItemOperationOptions ¶
func DefaultUpdateDriveItemOperationOptions() UpdateDriveItemOperationOptions
func (UpdateDriveItemOperationOptions) ToHeaders ¶
func (o UpdateDriveItemOperationOptions) ToHeaders() *client.Headers
func (UpdateDriveItemOperationOptions) ToOData ¶
func (o UpdateDriveItemOperationOptions) ToOData() *odata.Query
func (UpdateDriveItemOperationOptions) ToQuery ¶
func (o UpdateDriveItemOperationOptions) ToQuery() *client.QueryParams
type ValidateDriveItemPermissionOperationOptions ¶
type ValidateDriveItemPermissionOperationOptions struct { Metadata *odata.Metadata RetryFunc client.RequestRetryFunc }
func DefaultValidateDriveItemPermissionOperationOptions ¶
func DefaultValidateDriveItemPermissionOperationOptions() ValidateDriveItemPermissionOperationOptions
func (ValidateDriveItemPermissionOperationOptions) ToHeaders ¶
func (o ValidateDriveItemPermissionOperationOptions) ToHeaders() *client.Headers
func (ValidateDriveItemPermissionOperationOptions) ToOData ¶
func (o ValidateDriveItemPermissionOperationOptions) ToOData() *odata.Query
func (ValidateDriveItemPermissionOperationOptions) ToQuery ¶
func (o ValidateDriveItemPermissionOperationOptions) ToQuery() *client.QueryParams
Source Files ¶
- client.go
- method_assigndriveitemsensitivitylabel.go
- method_checkindriveitem.go
- method_checkoutdriveitem.go
- method_copydriveitem.go
- method_createdriveitem.go
- method_createdriveitemlink.go
- method_createdriveitempermanentdelete.go
- method_createdriveitemuploadsession.go
- method_deletedriveitem.go
- method_discarddriveitemcheckout.go
- method_extractdriveitemsensitivitylabels.go
- method_followdriveitem.go
- method_getdriveitem.go
- method_getdriveitemscount.go
- method_listdriveiteminvites.go
- method_listdriveitems.go
- method_previewdriveitem.go
- method_restoredriveitem.go
- method_unfollowdriveitem.go
- method_updatedriveitem.go
- method_validatedriveitempermission.go
- model_assigndriveitemsensitivitylabelrequest.go
- model_checkindriveitemrequest.go
- model_copydriveitemrequest.go
- model_createdriveitemlinkrequest.go
- model_createdriveitemuploadsessionrequest.go
- model_listdriveiteminvitesrequest.go
- model_previewdriveitemrequest.go
- model_restoredriveitemrequest.go
- model_validatedriveitempermissionrequest.go
- predicates.go
- version.go