Documentation ¶
Index ¶
- type CreateDriveItemPermissionOperationOptions
- type CreateDriveItemPermissionOperationResponse
- type DeleteDriveItemPermissionOperationOptions
- type DeleteDriveItemPermissionOperationResponse
- type DriveItemPermissionClient
- func (c DriveItemPermissionClient) CreateDriveItemPermission(ctx context.Context, id stable.MeDriveIdItemId, input stable.Permission, ...) (result CreateDriveItemPermissionOperationResponse, err error)
- func (c DriveItemPermissionClient) DeleteDriveItemPermission(ctx context.Context, id stable.MeDriveIdItemIdPermissionId, ...) (result DeleteDriveItemPermissionOperationResponse, err error)
- func (c DriveItemPermissionClient) GetDriveItemPermission(ctx context.Context, id stable.MeDriveIdItemIdPermissionId, ...) (result GetDriveItemPermissionOperationResponse, err error)
- func (c DriveItemPermissionClient) GetDriveItemPermissionsCount(ctx context.Context, id stable.MeDriveIdItemId, ...) (result GetDriveItemPermissionsCountOperationResponse, err error)
- func (c DriveItemPermissionClient) ListDriveItemPermissionGrants(ctx context.Context, id stable.MeDriveIdItemIdPermissionId, ...) (result ListDriveItemPermissionGrantsOperationResponse, err error)
- func (c DriveItemPermissionClient) ListDriveItemPermissionGrantsComplete(ctx context.Context, id stable.MeDriveIdItemIdPermissionId, ...) (ListDriveItemPermissionGrantsCompleteResult, error)
- func (c DriveItemPermissionClient) ListDriveItemPermissionGrantsCompleteMatchingPredicate(ctx context.Context, id stable.MeDriveIdItemIdPermissionId, ...) (result ListDriveItemPermissionGrantsCompleteResult, err error)
- func (c DriveItemPermissionClient) ListDriveItemPermissions(ctx context.Context, id stable.MeDriveIdItemId, ...) (result ListDriveItemPermissionsOperationResponse, err error)
- func (c DriveItemPermissionClient) ListDriveItemPermissionsComplete(ctx context.Context, id stable.MeDriveIdItemId, ...) (ListDriveItemPermissionsCompleteResult, error)
- func (c DriveItemPermissionClient) ListDriveItemPermissionsCompleteMatchingPredicate(ctx context.Context, id stable.MeDriveIdItemId, ...) (result ListDriveItemPermissionsCompleteResult, err error)
- func (c DriveItemPermissionClient) UpdateDriveItemPermission(ctx context.Context, id stable.MeDriveIdItemIdPermissionId, ...) (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 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 stable.MeDriveIdItemId, input stable.Permission, options CreateDriveItemPermissionOperationOptions) (result CreateDriveItemPermissionOperationResponse, err error)
CreateDriveItemPermission - Create new navigation property to permissions for me
func (DriveItemPermissionClient) DeleteDriveItemPermission ¶
func (c DriveItemPermissionClient) DeleteDriveItemPermission(ctx context.Context, id stable.MeDriveIdItemIdPermissionId, options DeleteDriveItemPermissionOperationOptions) (result DeleteDriveItemPermissionOperationResponse, err error)
DeleteDriveItemPermission - Delete navigation property permissions for me
func (DriveItemPermissionClient) GetDriveItemPermission ¶
func (c DriveItemPermissionClient) GetDriveItemPermission(ctx context.Context, id stable.MeDriveIdItemIdPermissionId, options GetDriveItemPermissionOperationOptions) (result GetDriveItemPermissionOperationResponse, err error)
GetDriveItemPermission - Get permissions from me. The set of permissions for the item. Read-only. Nullable.
func (DriveItemPermissionClient) GetDriveItemPermissionsCount ¶
func (c DriveItemPermissionClient) GetDriveItemPermissionsCount(ctx context.Context, id stable.MeDriveIdItemId, options GetDriveItemPermissionsCountOperationOptions) (result GetDriveItemPermissionsCountOperationResponse, err error)
GetDriveItemPermissionsCount - Get the number of the resource
func (DriveItemPermissionClient) ListDriveItemPermissionGrants ¶
func (c DriveItemPermissionClient) ListDriveItemPermissionGrants(ctx context.Context, id stable.MeDriveIdItemIdPermissionId, 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 stable.MeDriveIdItemIdPermissionId, 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 stable.MeDriveIdItemIdPermissionId, 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 stable.MeDriveIdItemId, options ListDriveItemPermissionsOperationOptions) (result ListDriveItemPermissionsOperationResponse, err error)
ListDriveItemPermissions - Get permissions from me. The set of permissions for the item. Read-only. Nullable.
func (DriveItemPermissionClient) ListDriveItemPermissionsComplete ¶
func (c DriveItemPermissionClient) ListDriveItemPermissionsComplete(ctx context.Context, id stable.MeDriveIdItemId, options ListDriveItemPermissionsOperationOptions) (ListDriveItemPermissionsCompleteResult, error)
ListDriveItemPermissionsComplete retrieves all the results into a single object
func (DriveItemPermissionClient) ListDriveItemPermissionsCompleteMatchingPredicate ¶
func (c DriveItemPermissionClient) ListDriveItemPermissionsCompleteMatchingPredicate(ctx context.Context, id stable.MeDriveIdItemId, options ListDriveItemPermissionsOperationOptions, predicate PermissionOperationPredicate) (result ListDriveItemPermissionsCompleteResult, err error)
ListDriveItemPermissionsCompleteMatchingPredicate retrieves all the results and then applies the predicate
func (DriveItemPermissionClient) UpdateDriveItemPermission ¶
func (c DriveItemPermissionClient) UpdateDriveItemPermission(ctx context.Context, id stable.MeDriveIdItemIdPermissionId, input stable.Permission, options UpdateDriveItemPermissionOperationOptions) (result UpdateDriveItemPermissionOperationResponse, err error)
UpdateDriveItemPermission - Update the navigation property permissions in me
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 []stable.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 *[]stable.DriveRecipient `json:"recipients,omitempty"` Roles *[]string `json:"roles,omitempty"` }
type ListDriveItemPermissionsCompleteResult ¶
type ListDriveItemPermissionsCompleteResult struct { LatestHttpResponse *http.Response Items []stable.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 stable.Permission) bool
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_updatedriveitempermission.go
- model_listdriveitempermissiongrantsrequest.go
- predicates.go
- version.go