driveroot

package
v0.20241126.2320 Latest Latest
Warning

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

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

README

github.com/hashicorp/go-azure-sdk/microsoft-graph/users/beta/driveroot Documentation

The driveroot SDK allows for interaction with Microsoft Graph users (API Version beta).

This readme covers example usages, but further information on using this SDK can be found in the project root.

Import Path

import "github.com/hashicorp/go-azure-sdk/microsoft-graph/users/beta/driveroot"

Client Initialization

client := driveroot.NewDriveRootClientWithBaseURI("https://graph.microsoft.com")
client.Client.Authorizer = authorizer

Example Usage: DriveRootClient.AssignDriveRootSensitivityLabel

ctx := context.TODO()
id := driveroot.NewUserIdDriveID("userId", "driveId")

payload := driveroot.AssignDriveRootSensitivityLabelRequest{
	// ...
}


read, err := client.AssignDriveRootSensitivityLabel(ctx, id, payload, driveroot.DefaultAssignDriveRootSensitivityLabelOperationOptions())
if err != nil {
	// handle the error
}
if model := read.Model; model != nil {
	// do something with the model/response object
}

Example Usage: DriveRootClient.CheckinDriveRoot

ctx := context.TODO()
id := driveroot.NewUserIdDriveID("userId", "driveId")

payload := driveroot.CheckinDriveRootRequest{
	// ...
}


read, err := client.CheckinDriveRoot(ctx, id, payload, driveroot.DefaultCheckinDriveRootOperationOptions())
if err != nil {
	// handle the error
}
if model := read.Model; model != nil {
	// do something with the model/response object
}

Example Usage: DriveRootClient.CheckoutDriveRoot

ctx := context.TODO()
id := driveroot.NewUserIdDriveID("userId", "driveId")

read, err := client.CheckoutDriveRoot(ctx, id, driveroot.DefaultCheckoutDriveRootOperationOptions())
if err != nil {
	// handle the error
}
if model := read.Model; model != nil {
	// do something with the model/response object
}

Example Usage: DriveRootClient.CopyDriveRoot

ctx := context.TODO()
id := driveroot.NewUserIdDriveID("userId", "driveId")

payload := driveroot.CopyDriveRootRequest{
	// ...
}


read, err := client.CopyDriveRoot(ctx, id, payload, driveroot.DefaultCopyDriveRootOperationOptions())
if err != nil {
	// handle the error
}
if model := read.Model; model != nil {
	// do something with the model/response object
}
ctx := context.TODO()
id := driveroot.NewUserIdDriveID("userId", "driveId")

payload := driveroot.CreateDriveRootLinkRequest{
	// ...
}


read, err := client.CreateDriveRootLink(ctx, id, payload, driveroot.DefaultCreateDriveRootLinkOperationOptions())
if err != nil {
	// handle the error
}
if model := read.Model; model != nil {
	// do something with the model/response object
}

Example Usage: DriveRootClient.CreateDriveRootPermanentDelete

ctx := context.TODO()
id := driveroot.NewUserIdDriveID("userId", "driveId")

read, err := client.CreateDriveRootPermanentDelete(ctx, id, driveroot.DefaultCreateDriveRootPermanentDeleteOperationOptions())
if err != nil {
	// handle the error
}
if model := read.Model; model != nil {
	// do something with the model/response object
}

Example Usage: DriveRootClient.CreateDriveRootUploadSession

ctx := context.TODO()
id := driveroot.NewUserIdDriveID("userId", "driveId")

payload := driveroot.CreateDriveRootUploadSessionRequest{
	// ...
}


read, err := client.CreateDriveRootUploadSession(ctx, id, payload, driveroot.DefaultCreateDriveRootUploadSessionOperationOptions())
if err != nil {
	// handle the error
}
if model := read.Model; model != nil {
	// do something with the model/response object
}

Example Usage: DriveRootClient.DeleteDriveRoot

ctx := context.TODO()
id := driveroot.NewUserIdDriveID("userId", "driveId")

read, err := client.DeleteDriveRoot(ctx, id, driveroot.DefaultDeleteDriveRootOperationOptions())
if err != nil {
	// handle the error
}
if model := read.Model; model != nil {
	// do something with the model/response object
}

Example Usage: DriveRootClient.DiscardDriveRootCheckout

ctx := context.TODO()
id := driveroot.NewUserIdDriveID("userId", "driveId")

read, err := client.DiscardDriveRootCheckout(ctx, id, driveroot.DefaultDiscardDriveRootCheckoutOperationOptions())
if err != nil {
	// handle the error
}
if model := read.Model; model != nil {
	// do something with the model/response object
}

Example Usage: DriveRootClient.ExtractDriveRootSensitivityLabels

ctx := context.TODO()
id := driveroot.NewUserIdDriveID("userId", "driveId")

read, err := client.ExtractDriveRootSensitivityLabels(ctx, id, driveroot.DefaultExtractDriveRootSensitivityLabelsOperationOptions())
if err != nil {
	// handle the error
}
if model := read.Model; model != nil {
	// do something with the model/response object
}

Example Usage: DriveRootClient.FollowDriveRoot

ctx := context.TODO()
id := driveroot.NewUserIdDriveID("userId", "driveId")

read, err := client.FollowDriveRoot(ctx, id, driveroot.DefaultFollowDriveRootOperationOptions())
if err != nil {
	// handle the error
}
if model := read.Model; model != nil {
	// do something with the model/response object
}

Example Usage: DriveRootClient.GetDriveRoot

ctx := context.TODO()
id := driveroot.NewUserIdDriveID("userId", "driveId")

read, err := client.GetDriveRoot(ctx, id, driveroot.DefaultGetDriveRootOperationOptions())
if err != nil {
	// handle the error
}
if model := read.Model; model != nil {
	// do something with the model/response object
}

Example Usage: DriveRootClient.ListDriveRootInvites

ctx := context.TODO()
id := driveroot.NewUserIdDriveID("userId", "driveId")

payload := driveroot.ListDriveRootInvitesRequest{
	// ...
}


// alternatively `client.ListDriveRootInvites(ctx, id, payload, driveroot.DefaultListDriveRootInvitesOperationOptions())` can be used to do batched pagination
items, err := client.ListDriveRootInvitesComplete(ctx, id, payload, driveroot.DefaultListDriveRootInvitesOperationOptions())
if err != nil {
	// handle the error
}
for _, item := range items {
	// do something
}

Example Usage: DriveRootClient.PreviewDriveRoot

ctx := context.TODO()
id := driveroot.NewUserIdDriveID("userId", "driveId")

payload := driveroot.PreviewDriveRootRequest{
	// ...
}


read, err := client.PreviewDriveRoot(ctx, id, payload, driveroot.DefaultPreviewDriveRootOperationOptions())
if err != nil {
	// handle the error
}
if model := read.Model; model != nil {
	// do something with the model/response object
}

Example Usage: DriveRootClient.RestoreDriveRoot

ctx := context.TODO()
id := driveroot.NewUserIdDriveID("userId", "driveId")

payload := driveroot.RestoreDriveRootRequest{
	// ...
}


read, err := client.RestoreDriveRoot(ctx, id, payload, driveroot.DefaultRestoreDriveRootOperationOptions())
if err != nil {
	// handle the error
}
if model := read.Model; model != nil {
	// do something with the model/response object
}

Example Usage: DriveRootClient.UnfollowDriveRoot

ctx := context.TODO()
id := driveroot.NewUserIdDriveID("userId", "driveId")

read, err := client.UnfollowDriveRoot(ctx, id, driveroot.DefaultUnfollowDriveRootOperationOptions())
if err != nil {
	// handle the error
}
if model := read.Model; model != nil {
	// do something with the model/response object
}

Example Usage: DriveRootClient.UpdateDriveRoot

ctx := context.TODO()
id := driveroot.NewUserIdDriveID("userId", "driveId")

payload := driveroot.DriveItem{
	// ...
}


read, err := client.UpdateDriveRoot(ctx, id, payload, driveroot.DefaultUpdateDriveRootOperationOptions())
if err != nil {
	// handle the error
}
if model := read.Model; model != nil {
	// do something with the model/response object
}

Example Usage: DriveRootClient.ValidateDriveRootPermission

ctx := context.TODO()
id := driveroot.NewUserIdDriveID("userId", "driveId")

payload := driveroot.ValidateDriveRootPermissionRequest{
	// ...
}


read, err := client.ValidateDriveRootPermission(ctx, id, payload, driveroot.DefaultValidateDriveRootPermissionOperationOptions())
if err != nil {
	// handle the error
}
if model := read.Model; model != nil {
	// do something with the model/response object
}

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AssignDriveRootSensitivityLabelOperationOptions

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

func DefaultAssignDriveRootSensitivityLabelOperationOptions

func DefaultAssignDriveRootSensitivityLabelOperationOptions() AssignDriveRootSensitivityLabelOperationOptions

func (AssignDriveRootSensitivityLabelOperationOptions) ToHeaders

func (AssignDriveRootSensitivityLabelOperationOptions) ToOData

func (AssignDriveRootSensitivityLabelOperationOptions) ToQuery

type AssignDriveRootSensitivityLabelOperationResponse

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

type AssignDriveRootSensitivityLabelRequest

type AssignDriveRootSensitivityLabelRequest struct {
	AssignmentMethod   *beta.SensitivityLabelAssignmentMethod `json:"assignmentMethod,omitempty"`
	JustificationText  nullable.Type[string]                  `json:"justificationText,omitempty"`
	SensitivityLabelId nullable.Type[string]                  `json:"sensitivityLabelId,omitempty"`
}

type CheckinDriveRootOperationOptions

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

func DefaultCheckinDriveRootOperationOptions

func DefaultCheckinDriveRootOperationOptions() CheckinDriveRootOperationOptions

func (CheckinDriveRootOperationOptions) ToHeaders

func (CheckinDriveRootOperationOptions) ToOData

func (CheckinDriveRootOperationOptions) ToQuery

type CheckinDriveRootOperationResponse

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

type CheckinDriveRootRequest

type CheckinDriveRootRequest struct {
	CheckInAs nullable.Type[string] `json:"checkInAs,omitempty"`
	Comment   nullable.Type[string] `json:"comment,omitempty"`
}

type CheckoutDriveRootOperationOptions

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

func DefaultCheckoutDriveRootOperationOptions

func DefaultCheckoutDriveRootOperationOptions() CheckoutDriveRootOperationOptions

func (CheckoutDriveRootOperationOptions) ToHeaders

func (CheckoutDriveRootOperationOptions) ToOData

func (CheckoutDriveRootOperationOptions) ToQuery

type CheckoutDriveRootOperationResponse

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

type CopyDriveRootOperationOptions

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

func DefaultCopyDriveRootOperationOptions

func DefaultCopyDriveRootOperationOptions() CopyDriveRootOperationOptions

func (CopyDriveRootOperationOptions) ToHeaders

func (CopyDriveRootOperationOptions) ToOData

func (CopyDriveRootOperationOptions) ToQuery

type CopyDriveRootOperationResponse

type CopyDriveRootOperationResponse struct {
	HttpResponse *http.Response
	OData        *odata.OData
	Model        *beta.DriveItem
}

type CopyDriveRootRequest

type CopyDriveRootRequest struct {
	ChildrenOnly    nullable.Type[bool]   `json:"childrenOnly,omitempty"`
	Name            nullable.Type[string] `json:"name,omitempty"`
	ParentReference *beta.ItemReference   `json:"parentReference,omitempty"`
}

type CreateDriveRootLinkOperationOptions

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

func DefaultCreateDriveRootLinkOperationOptions

func DefaultCreateDriveRootLinkOperationOptions() CreateDriveRootLinkOperationOptions

func (CreateDriveRootLinkOperationOptions) ToHeaders

func (CreateDriveRootLinkOperationOptions) ToOData

func (CreateDriveRootLinkOperationOptions) ToQuery

type CreateDriveRootLinkOperationResponse

type CreateDriveRootLinkOperationResponse struct {
	HttpResponse *http.Response
	OData        *odata.OData
	Model        *beta.Permission
}

type CreateDriveRootLinkRequest

type CreateDriveRootLinkRequest 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 CreateDriveRootPermanentDeleteOperationOptions

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

func DefaultCreateDriveRootPermanentDeleteOperationOptions

func DefaultCreateDriveRootPermanentDeleteOperationOptions() CreateDriveRootPermanentDeleteOperationOptions

func (CreateDriveRootPermanentDeleteOperationOptions) ToHeaders

func (CreateDriveRootPermanentDeleteOperationOptions) ToOData

func (CreateDriveRootPermanentDeleteOperationOptions) ToQuery

type CreateDriveRootPermanentDeleteOperationResponse

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

type CreateDriveRootUploadSessionOperationOptions

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

func DefaultCreateDriveRootUploadSessionOperationOptions

func DefaultCreateDriveRootUploadSessionOperationOptions() CreateDriveRootUploadSessionOperationOptions

func (CreateDriveRootUploadSessionOperationOptions) ToHeaders

func (CreateDriveRootUploadSessionOperationOptions) ToOData

func (CreateDriveRootUploadSessionOperationOptions) ToQuery

type CreateDriveRootUploadSessionOperationResponse

type CreateDriveRootUploadSessionOperationResponse struct {
	HttpResponse *http.Response
	OData        *odata.OData
	Model        *beta.UploadSession
}

type CreateDriveRootUploadSessionRequest

type CreateDriveRootUploadSessionRequest struct {
	Item *beta.DriveItemUploadableProperties `json:"item,omitempty"`
}

type DeleteDriveRootOperationOptions

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

func DefaultDeleteDriveRootOperationOptions

func DefaultDeleteDriveRootOperationOptions() DeleteDriveRootOperationOptions

func (DeleteDriveRootOperationOptions) ToHeaders

func (DeleteDriveRootOperationOptions) ToOData

func (DeleteDriveRootOperationOptions) ToQuery

type DeleteDriveRootOperationResponse

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

type DiscardDriveRootCheckoutOperationOptions

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

func DefaultDiscardDriveRootCheckoutOperationOptions

func DefaultDiscardDriveRootCheckoutOperationOptions() DiscardDriveRootCheckoutOperationOptions

func (DiscardDriveRootCheckoutOperationOptions) ToHeaders

func (DiscardDriveRootCheckoutOperationOptions) ToOData

func (DiscardDriveRootCheckoutOperationOptions) ToQuery

type DiscardDriveRootCheckoutOperationResponse

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

type DriveRootClient

type DriveRootClient struct {
	Client *msgraph.Client
}

func NewDriveRootClientWithBaseURI

func NewDriveRootClientWithBaseURI(sdkApi sdkEnv.Api) (*DriveRootClient, error)

func (DriveRootClient) AssignDriveRootSensitivityLabel

AssignDriveRootSensitivityLabel - Invoke action assignSensitivityLabel

func (DriveRootClient) CheckinDriveRoot

CheckinDriveRoot - Invoke action checkin. Check in a checked out driveItem resource, which makes the version of the document available to others.

func (DriveRootClient) CheckoutDriveRoot

CheckoutDriveRoot - 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 (DriveRootClient) CopyDriveRoot

CopyDriveRoot - 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.

CreateDriveRootLink - 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 (DriveRootClient) CreateDriveRootPermanentDelete

CreateDriveRootPermanentDelete - Invoke action permanentDelete

func (DriveRootClient) CreateDriveRootUploadSession

CreateDriveRootUploadSession - Invoke action createUploadSession

func (DriveRootClient) DeleteDriveRoot

DeleteDriveRoot - Delete navigation property root for users

func (DriveRootClient) DiscardDriveRootCheckout

DiscardDriveRootCheckout - 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 (DriveRootClient) ExtractDriveRootSensitivityLabels

ExtractDriveRootSensitivityLabels - Invoke action extractSensitivityLabels

func (DriveRootClient) FollowDriveRoot

FollowDriveRoot - Invoke action follow. Follow a driveItem.

func (DriveRootClient) GetDriveRoot

GetDriveRoot - Get root from users. The root folder of the drive. Read-only.

func (DriveRootClient) ListDriveRootInvites

ListDriveRootInvites - 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 (DriveRootClient) ListDriveRootInvitesComplete

ListDriveRootInvitesComplete retrieves all the results into a single object

func (DriveRootClient) ListDriveRootInvitesCompleteMatchingPredicate

ListDriveRootInvitesCompleteMatchingPredicate retrieves all the results and then applies the predicate

func (DriveRootClient) PreviewDriveRoot

PreviewDriveRoot - Invoke action preview

func (DriveRootClient) RestoreDriveRoot

RestoreDriveRoot - Invoke action restore. Restore a driveItem that has been deleted and is currently in the recycle bin.

func (DriveRootClient) UnfollowDriveRoot

UnfollowDriveRoot - Invoke action unfollow. Unfollow a driveItem.

func (DriveRootClient) UpdateDriveRoot

UpdateDriveRoot - Update the navigation property root in users

func (DriveRootClient) ValidateDriveRootPermission

ValidateDriveRootPermission - Invoke action validatePermission

type ExtractDriveRootSensitivityLabelsOperationOptions

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

func DefaultExtractDriveRootSensitivityLabelsOperationOptions

func DefaultExtractDriveRootSensitivityLabelsOperationOptions() ExtractDriveRootSensitivityLabelsOperationOptions

func (ExtractDriveRootSensitivityLabelsOperationOptions) ToHeaders

func (ExtractDriveRootSensitivityLabelsOperationOptions) ToOData

func (ExtractDriveRootSensitivityLabelsOperationOptions) ToQuery

type ExtractDriveRootSensitivityLabelsOperationResponse

type ExtractDriveRootSensitivityLabelsOperationResponse struct {
	HttpResponse *http.Response
	OData        *odata.OData
	Model        *beta.ExtractSensitivityLabelsResult
}

type FollowDriveRootOperationOptions

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

func DefaultFollowDriveRootOperationOptions

func DefaultFollowDriveRootOperationOptions() FollowDriveRootOperationOptions

func (FollowDriveRootOperationOptions) ToHeaders

func (FollowDriveRootOperationOptions) ToOData

func (FollowDriveRootOperationOptions) ToQuery

type FollowDriveRootOperationResponse

type FollowDriveRootOperationResponse struct {
	HttpResponse *http.Response
	OData        *odata.OData
	Model        *beta.DriveItem
}

type GetDriveRootOperationOptions

type GetDriveRootOperationOptions struct {
	Expand    *odata.Expand
	Metadata  *odata.Metadata
	RetryFunc client.RequestRetryFunc
	Select    *[]string
}

func DefaultGetDriveRootOperationOptions

func DefaultGetDriveRootOperationOptions() GetDriveRootOperationOptions

func (GetDriveRootOperationOptions) ToHeaders

func (GetDriveRootOperationOptions) ToOData

func (GetDriveRootOperationOptions) ToQuery

type GetDriveRootOperationResponse

type GetDriveRootOperationResponse struct {
	HttpResponse *http.Response
	OData        *odata.OData
	Model        *beta.DriveItem
}

type ListDriveRootInvitesCompleteResult

type ListDriveRootInvitesCompleteResult struct {
	LatestHttpResponse *http.Response
	Items              []beta.Permission
}

type ListDriveRootInvitesCustomPager

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

type ListDriveRootInvitesOperationOptions

type ListDriveRootInvitesOperationOptions struct {
	Metadata  *odata.Metadata
	RetryFunc client.RequestRetryFunc
	Skip      *int64
	Top       *int64
}

func DefaultListDriveRootInvitesOperationOptions

func DefaultListDriveRootInvitesOperationOptions() ListDriveRootInvitesOperationOptions

func (ListDriveRootInvitesOperationOptions) ToHeaders

func (ListDriveRootInvitesOperationOptions) ToOData

func (ListDriveRootInvitesOperationOptions) ToQuery

type ListDriveRootInvitesOperationResponse

type ListDriveRootInvitesOperationResponse struct {
	HttpResponse *http.Response
	OData        *odata.OData
	Model        *[]beta.Permission
}

type ListDriveRootInvitesRequest

type ListDriveRootInvitesRequest 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 PermissionOperationPredicate

type PermissionOperationPredicate struct {
}

func (PermissionOperationPredicate) Matches

type PreviewDriveRootOperationOptions

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

func DefaultPreviewDriveRootOperationOptions

func DefaultPreviewDriveRootOperationOptions() PreviewDriveRootOperationOptions

func (PreviewDriveRootOperationOptions) ToHeaders

func (PreviewDriveRootOperationOptions) ToOData

func (PreviewDriveRootOperationOptions) ToQuery

type PreviewDriveRootOperationResponse

type PreviewDriveRootOperationResponse struct {
	HttpResponse *http.Response
	OData        *odata.OData
	Model        *beta.ItemPreviewInfo
}

type PreviewDriveRootRequest

type PreviewDriveRootRequest struct {
	AllowEdit  nullable.Type[bool]   `json:"allowEdit,omitempty"`
	Chromeless nullable.Type[bool]   `json:"chromeless,omitempty"`
	Page       nullable.Type[string] `json:"page,omitempty"`
	Viewer     nullable.Type[string] `json:"viewer,omitempty"`
}

type RestoreDriveRootOperationOptions

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

func DefaultRestoreDriveRootOperationOptions

func DefaultRestoreDriveRootOperationOptions() RestoreDriveRootOperationOptions

func (RestoreDriveRootOperationOptions) ToHeaders

func (RestoreDriveRootOperationOptions) ToOData

func (RestoreDriveRootOperationOptions) ToQuery

type RestoreDriveRootOperationResponse

type RestoreDriveRootOperationResponse struct {
	HttpResponse *http.Response
	OData        *odata.OData
	Model        *beta.DriveItem
}

type RestoreDriveRootRequest

type RestoreDriveRootRequest struct {
	Name            nullable.Type[string] `json:"name,omitempty"`
	ParentReference *beta.ItemReference   `json:"parentReference,omitempty"`
}

type UnfollowDriveRootOperationOptions

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

func DefaultUnfollowDriveRootOperationOptions

func DefaultUnfollowDriveRootOperationOptions() UnfollowDriveRootOperationOptions

func (UnfollowDriveRootOperationOptions) ToHeaders

func (UnfollowDriveRootOperationOptions) ToOData

func (UnfollowDriveRootOperationOptions) ToQuery

type UnfollowDriveRootOperationResponse

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

type UpdateDriveRootOperationOptions

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

func DefaultUpdateDriveRootOperationOptions

func DefaultUpdateDriveRootOperationOptions() UpdateDriveRootOperationOptions

func (UpdateDriveRootOperationOptions) ToHeaders

func (UpdateDriveRootOperationOptions) ToOData

func (UpdateDriveRootOperationOptions) ToQuery

type UpdateDriveRootOperationResponse

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

type ValidateDriveRootPermissionOperationOptions

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

func DefaultValidateDriveRootPermissionOperationOptions

func DefaultValidateDriveRootPermissionOperationOptions() ValidateDriveRootPermissionOperationOptions

func (ValidateDriveRootPermissionOperationOptions) ToHeaders

func (ValidateDriveRootPermissionOperationOptions) ToOData

func (ValidateDriveRootPermissionOperationOptions) ToQuery

type ValidateDriveRootPermissionOperationResponse

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

type ValidateDriveRootPermissionRequest

type ValidateDriveRootPermissionRequest struct {
	ChallengeToken nullable.Type[string] `json:"challengeToken,omitempty"`
	Password       *string               `json:"password,omitempty"`
}

Jump to

Keyboard shortcuts

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