Documentation ¶
Index ¶
- type CreateDriveRootListItemLinkOperationOptions
- type CreateDriveRootListItemLinkOperationResponse
- type CreateDriveRootListItemLinkRequest
- type DeleteDriveRootListItemOperationOptions
- type DeleteDriveRootListItemOperationResponse
- type DriveRootListItemClient
- func (c DriveRootListItemClient) CreateDriveRootListItemLink(ctx context.Context, id beta.UserIdDriveId, ...) (result CreateDriveRootListItemLinkOperationResponse, err error)
- func (c DriveRootListItemClient) DeleteDriveRootListItem(ctx context.Context, id beta.UserIdDriveId, ...) (result DeleteDriveRootListItemOperationResponse, err error)
- func (c DriveRootListItemClient) GetDriveRootListItem(ctx context.Context, id beta.UserIdDriveId, ...) (result GetDriveRootListItemOperationResponse, err error)
- func (c DriveRootListItemClient) UpdateDriveRootListItem(ctx context.Context, id beta.UserIdDriveId, input beta.ListItem, ...) (result UpdateDriveRootListItemOperationResponse, err error)
- type GetDriveRootListItemOperationOptions
- type GetDriveRootListItemOperationResponse
- type UpdateDriveRootListItemOperationOptions
- type UpdateDriveRootListItemOperationResponse
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CreateDriveRootListItemLinkOperationOptions ¶
type CreateDriveRootListItemLinkOperationOptions struct { Metadata *odata.Metadata RetryFunc client.RequestRetryFunc }
func DefaultCreateDriveRootListItemLinkOperationOptions ¶
func DefaultCreateDriveRootListItemLinkOperationOptions() CreateDriveRootListItemLinkOperationOptions
func (CreateDriveRootListItemLinkOperationOptions) ToHeaders ¶
func (o CreateDriveRootListItemLinkOperationOptions) ToHeaders() *client.Headers
func (CreateDriveRootListItemLinkOperationOptions) ToOData ¶
func (o CreateDriveRootListItemLinkOperationOptions) ToOData() *odata.Query
func (CreateDriveRootListItemLinkOperationOptions) ToQuery ¶
func (o CreateDriveRootListItemLinkOperationOptions) ToQuery() *client.QueryParams
type CreateDriveRootListItemLinkRequest ¶
type CreateDriveRootListItemLinkRequest 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 DeleteDriveRootListItemOperationOptions ¶
type DeleteDriveRootListItemOperationOptions struct { IfMatch *string Metadata *odata.Metadata RetryFunc client.RequestRetryFunc }
func DefaultDeleteDriveRootListItemOperationOptions ¶
func DefaultDeleteDriveRootListItemOperationOptions() DeleteDriveRootListItemOperationOptions
func (DeleteDriveRootListItemOperationOptions) ToHeaders ¶
func (o DeleteDriveRootListItemOperationOptions) ToHeaders() *client.Headers
func (DeleteDriveRootListItemOperationOptions) ToOData ¶
func (o DeleteDriveRootListItemOperationOptions) ToOData() *odata.Query
func (DeleteDriveRootListItemOperationOptions) ToQuery ¶
func (o DeleteDriveRootListItemOperationOptions) ToQuery() *client.QueryParams
type DriveRootListItemClient ¶
func NewDriveRootListItemClientWithBaseURI ¶
func NewDriveRootListItemClientWithBaseURI(sdkApi sdkEnv.Api) (*DriveRootListItemClient, error)
func (DriveRootListItemClient) CreateDriveRootListItemLink ¶
func (c DriveRootListItemClient) CreateDriveRootListItemLink(ctx context.Context, id beta.UserIdDriveId, input CreateDriveRootListItemLinkRequest, options CreateDriveRootListItemLinkOperationOptions) (result CreateDriveRootListItemLinkOperationResponse, err error)
CreateDriveRootListItemLink - Invoke action createLink. Create a sharing link for a listItem. 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, this action returns the existing sharing link. listItem resources inherit sharing permissions from the list the item resides in.
func (DriveRootListItemClient) DeleteDriveRootListItem ¶
func (c DriveRootListItemClient) DeleteDriveRootListItem(ctx context.Context, id beta.UserIdDriveId, options DeleteDriveRootListItemOperationOptions) (result DeleteDriveRootListItemOperationResponse, err error)
DeleteDriveRootListItem - Delete navigation property listItem for users
func (DriveRootListItemClient) GetDriveRootListItem ¶
func (c DriveRootListItemClient) GetDriveRootListItem(ctx context.Context, id beta.UserIdDriveId, options GetDriveRootListItemOperationOptions) (result GetDriveRootListItemOperationResponse, err error)
GetDriveRootListItem - Get listItem from users. For drives in SharePoint, the associated document library list item. Read-only. Nullable.
func (DriveRootListItemClient) UpdateDriveRootListItem ¶
func (c DriveRootListItemClient) UpdateDriveRootListItem(ctx context.Context, id beta.UserIdDriveId, input beta.ListItem, options UpdateDriveRootListItemOperationOptions) (result UpdateDriveRootListItemOperationResponse, err error)
UpdateDriveRootListItem - Update the navigation property listItem in users
type GetDriveRootListItemOperationOptions ¶
type GetDriveRootListItemOperationOptions struct { Expand *odata.Expand Metadata *odata.Metadata RetryFunc client.RequestRetryFunc Select *[]string }
func DefaultGetDriveRootListItemOperationOptions ¶
func DefaultGetDriveRootListItemOperationOptions() GetDriveRootListItemOperationOptions
func (GetDriveRootListItemOperationOptions) ToHeaders ¶
func (o GetDriveRootListItemOperationOptions) ToHeaders() *client.Headers
func (GetDriveRootListItemOperationOptions) ToOData ¶
func (o GetDriveRootListItemOperationOptions) ToOData() *odata.Query
func (GetDriveRootListItemOperationOptions) ToQuery ¶
func (o GetDriveRootListItemOperationOptions) ToQuery() *client.QueryParams
type UpdateDriveRootListItemOperationOptions ¶
type UpdateDriveRootListItemOperationOptions struct { Metadata *odata.Metadata RetryFunc client.RequestRetryFunc }
func DefaultUpdateDriveRootListItemOperationOptions ¶
func DefaultUpdateDriveRootListItemOperationOptions() UpdateDriveRootListItemOperationOptions
func (UpdateDriveRootListItemOperationOptions) ToHeaders ¶
func (o UpdateDriveRootListItemOperationOptions) ToHeaders() *client.Headers
func (UpdateDriveRootListItemOperationOptions) ToOData ¶
func (o UpdateDriveRootListItemOperationOptions) ToOData() *odata.Query
func (UpdateDriveRootListItemOperationOptions) ToQuery ¶
func (o UpdateDriveRootListItemOperationOptions) ToQuery() *client.QueryParams