Documentation ¶
Index ¶
- type CreateSiteListItemPermissionOperationOptions
- type CreateSiteListItemPermissionOperationResponse
- type DeleteSiteListItemPermissionOperationOptions
- type DeleteSiteListItemPermissionOperationResponse
- type GetSiteListItemPermissionOperationOptions
- type GetSiteListItemPermissionOperationResponse
- type GetSiteListItemPermissionsCountOperationOptions
- type GetSiteListItemPermissionsCountOperationResponse
- type ListSiteListItemPermissionGrantsCompleteResult
- type ListSiteListItemPermissionGrantsCustomPager
- type ListSiteListItemPermissionGrantsOperationOptions
- type ListSiteListItemPermissionGrantsOperationResponse
- type ListSiteListItemPermissionGrantsRequest
- type ListSiteListItemPermissionsCompleteResult
- type ListSiteListItemPermissionsCustomPager
- type ListSiteListItemPermissionsOperationOptions
- type ListSiteListItemPermissionsOperationResponse
- type PermissionOperationPredicate
- type RevokeSiteListItemPermissionGrantsOperationOptions
- type RevokeSiteListItemPermissionGrantsOperationResponse
- type RevokeSiteListItemPermissionGrantsRequest
- type SiteListItemPermissionClient
- func (c SiteListItemPermissionClient) CreateSiteListItemPermission(ctx context.Context, id beta.GroupIdSiteIdListIdItemId, input beta.Permission, ...) (result CreateSiteListItemPermissionOperationResponse, err error)
- func (c SiteListItemPermissionClient) DeleteSiteListItemPermission(ctx context.Context, id beta.GroupIdSiteIdListIdItemIdPermissionId, ...) (result DeleteSiteListItemPermissionOperationResponse, err error)
- func (c SiteListItemPermissionClient) GetSiteListItemPermission(ctx context.Context, id beta.GroupIdSiteIdListIdItemIdPermissionId, ...) (result GetSiteListItemPermissionOperationResponse, err error)
- func (c SiteListItemPermissionClient) GetSiteListItemPermissionsCount(ctx context.Context, id beta.GroupIdSiteIdListIdItemId, ...) (result GetSiteListItemPermissionsCountOperationResponse, err error)
- func (c SiteListItemPermissionClient) ListSiteListItemPermissionGrants(ctx context.Context, id beta.GroupIdSiteIdListIdItemIdPermissionId, ...) (result ListSiteListItemPermissionGrantsOperationResponse, err error)
- func (c SiteListItemPermissionClient) ListSiteListItemPermissionGrantsComplete(ctx context.Context, id beta.GroupIdSiteIdListIdItemIdPermissionId, ...) (ListSiteListItemPermissionGrantsCompleteResult, error)
- func (c SiteListItemPermissionClient) ListSiteListItemPermissionGrantsCompleteMatchingPredicate(ctx context.Context, id beta.GroupIdSiteIdListIdItemIdPermissionId, ...) (result ListSiteListItemPermissionGrantsCompleteResult, err error)
- func (c SiteListItemPermissionClient) ListSiteListItemPermissions(ctx context.Context, id beta.GroupIdSiteIdListIdItemId, ...) (result ListSiteListItemPermissionsOperationResponse, err error)
- func (c SiteListItemPermissionClient) ListSiteListItemPermissionsComplete(ctx context.Context, id beta.GroupIdSiteIdListIdItemId, ...) (ListSiteListItemPermissionsCompleteResult, error)
- func (c SiteListItemPermissionClient) ListSiteListItemPermissionsCompleteMatchingPredicate(ctx context.Context, id beta.GroupIdSiteIdListIdItemId, ...) (result ListSiteListItemPermissionsCompleteResult, err error)
- func (c SiteListItemPermissionClient) RevokeSiteListItemPermissionGrants(ctx context.Context, id beta.GroupIdSiteIdListIdItemIdPermissionId, ...) (result RevokeSiteListItemPermissionGrantsOperationResponse, err error)
- func (c SiteListItemPermissionClient) UpdateSiteListItemPermission(ctx context.Context, id beta.GroupIdSiteIdListIdItemIdPermissionId, ...) (result UpdateSiteListItemPermissionOperationResponse, err error)
- type UpdateSiteListItemPermissionOperationOptions
- type UpdateSiteListItemPermissionOperationResponse
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CreateSiteListItemPermissionOperationOptions ¶
type CreateSiteListItemPermissionOperationOptions struct { Metadata *odata.Metadata RetryFunc client.RequestRetryFunc }
func DefaultCreateSiteListItemPermissionOperationOptions ¶
func DefaultCreateSiteListItemPermissionOperationOptions() CreateSiteListItemPermissionOperationOptions
func (CreateSiteListItemPermissionOperationOptions) ToHeaders ¶
func (o CreateSiteListItemPermissionOperationOptions) ToHeaders() *client.Headers
func (CreateSiteListItemPermissionOperationOptions) ToOData ¶
func (o CreateSiteListItemPermissionOperationOptions) ToOData() *odata.Query
func (CreateSiteListItemPermissionOperationOptions) ToQuery ¶
func (o CreateSiteListItemPermissionOperationOptions) ToQuery() *client.QueryParams
type DeleteSiteListItemPermissionOperationOptions ¶
type DeleteSiteListItemPermissionOperationOptions struct { IfMatch *string Metadata *odata.Metadata RetryFunc client.RequestRetryFunc }
func DefaultDeleteSiteListItemPermissionOperationOptions ¶
func DefaultDeleteSiteListItemPermissionOperationOptions() DeleteSiteListItemPermissionOperationOptions
func (DeleteSiteListItemPermissionOperationOptions) ToHeaders ¶
func (o DeleteSiteListItemPermissionOperationOptions) ToHeaders() *client.Headers
func (DeleteSiteListItemPermissionOperationOptions) ToOData ¶
func (o DeleteSiteListItemPermissionOperationOptions) ToOData() *odata.Query
func (DeleteSiteListItemPermissionOperationOptions) ToQuery ¶
func (o DeleteSiteListItemPermissionOperationOptions) ToQuery() *client.QueryParams
type GetSiteListItemPermissionOperationOptions ¶
type GetSiteListItemPermissionOperationOptions struct { Expand *odata.Expand Metadata *odata.Metadata RetryFunc client.RequestRetryFunc Select *[]string }
func DefaultGetSiteListItemPermissionOperationOptions ¶
func DefaultGetSiteListItemPermissionOperationOptions() GetSiteListItemPermissionOperationOptions
func (GetSiteListItemPermissionOperationOptions) ToHeaders ¶
func (o GetSiteListItemPermissionOperationOptions) ToHeaders() *client.Headers
func (GetSiteListItemPermissionOperationOptions) ToOData ¶
func (o GetSiteListItemPermissionOperationOptions) ToOData() *odata.Query
func (GetSiteListItemPermissionOperationOptions) ToQuery ¶
func (o GetSiteListItemPermissionOperationOptions) ToQuery() *client.QueryParams
type GetSiteListItemPermissionsCountOperationOptions ¶
type GetSiteListItemPermissionsCountOperationOptions struct { Filter *string Metadata *odata.Metadata RetryFunc client.RequestRetryFunc Search *string }
func DefaultGetSiteListItemPermissionsCountOperationOptions ¶
func DefaultGetSiteListItemPermissionsCountOperationOptions() GetSiteListItemPermissionsCountOperationOptions
func (GetSiteListItemPermissionsCountOperationOptions) ToHeaders ¶
func (o GetSiteListItemPermissionsCountOperationOptions) ToHeaders() *client.Headers
func (GetSiteListItemPermissionsCountOperationOptions) ToOData ¶
func (o GetSiteListItemPermissionsCountOperationOptions) ToOData() *odata.Query
func (GetSiteListItemPermissionsCountOperationOptions) ToQuery ¶
func (o GetSiteListItemPermissionsCountOperationOptions) ToQuery() *client.QueryParams
type ListSiteListItemPermissionGrantsCompleteResult ¶
type ListSiteListItemPermissionGrantsCompleteResult struct { LatestHttpResponse *http.Response Items []beta.Permission }
type ListSiteListItemPermissionGrantsCustomPager ¶
type ListSiteListItemPermissionGrantsCustomPager struct {
NextLink *odata.Link `json:"@odata.nextLink"`
}
func (*ListSiteListItemPermissionGrantsCustomPager) NextPageLink ¶
func (p *ListSiteListItemPermissionGrantsCustomPager) NextPageLink() *odata.Link
type ListSiteListItemPermissionGrantsOperationOptions ¶
type ListSiteListItemPermissionGrantsOperationOptions struct { Metadata *odata.Metadata RetryFunc client.RequestRetryFunc Skip *int64 Top *int64 }
func DefaultListSiteListItemPermissionGrantsOperationOptions ¶
func DefaultListSiteListItemPermissionGrantsOperationOptions() ListSiteListItemPermissionGrantsOperationOptions
func (ListSiteListItemPermissionGrantsOperationOptions) ToHeaders ¶
func (o ListSiteListItemPermissionGrantsOperationOptions) ToHeaders() *client.Headers
func (ListSiteListItemPermissionGrantsOperationOptions) ToOData ¶
func (o ListSiteListItemPermissionGrantsOperationOptions) ToOData() *odata.Query
func (ListSiteListItemPermissionGrantsOperationOptions) ToQuery ¶
func (o ListSiteListItemPermissionGrantsOperationOptions) ToQuery() *client.QueryParams
type ListSiteListItemPermissionGrantsRequest ¶
type ListSiteListItemPermissionGrantsRequest struct { Recipients *[]beta.DriveRecipient `json:"recipients,omitempty"` Roles *[]string `json:"roles,omitempty"` }
type ListSiteListItemPermissionsCompleteResult ¶
type ListSiteListItemPermissionsCompleteResult struct { LatestHttpResponse *http.Response Items []beta.Permission }
type ListSiteListItemPermissionsCustomPager ¶
type ListSiteListItemPermissionsCustomPager struct {
NextLink *odata.Link `json:"@odata.nextLink"`
}
func (*ListSiteListItemPermissionsCustomPager) NextPageLink ¶
func (p *ListSiteListItemPermissionsCustomPager) NextPageLink() *odata.Link
type ListSiteListItemPermissionsOperationOptions ¶
type ListSiteListItemPermissionsOperationOptions 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 DefaultListSiteListItemPermissionsOperationOptions ¶
func DefaultListSiteListItemPermissionsOperationOptions() ListSiteListItemPermissionsOperationOptions
func (ListSiteListItemPermissionsOperationOptions) ToHeaders ¶
func (o ListSiteListItemPermissionsOperationOptions) ToHeaders() *client.Headers
func (ListSiteListItemPermissionsOperationOptions) ToOData ¶
func (o ListSiteListItemPermissionsOperationOptions) ToOData() *odata.Query
func (ListSiteListItemPermissionsOperationOptions) ToQuery ¶
func (o ListSiteListItemPermissionsOperationOptions) ToQuery() *client.QueryParams
type PermissionOperationPredicate ¶
type PermissionOperationPredicate struct { }
func (PermissionOperationPredicate) Matches ¶
func (p PermissionOperationPredicate) Matches(input beta.Permission) bool
type RevokeSiteListItemPermissionGrantsOperationOptions ¶
type RevokeSiteListItemPermissionGrantsOperationOptions struct { Metadata *odata.Metadata RetryFunc client.RequestRetryFunc }
func DefaultRevokeSiteListItemPermissionGrantsOperationOptions ¶
func DefaultRevokeSiteListItemPermissionGrantsOperationOptions() RevokeSiteListItemPermissionGrantsOperationOptions
func (RevokeSiteListItemPermissionGrantsOperationOptions) ToHeaders ¶
func (o RevokeSiteListItemPermissionGrantsOperationOptions) ToHeaders() *client.Headers
func (RevokeSiteListItemPermissionGrantsOperationOptions) ToOData ¶
func (o RevokeSiteListItemPermissionGrantsOperationOptions) ToOData() *odata.Query
func (RevokeSiteListItemPermissionGrantsOperationOptions) ToQuery ¶
func (o RevokeSiteListItemPermissionGrantsOperationOptions) ToQuery() *client.QueryParams
type RevokeSiteListItemPermissionGrantsRequest ¶
type RevokeSiteListItemPermissionGrantsRequest struct {
Grantees *[]beta.DriveRecipient `json:"grantees,omitempty"`
}
type SiteListItemPermissionClient ¶
func NewSiteListItemPermissionClientWithBaseURI ¶
func NewSiteListItemPermissionClientWithBaseURI(sdkApi sdkEnv.Api) (*SiteListItemPermissionClient, error)
func (SiteListItemPermissionClient) CreateSiteListItemPermission ¶
func (c SiteListItemPermissionClient) CreateSiteListItemPermission(ctx context.Context, id beta.GroupIdSiteIdListIdItemId, input beta.Permission, options CreateSiteListItemPermissionOperationOptions) (result CreateSiteListItemPermissionOperationResponse, err error)
CreateSiteListItemPermission - Create new navigation property to permissions for groups
func (SiteListItemPermissionClient) DeleteSiteListItemPermission ¶
func (c SiteListItemPermissionClient) DeleteSiteListItemPermission(ctx context.Context, id beta.GroupIdSiteIdListIdItemIdPermissionId, options DeleteSiteListItemPermissionOperationOptions) (result DeleteSiteListItemPermissionOperationResponse, err error)
DeleteSiteListItemPermission - Delete navigation property permissions for groups
func (SiteListItemPermissionClient) GetSiteListItemPermission ¶
func (c SiteListItemPermissionClient) GetSiteListItemPermission(ctx context.Context, id beta.GroupIdSiteIdListIdItemIdPermissionId, options GetSiteListItemPermissionOperationOptions) (result GetSiteListItemPermissionOperationResponse, err error)
GetSiteListItemPermission - Get permissions from groups. The set of permissions for the item. Read-only. Nullable.
func (SiteListItemPermissionClient) GetSiteListItemPermissionsCount ¶
func (c SiteListItemPermissionClient) GetSiteListItemPermissionsCount(ctx context.Context, id beta.GroupIdSiteIdListIdItemId, options GetSiteListItemPermissionsCountOperationOptions) (result GetSiteListItemPermissionsCountOperationResponse, err error)
GetSiteListItemPermissionsCount - Get the number of the resource
func (SiteListItemPermissionClient) ListSiteListItemPermissionGrants ¶
func (c SiteListItemPermissionClient) ListSiteListItemPermissionGrants(ctx context.Context, id beta.GroupIdSiteIdListIdItemIdPermissionId, input ListSiteListItemPermissionGrantsRequest, options ListSiteListItemPermissionGrantsOperationOptions) (result ListSiteListItemPermissionGrantsOperationResponse, err error)
ListSiteListItemPermissionGrants - Invoke action grant. Grant users access to a link represented by a permission.
func (SiteListItemPermissionClient) ListSiteListItemPermissionGrantsComplete ¶
func (c SiteListItemPermissionClient) ListSiteListItemPermissionGrantsComplete(ctx context.Context, id beta.GroupIdSiteIdListIdItemIdPermissionId, input ListSiteListItemPermissionGrantsRequest, options ListSiteListItemPermissionGrantsOperationOptions) (ListSiteListItemPermissionGrantsCompleteResult, error)
ListSiteListItemPermissionGrantsComplete retrieves all the results into a single object
func (SiteListItemPermissionClient) ListSiteListItemPermissionGrantsCompleteMatchingPredicate ¶
func (c SiteListItemPermissionClient) ListSiteListItemPermissionGrantsCompleteMatchingPredicate(ctx context.Context, id beta.GroupIdSiteIdListIdItemIdPermissionId, input ListSiteListItemPermissionGrantsRequest, options ListSiteListItemPermissionGrantsOperationOptions, predicate PermissionOperationPredicate) (result ListSiteListItemPermissionGrantsCompleteResult, err error)
ListSiteListItemPermissionGrantsCompleteMatchingPredicate retrieves all the results and then applies the predicate
func (SiteListItemPermissionClient) ListSiteListItemPermissions ¶
func (c SiteListItemPermissionClient) ListSiteListItemPermissions(ctx context.Context, id beta.GroupIdSiteIdListIdItemId, options ListSiteListItemPermissionsOperationOptions) (result ListSiteListItemPermissionsOperationResponse, err error)
ListSiteListItemPermissions - Get permissions from groups. The set of permissions for the item. Read-only. Nullable.
func (SiteListItemPermissionClient) ListSiteListItemPermissionsComplete ¶
func (c SiteListItemPermissionClient) ListSiteListItemPermissionsComplete(ctx context.Context, id beta.GroupIdSiteIdListIdItemId, options ListSiteListItemPermissionsOperationOptions) (ListSiteListItemPermissionsCompleteResult, error)
ListSiteListItemPermissionsComplete retrieves all the results into a single object
func (SiteListItemPermissionClient) ListSiteListItemPermissionsCompleteMatchingPredicate ¶
func (c SiteListItemPermissionClient) ListSiteListItemPermissionsCompleteMatchingPredicate(ctx context.Context, id beta.GroupIdSiteIdListIdItemId, options ListSiteListItemPermissionsOperationOptions, predicate PermissionOperationPredicate) (result ListSiteListItemPermissionsCompleteResult, err error)
ListSiteListItemPermissionsCompleteMatchingPredicate retrieves all the results and then applies the predicate
func (SiteListItemPermissionClient) RevokeSiteListItemPermissionGrants ¶
func (c SiteListItemPermissionClient) RevokeSiteListItemPermissionGrants(ctx context.Context, id beta.GroupIdSiteIdListIdItemIdPermissionId, input RevokeSiteListItemPermissionGrantsRequest, options RevokeSiteListItemPermissionGrantsOperationOptions) (result RevokeSiteListItemPermissionGrantsOperationResponse, err error)
RevokeSiteListItemPermissionGrants - Invoke action revokeGrants. Revoke access to a listItem or driveItem granted via a sharing link by removing the specified recipient from the link.
func (SiteListItemPermissionClient) UpdateSiteListItemPermission ¶
func (c SiteListItemPermissionClient) UpdateSiteListItemPermission(ctx context.Context, id beta.GroupIdSiteIdListIdItemIdPermissionId, input beta.Permission, options UpdateSiteListItemPermissionOperationOptions) (result UpdateSiteListItemPermissionOperationResponse, err error)
UpdateSiteListItemPermission - Update the navigation property permissions in groups
type UpdateSiteListItemPermissionOperationOptions ¶
type UpdateSiteListItemPermissionOperationOptions struct { Metadata *odata.Metadata RetryFunc client.RequestRetryFunc }
func DefaultUpdateSiteListItemPermissionOperationOptions ¶
func DefaultUpdateSiteListItemPermissionOperationOptions() UpdateSiteListItemPermissionOperationOptions
func (UpdateSiteListItemPermissionOperationOptions) ToHeaders ¶
func (o UpdateSiteListItemPermissionOperationOptions) ToHeaders() *client.Headers
func (UpdateSiteListItemPermissionOperationOptions) ToOData ¶
func (o UpdateSiteListItemPermissionOperationOptions) ToOData() *odata.Query
func (UpdateSiteListItemPermissionOperationOptions) ToQuery ¶
func (o UpdateSiteListItemPermissionOperationOptions) ToQuery() *client.QueryParams
Source Files ¶
- client.go
- method_createsitelistitempermission.go
- method_deletesitelistitempermission.go
- method_getsitelistitempermission.go
- method_getsitelistitempermissionscount.go
- method_listsitelistitempermissiongrants.go
- method_listsitelistitempermissions.go
- method_revokesitelistitempermissiongrants.go
- method_updatesitelistitempermission.go
- model_listsitelistitempermissiongrantsrequest.go
- model_revokesitelistitempermissiongrantsrequest.go
- predicates.go
- version.go