Documentation ¶
Index ¶
- type CreateDriveItemListItemPermissionOperationOptions
- type CreateDriveItemListItemPermissionOperationResponse
- type DeleteDriveItemListItemPermissionOperationOptions
- type DeleteDriveItemListItemPermissionOperationResponse
- type DriveItemListItemPermissionClient
- func (c DriveItemListItemPermissionClient) CreateDriveItemListItemPermission(ctx context.Context, id beta.GroupIdDriveIdItemId, input beta.Permission, ...) (result CreateDriveItemListItemPermissionOperationResponse, err error)
- func (c DriveItemListItemPermissionClient) DeleteDriveItemListItemPermission(ctx context.Context, id beta.GroupIdDriveIdItemIdListItemPermissionId, ...) (result DeleteDriveItemListItemPermissionOperationResponse, err error)
- func (c DriveItemListItemPermissionClient) GetDriveItemListItemPermission(ctx context.Context, id beta.GroupIdDriveIdItemIdListItemPermissionId, ...) (result GetDriveItemListItemPermissionOperationResponse, err error)
- func (c DriveItemListItemPermissionClient) GetDriveItemListItemPermissionsCount(ctx context.Context, id beta.GroupIdDriveIdItemId, ...) (result GetDriveItemListItemPermissionsCountOperationResponse, err error)
- func (c DriveItemListItemPermissionClient) ListDriveItemListItemPermissionGrants(ctx context.Context, id beta.GroupIdDriveIdItemIdListItemPermissionId, ...) (result ListDriveItemListItemPermissionGrantsOperationResponse, err error)
- func (c DriveItemListItemPermissionClient) ListDriveItemListItemPermissionGrantsComplete(ctx context.Context, id beta.GroupIdDriveIdItemIdListItemPermissionId, ...) (ListDriveItemListItemPermissionGrantsCompleteResult, error)
- func (c DriveItemListItemPermissionClient) ListDriveItemListItemPermissionGrantsCompleteMatchingPredicate(ctx context.Context, id beta.GroupIdDriveIdItemIdListItemPermissionId, ...) (result ListDriveItemListItemPermissionGrantsCompleteResult, err error)
- func (c DriveItemListItemPermissionClient) ListDriveItemListItemPermissions(ctx context.Context, id beta.GroupIdDriveIdItemId, ...) (result ListDriveItemListItemPermissionsOperationResponse, err error)
- func (c DriveItemListItemPermissionClient) ListDriveItemListItemPermissionsComplete(ctx context.Context, id beta.GroupIdDriveIdItemId, ...) (ListDriveItemListItemPermissionsCompleteResult, error)
- func (c DriveItemListItemPermissionClient) ListDriveItemListItemPermissionsCompleteMatchingPredicate(ctx context.Context, id beta.GroupIdDriveIdItemId, ...) (result ListDriveItemListItemPermissionsCompleteResult, err error)
- func (c DriveItemListItemPermissionClient) RevokeDriveItemListItemPermissionGrants(ctx context.Context, id beta.GroupIdDriveIdItemIdListItemPermissionId, ...) (result RevokeDriveItemListItemPermissionGrantsOperationResponse, err error)
- func (c DriveItemListItemPermissionClient) UpdateDriveItemListItemPermission(ctx context.Context, id beta.GroupIdDriveIdItemIdListItemPermissionId, ...) (result UpdateDriveItemListItemPermissionOperationResponse, err error)
- type GetDriveItemListItemPermissionOperationOptions
- type GetDriveItemListItemPermissionOperationResponse
- type GetDriveItemListItemPermissionsCountOperationOptions
- type GetDriveItemListItemPermissionsCountOperationResponse
- type ListDriveItemListItemPermissionGrantsCompleteResult
- type ListDriveItemListItemPermissionGrantsCustomPager
- type ListDriveItemListItemPermissionGrantsOperationOptions
- type ListDriveItemListItemPermissionGrantsOperationResponse
- type ListDriveItemListItemPermissionGrantsRequest
- type ListDriveItemListItemPermissionsCompleteResult
- type ListDriveItemListItemPermissionsCustomPager
- type ListDriveItemListItemPermissionsOperationOptions
- type ListDriveItemListItemPermissionsOperationResponse
- type PermissionOperationPredicate
- type RevokeDriveItemListItemPermissionGrantsOperationOptions
- type RevokeDriveItemListItemPermissionGrantsOperationResponse
- type RevokeDriveItemListItemPermissionGrantsRequest
- type UpdateDriveItemListItemPermissionOperationOptions
- type UpdateDriveItemListItemPermissionOperationResponse
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CreateDriveItemListItemPermissionOperationOptions ¶
type CreateDriveItemListItemPermissionOperationOptions struct { Metadata *odata.Metadata RetryFunc client.RequestRetryFunc }
func DefaultCreateDriveItemListItemPermissionOperationOptions ¶
func DefaultCreateDriveItemListItemPermissionOperationOptions() CreateDriveItemListItemPermissionOperationOptions
func (CreateDriveItemListItemPermissionOperationOptions) ToHeaders ¶
func (o CreateDriveItemListItemPermissionOperationOptions) ToHeaders() *client.Headers
func (CreateDriveItemListItemPermissionOperationOptions) ToOData ¶
func (o CreateDriveItemListItemPermissionOperationOptions) ToOData() *odata.Query
func (CreateDriveItemListItemPermissionOperationOptions) ToQuery ¶
func (o CreateDriveItemListItemPermissionOperationOptions) ToQuery() *client.QueryParams
type DeleteDriveItemListItemPermissionOperationOptions ¶
type DeleteDriveItemListItemPermissionOperationOptions struct { IfMatch *string Metadata *odata.Metadata RetryFunc client.RequestRetryFunc }
func DefaultDeleteDriveItemListItemPermissionOperationOptions ¶
func DefaultDeleteDriveItemListItemPermissionOperationOptions() DeleteDriveItemListItemPermissionOperationOptions
func (DeleteDriveItemListItemPermissionOperationOptions) ToHeaders ¶
func (o DeleteDriveItemListItemPermissionOperationOptions) ToHeaders() *client.Headers
func (DeleteDriveItemListItemPermissionOperationOptions) ToOData ¶
func (o DeleteDriveItemListItemPermissionOperationOptions) ToOData() *odata.Query
func (DeleteDriveItemListItemPermissionOperationOptions) ToQuery ¶
func (o DeleteDriveItemListItemPermissionOperationOptions) ToQuery() *client.QueryParams
type DriveItemListItemPermissionClient ¶
func NewDriveItemListItemPermissionClientWithBaseURI ¶
func NewDriveItemListItemPermissionClientWithBaseURI(sdkApi sdkEnv.Api) (*DriveItemListItemPermissionClient, error)
func (DriveItemListItemPermissionClient) CreateDriveItemListItemPermission ¶
func (c DriveItemListItemPermissionClient) CreateDriveItemListItemPermission(ctx context.Context, id beta.GroupIdDriveIdItemId, input beta.Permission, options CreateDriveItemListItemPermissionOperationOptions) (result CreateDriveItemListItemPermissionOperationResponse, err error)
CreateDriveItemListItemPermission - Create new navigation property to permissions for groups
func (DriveItemListItemPermissionClient) DeleteDriveItemListItemPermission ¶
func (c DriveItemListItemPermissionClient) DeleteDriveItemListItemPermission(ctx context.Context, id beta.GroupIdDriveIdItemIdListItemPermissionId, options DeleteDriveItemListItemPermissionOperationOptions) (result DeleteDriveItemListItemPermissionOperationResponse, err error)
DeleteDriveItemListItemPermission - Delete navigation property permissions for groups
func (DriveItemListItemPermissionClient) GetDriveItemListItemPermission ¶
func (c DriveItemListItemPermissionClient) GetDriveItemListItemPermission(ctx context.Context, id beta.GroupIdDriveIdItemIdListItemPermissionId, options GetDriveItemListItemPermissionOperationOptions) (result GetDriveItemListItemPermissionOperationResponse, err error)
GetDriveItemListItemPermission - Get permissions from groups. The set of permissions for the item. Read-only. Nullable.
func (DriveItemListItemPermissionClient) GetDriveItemListItemPermissionsCount ¶
func (c DriveItemListItemPermissionClient) GetDriveItemListItemPermissionsCount(ctx context.Context, id beta.GroupIdDriveIdItemId, options GetDriveItemListItemPermissionsCountOperationOptions) (result GetDriveItemListItemPermissionsCountOperationResponse, err error)
GetDriveItemListItemPermissionsCount - Get the number of the resource
func (DriveItemListItemPermissionClient) ListDriveItemListItemPermissionGrants ¶
func (c DriveItemListItemPermissionClient) ListDriveItemListItemPermissionGrants(ctx context.Context, id beta.GroupIdDriveIdItemIdListItemPermissionId, input ListDriveItemListItemPermissionGrantsRequest, options ListDriveItemListItemPermissionGrantsOperationOptions) (result ListDriveItemListItemPermissionGrantsOperationResponse, err error)
ListDriveItemListItemPermissionGrants - Invoke action grant. Grant users access to a link represented by a permission.
func (DriveItemListItemPermissionClient) ListDriveItemListItemPermissionGrantsComplete ¶
func (c DriveItemListItemPermissionClient) ListDriveItemListItemPermissionGrantsComplete(ctx context.Context, id beta.GroupIdDriveIdItemIdListItemPermissionId, input ListDriveItemListItemPermissionGrantsRequest, options ListDriveItemListItemPermissionGrantsOperationOptions) (ListDriveItemListItemPermissionGrantsCompleteResult, error)
ListDriveItemListItemPermissionGrantsComplete retrieves all the results into a single object
func (DriveItemListItemPermissionClient) ListDriveItemListItemPermissionGrantsCompleteMatchingPredicate ¶
func (c DriveItemListItemPermissionClient) ListDriveItemListItemPermissionGrantsCompleteMatchingPredicate(ctx context.Context, id beta.GroupIdDriveIdItemIdListItemPermissionId, input ListDriveItemListItemPermissionGrantsRequest, options ListDriveItemListItemPermissionGrantsOperationOptions, predicate PermissionOperationPredicate) (result ListDriveItemListItemPermissionGrantsCompleteResult, err error)
ListDriveItemListItemPermissionGrantsCompleteMatchingPredicate retrieves all the results and then applies the predicate
func (DriveItemListItemPermissionClient) ListDriveItemListItemPermissions ¶
func (c DriveItemListItemPermissionClient) ListDriveItemListItemPermissions(ctx context.Context, id beta.GroupIdDriveIdItemId, options ListDriveItemListItemPermissionsOperationOptions) (result ListDriveItemListItemPermissionsOperationResponse, err error)
ListDriveItemListItemPermissions - Get permissions from groups. The set of permissions for the item. Read-only. Nullable.
func (DriveItemListItemPermissionClient) ListDriveItemListItemPermissionsComplete ¶
func (c DriveItemListItemPermissionClient) ListDriveItemListItemPermissionsComplete(ctx context.Context, id beta.GroupIdDriveIdItemId, options ListDriveItemListItemPermissionsOperationOptions) (ListDriveItemListItemPermissionsCompleteResult, error)
ListDriveItemListItemPermissionsComplete retrieves all the results into a single object
func (DriveItemListItemPermissionClient) ListDriveItemListItemPermissionsCompleteMatchingPredicate ¶
func (c DriveItemListItemPermissionClient) ListDriveItemListItemPermissionsCompleteMatchingPredicate(ctx context.Context, id beta.GroupIdDriveIdItemId, options ListDriveItemListItemPermissionsOperationOptions, predicate PermissionOperationPredicate) (result ListDriveItemListItemPermissionsCompleteResult, err error)
ListDriveItemListItemPermissionsCompleteMatchingPredicate retrieves all the results and then applies the predicate
func (DriveItemListItemPermissionClient) RevokeDriveItemListItemPermissionGrants ¶
func (c DriveItemListItemPermissionClient) RevokeDriveItemListItemPermissionGrants(ctx context.Context, id beta.GroupIdDriveIdItemIdListItemPermissionId, input RevokeDriveItemListItemPermissionGrantsRequest, options RevokeDriveItemListItemPermissionGrantsOperationOptions) (result RevokeDriveItemListItemPermissionGrantsOperationResponse, err error)
RevokeDriveItemListItemPermissionGrants - Invoke action revokeGrants. Revoke access to a listItem or driveItem granted via a sharing link by removing the specified recipient from the link.
func (DriveItemListItemPermissionClient) UpdateDriveItemListItemPermission ¶
func (c DriveItemListItemPermissionClient) UpdateDriveItemListItemPermission(ctx context.Context, id beta.GroupIdDriveIdItemIdListItemPermissionId, input beta.Permission, options UpdateDriveItemListItemPermissionOperationOptions) (result UpdateDriveItemListItemPermissionOperationResponse, err error)
UpdateDriveItemListItemPermission - Update the navigation property permissions in groups
type GetDriveItemListItemPermissionOperationOptions ¶
type GetDriveItemListItemPermissionOperationOptions struct { Expand *odata.Expand Metadata *odata.Metadata RetryFunc client.RequestRetryFunc Select *[]string }
func DefaultGetDriveItemListItemPermissionOperationOptions ¶
func DefaultGetDriveItemListItemPermissionOperationOptions() GetDriveItemListItemPermissionOperationOptions
func (GetDriveItemListItemPermissionOperationOptions) ToHeaders ¶
func (o GetDriveItemListItemPermissionOperationOptions) ToHeaders() *client.Headers
func (GetDriveItemListItemPermissionOperationOptions) ToOData ¶
func (o GetDriveItemListItemPermissionOperationOptions) ToOData() *odata.Query
func (GetDriveItemListItemPermissionOperationOptions) ToQuery ¶
func (o GetDriveItemListItemPermissionOperationOptions) ToQuery() *client.QueryParams
type GetDriveItemListItemPermissionsCountOperationOptions ¶
type GetDriveItemListItemPermissionsCountOperationOptions struct { Filter *string Metadata *odata.Metadata RetryFunc client.RequestRetryFunc Search *string }
func DefaultGetDriveItemListItemPermissionsCountOperationOptions ¶
func DefaultGetDriveItemListItemPermissionsCountOperationOptions() GetDriveItemListItemPermissionsCountOperationOptions
func (GetDriveItemListItemPermissionsCountOperationOptions) ToHeaders ¶
func (o GetDriveItemListItemPermissionsCountOperationOptions) ToHeaders() *client.Headers
func (GetDriveItemListItemPermissionsCountOperationOptions) ToOData ¶
func (o GetDriveItemListItemPermissionsCountOperationOptions) ToOData() *odata.Query
func (GetDriveItemListItemPermissionsCountOperationOptions) ToQuery ¶
func (o GetDriveItemListItemPermissionsCountOperationOptions) ToQuery() *client.QueryParams
type ListDriveItemListItemPermissionGrantsCompleteResult ¶
type ListDriveItemListItemPermissionGrantsCompleteResult struct { LatestHttpResponse *http.Response Items []beta.Permission }
type ListDriveItemListItemPermissionGrantsCustomPager ¶
type ListDriveItemListItemPermissionGrantsCustomPager struct {
NextLink *odata.Link `json:"@odata.nextLink"`
}
func (*ListDriveItemListItemPermissionGrantsCustomPager) NextPageLink ¶
func (p *ListDriveItemListItemPermissionGrantsCustomPager) NextPageLink() *odata.Link
type ListDriveItemListItemPermissionGrantsOperationOptions ¶
type ListDriveItemListItemPermissionGrantsOperationOptions struct { Metadata *odata.Metadata RetryFunc client.RequestRetryFunc Skip *int64 Top *int64 }
func DefaultListDriveItemListItemPermissionGrantsOperationOptions ¶
func DefaultListDriveItemListItemPermissionGrantsOperationOptions() ListDriveItemListItemPermissionGrantsOperationOptions
func (ListDriveItemListItemPermissionGrantsOperationOptions) ToHeaders ¶
func (o ListDriveItemListItemPermissionGrantsOperationOptions) ToHeaders() *client.Headers
func (ListDriveItemListItemPermissionGrantsOperationOptions) ToOData ¶
func (o ListDriveItemListItemPermissionGrantsOperationOptions) ToOData() *odata.Query
func (ListDriveItemListItemPermissionGrantsOperationOptions) ToQuery ¶
func (o ListDriveItemListItemPermissionGrantsOperationOptions) ToQuery() *client.QueryParams
type ListDriveItemListItemPermissionGrantsRequest ¶
type ListDriveItemListItemPermissionGrantsRequest struct { Recipients *[]beta.DriveRecipient `json:"recipients,omitempty"` Roles *[]string `json:"roles,omitempty"` }
type ListDriveItemListItemPermissionsCompleteResult ¶
type ListDriveItemListItemPermissionsCompleteResult struct { LatestHttpResponse *http.Response Items []beta.Permission }
type ListDriveItemListItemPermissionsCustomPager ¶
type ListDriveItemListItemPermissionsCustomPager struct {
NextLink *odata.Link `json:"@odata.nextLink"`
}
func (*ListDriveItemListItemPermissionsCustomPager) NextPageLink ¶
func (p *ListDriveItemListItemPermissionsCustomPager) NextPageLink() *odata.Link
type ListDriveItemListItemPermissionsOperationOptions ¶
type ListDriveItemListItemPermissionsOperationOptions 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 DefaultListDriveItemListItemPermissionsOperationOptions ¶
func DefaultListDriveItemListItemPermissionsOperationOptions() ListDriveItemListItemPermissionsOperationOptions
func (ListDriveItemListItemPermissionsOperationOptions) ToHeaders ¶
func (o ListDriveItemListItemPermissionsOperationOptions) ToHeaders() *client.Headers
func (ListDriveItemListItemPermissionsOperationOptions) ToOData ¶
func (o ListDriveItemListItemPermissionsOperationOptions) ToOData() *odata.Query
func (ListDriveItemListItemPermissionsOperationOptions) ToQuery ¶
func (o ListDriveItemListItemPermissionsOperationOptions) ToQuery() *client.QueryParams
type PermissionOperationPredicate ¶
type PermissionOperationPredicate struct { }
func (PermissionOperationPredicate) Matches ¶
func (p PermissionOperationPredicate) Matches(input beta.Permission) bool
type RevokeDriveItemListItemPermissionGrantsOperationOptions ¶
type RevokeDriveItemListItemPermissionGrantsOperationOptions struct { Metadata *odata.Metadata RetryFunc client.RequestRetryFunc }
func DefaultRevokeDriveItemListItemPermissionGrantsOperationOptions ¶
func DefaultRevokeDriveItemListItemPermissionGrantsOperationOptions() RevokeDriveItemListItemPermissionGrantsOperationOptions
func (RevokeDriveItemListItemPermissionGrantsOperationOptions) ToHeaders ¶
func (o RevokeDriveItemListItemPermissionGrantsOperationOptions) ToHeaders() *client.Headers
func (RevokeDriveItemListItemPermissionGrantsOperationOptions) ToOData ¶
func (o RevokeDriveItemListItemPermissionGrantsOperationOptions) ToOData() *odata.Query
func (RevokeDriveItemListItemPermissionGrantsOperationOptions) ToQuery ¶
func (o RevokeDriveItemListItemPermissionGrantsOperationOptions) ToQuery() *client.QueryParams
type RevokeDriveItemListItemPermissionGrantsRequest ¶
type RevokeDriveItemListItemPermissionGrantsRequest struct {
Grantees *[]beta.DriveRecipient `json:"grantees,omitempty"`
}
type UpdateDriveItemListItemPermissionOperationOptions ¶
type UpdateDriveItemListItemPermissionOperationOptions struct { Metadata *odata.Metadata RetryFunc client.RequestRetryFunc }
func DefaultUpdateDriveItemListItemPermissionOperationOptions ¶
func DefaultUpdateDriveItemListItemPermissionOperationOptions() UpdateDriveItemListItemPermissionOperationOptions
func (UpdateDriveItemListItemPermissionOperationOptions) ToHeaders ¶
func (o UpdateDriveItemListItemPermissionOperationOptions) ToHeaders() *client.Headers
func (UpdateDriveItemListItemPermissionOperationOptions) ToOData ¶
func (o UpdateDriveItemListItemPermissionOperationOptions) ToOData() *odata.Query
func (UpdateDriveItemListItemPermissionOperationOptions) ToQuery ¶
func (o UpdateDriveItemListItemPermissionOperationOptions) ToQuery() *client.QueryParams
Source Files ¶
- client.go
- method_createdriveitemlistitempermission.go
- method_deletedriveitemlistitempermission.go
- method_getdriveitemlistitempermission.go
- method_getdriveitemlistitempermissionscount.go
- method_listdriveitemlistitempermissiongrants.go
- method_listdriveitemlistitempermissions.go
- method_revokedriveitemlistitempermissiongrants.go
- method_updatedriveitemlistitempermission.go
- model_listdriveitemlistitempermissiongrantsrequest.go
- model_revokedriveitemlistitempermissiongrantsrequest.go
- predicates.go
- version.go