Documentation ¶
Index ¶
- type CreateDriveListPermissionOperationOptions
- type CreateDriveListPermissionOperationResponse
- type DeleteDriveListPermissionOperationOptions
- type DeleteDriveListPermissionOperationResponse
- type DriveListPermissionClient
- func (c DriveListPermissionClient) CreateDriveListPermission(ctx context.Context, id beta.GroupIdDriveId, input beta.Permission, ...) (result CreateDriveListPermissionOperationResponse, err error)
- func (c DriveListPermissionClient) DeleteDriveListPermission(ctx context.Context, id beta.GroupIdDriveIdListPermissionId, ...) (result DeleteDriveListPermissionOperationResponse, err error)
- func (c DriveListPermissionClient) GetDriveListPermission(ctx context.Context, id beta.GroupIdDriveIdListPermissionId, ...) (result GetDriveListPermissionOperationResponse, err error)
- func (c DriveListPermissionClient) GetDriveListPermissionsCount(ctx context.Context, id beta.GroupIdDriveId, ...) (result GetDriveListPermissionsCountOperationResponse, err error)
- func (c DriveListPermissionClient) ListDriveListPermissionGrants(ctx context.Context, id beta.GroupIdDriveIdListPermissionId, ...) (result ListDriveListPermissionGrantsOperationResponse, err error)
- func (c DriveListPermissionClient) ListDriveListPermissionGrantsComplete(ctx context.Context, id beta.GroupIdDriveIdListPermissionId, ...) (ListDriveListPermissionGrantsCompleteResult, error)
- func (c DriveListPermissionClient) ListDriveListPermissionGrantsCompleteMatchingPredicate(ctx context.Context, id beta.GroupIdDriveIdListPermissionId, ...) (result ListDriveListPermissionGrantsCompleteResult, err error)
- func (c DriveListPermissionClient) ListDriveListPermissions(ctx context.Context, id beta.GroupIdDriveId, ...) (result ListDriveListPermissionsOperationResponse, err error)
- func (c DriveListPermissionClient) ListDriveListPermissionsComplete(ctx context.Context, id beta.GroupIdDriveId, ...) (ListDriveListPermissionsCompleteResult, error)
- func (c DriveListPermissionClient) ListDriveListPermissionsCompleteMatchingPredicate(ctx context.Context, id beta.GroupIdDriveId, ...) (result ListDriveListPermissionsCompleteResult, err error)
- func (c DriveListPermissionClient) RevokeDriveListPermissionGrants(ctx context.Context, id beta.GroupIdDriveIdListPermissionId, ...) (result RevokeDriveListPermissionGrantsOperationResponse, err error)
- func (c DriveListPermissionClient) UpdateDriveListPermission(ctx context.Context, id beta.GroupIdDriveIdListPermissionId, ...) (result UpdateDriveListPermissionOperationResponse, err error)
- type GetDriveListPermissionOperationOptions
- type GetDriveListPermissionOperationResponse
- type GetDriveListPermissionsCountOperationOptions
- type GetDriveListPermissionsCountOperationResponse
- type ListDriveListPermissionGrantsCompleteResult
- type ListDriveListPermissionGrantsCustomPager
- type ListDriveListPermissionGrantsOperationOptions
- type ListDriveListPermissionGrantsOperationResponse
- type ListDriveListPermissionGrantsRequest
- type ListDriveListPermissionsCompleteResult
- type ListDriveListPermissionsCustomPager
- type ListDriveListPermissionsOperationOptions
- type ListDriveListPermissionsOperationResponse
- type PermissionOperationPredicate
- type RevokeDriveListPermissionGrantsOperationOptions
- type RevokeDriveListPermissionGrantsOperationResponse
- type RevokeDriveListPermissionGrantsRequest
- type UpdateDriveListPermissionOperationOptions
- type UpdateDriveListPermissionOperationResponse
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CreateDriveListPermissionOperationOptions ¶
type CreateDriveListPermissionOperationOptions struct { Metadata *odata.Metadata RetryFunc client.RequestRetryFunc }
func DefaultCreateDriveListPermissionOperationOptions ¶
func DefaultCreateDriveListPermissionOperationOptions() CreateDriveListPermissionOperationOptions
func (CreateDriveListPermissionOperationOptions) ToHeaders ¶
func (o CreateDriveListPermissionOperationOptions) ToHeaders() *client.Headers
func (CreateDriveListPermissionOperationOptions) ToOData ¶
func (o CreateDriveListPermissionOperationOptions) ToOData() *odata.Query
func (CreateDriveListPermissionOperationOptions) ToQuery ¶
func (o CreateDriveListPermissionOperationOptions) ToQuery() *client.QueryParams
type DeleteDriveListPermissionOperationOptions ¶
type DeleteDriveListPermissionOperationOptions struct { IfMatch *string Metadata *odata.Metadata RetryFunc client.RequestRetryFunc }
func DefaultDeleteDriveListPermissionOperationOptions ¶
func DefaultDeleteDriveListPermissionOperationOptions() DeleteDriveListPermissionOperationOptions
func (DeleteDriveListPermissionOperationOptions) ToHeaders ¶
func (o DeleteDriveListPermissionOperationOptions) ToHeaders() *client.Headers
func (DeleteDriveListPermissionOperationOptions) ToOData ¶
func (o DeleteDriveListPermissionOperationOptions) ToOData() *odata.Query
func (DeleteDriveListPermissionOperationOptions) ToQuery ¶
func (o DeleteDriveListPermissionOperationOptions) ToQuery() *client.QueryParams
type DriveListPermissionClient ¶
func NewDriveListPermissionClientWithBaseURI ¶
func NewDriveListPermissionClientWithBaseURI(sdkApi sdkEnv.Api) (*DriveListPermissionClient, error)
func (DriveListPermissionClient) CreateDriveListPermission ¶
func (c DriveListPermissionClient) CreateDriveListPermission(ctx context.Context, id beta.GroupIdDriveId, input beta.Permission, options CreateDriveListPermissionOperationOptions) (result CreateDriveListPermissionOperationResponse, err error)
CreateDriveListPermission - Create new navigation property to permissions for groups
func (DriveListPermissionClient) DeleteDriveListPermission ¶
func (c DriveListPermissionClient) DeleteDriveListPermission(ctx context.Context, id beta.GroupIdDriveIdListPermissionId, options DeleteDriveListPermissionOperationOptions) (result DeleteDriveListPermissionOperationResponse, err error)
DeleteDriveListPermission - Delete navigation property permissions for groups
func (DriveListPermissionClient) GetDriveListPermission ¶
func (c DriveListPermissionClient) GetDriveListPermission(ctx context.Context, id beta.GroupIdDriveIdListPermissionId, options GetDriveListPermissionOperationOptions) (result GetDriveListPermissionOperationResponse, err error)
GetDriveListPermission - Get permissions from groups. The set of permissions for the item. Read-only. Nullable.
func (DriveListPermissionClient) GetDriveListPermissionsCount ¶
func (c DriveListPermissionClient) GetDriveListPermissionsCount(ctx context.Context, id beta.GroupIdDriveId, options GetDriveListPermissionsCountOperationOptions) (result GetDriveListPermissionsCountOperationResponse, err error)
GetDriveListPermissionsCount - Get the number of the resource
func (DriveListPermissionClient) ListDriveListPermissionGrants ¶
func (c DriveListPermissionClient) ListDriveListPermissionGrants(ctx context.Context, id beta.GroupIdDriveIdListPermissionId, input ListDriveListPermissionGrantsRequest, options ListDriveListPermissionGrantsOperationOptions) (result ListDriveListPermissionGrantsOperationResponse, err error)
ListDriveListPermissionGrants - Invoke action grant. Grant users access to a link represented by a permission.
func (DriveListPermissionClient) ListDriveListPermissionGrantsComplete ¶
func (c DriveListPermissionClient) ListDriveListPermissionGrantsComplete(ctx context.Context, id beta.GroupIdDriveIdListPermissionId, input ListDriveListPermissionGrantsRequest, options ListDriveListPermissionGrantsOperationOptions) (ListDriveListPermissionGrantsCompleteResult, error)
ListDriveListPermissionGrantsComplete retrieves all the results into a single object
func (DriveListPermissionClient) ListDriveListPermissionGrantsCompleteMatchingPredicate ¶
func (c DriveListPermissionClient) ListDriveListPermissionGrantsCompleteMatchingPredicate(ctx context.Context, id beta.GroupIdDriveIdListPermissionId, input ListDriveListPermissionGrantsRequest, options ListDriveListPermissionGrantsOperationOptions, predicate PermissionOperationPredicate) (result ListDriveListPermissionGrantsCompleteResult, err error)
ListDriveListPermissionGrantsCompleteMatchingPredicate retrieves all the results and then applies the predicate
func (DriveListPermissionClient) ListDriveListPermissions ¶
func (c DriveListPermissionClient) ListDriveListPermissions(ctx context.Context, id beta.GroupIdDriveId, options ListDriveListPermissionsOperationOptions) (result ListDriveListPermissionsOperationResponse, err error)
ListDriveListPermissions - Get permissions from groups. The set of permissions for the item. Read-only. Nullable.
func (DriveListPermissionClient) ListDriveListPermissionsComplete ¶
func (c DriveListPermissionClient) ListDriveListPermissionsComplete(ctx context.Context, id beta.GroupIdDriveId, options ListDriveListPermissionsOperationOptions) (ListDriveListPermissionsCompleteResult, error)
ListDriveListPermissionsComplete retrieves all the results into a single object
func (DriveListPermissionClient) ListDriveListPermissionsCompleteMatchingPredicate ¶
func (c DriveListPermissionClient) ListDriveListPermissionsCompleteMatchingPredicate(ctx context.Context, id beta.GroupIdDriveId, options ListDriveListPermissionsOperationOptions, predicate PermissionOperationPredicate) (result ListDriveListPermissionsCompleteResult, err error)
ListDriveListPermissionsCompleteMatchingPredicate retrieves all the results and then applies the predicate
func (DriveListPermissionClient) RevokeDriveListPermissionGrants ¶
func (c DriveListPermissionClient) RevokeDriveListPermissionGrants(ctx context.Context, id beta.GroupIdDriveIdListPermissionId, input RevokeDriveListPermissionGrantsRequest, options RevokeDriveListPermissionGrantsOperationOptions) (result RevokeDriveListPermissionGrantsOperationResponse, err error)
RevokeDriveListPermissionGrants - Invoke action revokeGrants. Revoke access to a listItem or driveItem granted via a sharing link by removing the specified recipient from the link.
func (DriveListPermissionClient) UpdateDriveListPermission ¶
func (c DriveListPermissionClient) UpdateDriveListPermission(ctx context.Context, id beta.GroupIdDriveIdListPermissionId, input beta.Permission, options UpdateDriveListPermissionOperationOptions) (result UpdateDriveListPermissionOperationResponse, err error)
UpdateDriveListPermission - Update the navigation property permissions in groups
type GetDriveListPermissionOperationOptions ¶
type GetDriveListPermissionOperationOptions struct { Expand *odata.Expand Metadata *odata.Metadata RetryFunc client.RequestRetryFunc Select *[]string }
func DefaultGetDriveListPermissionOperationOptions ¶
func DefaultGetDriveListPermissionOperationOptions() GetDriveListPermissionOperationOptions
func (GetDriveListPermissionOperationOptions) ToHeaders ¶
func (o GetDriveListPermissionOperationOptions) ToHeaders() *client.Headers
func (GetDriveListPermissionOperationOptions) ToOData ¶
func (o GetDriveListPermissionOperationOptions) ToOData() *odata.Query
func (GetDriveListPermissionOperationOptions) ToQuery ¶
func (o GetDriveListPermissionOperationOptions) ToQuery() *client.QueryParams
type GetDriveListPermissionsCountOperationOptions ¶
type GetDriveListPermissionsCountOperationOptions struct { Filter *string Metadata *odata.Metadata RetryFunc client.RequestRetryFunc Search *string }
func DefaultGetDriveListPermissionsCountOperationOptions ¶
func DefaultGetDriveListPermissionsCountOperationOptions() GetDriveListPermissionsCountOperationOptions
func (GetDriveListPermissionsCountOperationOptions) ToHeaders ¶
func (o GetDriveListPermissionsCountOperationOptions) ToHeaders() *client.Headers
func (GetDriveListPermissionsCountOperationOptions) ToOData ¶
func (o GetDriveListPermissionsCountOperationOptions) ToOData() *odata.Query
func (GetDriveListPermissionsCountOperationOptions) ToQuery ¶
func (o GetDriveListPermissionsCountOperationOptions) ToQuery() *client.QueryParams
type ListDriveListPermissionGrantsCompleteResult ¶
type ListDriveListPermissionGrantsCompleteResult struct { LatestHttpResponse *http.Response Items []beta.Permission }
type ListDriveListPermissionGrantsCustomPager ¶
type ListDriveListPermissionGrantsCustomPager struct {
NextLink *odata.Link `json:"@odata.nextLink"`
}
func (*ListDriveListPermissionGrantsCustomPager) NextPageLink ¶
func (p *ListDriveListPermissionGrantsCustomPager) NextPageLink() *odata.Link
type ListDriveListPermissionGrantsOperationOptions ¶
type ListDriveListPermissionGrantsOperationOptions struct { Metadata *odata.Metadata RetryFunc client.RequestRetryFunc Skip *int64 Top *int64 }
func DefaultListDriveListPermissionGrantsOperationOptions ¶
func DefaultListDriveListPermissionGrantsOperationOptions() ListDriveListPermissionGrantsOperationOptions
func (ListDriveListPermissionGrantsOperationOptions) ToHeaders ¶
func (o ListDriveListPermissionGrantsOperationOptions) ToHeaders() *client.Headers
func (ListDriveListPermissionGrantsOperationOptions) ToOData ¶
func (o ListDriveListPermissionGrantsOperationOptions) ToOData() *odata.Query
func (ListDriveListPermissionGrantsOperationOptions) ToQuery ¶
func (o ListDriveListPermissionGrantsOperationOptions) ToQuery() *client.QueryParams
type ListDriveListPermissionGrantsRequest ¶
type ListDriveListPermissionGrantsRequest struct { Recipients *[]beta.DriveRecipient `json:"recipients,omitempty"` Roles *[]string `json:"roles,omitempty"` }
type ListDriveListPermissionsCompleteResult ¶
type ListDriveListPermissionsCompleteResult struct { LatestHttpResponse *http.Response Items []beta.Permission }
type ListDriveListPermissionsCustomPager ¶
func (*ListDriveListPermissionsCustomPager) NextPageLink ¶
func (p *ListDriveListPermissionsCustomPager) NextPageLink() *odata.Link
type ListDriveListPermissionsOperationOptions ¶
type ListDriveListPermissionsOperationOptions 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 DefaultListDriveListPermissionsOperationOptions ¶
func DefaultListDriveListPermissionsOperationOptions() ListDriveListPermissionsOperationOptions
func (ListDriveListPermissionsOperationOptions) ToHeaders ¶
func (o ListDriveListPermissionsOperationOptions) ToHeaders() *client.Headers
func (ListDriveListPermissionsOperationOptions) ToOData ¶
func (o ListDriveListPermissionsOperationOptions) ToOData() *odata.Query
func (ListDriveListPermissionsOperationOptions) ToQuery ¶
func (o ListDriveListPermissionsOperationOptions) ToQuery() *client.QueryParams
type PermissionOperationPredicate ¶
type PermissionOperationPredicate struct { }
func (PermissionOperationPredicate) Matches ¶
func (p PermissionOperationPredicate) Matches(input beta.Permission) bool
type RevokeDriveListPermissionGrantsOperationOptions ¶
type RevokeDriveListPermissionGrantsOperationOptions struct { Metadata *odata.Metadata RetryFunc client.RequestRetryFunc }
func DefaultRevokeDriveListPermissionGrantsOperationOptions ¶
func DefaultRevokeDriveListPermissionGrantsOperationOptions() RevokeDriveListPermissionGrantsOperationOptions
func (RevokeDriveListPermissionGrantsOperationOptions) ToHeaders ¶
func (o RevokeDriveListPermissionGrantsOperationOptions) ToHeaders() *client.Headers
func (RevokeDriveListPermissionGrantsOperationOptions) ToOData ¶
func (o RevokeDriveListPermissionGrantsOperationOptions) ToOData() *odata.Query
func (RevokeDriveListPermissionGrantsOperationOptions) ToQuery ¶
func (o RevokeDriveListPermissionGrantsOperationOptions) ToQuery() *client.QueryParams
type RevokeDriveListPermissionGrantsRequest ¶
type RevokeDriveListPermissionGrantsRequest struct {
Grantees *[]beta.DriveRecipient `json:"grantees,omitempty"`
}
type UpdateDriveListPermissionOperationOptions ¶
type UpdateDriveListPermissionOperationOptions struct { Metadata *odata.Metadata RetryFunc client.RequestRetryFunc }
func DefaultUpdateDriveListPermissionOperationOptions ¶
func DefaultUpdateDriveListPermissionOperationOptions() UpdateDriveListPermissionOperationOptions
func (UpdateDriveListPermissionOperationOptions) ToHeaders ¶
func (o UpdateDriveListPermissionOperationOptions) ToHeaders() *client.Headers
func (UpdateDriveListPermissionOperationOptions) ToOData ¶
func (o UpdateDriveListPermissionOperationOptions) ToOData() *odata.Query
func (UpdateDriveListPermissionOperationOptions) ToQuery ¶
func (o UpdateDriveListPermissionOperationOptions) ToQuery() *client.QueryParams
Source Files ¶
- client.go
- method_createdrivelistpermission.go
- method_deletedrivelistpermission.go
- method_getdrivelistpermission.go
- method_getdrivelistpermissionscount.go
- method_listdrivelistpermissiongrants.go
- method_listdrivelistpermissions.go
- method_revokedrivelistpermissiongrants.go
- method_updatedrivelistpermission.go
- model_listdrivelistpermissiongrantsrequest.go
- model_revokedrivelistpermissiongrantsrequest.go
- predicates.go
- version.go