Documentation ¶
Index ¶
- type CreateDriveRootPermissionOperationOptions
- type CreateDriveRootPermissionOperationResponse
- type DeleteDriveRootPermissionOperationOptions
- type DeleteDriveRootPermissionOperationResponse
- type DriveRootPermissionClient
- func (c DriveRootPermissionClient) CreateDriveRootPermission(ctx context.Context, id stable.UserIdDriveId, input stable.Permission, ...) (result CreateDriveRootPermissionOperationResponse, err error)
- func (c DriveRootPermissionClient) DeleteDriveRootPermission(ctx context.Context, id stable.UserIdDriveIdRootPermissionId, ...) (result DeleteDriveRootPermissionOperationResponse, err error)
- func (c DriveRootPermissionClient) GetDriveRootPermission(ctx context.Context, id stable.UserIdDriveIdRootPermissionId, ...) (result GetDriveRootPermissionOperationResponse, err error)
- func (c DriveRootPermissionClient) GetDriveRootPermissionsCount(ctx context.Context, id stable.UserIdDriveId, ...) (result GetDriveRootPermissionsCountOperationResponse, err error)
- func (c DriveRootPermissionClient) ListDriveRootPermissionGrants(ctx context.Context, id stable.UserIdDriveIdRootPermissionId, ...) (result ListDriveRootPermissionGrantsOperationResponse, err error)
- func (c DriveRootPermissionClient) ListDriveRootPermissionGrantsComplete(ctx context.Context, id stable.UserIdDriveIdRootPermissionId, ...) (ListDriveRootPermissionGrantsCompleteResult, error)
- func (c DriveRootPermissionClient) ListDriveRootPermissionGrantsCompleteMatchingPredicate(ctx context.Context, id stable.UserIdDriveIdRootPermissionId, ...) (result ListDriveRootPermissionGrantsCompleteResult, err error)
- func (c DriveRootPermissionClient) ListDriveRootPermissions(ctx context.Context, id stable.UserIdDriveId, ...) (result ListDriveRootPermissionsOperationResponse, err error)
- func (c DriveRootPermissionClient) ListDriveRootPermissionsComplete(ctx context.Context, id stable.UserIdDriveId, ...) (ListDriveRootPermissionsCompleteResult, error)
- func (c DriveRootPermissionClient) ListDriveRootPermissionsCompleteMatchingPredicate(ctx context.Context, id stable.UserIdDriveId, ...) (result ListDriveRootPermissionsCompleteResult, err error)
- func (c DriveRootPermissionClient) UpdateDriveRootPermission(ctx context.Context, id stable.UserIdDriveIdRootPermissionId, ...) (result UpdateDriveRootPermissionOperationResponse, err error)
- type GetDriveRootPermissionOperationOptions
- type GetDriveRootPermissionOperationResponse
- type GetDriveRootPermissionsCountOperationOptions
- type GetDriveRootPermissionsCountOperationResponse
- type ListDriveRootPermissionGrantsCompleteResult
- type ListDriveRootPermissionGrantsCustomPager
- type ListDriveRootPermissionGrantsOperationOptions
- type ListDriveRootPermissionGrantsOperationResponse
- type ListDriveRootPermissionGrantsRequest
- type ListDriveRootPermissionsCompleteResult
- type ListDriveRootPermissionsCustomPager
- type ListDriveRootPermissionsOperationOptions
- type ListDriveRootPermissionsOperationResponse
- type PermissionOperationPredicate
- type UpdateDriveRootPermissionOperationOptions
- type UpdateDriveRootPermissionOperationResponse
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CreateDriveRootPermissionOperationOptions ¶
type CreateDriveRootPermissionOperationOptions struct { Metadata *odata.Metadata RetryFunc client.RequestRetryFunc }
func DefaultCreateDriveRootPermissionOperationOptions ¶
func DefaultCreateDriveRootPermissionOperationOptions() CreateDriveRootPermissionOperationOptions
func (CreateDriveRootPermissionOperationOptions) ToHeaders ¶
func (o CreateDriveRootPermissionOperationOptions) ToHeaders() *client.Headers
func (CreateDriveRootPermissionOperationOptions) ToOData ¶
func (o CreateDriveRootPermissionOperationOptions) ToOData() *odata.Query
func (CreateDriveRootPermissionOperationOptions) ToQuery ¶
func (o CreateDriveRootPermissionOperationOptions) ToQuery() *client.QueryParams
type DeleteDriveRootPermissionOperationOptions ¶
type DeleteDriveRootPermissionOperationOptions struct { IfMatch *string Metadata *odata.Metadata RetryFunc client.RequestRetryFunc }
func DefaultDeleteDriveRootPermissionOperationOptions ¶
func DefaultDeleteDriveRootPermissionOperationOptions() DeleteDriveRootPermissionOperationOptions
func (DeleteDriveRootPermissionOperationOptions) ToHeaders ¶
func (o DeleteDriveRootPermissionOperationOptions) ToHeaders() *client.Headers
func (DeleteDriveRootPermissionOperationOptions) ToOData ¶
func (o DeleteDriveRootPermissionOperationOptions) ToOData() *odata.Query
func (DeleteDriveRootPermissionOperationOptions) ToQuery ¶
func (o DeleteDriveRootPermissionOperationOptions) ToQuery() *client.QueryParams
type DriveRootPermissionClient ¶
func NewDriveRootPermissionClientWithBaseURI ¶
func NewDriveRootPermissionClientWithBaseURI(sdkApi sdkEnv.Api) (*DriveRootPermissionClient, error)
func (DriveRootPermissionClient) CreateDriveRootPermission ¶
func (c DriveRootPermissionClient) CreateDriveRootPermission(ctx context.Context, id stable.UserIdDriveId, input stable.Permission, options CreateDriveRootPermissionOperationOptions) (result CreateDriveRootPermissionOperationResponse, err error)
CreateDriveRootPermission - Create new navigation property to permissions for users
func (DriveRootPermissionClient) DeleteDriveRootPermission ¶
func (c DriveRootPermissionClient) DeleteDriveRootPermission(ctx context.Context, id stable.UserIdDriveIdRootPermissionId, options DeleteDriveRootPermissionOperationOptions) (result DeleteDriveRootPermissionOperationResponse, err error)
DeleteDriveRootPermission - Delete navigation property permissions for users
func (DriveRootPermissionClient) GetDriveRootPermission ¶
func (c DriveRootPermissionClient) GetDriveRootPermission(ctx context.Context, id stable.UserIdDriveIdRootPermissionId, options GetDriveRootPermissionOperationOptions) (result GetDriveRootPermissionOperationResponse, err error)
GetDriveRootPermission - Get permissions from users. The set of permissions for the item. Read-only. Nullable.
func (DriveRootPermissionClient) GetDriveRootPermissionsCount ¶
func (c DriveRootPermissionClient) GetDriveRootPermissionsCount(ctx context.Context, id stable.UserIdDriveId, options GetDriveRootPermissionsCountOperationOptions) (result GetDriveRootPermissionsCountOperationResponse, err error)
GetDriveRootPermissionsCount - Get the number of the resource
func (DriveRootPermissionClient) ListDriveRootPermissionGrants ¶
func (c DriveRootPermissionClient) ListDriveRootPermissionGrants(ctx context.Context, id stable.UserIdDriveIdRootPermissionId, input ListDriveRootPermissionGrantsRequest, options ListDriveRootPermissionGrantsOperationOptions) (result ListDriveRootPermissionGrantsOperationResponse, err error)
ListDriveRootPermissionGrants - Invoke action grant. Grant users access to a link represented by a permission.
func (DriveRootPermissionClient) ListDriveRootPermissionGrantsComplete ¶
func (c DriveRootPermissionClient) ListDriveRootPermissionGrantsComplete(ctx context.Context, id stable.UserIdDriveIdRootPermissionId, input ListDriveRootPermissionGrantsRequest, options ListDriveRootPermissionGrantsOperationOptions) (ListDriveRootPermissionGrantsCompleteResult, error)
ListDriveRootPermissionGrantsComplete retrieves all the results into a single object
func (DriveRootPermissionClient) ListDriveRootPermissionGrantsCompleteMatchingPredicate ¶
func (c DriveRootPermissionClient) ListDriveRootPermissionGrantsCompleteMatchingPredicate(ctx context.Context, id stable.UserIdDriveIdRootPermissionId, input ListDriveRootPermissionGrantsRequest, options ListDriveRootPermissionGrantsOperationOptions, predicate PermissionOperationPredicate) (result ListDriveRootPermissionGrantsCompleteResult, err error)
ListDriveRootPermissionGrantsCompleteMatchingPredicate retrieves all the results and then applies the predicate
func (DriveRootPermissionClient) ListDriveRootPermissions ¶
func (c DriveRootPermissionClient) ListDriveRootPermissions(ctx context.Context, id stable.UserIdDriveId, options ListDriveRootPermissionsOperationOptions) (result ListDriveRootPermissionsOperationResponse, err error)
ListDriveRootPermissions - Get permissions from users. The set of permissions for the item. Read-only. Nullable.
func (DriveRootPermissionClient) ListDriveRootPermissionsComplete ¶
func (c DriveRootPermissionClient) ListDriveRootPermissionsComplete(ctx context.Context, id stable.UserIdDriveId, options ListDriveRootPermissionsOperationOptions) (ListDriveRootPermissionsCompleteResult, error)
ListDriveRootPermissionsComplete retrieves all the results into a single object
func (DriveRootPermissionClient) ListDriveRootPermissionsCompleteMatchingPredicate ¶
func (c DriveRootPermissionClient) ListDriveRootPermissionsCompleteMatchingPredicate(ctx context.Context, id stable.UserIdDriveId, options ListDriveRootPermissionsOperationOptions, predicate PermissionOperationPredicate) (result ListDriveRootPermissionsCompleteResult, err error)
ListDriveRootPermissionsCompleteMatchingPredicate retrieves all the results and then applies the predicate
func (DriveRootPermissionClient) UpdateDriveRootPermission ¶
func (c DriveRootPermissionClient) UpdateDriveRootPermission(ctx context.Context, id stable.UserIdDriveIdRootPermissionId, input stable.Permission, options UpdateDriveRootPermissionOperationOptions) (result UpdateDriveRootPermissionOperationResponse, err error)
UpdateDriveRootPermission - Update the navigation property permissions in users
type GetDriveRootPermissionOperationOptions ¶
type GetDriveRootPermissionOperationOptions struct { Expand *odata.Expand Metadata *odata.Metadata RetryFunc client.RequestRetryFunc Select *[]string }
func DefaultGetDriveRootPermissionOperationOptions ¶
func DefaultGetDriveRootPermissionOperationOptions() GetDriveRootPermissionOperationOptions
func (GetDriveRootPermissionOperationOptions) ToHeaders ¶
func (o GetDriveRootPermissionOperationOptions) ToHeaders() *client.Headers
func (GetDriveRootPermissionOperationOptions) ToOData ¶
func (o GetDriveRootPermissionOperationOptions) ToOData() *odata.Query
func (GetDriveRootPermissionOperationOptions) ToQuery ¶
func (o GetDriveRootPermissionOperationOptions) ToQuery() *client.QueryParams
type GetDriveRootPermissionsCountOperationOptions ¶
type GetDriveRootPermissionsCountOperationOptions struct { Filter *string Metadata *odata.Metadata RetryFunc client.RequestRetryFunc Search *string }
func DefaultGetDriveRootPermissionsCountOperationOptions ¶
func DefaultGetDriveRootPermissionsCountOperationOptions() GetDriveRootPermissionsCountOperationOptions
func (GetDriveRootPermissionsCountOperationOptions) ToHeaders ¶
func (o GetDriveRootPermissionsCountOperationOptions) ToHeaders() *client.Headers
func (GetDriveRootPermissionsCountOperationOptions) ToOData ¶
func (o GetDriveRootPermissionsCountOperationOptions) ToOData() *odata.Query
func (GetDriveRootPermissionsCountOperationOptions) ToQuery ¶
func (o GetDriveRootPermissionsCountOperationOptions) ToQuery() *client.QueryParams
type ListDriveRootPermissionGrantsCompleteResult ¶
type ListDriveRootPermissionGrantsCompleteResult struct { LatestHttpResponse *http.Response Items []stable.Permission }
type ListDriveRootPermissionGrantsCustomPager ¶
type ListDriveRootPermissionGrantsCustomPager struct {
NextLink *odata.Link `json:"@odata.nextLink"`
}
func (*ListDriveRootPermissionGrantsCustomPager) NextPageLink ¶
func (p *ListDriveRootPermissionGrantsCustomPager) NextPageLink() *odata.Link
type ListDriveRootPermissionGrantsOperationOptions ¶
type ListDriveRootPermissionGrantsOperationOptions struct { Metadata *odata.Metadata RetryFunc client.RequestRetryFunc Skip *int64 Top *int64 }
func DefaultListDriveRootPermissionGrantsOperationOptions ¶
func DefaultListDriveRootPermissionGrantsOperationOptions() ListDriveRootPermissionGrantsOperationOptions
func (ListDriveRootPermissionGrantsOperationOptions) ToHeaders ¶
func (o ListDriveRootPermissionGrantsOperationOptions) ToHeaders() *client.Headers
func (ListDriveRootPermissionGrantsOperationOptions) ToOData ¶
func (o ListDriveRootPermissionGrantsOperationOptions) ToOData() *odata.Query
func (ListDriveRootPermissionGrantsOperationOptions) ToQuery ¶
func (o ListDriveRootPermissionGrantsOperationOptions) ToQuery() *client.QueryParams
type ListDriveRootPermissionGrantsRequest ¶
type ListDriveRootPermissionGrantsRequest struct { Recipients *[]stable.DriveRecipient `json:"recipients,omitempty"` Roles *[]string `json:"roles,omitempty"` }
type ListDriveRootPermissionsCompleteResult ¶
type ListDriveRootPermissionsCompleteResult struct { LatestHttpResponse *http.Response Items []stable.Permission }
type ListDriveRootPermissionsCustomPager ¶
func (*ListDriveRootPermissionsCustomPager) NextPageLink ¶
func (p *ListDriveRootPermissionsCustomPager) NextPageLink() *odata.Link
type ListDriveRootPermissionsOperationOptions ¶
type ListDriveRootPermissionsOperationOptions 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 DefaultListDriveRootPermissionsOperationOptions ¶
func DefaultListDriveRootPermissionsOperationOptions() ListDriveRootPermissionsOperationOptions
func (ListDriveRootPermissionsOperationOptions) ToHeaders ¶
func (o ListDriveRootPermissionsOperationOptions) ToHeaders() *client.Headers
func (ListDriveRootPermissionsOperationOptions) ToOData ¶
func (o ListDriveRootPermissionsOperationOptions) ToOData() *odata.Query
func (ListDriveRootPermissionsOperationOptions) ToQuery ¶
func (o ListDriveRootPermissionsOperationOptions) ToQuery() *client.QueryParams
type PermissionOperationPredicate ¶
type PermissionOperationPredicate struct { }
func (PermissionOperationPredicate) Matches ¶
func (p PermissionOperationPredicate) Matches(input stable.Permission) bool
type UpdateDriveRootPermissionOperationOptions ¶
type UpdateDriveRootPermissionOperationOptions struct { Metadata *odata.Metadata RetryFunc client.RequestRetryFunc }
func DefaultUpdateDriveRootPermissionOperationOptions ¶
func DefaultUpdateDriveRootPermissionOperationOptions() UpdateDriveRootPermissionOperationOptions
func (UpdateDriveRootPermissionOperationOptions) ToHeaders ¶
func (o UpdateDriveRootPermissionOperationOptions) ToHeaders() *client.Headers
func (UpdateDriveRootPermissionOperationOptions) ToOData ¶
func (o UpdateDriveRootPermissionOperationOptions) ToOData() *odata.Query
func (UpdateDriveRootPermissionOperationOptions) ToQuery ¶
func (o UpdateDriveRootPermissionOperationOptions) ToQuery() *client.QueryParams
Source Files ¶
- client.go
- method_createdriverootpermission.go
- method_deletedriverootpermission.go
- method_getdriverootpermission.go
- method_getdriverootpermissionscount.go
- method_listdriverootpermissiongrants.go
- method_listdriverootpermissions.go
- method_updatedriverootpermission.go
- model_listdriverootpermissiongrantsrequest.go
- predicates.go
- version.go