Documentation ¶
Index ¶
- type CreateDriveRootListItemPermissionOperationOptions
- type CreateDriveRootListItemPermissionOperationResponse
- type DeleteDriveRootListItemPermissionOperationOptions
- type DeleteDriveRootListItemPermissionOperationResponse
- type DriveRootListItemPermissionClient
- func (c DriveRootListItemPermissionClient) CreateDriveRootListItemPermission(ctx context.Context, id beta.UserIdDriveId, input beta.Permission, ...) (result CreateDriveRootListItemPermissionOperationResponse, err error)
- func (c DriveRootListItemPermissionClient) DeleteDriveRootListItemPermission(ctx context.Context, id beta.UserIdDriveIdRootListItemPermissionId, ...) (result DeleteDriveRootListItemPermissionOperationResponse, err error)
- func (c DriveRootListItemPermissionClient) GetDriveRootListItemPermission(ctx context.Context, id beta.UserIdDriveIdRootListItemPermissionId, ...) (result GetDriveRootListItemPermissionOperationResponse, err error)
- func (c DriveRootListItemPermissionClient) GetDriveRootListItemPermissionsCount(ctx context.Context, id beta.UserIdDriveId, ...) (result GetDriveRootListItemPermissionsCountOperationResponse, err error)
- func (c DriveRootListItemPermissionClient) ListDriveRootListItemPermissionGrants(ctx context.Context, id beta.UserIdDriveIdRootListItemPermissionId, ...) (result ListDriveRootListItemPermissionGrantsOperationResponse, err error)
- func (c DriveRootListItemPermissionClient) ListDriveRootListItemPermissionGrantsComplete(ctx context.Context, id beta.UserIdDriveIdRootListItemPermissionId, ...) (ListDriveRootListItemPermissionGrantsCompleteResult, error)
- func (c DriveRootListItemPermissionClient) ListDriveRootListItemPermissionGrantsCompleteMatchingPredicate(ctx context.Context, id beta.UserIdDriveIdRootListItemPermissionId, ...) (result ListDriveRootListItemPermissionGrantsCompleteResult, err error)
- func (c DriveRootListItemPermissionClient) ListDriveRootListItemPermissions(ctx context.Context, id beta.UserIdDriveId, ...) (result ListDriveRootListItemPermissionsOperationResponse, err error)
- func (c DriveRootListItemPermissionClient) ListDriveRootListItemPermissionsComplete(ctx context.Context, id beta.UserIdDriveId, ...) (ListDriveRootListItemPermissionsCompleteResult, error)
- func (c DriveRootListItemPermissionClient) ListDriveRootListItemPermissionsCompleteMatchingPredicate(ctx context.Context, id beta.UserIdDriveId, ...) (result ListDriveRootListItemPermissionsCompleteResult, err error)
- func (c DriveRootListItemPermissionClient) RevokeDriveRootListItemPermissionGrants(ctx context.Context, id beta.UserIdDriveIdRootListItemPermissionId, ...) (result RevokeDriveRootListItemPermissionGrantsOperationResponse, err error)
- func (c DriveRootListItemPermissionClient) UpdateDriveRootListItemPermission(ctx context.Context, id beta.UserIdDriveIdRootListItemPermissionId, ...) (result UpdateDriveRootListItemPermissionOperationResponse, err error)
- type GetDriveRootListItemPermissionOperationOptions
- type GetDriveRootListItemPermissionOperationResponse
- type GetDriveRootListItemPermissionsCountOperationOptions
- type GetDriveRootListItemPermissionsCountOperationResponse
- type ListDriveRootListItemPermissionGrantsCompleteResult
- type ListDriveRootListItemPermissionGrantsCustomPager
- type ListDriveRootListItemPermissionGrantsOperationOptions
- type ListDriveRootListItemPermissionGrantsOperationResponse
- type ListDriveRootListItemPermissionGrantsRequest
- type ListDriveRootListItemPermissionsCompleteResult
- type ListDriveRootListItemPermissionsCustomPager
- type ListDriveRootListItemPermissionsOperationOptions
- type ListDriveRootListItemPermissionsOperationResponse
- type PermissionOperationPredicate
- type RevokeDriveRootListItemPermissionGrantsOperationOptions
- type RevokeDriveRootListItemPermissionGrantsOperationResponse
- type RevokeDriveRootListItemPermissionGrantsRequest
- type UpdateDriveRootListItemPermissionOperationOptions
- type UpdateDriveRootListItemPermissionOperationResponse
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CreateDriveRootListItemPermissionOperationOptions ¶
type CreateDriveRootListItemPermissionOperationOptions struct { Metadata *odata.Metadata RetryFunc client.RequestRetryFunc }
func DefaultCreateDriveRootListItemPermissionOperationOptions ¶
func DefaultCreateDriveRootListItemPermissionOperationOptions() CreateDriveRootListItemPermissionOperationOptions
func (CreateDriveRootListItemPermissionOperationOptions) ToHeaders ¶
func (o CreateDriveRootListItemPermissionOperationOptions) ToHeaders() *client.Headers
func (CreateDriveRootListItemPermissionOperationOptions) ToOData ¶
func (o CreateDriveRootListItemPermissionOperationOptions) ToOData() *odata.Query
func (CreateDriveRootListItemPermissionOperationOptions) ToQuery ¶
func (o CreateDriveRootListItemPermissionOperationOptions) ToQuery() *client.QueryParams
type DeleteDriveRootListItemPermissionOperationOptions ¶
type DeleteDriveRootListItemPermissionOperationOptions struct { IfMatch *string Metadata *odata.Metadata RetryFunc client.RequestRetryFunc }
func DefaultDeleteDriveRootListItemPermissionOperationOptions ¶
func DefaultDeleteDriveRootListItemPermissionOperationOptions() DeleteDriveRootListItemPermissionOperationOptions
func (DeleteDriveRootListItemPermissionOperationOptions) ToHeaders ¶
func (o DeleteDriveRootListItemPermissionOperationOptions) ToHeaders() *client.Headers
func (DeleteDriveRootListItemPermissionOperationOptions) ToOData ¶
func (o DeleteDriveRootListItemPermissionOperationOptions) ToOData() *odata.Query
func (DeleteDriveRootListItemPermissionOperationOptions) ToQuery ¶
func (o DeleteDriveRootListItemPermissionOperationOptions) ToQuery() *client.QueryParams
type DriveRootListItemPermissionClient ¶
func NewDriveRootListItemPermissionClientWithBaseURI ¶
func NewDriveRootListItemPermissionClientWithBaseURI(sdkApi sdkEnv.Api) (*DriveRootListItemPermissionClient, error)
func (DriveRootListItemPermissionClient) CreateDriveRootListItemPermission ¶
func (c DriveRootListItemPermissionClient) CreateDriveRootListItemPermission(ctx context.Context, id beta.UserIdDriveId, input beta.Permission, options CreateDriveRootListItemPermissionOperationOptions) (result CreateDriveRootListItemPermissionOperationResponse, err error)
CreateDriveRootListItemPermission - Create new navigation property to permissions for users
func (DriveRootListItemPermissionClient) DeleteDriveRootListItemPermission ¶
func (c DriveRootListItemPermissionClient) DeleteDriveRootListItemPermission(ctx context.Context, id beta.UserIdDriveIdRootListItemPermissionId, options DeleteDriveRootListItemPermissionOperationOptions) (result DeleteDriveRootListItemPermissionOperationResponse, err error)
DeleteDriveRootListItemPermission - Delete navigation property permissions for users
func (DriveRootListItemPermissionClient) GetDriveRootListItemPermission ¶
func (c DriveRootListItemPermissionClient) GetDriveRootListItemPermission(ctx context.Context, id beta.UserIdDriveIdRootListItemPermissionId, options GetDriveRootListItemPermissionOperationOptions) (result GetDriveRootListItemPermissionOperationResponse, err error)
GetDriveRootListItemPermission - Get permissions from users. The set of permissions for the item. Read-only. Nullable.
func (DriveRootListItemPermissionClient) GetDriveRootListItemPermissionsCount ¶
func (c DriveRootListItemPermissionClient) GetDriveRootListItemPermissionsCount(ctx context.Context, id beta.UserIdDriveId, options GetDriveRootListItemPermissionsCountOperationOptions) (result GetDriveRootListItemPermissionsCountOperationResponse, err error)
GetDriveRootListItemPermissionsCount - Get the number of the resource
func (DriveRootListItemPermissionClient) ListDriveRootListItemPermissionGrants ¶
func (c DriveRootListItemPermissionClient) ListDriveRootListItemPermissionGrants(ctx context.Context, id beta.UserIdDriveIdRootListItemPermissionId, input ListDriveRootListItemPermissionGrantsRequest, options ListDriveRootListItemPermissionGrantsOperationOptions) (result ListDriveRootListItemPermissionGrantsOperationResponse, err error)
ListDriveRootListItemPermissionGrants - Invoke action grant. Grant users access to a link represented by a permission.
func (DriveRootListItemPermissionClient) ListDriveRootListItemPermissionGrantsComplete ¶
func (c DriveRootListItemPermissionClient) ListDriveRootListItemPermissionGrantsComplete(ctx context.Context, id beta.UserIdDriveIdRootListItemPermissionId, input ListDriveRootListItemPermissionGrantsRequest, options ListDriveRootListItemPermissionGrantsOperationOptions) (ListDriveRootListItemPermissionGrantsCompleteResult, error)
ListDriveRootListItemPermissionGrantsComplete retrieves all the results into a single object
func (DriveRootListItemPermissionClient) ListDriveRootListItemPermissionGrantsCompleteMatchingPredicate ¶
func (c DriveRootListItemPermissionClient) ListDriveRootListItemPermissionGrantsCompleteMatchingPredicate(ctx context.Context, id beta.UserIdDriveIdRootListItemPermissionId, input ListDriveRootListItemPermissionGrantsRequest, options ListDriveRootListItemPermissionGrantsOperationOptions, predicate PermissionOperationPredicate) (result ListDriveRootListItemPermissionGrantsCompleteResult, err error)
ListDriveRootListItemPermissionGrantsCompleteMatchingPredicate retrieves all the results and then applies the predicate
func (DriveRootListItemPermissionClient) ListDriveRootListItemPermissions ¶
func (c DriveRootListItemPermissionClient) ListDriveRootListItemPermissions(ctx context.Context, id beta.UserIdDriveId, options ListDriveRootListItemPermissionsOperationOptions) (result ListDriveRootListItemPermissionsOperationResponse, err error)
ListDriveRootListItemPermissions - Get permissions from users. The set of permissions for the item. Read-only. Nullable.
func (DriveRootListItemPermissionClient) ListDriveRootListItemPermissionsComplete ¶
func (c DriveRootListItemPermissionClient) ListDriveRootListItemPermissionsComplete(ctx context.Context, id beta.UserIdDriveId, options ListDriveRootListItemPermissionsOperationOptions) (ListDriveRootListItemPermissionsCompleteResult, error)
ListDriveRootListItemPermissionsComplete retrieves all the results into a single object
func (DriveRootListItemPermissionClient) ListDriveRootListItemPermissionsCompleteMatchingPredicate ¶
func (c DriveRootListItemPermissionClient) ListDriveRootListItemPermissionsCompleteMatchingPredicate(ctx context.Context, id beta.UserIdDriveId, options ListDriveRootListItemPermissionsOperationOptions, predicate PermissionOperationPredicate) (result ListDriveRootListItemPermissionsCompleteResult, err error)
ListDriveRootListItemPermissionsCompleteMatchingPredicate retrieves all the results and then applies the predicate
func (DriveRootListItemPermissionClient) RevokeDriveRootListItemPermissionGrants ¶
func (c DriveRootListItemPermissionClient) RevokeDriveRootListItemPermissionGrants(ctx context.Context, id beta.UserIdDriveIdRootListItemPermissionId, input RevokeDriveRootListItemPermissionGrantsRequest, options RevokeDriveRootListItemPermissionGrantsOperationOptions) (result RevokeDriveRootListItemPermissionGrantsOperationResponse, err error)
RevokeDriveRootListItemPermissionGrants - Invoke action revokeGrants. Revoke access to a listItem or driveItem granted via a sharing link by removing the specified recipient from the link.
func (DriveRootListItemPermissionClient) UpdateDriveRootListItemPermission ¶
func (c DriveRootListItemPermissionClient) UpdateDriveRootListItemPermission(ctx context.Context, id beta.UserIdDriveIdRootListItemPermissionId, input beta.Permission, options UpdateDriveRootListItemPermissionOperationOptions) (result UpdateDriveRootListItemPermissionOperationResponse, err error)
UpdateDriveRootListItemPermission - Update the navigation property permissions in users
type GetDriveRootListItemPermissionOperationOptions ¶
type GetDriveRootListItemPermissionOperationOptions struct { Expand *odata.Expand Metadata *odata.Metadata RetryFunc client.RequestRetryFunc Select *[]string }
func DefaultGetDriveRootListItemPermissionOperationOptions ¶
func DefaultGetDriveRootListItemPermissionOperationOptions() GetDriveRootListItemPermissionOperationOptions
func (GetDriveRootListItemPermissionOperationOptions) ToHeaders ¶
func (o GetDriveRootListItemPermissionOperationOptions) ToHeaders() *client.Headers
func (GetDriveRootListItemPermissionOperationOptions) ToOData ¶
func (o GetDriveRootListItemPermissionOperationOptions) ToOData() *odata.Query
func (GetDriveRootListItemPermissionOperationOptions) ToQuery ¶
func (o GetDriveRootListItemPermissionOperationOptions) ToQuery() *client.QueryParams
type GetDriveRootListItemPermissionsCountOperationOptions ¶
type GetDriveRootListItemPermissionsCountOperationOptions struct { Filter *string Metadata *odata.Metadata RetryFunc client.RequestRetryFunc Search *string }
func DefaultGetDriveRootListItemPermissionsCountOperationOptions ¶
func DefaultGetDriveRootListItemPermissionsCountOperationOptions() GetDriveRootListItemPermissionsCountOperationOptions
func (GetDriveRootListItemPermissionsCountOperationOptions) ToHeaders ¶
func (o GetDriveRootListItemPermissionsCountOperationOptions) ToHeaders() *client.Headers
func (GetDriveRootListItemPermissionsCountOperationOptions) ToOData ¶
func (o GetDriveRootListItemPermissionsCountOperationOptions) ToOData() *odata.Query
func (GetDriveRootListItemPermissionsCountOperationOptions) ToQuery ¶
func (o GetDriveRootListItemPermissionsCountOperationOptions) ToQuery() *client.QueryParams
type ListDriveRootListItemPermissionGrantsCompleteResult ¶
type ListDriveRootListItemPermissionGrantsCompleteResult struct { LatestHttpResponse *http.Response Items []beta.Permission }
type ListDriveRootListItemPermissionGrantsCustomPager ¶
type ListDriveRootListItemPermissionGrantsCustomPager struct {
NextLink *odata.Link `json:"@odata.nextLink"`
}
func (*ListDriveRootListItemPermissionGrantsCustomPager) NextPageLink ¶
func (p *ListDriveRootListItemPermissionGrantsCustomPager) NextPageLink() *odata.Link
type ListDriveRootListItemPermissionGrantsOperationOptions ¶
type ListDriveRootListItemPermissionGrantsOperationOptions struct { Metadata *odata.Metadata RetryFunc client.RequestRetryFunc Skip *int64 Top *int64 }
func DefaultListDriveRootListItemPermissionGrantsOperationOptions ¶
func DefaultListDriveRootListItemPermissionGrantsOperationOptions() ListDriveRootListItemPermissionGrantsOperationOptions
func (ListDriveRootListItemPermissionGrantsOperationOptions) ToHeaders ¶
func (o ListDriveRootListItemPermissionGrantsOperationOptions) ToHeaders() *client.Headers
func (ListDriveRootListItemPermissionGrantsOperationOptions) ToOData ¶
func (o ListDriveRootListItemPermissionGrantsOperationOptions) ToOData() *odata.Query
func (ListDriveRootListItemPermissionGrantsOperationOptions) ToQuery ¶
func (o ListDriveRootListItemPermissionGrantsOperationOptions) ToQuery() *client.QueryParams
type ListDriveRootListItemPermissionGrantsRequest ¶
type ListDriveRootListItemPermissionGrantsRequest struct { Recipients *[]beta.DriveRecipient `json:"recipients,omitempty"` Roles *[]string `json:"roles,omitempty"` }
type ListDriveRootListItemPermissionsCompleteResult ¶
type ListDriveRootListItemPermissionsCompleteResult struct { LatestHttpResponse *http.Response Items []beta.Permission }
type ListDriveRootListItemPermissionsCustomPager ¶
type ListDriveRootListItemPermissionsCustomPager struct {
NextLink *odata.Link `json:"@odata.nextLink"`
}
func (*ListDriveRootListItemPermissionsCustomPager) NextPageLink ¶
func (p *ListDriveRootListItemPermissionsCustomPager) NextPageLink() *odata.Link
type ListDriveRootListItemPermissionsOperationOptions ¶
type ListDriveRootListItemPermissionsOperationOptions 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 DefaultListDriveRootListItemPermissionsOperationOptions ¶
func DefaultListDriveRootListItemPermissionsOperationOptions() ListDriveRootListItemPermissionsOperationOptions
func (ListDriveRootListItemPermissionsOperationOptions) ToHeaders ¶
func (o ListDriveRootListItemPermissionsOperationOptions) ToHeaders() *client.Headers
func (ListDriveRootListItemPermissionsOperationOptions) ToOData ¶
func (o ListDriveRootListItemPermissionsOperationOptions) ToOData() *odata.Query
func (ListDriveRootListItemPermissionsOperationOptions) ToQuery ¶
func (o ListDriveRootListItemPermissionsOperationOptions) ToQuery() *client.QueryParams
type PermissionOperationPredicate ¶
type PermissionOperationPredicate struct { }
func (PermissionOperationPredicate) Matches ¶
func (p PermissionOperationPredicate) Matches(input beta.Permission) bool
type RevokeDriveRootListItemPermissionGrantsOperationOptions ¶
type RevokeDriveRootListItemPermissionGrantsOperationOptions struct { Metadata *odata.Metadata RetryFunc client.RequestRetryFunc }
func DefaultRevokeDriveRootListItemPermissionGrantsOperationOptions ¶
func DefaultRevokeDriveRootListItemPermissionGrantsOperationOptions() RevokeDriveRootListItemPermissionGrantsOperationOptions
func (RevokeDriveRootListItemPermissionGrantsOperationOptions) ToHeaders ¶
func (o RevokeDriveRootListItemPermissionGrantsOperationOptions) ToHeaders() *client.Headers
func (RevokeDriveRootListItemPermissionGrantsOperationOptions) ToOData ¶
func (o RevokeDriveRootListItemPermissionGrantsOperationOptions) ToOData() *odata.Query
func (RevokeDriveRootListItemPermissionGrantsOperationOptions) ToQuery ¶
func (o RevokeDriveRootListItemPermissionGrantsOperationOptions) ToQuery() *client.QueryParams
type RevokeDriveRootListItemPermissionGrantsRequest ¶
type RevokeDriveRootListItemPermissionGrantsRequest struct {
Grantees *[]beta.DriveRecipient `json:"grantees,omitempty"`
}
type UpdateDriveRootListItemPermissionOperationOptions ¶
type UpdateDriveRootListItemPermissionOperationOptions struct { Metadata *odata.Metadata RetryFunc client.RequestRetryFunc }
func DefaultUpdateDriveRootListItemPermissionOperationOptions ¶
func DefaultUpdateDriveRootListItemPermissionOperationOptions() UpdateDriveRootListItemPermissionOperationOptions
func (UpdateDriveRootListItemPermissionOperationOptions) ToHeaders ¶
func (o UpdateDriveRootListItemPermissionOperationOptions) ToHeaders() *client.Headers
func (UpdateDriveRootListItemPermissionOperationOptions) ToOData ¶
func (o UpdateDriveRootListItemPermissionOperationOptions) ToOData() *odata.Query
func (UpdateDriveRootListItemPermissionOperationOptions) ToQuery ¶
func (o UpdateDriveRootListItemPermissionOperationOptions) ToQuery() *client.QueryParams
Source Files ¶
- client.go
- method_createdriverootlistitempermission.go
- method_deletedriverootlistitempermission.go
- method_getdriverootlistitempermission.go
- method_getdriverootlistitempermissionscount.go
- method_listdriverootlistitempermissiongrants.go
- method_listdriverootlistitempermissions.go
- method_revokedriverootlistitempermissiongrants.go
- method_updatedriverootlistitempermission.go
- model_listdriverootlistitempermissiongrantsrequest.go
- model_revokedriverootlistitempermissiongrantsrequest.go
- predicates.go
- version.go