Documentation ¶
Index ¶
- type CreateDriveListItemPermissionOperationOptions
- type CreateDriveListItemPermissionOperationResponse
- type DeleteDriveListItemPermissionOperationOptions
- type DeleteDriveListItemPermissionOperationResponse
- type DriveListItemPermissionClient
- func (c DriveListItemPermissionClient) CreateDriveListItemPermission(ctx context.Context, id beta.GroupIdDriveIdListItemId, input beta.Permission, ...) (result CreateDriveListItemPermissionOperationResponse, err error)
- func (c DriveListItemPermissionClient) DeleteDriveListItemPermission(ctx context.Context, id beta.GroupIdDriveIdListItemIdPermissionId, ...) (result DeleteDriveListItemPermissionOperationResponse, err error)
- func (c DriveListItemPermissionClient) GetDriveListItemPermission(ctx context.Context, id beta.GroupIdDriveIdListItemIdPermissionId, ...) (result GetDriveListItemPermissionOperationResponse, err error)
- func (c DriveListItemPermissionClient) GetDriveListItemPermissionsCount(ctx context.Context, id beta.GroupIdDriveIdListItemId, ...) (result GetDriveListItemPermissionsCountOperationResponse, err error)
- func (c DriveListItemPermissionClient) ListDriveListItemPermissionGrants(ctx context.Context, id beta.GroupIdDriveIdListItemIdPermissionId, ...) (result ListDriveListItemPermissionGrantsOperationResponse, err error)
- func (c DriveListItemPermissionClient) ListDriveListItemPermissionGrantsComplete(ctx context.Context, id beta.GroupIdDriveIdListItemIdPermissionId, ...) (ListDriveListItemPermissionGrantsCompleteResult, error)
- func (c DriveListItemPermissionClient) ListDriveListItemPermissionGrantsCompleteMatchingPredicate(ctx context.Context, id beta.GroupIdDriveIdListItemIdPermissionId, ...) (result ListDriveListItemPermissionGrantsCompleteResult, err error)
- func (c DriveListItemPermissionClient) ListDriveListItemPermissions(ctx context.Context, id beta.GroupIdDriveIdListItemId, ...) (result ListDriveListItemPermissionsOperationResponse, err error)
- func (c DriveListItemPermissionClient) ListDriveListItemPermissionsComplete(ctx context.Context, id beta.GroupIdDriveIdListItemId, ...) (ListDriveListItemPermissionsCompleteResult, error)
- func (c DriveListItemPermissionClient) ListDriveListItemPermissionsCompleteMatchingPredicate(ctx context.Context, id beta.GroupIdDriveIdListItemId, ...) (result ListDriveListItemPermissionsCompleteResult, err error)
- func (c DriveListItemPermissionClient) RevokeDriveListItemPermissionGrants(ctx context.Context, id beta.GroupIdDriveIdListItemIdPermissionId, ...) (result RevokeDriveListItemPermissionGrantsOperationResponse, err error)
- func (c DriveListItemPermissionClient) UpdateDriveListItemPermission(ctx context.Context, id beta.GroupIdDriveIdListItemIdPermissionId, ...) (result UpdateDriveListItemPermissionOperationResponse, err error)
- type GetDriveListItemPermissionOperationOptions
- type GetDriveListItemPermissionOperationResponse
- type GetDriveListItemPermissionsCountOperationOptions
- type GetDriveListItemPermissionsCountOperationResponse
- type ListDriveListItemPermissionGrantsCompleteResult
- type ListDriveListItemPermissionGrantsCustomPager
- type ListDriveListItemPermissionGrantsOperationOptions
- type ListDriveListItemPermissionGrantsOperationResponse
- type ListDriveListItemPermissionGrantsRequest
- type ListDriveListItemPermissionsCompleteResult
- type ListDriveListItemPermissionsCustomPager
- type ListDriveListItemPermissionsOperationOptions
- type ListDriveListItemPermissionsOperationResponse
- type PermissionOperationPredicate
- type RevokeDriveListItemPermissionGrantsOperationOptions
- type RevokeDriveListItemPermissionGrantsOperationResponse
- type RevokeDriveListItemPermissionGrantsRequest
- type UpdateDriveListItemPermissionOperationOptions
- type UpdateDriveListItemPermissionOperationResponse
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CreateDriveListItemPermissionOperationOptions ¶
type CreateDriveListItemPermissionOperationOptions struct { Metadata *odata.Metadata RetryFunc client.RequestRetryFunc }
func DefaultCreateDriveListItemPermissionOperationOptions ¶
func DefaultCreateDriveListItemPermissionOperationOptions() CreateDriveListItemPermissionOperationOptions
func (CreateDriveListItemPermissionOperationOptions) ToHeaders ¶
func (o CreateDriveListItemPermissionOperationOptions) ToHeaders() *client.Headers
func (CreateDriveListItemPermissionOperationOptions) ToOData ¶
func (o CreateDriveListItemPermissionOperationOptions) ToOData() *odata.Query
func (CreateDriveListItemPermissionOperationOptions) ToQuery ¶
func (o CreateDriveListItemPermissionOperationOptions) ToQuery() *client.QueryParams
type DeleteDriveListItemPermissionOperationOptions ¶
type DeleteDriveListItemPermissionOperationOptions struct { IfMatch *string Metadata *odata.Metadata RetryFunc client.RequestRetryFunc }
func DefaultDeleteDriveListItemPermissionOperationOptions ¶
func DefaultDeleteDriveListItemPermissionOperationOptions() DeleteDriveListItemPermissionOperationOptions
func (DeleteDriveListItemPermissionOperationOptions) ToHeaders ¶
func (o DeleteDriveListItemPermissionOperationOptions) ToHeaders() *client.Headers
func (DeleteDriveListItemPermissionOperationOptions) ToOData ¶
func (o DeleteDriveListItemPermissionOperationOptions) ToOData() *odata.Query
func (DeleteDriveListItemPermissionOperationOptions) ToQuery ¶
func (o DeleteDriveListItemPermissionOperationOptions) ToQuery() *client.QueryParams
type DriveListItemPermissionClient ¶
func NewDriveListItemPermissionClientWithBaseURI ¶
func NewDriveListItemPermissionClientWithBaseURI(sdkApi sdkEnv.Api) (*DriveListItemPermissionClient, error)
func (DriveListItemPermissionClient) CreateDriveListItemPermission ¶
func (c DriveListItemPermissionClient) CreateDriveListItemPermission(ctx context.Context, id beta.GroupIdDriveIdListItemId, input beta.Permission, options CreateDriveListItemPermissionOperationOptions) (result CreateDriveListItemPermissionOperationResponse, err error)
CreateDriveListItemPermission - Create new navigation property to permissions for groups
func (DriveListItemPermissionClient) DeleteDriveListItemPermission ¶
func (c DriveListItemPermissionClient) DeleteDriveListItemPermission(ctx context.Context, id beta.GroupIdDriveIdListItemIdPermissionId, options DeleteDriveListItemPermissionOperationOptions) (result DeleteDriveListItemPermissionOperationResponse, err error)
DeleteDriveListItemPermission - Delete navigation property permissions for groups
func (DriveListItemPermissionClient) GetDriveListItemPermission ¶
func (c DriveListItemPermissionClient) GetDriveListItemPermission(ctx context.Context, id beta.GroupIdDriveIdListItemIdPermissionId, options GetDriveListItemPermissionOperationOptions) (result GetDriveListItemPermissionOperationResponse, err error)
GetDriveListItemPermission - Get permissions from groups. The set of permissions for the item. Read-only. Nullable.
func (DriveListItemPermissionClient) GetDriveListItemPermissionsCount ¶
func (c DriveListItemPermissionClient) GetDriveListItemPermissionsCount(ctx context.Context, id beta.GroupIdDriveIdListItemId, options GetDriveListItemPermissionsCountOperationOptions) (result GetDriveListItemPermissionsCountOperationResponse, err error)
GetDriveListItemPermissionsCount - Get the number of the resource
func (DriveListItemPermissionClient) ListDriveListItemPermissionGrants ¶
func (c DriveListItemPermissionClient) ListDriveListItemPermissionGrants(ctx context.Context, id beta.GroupIdDriveIdListItemIdPermissionId, input ListDriveListItemPermissionGrantsRequest, options ListDriveListItemPermissionGrantsOperationOptions) (result ListDriveListItemPermissionGrantsOperationResponse, err error)
ListDriveListItemPermissionGrants - Invoke action grant. Grant users access to a link represented by a permission.
func (DriveListItemPermissionClient) ListDriveListItemPermissionGrantsComplete ¶
func (c DriveListItemPermissionClient) ListDriveListItemPermissionGrantsComplete(ctx context.Context, id beta.GroupIdDriveIdListItemIdPermissionId, input ListDriveListItemPermissionGrantsRequest, options ListDriveListItemPermissionGrantsOperationOptions) (ListDriveListItemPermissionGrantsCompleteResult, error)
ListDriveListItemPermissionGrantsComplete retrieves all the results into a single object
func (DriveListItemPermissionClient) ListDriveListItemPermissionGrantsCompleteMatchingPredicate ¶
func (c DriveListItemPermissionClient) ListDriveListItemPermissionGrantsCompleteMatchingPredicate(ctx context.Context, id beta.GroupIdDriveIdListItemIdPermissionId, input ListDriveListItemPermissionGrantsRequest, options ListDriveListItemPermissionGrantsOperationOptions, predicate PermissionOperationPredicate) (result ListDriveListItemPermissionGrantsCompleteResult, err error)
ListDriveListItemPermissionGrantsCompleteMatchingPredicate retrieves all the results and then applies the predicate
func (DriveListItemPermissionClient) ListDriveListItemPermissions ¶
func (c DriveListItemPermissionClient) ListDriveListItemPermissions(ctx context.Context, id beta.GroupIdDriveIdListItemId, options ListDriveListItemPermissionsOperationOptions) (result ListDriveListItemPermissionsOperationResponse, err error)
ListDriveListItemPermissions - Get permissions from groups. The set of permissions for the item. Read-only. Nullable.
func (DriveListItemPermissionClient) ListDriveListItemPermissionsComplete ¶
func (c DriveListItemPermissionClient) ListDriveListItemPermissionsComplete(ctx context.Context, id beta.GroupIdDriveIdListItemId, options ListDriveListItemPermissionsOperationOptions) (ListDriveListItemPermissionsCompleteResult, error)
ListDriveListItemPermissionsComplete retrieves all the results into a single object
func (DriveListItemPermissionClient) ListDriveListItemPermissionsCompleteMatchingPredicate ¶
func (c DriveListItemPermissionClient) ListDriveListItemPermissionsCompleteMatchingPredicate(ctx context.Context, id beta.GroupIdDriveIdListItemId, options ListDriveListItemPermissionsOperationOptions, predicate PermissionOperationPredicate) (result ListDriveListItemPermissionsCompleteResult, err error)
ListDriveListItemPermissionsCompleteMatchingPredicate retrieves all the results and then applies the predicate
func (DriveListItemPermissionClient) RevokeDriveListItemPermissionGrants ¶
func (c DriveListItemPermissionClient) RevokeDriveListItemPermissionGrants(ctx context.Context, id beta.GroupIdDriveIdListItemIdPermissionId, input RevokeDriveListItemPermissionGrantsRequest, options RevokeDriveListItemPermissionGrantsOperationOptions) (result RevokeDriveListItemPermissionGrantsOperationResponse, err error)
RevokeDriveListItemPermissionGrants - Invoke action revokeGrants. Revoke access to a listItem or driveItem granted via a sharing link by removing the specified recipient from the link.
func (DriveListItemPermissionClient) UpdateDriveListItemPermission ¶
func (c DriveListItemPermissionClient) UpdateDriveListItemPermission(ctx context.Context, id beta.GroupIdDriveIdListItemIdPermissionId, input beta.Permission, options UpdateDriveListItemPermissionOperationOptions) (result UpdateDriveListItemPermissionOperationResponse, err error)
UpdateDriveListItemPermission - Update the navigation property permissions in groups
type GetDriveListItemPermissionOperationOptions ¶
type GetDriveListItemPermissionOperationOptions struct { Expand *odata.Expand Metadata *odata.Metadata RetryFunc client.RequestRetryFunc Select *[]string }
func DefaultGetDriveListItemPermissionOperationOptions ¶
func DefaultGetDriveListItemPermissionOperationOptions() GetDriveListItemPermissionOperationOptions
func (GetDriveListItemPermissionOperationOptions) ToHeaders ¶
func (o GetDriveListItemPermissionOperationOptions) ToHeaders() *client.Headers
func (GetDriveListItemPermissionOperationOptions) ToOData ¶
func (o GetDriveListItemPermissionOperationOptions) ToOData() *odata.Query
func (GetDriveListItemPermissionOperationOptions) ToQuery ¶
func (o GetDriveListItemPermissionOperationOptions) ToQuery() *client.QueryParams
type GetDriveListItemPermissionsCountOperationOptions ¶
type GetDriveListItemPermissionsCountOperationOptions struct { Filter *string Metadata *odata.Metadata RetryFunc client.RequestRetryFunc Search *string }
func DefaultGetDriveListItemPermissionsCountOperationOptions ¶
func DefaultGetDriveListItemPermissionsCountOperationOptions() GetDriveListItemPermissionsCountOperationOptions
func (GetDriveListItemPermissionsCountOperationOptions) ToHeaders ¶
func (o GetDriveListItemPermissionsCountOperationOptions) ToHeaders() *client.Headers
func (GetDriveListItemPermissionsCountOperationOptions) ToOData ¶
func (o GetDriveListItemPermissionsCountOperationOptions) ToOData() *odata.Query
func (GetDriveListItemPermissionsCountOperationOptions) ToQuery ¶
func (o GetDriveListItemPermissionsCountOperationOptions) ToQuery() *client.QueryParams
type ListDriveListItemPermissionGrantsCompleteResult ¶
type ListDriveListItemPermissionGrantsCompleteResult struct { LatestHttpResponse *http.Response Items []beta.Permission }
type ListDriveListItemPermissionGrantsCustomPager ¶
type ListDriveListItemPermissionGrantsCustomPager struct {
NextLink *odata.Link `json:"@odata.nextLink"`
}
func (*ListDriveListItemPermissionGrantsCustomPager) NextPageLink ¶
func (p *ListDriveListItemPermissionGrantsCustomPager) NextPageLink() *odata.Link
type ListDriveListItemPermissionGrantsOperationOptions ¶
type ListDriveListItemPermissionGrantsOperationOptions struct { Metadata *odata.Metadata RetryFunc client.RequestRetryFunc Skip *int64 Top *int64 }
func DefaultListDriveListItemPermissionGrantsOperationOptions ¶
func DefaultListDriveListItemPermissionGrantsOperationOptions() ListDriveListItemPermissionGrantsOperationOptions
func (ListDriveListItemPermissionGrantsOperationOptions) ToHeaders ¶
func (o ListDriveListItemPermissionGrantsOperationOptions) ToHeaders() *client.Headers
func (ListDriveListItemPermissionGrantsOperationOptions) ToOData ¶
func (o ListDriveListItemPermissionGrantsOperationOptions) ToOData() *odata.Query
func (ListDriveListItemPermissionGrantsOperationOptions) ToQuery ¶
func (o ListDriveListItemPermissionGrantsOperationOptions) ToQuery() *client.QueryParams
type ListDriveListItemPermissionGrantsRequest ¶
type ListDriveListItemPermissionGrantsRequest struct { Recipients *[]beta.DriveRecipient `json:"recipients,omitempty"` Roles *[]string `json:"roles,omitempty"` }
type ListDriveListItemPermissionsCompleteResult ¶
type ListDriveListItemPermissionsCompleteResult struct { LatestHttpResponse *http.Response Items []beta.Permission }
type ListDriveListItemPermissionsCustomPager ¶
type ListDriveListItemPermissionsCustomPager struct {
NextLink *odata.Link `json:"@odata.nextLink"`
}
func (*ListDriveListItemPermissionsCustomPager) NextPageLink ¶
func (p *ListDriveListItemPermissionsCustomPager) NextPageLink() *odata.Link
type ListDriveListItemPermissionsOperationOptions ¶
type ListDriveListItemPermissionsOperationOptions 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 DefaultListDriveListItemPermissionsOperationOptions ¶
func DefaultListDriveListItemPermissionsOperationOptions() ListDriveListItemPermissionsOperationOptions
func (ListDriveListItemPermissionsOperationOptions) ToHeaders ¶
func (o ListDriveListItemPermissionsOperationOptions) ToHeaders() *client.Headers
func (ListDriveListItemPermissionsOperationOptions) ToOData ¶
func (o ListDriveListItemPermissionsOperationOptions) ToOData() *odata.Query
func (ListDriveListItemPermissionsOperationOptions) ToQuery ¶
func (o ListDriveListItemPermissionsOperationOptions) ToQuery() *client.QueryParams
type PermissionOperationPredicate ¶
type PermissionOperationPredicate struct { }
func (PermissionOperationPredicate) Matches ¶
func (p PermissionOperationPredicate) Matches(input beta.Permission) bool
type RevokeDriveListItemPermissionGrantsOperationOptions ¶
type RevokeDriveListItemPermissionGrantsOperationOptions struct { Metadata *odata.Metadata RetryFunc client.RequestRetryFunc }
func DefaultRevokeDriveListItemPermissionGrantsOperationOptions ¶
func DefaultRevokeDriveListItemPermissionGrantsOperationOptions() RevokeDriveListItemPermissionGrantsOperationOptions
func (RevokeDriveListItemPermissionGrantsOperationOptions) ToHeaders ¶
func (o RevokeDriveListItemPermissionGrantsOperationOptions) ToHeaders() *client.Headers
func (RevokeDriveListItemPermissionGrantsOperationOptions) ToOData ¶
func (o RevokeDriveListItemPermissionGrantsOperationOptions) ToOData() *odata.Query
func (RevokeDriveListItemPermissionGrantsOperationOptions) ToQuery ¶
func (o RevokeDriveListItemPermissionGrantsOperationOptions) ToQuery() *client.QueryParams
type RevokeDriveListItemPermissionGrantsRequest ¶
type RevokeDriveListItemPermissionGrantsRequest struct {
Grantees *[]beta.DriveRecipient `json:"grantees,omitempty"`
}
type UpdateDriveListItemPermissionOperationOptions ¶
type UpdateDriveListItemPermissionOperationOptions struct { Metadata *odata.Metadata RetryFunc client.RequestRetryFunc }
func DefaultUpdateDriveListItemPermissionOperationOptions ¶
func DefaultUpdateDriveListItemPermissionOperationOptions() UpdateDriveListItemPermissionOperationOptions
func (UpdateDriveListItemPermissionOperationOptions) ToHeaders ¶
func (o UpdateDriveListItemPermissionOperationOptions) ToHeaders() *client.Headers
func (UpdateDriveListItemPermissionOperationOptions) ToOData ¶
func (o UpdateDriveListItemPermissionOperationOptions) ToOData() *odata.Query
func (UpdateDriveListItemPermissionOperationOptions) ToQuery ¶
func (o UpdateDriveListItemPermissionOperationOptions) ToQuery() *client.QueryParams
Source Files ¶
- client.go
- method_createdrivelistitempermission.go
- method_deletedrivelistitempermission.go
- method_getdrivelistitempermission.go
- method_getdrivelistitempermissionscount.go
- method_listdrivelistitempermissiongrants.go
- method_listdrivelistitempermissions.go
- method_revokedrivelistitempermissiongrants.go
- method_updatedrivelistitempermission.go
- model_listdrivelistitempermissiongrantsrequest.go
- model_revokedrivelistitempermissiongrantsrequest.go
- predicates.go
- version.go