Documentation ¶
Index ¶
- type CreateSitePermissionOperationOptions
- type CreateSitePermissionOperationResponse
- type DeleteSitePermissionOperationOptions
- type DeleteSitePermissionOperationResponse
- type GetSitePermissionOperationOptions
- type GetSitePermissionOperationResponse
- type GetSitePermissionsCountOperationOptions
- type GetSitePermissionsCountOperationResponse
- type ListSitePermissionGrantsCompleteResult
- type ListSitePermissionGrantsCustomPager
- type ListSitePermissionGrantsOperationOptions
- type ListSitePermissionGrantsOperationResponse
- type ListSitePermissionGrantsRequest
- type ListSitePermissionsCompleteResult
- type ListSitePermissionsCustomPager
- type ListSitePermissionsOperationOptions
- type ListSitePermissionsOperationResponse
- type PermissionOperationPredicate
- type RevokeSitePermissionGrantsOperationOptions
- type RevokeSitePermissionGrantsOperationResponse
- type RevokeSitePermissionGrantsRequest
- type SitePermissionClient
- func (c SitePermissionClient) CreateSitePermission(ctx context.Context, id beta.GroupIdSiteId, input beta.Permission, ...) (result CreateSitePermissionOperationResponse, err error)
- func (c SitePermissionClient) DeleteSitePermission(ctx context.Context, id beta.GroupIdSiteIdPermissionId, ...) (result DeleteSitePermissionOperationResponse, err error)
- func (c SitePermissionClient) GetSitePermission(ctx context.Context, id beta.GroupIdSiteIdPermissionId, ...) (result GetSitePermissionOperationResponse, err error)
- func (c SitePermissionClient) GetSitePermissionsCount(ctx context.Context, id beta.GroupIdSiteId, ...) (result GetSitePermissionsCountOperationResponse, err error)
- func (c SitePermissionClient) ListSitePermissionGrants(ctx context.Context, id beta.GroupIdSiteIdPermissionId, ...) (result ListSitePermissionGrantsOperationResponse, err error)
- func (c SitePermissionClient) ListSitePermissionGrantsComplete(ctx context.Context, id beta.GroupIdSiteIdPermissionId, ...) (ListSitePermissionGrantsCompleteResult, error)
- func (c SitePermissionClient) ListSitePermissionGrantsCompleteMatchingPredicate(ctx context.Context, id beta.GroupIdSiteIdPermissionId, ...) (result ListSitePermissionGrantsCompleteResult, err error)
- func (c SitePermissionClient) ListSitePermissions(ctx context.Context, id beta.GroupIdSiteId, ...) (result ListSitePermissionsOperationResponse, err error)
- func (c SitePermissionClient) ListSitePermissionsComplete(ctx context.Context, id beta.GroupIdSiteId, ...) (ListSitePermissionsCompleteResult, error)
- func (c SitePermissionClient) ListSitePermissionsCompleteMatchingPredicate(ctx context.Context, id beta.GroupIdSiteId, ...) (result ListSitePermissionsCompleteResult, err error)
- func (c SitePermissionClient) RevokeSitePermissionGrants(ctx context.Context, id beta.GroupIdSiteIdPermissionId, ...) (result RevokeSitePermissionGrantsOperationResponse, err error)
- func (c SitePermissionClient) UpdateSitePermission(ctx context.Context, id beta.GroupIdSiteIdPermissionId, input beta.Permission, ...) (result UpdateSitePermissionOperationResponse, err error)
- type UpdateSitePermissionOperationOptions
- type UpdateSitePermissionOperationResponse
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CreateSitePermissionOperationOptions ¶
type CreateSitePermissionOperationOptions struct { Metadata *odata.Metadata RetryFunc client.RequestRetryFunc }
func DefaultCreateSitePermissionOperationOptions ¶
func DefaultCreateSitePermissionOperationOptions() CreateSitePermissionOperationOptions
func (CreateSitePermissionOperationOptions) ToHeaders ¶
func (o CreateSitePermissionOperationOptions) ToHeaders() *client.Headers
func (CreateSitePermissionOperationOptions) ToOData ¶
func (o CreateSitePermissionOperationOptions) ToOData() *odata.Query
func (CreateSitePermissionOperationOptions) ToQuery ¶
func (o CreateSitePermissionOperationOptions) ToQuery() *client.QueryParams
type DeleteSitePermissionOperationOptions ¶
type DeleteSitePermissionOperationOptions struct { IfMatch *string Metadata *odata.Metadata RetryFunc client.RequestRetryFunc }
func DefaultDeleteSitePermissionOperationOptions ¶
func DefaultDeleteSitePermissionOperationOptions() DeleteSitePermissionOperationOptions
func (DeleteSitePermissionOperationOptions) ToHeaders ¶
func (o DeleteSitePermissionOperationOptions) ToHeaders() *client.Headers
func (DeleteSitePermissionOperationOptions) ToOData ¶
func (o DeleteSitePermissionOperationOptions) ToOData() *odata.Query
func (DeleteSitePermissionOperationOptions) ToQuery ¶
func (o DeleteSitePermissionOperationOptions) ToQuery() *client.QueryParams
type GetSitePermissionOperationOptions ¶
type GetSitePermissionOperationOptions struct { Expand *odata.Expand Metadata *odata.Metadata RetryFunc client.RequestRetryFunc Select *[]string }
func DefaultGetSitePermissionOperationOptions ¶
func DefaultGetSitePermissionOperationOptions() GetSitePermissionOperationOptions
func (GetSitePermissionOperationOptions) ToHeaders ¶
func (o GetSitePermissionOperationOptions) ToHeaders() *client.Headers
func (GetSitePermissionOperationOptions) ToOData ¶
func (o GetSitePermissionOperationOptions) ToOData() *odata.Query
func (GetSitePermissionOperationOptions) ToQuery ¶
func (o GetSitePermissionOperationOptions) ToQuery() *client.QueryParams
type GetSitePermissionsCountOperationOptions ¶
type GetSitePermissionsCountOperationOptions struct { Filter *string Metadata *odata.Metadata RetryFunc client.RequestRetryFunc Search *string }
func DefaultGetSitePermissionsCountOperationOptions ¶
func DefaultGetSitePermissionsCountOperationOptions() GetSitePermissionsCountOperationOptions
func (GetSitePermissionsCountOperationOptions) ToHeaders ¶
func (o GetSitePermissionsCountOperationOptions) ToHeaders() *client.Headers
func (GetSitePermissionsCountOperationOptions) ToOData ¶
func (o GetSitePermissionsCountOperationOptions) ToOData() *odata.Query
func (GetSitePermissionsCountOperationOptions) ToQuery ¶
func (o GetSitePermissionsCountOperationOptions) ToQuery() *client.QueryParams
type ListSitePermissionGrantsCompleteResult ¶
type ListSitePermissionGrantsCompleteResult struct { LatestHttpResponse *http.Response Items []beta.Permission }
type ListSitePermissionGrantsCustomPager ¶
func (*ListSitePermissionGrantsCustomPager) NextPageLink ¶
func (p *ListSitePermissionGrantsCustomPager) NextPageLink() *odata.Link
type ListSitePermissionGrantsOperationOptions ¶
type ListSitePermissionGrantsOperationOptions struct { Metadata *odata.Metadata RetryFunc client.RequestRetryFunc Skip *int64 Top *int64 }
func DefaultListSitePermissionGrantsOperationOptions ¶
func DefaultListSitePermissionGrantsOperationOptions() ListSitePermissionGrantsOperationOptions
func (ListSitePermissionGrantsOperationOptions) ToHeaders ¶
func (o ListSitePermissionGrantsOperationOptions) ToHeaders() *client.Headers
func (ListSitePermissionGrantsOperationOptions) ToOData ¶
func (o ListSitePermissionGrantsOperationOptions) ToOData() *odata.Query
func (ListSitePermissionGrantsOperationOptions) ToQuery ¶
func (o ListSitePermissionGrantsOperationOptions) ToQuery() *client.QueryParams
type ListSitePermissionGrantsRequest ¶
type ListSitePermissionGrantsRequest struct { Recipients *[]beta.DriveRecipient `json:"recipients,omitempty"` Roles *[]string `json:"roles,omitempty"` }
type ListSitePermissionsCompleteResult ¶
type ListSitePermissionsCompleteResult struct { LatestHttpResponse *http.Response Items []beta.Permission }
type ListSitePermissionsCustomPager ¶
func (*ListSitePermissionsCustomPager) NextPageLink ¶
func (p *ListSitePermissionsCustomPager) NextPageLink() *odata.Link
type ListSitePermissionsOperationOptions ¶
type ListSitePermissionsOperationOptions 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 DefaultListSitePermissionsOperationOptions ¶
func DefaultListSitePermissionsOperationOptions() ListSitePermissionsOperationOptions
func (ListSitePermissionsOperationOptions) ToHeaders ¶
func (o ListSitePermissionsOperationOptions) ToHeaders() *client.Headers
func (ListSitePermissionsOperationOptions) ToOData ¶
func (o ListSitePermissionsOperationOptions) ToOData() *odata.Query
func (ListSitePermissionsOperationOptions) ToQuery ¶
func (o ListSitePermissionsOperationOptions) ToQuery() *client.QueryParams
type PermissionOperationPredicate ¶
type PermissionOperationPredicate struct { }
func (PermissionOperationPredicate) Matches ¶
func (p PermissionOperationPredicate) Matches(input beta.Permission) bool
type RevokeSitePermissionGrantsOperationOptions ¶
type RevokeSitePermissionGrantsOperationOptions struct { Metadata *odata.Metadata RetryFunc client.RequestRetryFunc }
func DefaultRevokeSitePermissionGrantsOperationOptions ¶
func DefaultRevokeSitePermissionGrantsOperationOptions() RevokeSitePermissionGrantsOperationOptions
func (RevokeSitePermissionGrantsOperationOptions) ToHeaders ¶
func (o RevokeSitePermissionGrantsOperationOptions) ToHeaders() *client.Headers
func (RevokeSitePermissionGrantsOperationOptions) ToOData ¶
func (o RevokeSitePermissionGrantsOperationOptions) ToOData() *odata.Query
func (RevokeSitePermissionGrantsOperationOptions) ToQuery ¶
func (o RevokeSitePermissionGrantsOperationOptions) ToQuery() *client.QueryParams
type RevokeSitePermissionGrantsRequest ¶
type RevokeSitePermissionGrantsRequest struct {
Grantees *[]beta.DriveRecipient `json:"grantees,omitempty"`
}
type SitePermissionClient ¶
func NewSitePermissionClientWithBaseURI ¶
func NewSitePermissionClientWithBaseURI(sdkApi sdkEnv.Api) (*SitePermissionClient, error)
func (SitePermissionClient) CreateSitePermission ¶
func (c SitePermissionClient) CreateSitePermission(ctx context.Context, id beta.GroupIdSiteId, input beta.Permission, options CreateSitePermissionOperationOptions) (result CreateSitePermissionOperationResponse, err error)
CreateSitePermission - Create new navigation property to permissions for groups
func (SitePermissionClient) DeleteSitePermission ¶
func (c SitePermissionClient) DeleteSitePermission(ctx context.Context, id beta.GroupIdSiteIdPermissionId, options DeleteSitePermissionOperationOptions) (result DeleteSitePermissionOperationResponse, err error)
DeleteSitePermission - Delete navigation property permissions for groups
func (SitePermissionClient) GetSitePermission ¶
func (c SitePermissionClient) GetSitePermission(ctx context.Context, id beta.GroupIdSiteIdPermissionId, options GetSitePermissionOperationOptions) (result GetSitePermissionOperationResponse, err error)
GetSitePermission - Get permissions from groups. The permissions associated with the site. Nullable.
func (SitePermissionClient) GetSitePermissionsCount ¶
func (c SitePermissionClient) GetSitePermissionsCount(ctx context.Context, id beta.GroupIdSiteId, options GetSitePermissionsCountOperationOptions) (result GetSitePermissionsCountOperationResponse, err error)
GetSitePermissionsCount - Get the number of the resource
func (SitePermissionClient) ListSitePermissionGrants ¶
func (c SitePermissionClient) ListSitePermissionGrants(ctx context.Context, id beta.GroupIdSiteIdPermissionId, input ListSitePermissionGrantsRequest, options ListSitePermissionGrantsOperationOptions) (result ListSitePermissionGrantsOperationResponse, err error)
ListSitePermissionGrants - Invoke action grant. Grant users access to a link represented by a permission.
func (SitePermissionClient) ListSitePermissionGrantsComplete ¶
func (c SitePermissionClient) ListSitePermissionGrantsComplete(ctx context.Context, id beta.GroupIdSiteIdPermissionId, input ListSitePermissionGrantsRequest, options ListSitePermissionGrantsOperationOptions) (ListSitePermissionGrantsCompleteResult, error)
ListSitePermissionGrantsComplete retrieves all the results into a single object
func (SitePermissionClient) ListSitePermissionGrantsCompleteMatchingPredicate ¶
func (c SitePermissionClient) ListSitePermissionGrantsCompleteMatchingPredicate(ctx context.Context, id beta.GroupIdSiteIdPermissionId, input ListSitePermissionGrantsRequest, options ListSitePermissionGrantsOperationOptions, predicate PermissionOperationPredicate) (result ListSitePermissionGrantsCompleteResult, err error)
ListSitePermissionGrantsCompleteMatchingPredicate retrieves all the results and then applies the predicate
func (SitePermissionClient) ListSitePermissions ¶
func (c SitePermissionClient) ListSitePermissions(ctx context.Context, id beta.GroupIdSiteId, options ListSitePermissionsOperationOptions) (result ListSitePermissionsOperationResponse, err error)
ListSitePermissions - Get permissions from groups. The permissions associated with the site. Nullable.
func (SitePermissionClient) ListSitePermissionsComplete ¶
func (c SitePermissionClient) ListSitePermissionsComplete(ctx context.Context, id beta.GroupIdSiteId, options ListSitePermissionsOperationOptions) (ListSitePermissionsCompleteResult, error)
ListSitePermissionsComplete retrieves all the results into a single object
func (SitePermissionClient) ListSitePermissionsCompleteMatchingPredicate ¶
func (c SitePermissionClient) ListSitePermissionsCompleteMatchingPredicate(ctx context.Context, id beta.GroupIdSiteId, options ListSitePermissionsOperationOptions, predicate PermissionOperationPredicate) (result ListSitePermissionsCompleteResult, err error)
ListSitePermissionsCompleteMatchingPredicate retrieves all the results and then applies the predicate
func (SitePermissionClient) RevokeSitePermissionGrants ¶
func (c SitePermissionClient) RevokeSitePermissionGrants(ctx context.Context, id beta.GroupIdSiteIdPermissionId, input RevokeSitePermissionGrantsRequest, options RevokeSitePermissionGrantsOperationOptions) (result RevokeSitePermissionGrantsOperationResponse, err error)
RevokeSitePermissionGrants - Invoke action revokeGrants. Revoke access to a listItem or driveItem granted via a sharing link by removing the specified recipient from the link.
func (SitePermissionClient) UpdateSitePermission ¶
func (c SitePermissionClient) UpdateSitePermission(ctx context.Context, id beta.GroupIdSiteIdPermissionId, input beta.Permission, options UpdateSitePermissionOperationOptions) (result UpdateSitePermissionOperationResponse, err error)
UpdateSitePermission - Update the navigation property permissions in groups
type UpdateSitePermissionOperationOptions ¶
type UpdateSitePermissionOperationOptions struct { Metadata *odata.Metadata RetryFunc client.RequestRetryFunc }
func DefaultUpdateSitePermissionOperationOptions ¶
func DefaultUpdateSitePermissionOperationOptions() UpdateSitePermissionOperationOptions
func (UpdateSitePermissionOperationOptions) ToHeaders ¶
func (o UpdateSitePermissionOperationOptions) ToHeaders() *client.Headers
func (UpdateSitePermissionOperationOptions) ToOData ¶
func (o UpdateSitePermissionOperationOptions) ToOData() *odata.Query
func (UpdateSitePermissionOperationOptions) ToQuery ¶
func (o UpdateSitePermissionOperationOptions) ToQuery() *client.QueryParams
Source Files ¶
- client.go
- method_createsitepermission.go
- method_deletesitepermission.go
- method_getsitepermission.go
- method_getsitepermissionscount.go
- method_listsitepermissiongrants.go
- method_listsitepermissions.go
- method_revokesitepermissiongrants.go
- method_updatesitepermission.go
- model_listsitepermissiongrantsrequest.go
- model_revokesitepermissiongrantsrequest.go
- predicates.go
- version.go