Documentation ¶
Index ¶
- type CreateDriveItemPermissionOperationOptions
- type CreateDriveItemPermissionOperationResponse
- type DeleteDriveItemPermissionOperationOptions
- type DeleteDriveItemPermissionOperationResponse
- type DriveItemPermissionClient
- func (c DriveItemPermissionClient) CreateDriveItemPermission(ctx context.Context, id beta.GroupIdDriveIdItemId, input beta.Permission, ...) (result CreateDriveItemPermissionOperationResponse, err error)
- func (c DriveItemPermissionClient) DeleteDriveItemPermission(ctx context.Context, id beta.GroupIdDriveIdItemIdPermissionId, ...) (result DeleteDriveItemPermissionOperationResponse, err error)
- func (c DriveItemPermissionClient) GetDriveItemPermission(ctx context.Context, id beta.GroupIdDriveIdItemIdPermissionId, ...) (result GetDriveItemPermissionOperationResponse, err error)
- func (c DriveItemPermissionClient) GetDriveItemPermissionsCount(ctx context.Context, id beta.GroupIdDriveIdItemId, ...) (result GetDriveItemPermissionsCountOperationResponse, err error)
- func (c DriveItemPermissionClient) ListDriveItemPermissionGrants(ctx context.Context, id beta.GroupIdDriveIdItemIdPermissionId, ...) (result ListDriveItemPermissionGrantsOperationResponse, err error)
- func (c DriveItemPermissionClient) ListDriveItemPermissionGrantsComplete(ctx context.Context, id beta.GroupIdDriveIdItemIdPermissionId, ...) (ListDriveItemPermissionGrantsCompleteResult, error)
- func (c DriveItemPermissionClient) ListDriveItemPermissionGrantsCompleteMatchingPredicate(ctx context.Context, id beta.GroupIdDriveIdItemIdPermissionId, ...) (result ListDriveItemPermissionGrantsCompleteResult, err error)
- func (c DriveItemPermissionClient) ListDriveItemPermissions(ctx context.Context, id beta.GroupIdDriveIdItemId, ...) (result ListDriveItemPermissionsOperationResponse, err error)
- func (c DriveItemPermissionClient) ListDriveItemPermissionsComplete(ctx context.Context, id beta.GroupIdDriveIdItemId, ...) (ListDriveItemPermissionsCompleteResult, error)
- func (c DriveItemPermissionClient) ListDriveItemPermissionsCompleteMatchingPredicate(ctx context.Context, id beta.GroupIdDriveIdItemId, ...) (result ListDriveItemPermissionsCompleteResult, err error)
- func (c DriveItemPermissionClient) RevokeDriveItemPermissionGrants(ctx context.Context, id beta.GroupIdDriveIdItemIdPermissionId, ...) (result RevokeDriveItemPermissionGrantsOperationResponse, err error)
- func (c DriveItemPermissionClient) UpdateDriveItemPermission(ctx context.Context, id beta.GroupIdDriveIdItemIdPermissionId, ...) (result UpdateDriveItemPermissionOperationResponse, err error)
- type GetDriveItemPermissionOperationOptions
- type GetDriveItemPermissionOperationResponse
- type GetDriveItemPermissionsCountOperationOptions
- type GetDriveItemPermissionsCountOperationResponse
- type ListDriveItemPermissionGrantsCompleteResult
- type ListDriveItemPermissionGrantsCustomPager
- type ListDriveItemPermissionGrantsOperationOptions
- type ListDriveItemPermissionGrantsOperationResponse
- type ListDriveItemPermissionGrantsRequest
- type ListDriveItemPermissionsCompleteResult
- type ListDriveItemPermissionsCustomPager
- type ListDriveItemPermissionsOperationOptions
- type ListDriveItemPermissionsOperationResponse
- type PermissionOperationPredicate
- type RevokeDriveItemPermissionGrantsOperationOptions
- type RevokeDriveItemPermissionGrantsOperationResponse
- type RevokeDriveItemPermissionGrantsRequest
- type UpdateDriveItemPermissionOperationOptions
- type UpdateDriveItemPermissionOperationResponse
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CreateDriveItemPermissionOperationOptions ¶
type CreateDriveItemPermissionOperationOptions struct { Metadata *odata.Metadata RetryFunc client.RequestRetryFunc }
func DefaultCreateDriveItemPermissionOperationOptions ¶
func DefaultCreateDriveItemPermissionOperationOptions() CreateDriveItemPermissionOperationOptions
func (CreateDriveItemPermissionOperationOptions) ToHeaders ¶
func (o CreateDriveItemPermissionOperationOptions) ToHeaders() *client.Headers
func (CreateDriveItemPermissionOperationOptions) ToOData ¶
func (o CreateDriveItemPermissionOperationOptions) ToOData() *odata.Query
func (CreateDriveItemPermissionOperationOptions) ToQuery ¶
func (o CreateDriveItemPermissionOperationOptions) ToQuery() *client.QueryParams
type DeleteDriveItemPermissionOperationOptions ¶
type DeleteDriveItemPermissionOperationOptions struct { IfMatch *string Metadata *odata.Metadata RetryFunc client.RequestRetryFunc }
func DefaultDeleteDriveItemPermissionOperationOptions ¶
func DefaultDeleteDriveItemPermissionOperationOptions() DeleteDriveItemPermissionOperationOptions
func (DeleteDriveItemPermissionOperationOptions) ToHeaders ¶
func (o DeleteDriveItemPermissionOperationOptions) ToHeaders() *client.Headers
func (DeleteDriveItemPermissionOperationOptions) ToOData ¶
func (o DeleteDriveItemPermissionOperationOptions) ToOData() *odata.Query
func (DeleteDriveItemPermissionOperationOptions) ToQuery ¶
func (o DeleteDriveItemPermissionOperationOptions) ToQuery() *client.QueryParams
type DriveItemPermissionClient ¶
func NewDriveItemPermissionClientWithBaseURI ¶
func NewDriveItemPermissionClientWithBaseURI(sdkApi sdkEnv.Api) (*DriveItemPermissionClient, error)
func (DriveItemPermissionClient) CreateDriveItemPermission ¶
func (c DriveItemPermissionClient) CreateDriveItemPermission(ctx context.Context, id beta.GroupIdDriveIdItemId, input beta.Permission, options CreateDriveItemPermissionOperationOptions) (result CreateDriveItemPermissionOperationResponse, err error)
CreateDriveItemPermission - Create new navigation property to permissions for groups
func (DriveItemPermissionClient) DeleteDriveItemPermission ¶
func (c DriveItemPermissionClient) DeleteDriveItemPermission(ctx context.Context, id beta.GroupIdDriveIdItemIdPermissionId, options DeleteDriveItemPermissionOperationOptions) (result DeleteDriveItemPermissionOperationResponse, err error)
DeleteDriveItemPermission - Delete navigation property permissions for groups
func (DriveItemPermissionClient) GetDriveItemPermission ¶
func (c DriveItemPermissionClient) GetDriveItemPermission(ctx context.Context, id beta.GroupIdDriveIdItemIdPermissionId, options GetDriveItemPermissionOperationOptions) (result GetDriveItemPermissionOperationResponse, err error)
GetDriveItemPermission - Get permissions from groups. The set of permissions for the item. Read-only. Nullable.
func (DriveItemPermissionClient) GetDriveItemPermissionsCount ¶
func (c DriveItemPermissionClient) GetDriveItemPermissionsCount(ctx context.Context, id beta.GroupIdDriveIdItemId, options GetDriveItemPermissionsCountOperationOptions) (result GetDriveItemPermissionsCountOperationResponse, err error)
GetDriveItemPermissionsCount - Get the number of the resource
func (DriveItemPermissionClient) ListDriveItemPermissionGrants ¶
func (c DriveItemPermissionClient) ListDriveItemPermissionGrants(ctx context.Context, id beta.GroupIdDriveIdItemIdPermissionId, input ListDriveItemPermissionGrantsRequest, options ListDriveItemPermissionGrantsOperationOptions) (result ListDriveItemPermissionGrantsOperationResponse, err error)
ListDriveItemPermissionGrants - Invoke action grant. Grant users access to a link represented by a permission.
func (DriveItemPermissionClient) ListDriveItemPermissionGrantsComplete ¶
func (c DriveItemPermissionClient) ListDriveItemPermissionGrantsComplete(ctx context.Context, id beta.GroupIdDriveIdItemIdPermissionId, input ListDriveItemPermissionGrantsRequest, options ListDriveItemPermissionGrantsOperationOptions) (ListDriveItemPermissionGrantsCompleteResult, error)
ListDriveItemPermissionGrantsComplete retrieves all the results into a single object
func (DriveItemPermissionClient) ListDriveItemPermissionGrantsCompleteMatchingPredicate ¶
func (c DriveItemPermissionClient) ListDriveItemPermissionGrantsCompleteMatchingPredicate(ctx context.Context, id beta.GroupIdDriveIdItemIdPermissionId, input ListDriveItemPermissionGrantsRequest, options ListDriveItemPermissionGrantsOperationOptions, predicate PermissionOperationPredicate) (result ListDriveItemPermissionGrantsCompleteResult, err error)
ListDriveItemPermissionGrantsCompleteMatchingPredicate retrieves all the results and then applies the predicate
func (DriveItemPermissionClient) ListDriveItemPermissions ¶
func (c DriveItemPermissionClient) ListDriveItemPermissions(ctx context.Context, id beta.GroupIdDriveIdItemId, options ListDriveItemPermissionsOperationOptions) (result ListDriveItemPermissionsOperationResponse, err error)
ListDriveItemPermissions - Get permissions from groups. The set of permissions for the item. Read-only. Nullable.
func (DriveItemPermissionClient) ListDriveItemPermissionsComplete ¶
func (c DriveItemPermissionClient) ListDriveItemPermissionsComplete(ctx context.Context, id beta.GroupIdDriveIdItemId, options ListDriveItemPermissionsOperationOptions) (ListDriveItemPermissionsCompleteResult, error)
ListDriveItemPermissionsComplete retrieves all the results into a single object
func (DriveItemPermissionClient) ListDriveItemPermissionsCompleteMatchingPredicate ¶
func (c DriveItemPermissionClient) ListDriveItemPermissionsCompleteMatchingPredicate(ctx context.Context, id beta.GroupIdDriveIdItemId, options ListDriveItemPermissionsOperationOptions, predicate PermissionOperationPredicate) (result ListDriveItemPermissionsCompleteResult, err error)
ListDriveItemPermissionsCompleteMatchingPredicate retrieves all the results and then applies the predicate
func (DriveItemPermissionClient) RevokeDriveItemPermissionGrants ¶
func (c DriveItemPermissionClient) RevokeDriveItemPermissionGrants(ctx context.Context, id beta.GroupIdDriveIdItemIdPermissionId, input RevokeDriveItemPermissionGrantsRequest, options RevokeDriveItemPermissionGrantsOperationOptions) (result RevokeDriveItemPermissionGrantsOperationResponse, err error)
RevokeDriveItemPermissionGrants - Invoke action revokeGrants. Revoke access to a listItem or driveItem granted via a sharing link by removing the specified recipient from the link.
func (DriveItemPermissionClient) UpdateDriveItemPermission ¶
func (c DriveItemPermissionClient) UpdateDriveItemPermission(ctx context.Context, id beta.GroupIdDriveIdItemIdPermissionId, input beta.Permission, options UpdateDriveItemPermissionOperationOptions) (result UpdateDriveItemPermissionOperationResponse, err error)
UpdateDriveItemPermission - Update the navigation property permissions in groups
type GetDriveItemPermissionOperationOptions ¶
type GetDriveItemPermissionOperationOptions struct { Expand *odata.Expand Metadata *odata.Metadata RetryFunc client.RequestRetryFunc Select *[]string }
func DefaultGetDriveItemPermissionOperationOptions ¶
func DefaultGetDriveItemPermissionOperationOptions() GetDriveItemPermissionOperationOptions
func (GetDriveItemPermissionOperationOptions) ToHeaders ¶
func (o GetDriveItemPermissionOperationOptions) ToHeaders() *client.Headers
func (GetDriveItemPermissionOperationOptions) ToOData ¶
func (o GetDriveItemPermissionOperationOptions) ToOData() *odata.Query
func (GetDriveItemPermissionOperationOptions) ToQuery ¶
func (o GetDriveItemPermissionOperationOptions) ToQuery() *client.QueryParams
type GetDriveItemPermissionsCountOperationOptions ¶
type GetDriveItemPermissionsCountOperationOptions struct { Filter *string Metadata *odata.Metadata RetryFunc client.RequestRetryFunc Search *string }
func DefaultGetDriveItemPermissionsCountOperationOptions ¶
func DefaultGetDriveItemPermissionsCountOperationOptions() GetDriveItemPermissionsCountOperationOptions
func (GetDriveItemPermissionsCountOperationOptions) ToHeaders ¶
func (o GetDriveItemPermissionsCountOperationOptions) ToHeaders() *client.Headers
func (GetDriveItemPermissionsCountOperationOptions) ToOData ¶
func (o GetDriveItemPermissionsCountOperationOptions) ToOData() *odata.Query
func (GetDriveItemPermissionsCountOperationOptions) ToQuery ¶
func (o GetDriveItemPermissionsCountOperationOptions) ToQuery() *client.QueryParams
type ListDriveItemPermissionGrantsCompleteResult ¶
type ListDriveItemPermissionGrantsCompleteResult struct { LatestHttpResponse *http.Response Items []beta.Permission }
type ListDriveItemPermissionGrantsCustomPager ¶
type ListDriveItemPermissionGrantsCustomPager struct {
NextLink *odata.Link `json:"@odata.nextLink"`
}
func (*ListDriveItemPermissionGrantsCustomPager) NextPageLink ¶
func (p *ListDriveItemPermissionGrantsCustomPager) NextPageLink() *odata.Link
type ListDriveItemPermissionGrantsOperationOptions ¶
type ListDriveItemPermissionGrantsOperationOptions struct { Metadata *odata.Metadata RetryFunc client.RequestRetryFunc Skip *int64 Top *int64 }
func DefaultListDriveItemPermissionGrantsOperationOptions ¶
func DefaultListDriveItemPermissionGrantsOperationOptions() ListDriveItemPermissionGrantsOperationOptions
func (ListDriveItemPermissionGrantsOperationOptions) ToHeaders ¶
func (o ListDriveItemPermissionGrantsOperationOptions) ToHeaders() *client.Headers
func (ListDriveItemPermissionGrantsOperationOptions) ToOData ¶
func (o ListDriveItemPermissionGrantsOperationOptions) ToOData() *odata.Query
func (ListDriveItemPermissionGrantsOperationOptions) ToQuery ¶
func (o ListDriveItemPermissionGrantsOperationOptions) ToQuery() *client.QueryParams
type ListDriveItemPermissionGrantsRequest ¶
type ListDriveItemPermissionGrantsRequest struct { Recipients *[]beta.DriveRecipient `json:"recipients,omitempty"` Roles *[]string `json:"roles,omitempty"` }
type ListDriveItemPermissionsCompleteResult ¶
type ListDriveItemPermissionsCompleteResult struct { LatestHttpResponse *http.Response Items []beta.Permission }
type ListDriveItemPermissionsCustomPager ¶
func (*ListDriveItemPermissionsCustomPager) NextPageLink ¶
func (p *ListDriveItemPermissionsCustomPager) NextPageLink() *odata.Link
type ListDriveItemPermissionsOperationOptions ¶
type ListDriveItemPermissionsOperationOptions 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 DefaultListDriveItemPermissionsOperationOptions ¶
func DefaultListDriveItemPermissionsOperationOptions() ListDriveItemPermissionsOperationOptions
func (ListDriveItemPermissionsOperationOptions) ToHeaders ¶
func (o ListDriveItemPermissionsOperationOptions) ToHeaders() *client.Headers
func (ListDriveItemPermissionsOperationOptions) ToOData ¶
func (o ListDriveItemPermissionsOperationOptions) ToOData() *odata.Query
func (ListDriveItemPermissionsOperationOptions) ToQuery ¶
func (o ListDriveItemPermissionsOperationOptions) ToQuery() *client.QueryParams
type PermissionOperationPredicate ¶
type PermissionOperationPredicate struct { }
func (PermissionOperationPredicate) Matches ¶
func (p PermissionOperationPredicate) Matches(input beta.Permission) bool
type RevokeDriveItemPermissionGrantsOperationOptions ¶
type RevokeDriveItemPermissionGrantsOperationOptions struct { Metadata *odata.Metadata RetryFunc client.RequestRetryFunc }
func DefaultRevokeDriveItemPermissionGrantsOperationOptions ¶
func DefaultRevokeDriveItemPermissionGrantsOperationOptions() RevokeDriveItemPermissionGrantsOperationOptions
func (RevokeDriveItemPermissionGrantsOperationOptions) ToHeaders ¶
func (o RevokeDriveItemPermissionGrantsOperationOptions) ToHeaders() *client.Headers
func (RevokeDriveItemPermissionGrantsOperationOptions) ToOData ¶
func (o RevokeDriveItemPermissionGrantsOperationOptions) ToOData() *odata.Query
func (RevokeDriveItemPermissionGrantsOperationOptions) ToQuery ¶
func (o RevokeDriveItemPermissionGrantsOperationOptions) ToQuery() *client.QueryParams
type RevokeDriveItemPermissionGrantsRequest ¶
type RevokeDriveItemPermissionGrantsRequest struct {
Grantees *[]beta.DriveRecipient `json:"grantees,omitempty"`
}
type UpdateDriveItemPermissionOperationOptions ¶
type UpdateDriveItemPermissionOperationOptions struct { Metadata *odata.Metadata RetryFunc client.RequestRetryFunc }
func DefaultUpdateDriveItemPermissionOperationOptions ¶
func DefaultUpdateDriveItemPermissionOperationOptions() UpdateDriveItemPermissionOperationOptions
func (UpdateDriveItemPermissionOperationOptions) ToHeaders ¶
func (o UpdateDriveItemPermissionOperationOptions) ToHeaders() *client.Headers
func (UpdateDriveItemPermissionOperationOptions) ToOData ¶
func (o UpdateDriveItemPermissionOperationOptions) ToOData() *odata.Query
func (UpdateDriveItemPermissionOperationOptions) ToQuery ¶
func (o UpdateDriveItemPermissionOperationOptions) ToQuery() *client.QueryParams
Source Files ¶
- client.go
- method_createdriveitempermission.go
- method_deletedriveitempermission.go
- method_getdriveitempermission.go
- method_getdriveitempermissionscount.go
- method_listdriveitempermissiongrants.go
- method_listdriveitempermissions.go
- method_revokedriveitempermissiongrants.go
- method_updatedriveitempermission.go
- model_listdriveitempermissiongrantsrequest.go
- model_revokedriveitempermissiongrantsrequest.go
- predicates.go
- version.go