Documentation ¶
Index ¶
- type CreateSiteListPermissionOperationOptions
- type CreateSiteListPermissionOperationResponse
- type DeleteSiteListPermissionOperationOptions
- type DeleteSiteListPermissionOperationResponse
- type GetSiteListPermissionOperationOptions
- type GetSiteListPermissionOperationResponse
- type GetSiteListPermissionsCountOperationOptions
- type GetSiteListPermissionsCountOperationResponse
- type ListSiteListPermissionGrantsCompleteResult
- type ListSiteListPermissionGrantsCustomPager
- type ListSiteListPermissionGrantsOperationOptions
- type ListSiteListPermissionGrantsOperationResponse
- type ListSiteListPermissionGrantsRequest
- type ListSiteListPermissionsCompleteResult
- type ListSiteListPermissionsCustomPager
- type ListSiteListPermissionsOperationOptions
- type ListSiteListPermissionsOperationResponse
- type PermissionOperationPredicate
- type RevokeSiteListPermissionGrantsOperationOptions
- type RevokeSiteListPermissionGrantsOperationResponse
- type RevokeSiteListPermissionGrantsRequest
- type SiteListPermissionClient
- func (c SiteListPermissionClient) CreateSiteListPermission(ctx context.Context, id beta.GroupIdSiteIdListId, input beta.Permission, ...) (result CreateSiteListPermissionOperationResponse, err error)
- func (c SiteListPermissionClient) DeleteSiteListPermission(ctx context.Context, id beta.GroupIdSiteIdListIdPermissionId, ...) (result DeleteSiteListPermissionOperationResponse, err error)
- func (c SiteListPermissionClient) GetSiteListPermission(ctx context.Context, id beta.GroupIdSiteIdListIdPermissionId, ...) (result GetSiteListPermissionOperationResponse, err error)
- func (c SiteListPermissionClient) GetSiteListPermissionsCount(ctx context.Context, id beta.GroupIdSiteIdListId, ...) (result GetSiteListPermissionsCountOperationResponse, err error)
- func (c SiteListPermissionClient) ListSiteListPermissionGrants(ctx context.Context, id beta.GroupIdSiteIdListIdPermissionId, ...) (result ListSiteListPermissionGrantsOperationResponse, err error)
- func (c SiteListPermissionClient) ListSiteListPermissionGrantsComplete(ctx context.Context, id beta.GroupIdSiteIdListIdPermissionId, ...) (ListSiteListPermissionGrantsCompleteResult, error)
- func (c SiteListPermissionClient) ListSiteListPermissionGrantsCompleteMatchingPredicate(ctx context.Context, id beta.GroupIdSiteIdListIdPermissionId, ...) (result ListSiteListPermissionGrantsCompleteResult, err error)
- func (c SiteListPermissionClient) ListSiteListPermissions(ctx context.Context, id beta.GroupIdSiteIdListId, ...) (result ListSiteListPermissionsOperationResponse, err error)
- func (c SiteListPermissionClient) ListSiteListPermissionsComplete(ctx context.Context, id beta.GroupIdSiteIdListId, ...) (ListSiteListPermissionsCompleteResult, error)
- func (c SiteListPermissionClient) ListSiteListPermissionsCompleteMatchingPredicate(ctx context.Context, id beta.GroupIdSiteIdListId, ...) (result ListSiteListPermissionsCompleteResult, err error)
- func (c SiteListPermissionClient) RevokeSiteListPermissionGrants(ctx context.Context, id beta.GroupIdSiteIdListIdPermissionId, ...) (result RevokeSiteListPermissionGrantsOperationResponse, err error)
- func (c SiteListPermissionClient) UpdateSiteListPermission(ctx context.Context, id beta.GroupIdSiteIdListIdPermissionId, ...) (result UpdateSiteListPermissionOperationResponse, err error)
- type UpdateSiteListPermissionOperationOptions
- type UpdateSiteListPermissionOperationResponse
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CreateSiteListPermissionOperationOptions ¶
type CreateSiteListPermissionOperationOptions struct { Metadata *odata.Metadata RetryFunc client.RequestRetryFunc }
func DefaultCreateSiteListPermissionOperationOptions ¶
func DefaultCreateSiteListPermissionOperationOptions() CreateSiteListPermissionOperationOptions
func (CreateSiteListPermissionOperationOptions) ToHeaders ¶
func (o CreateSiteListPermissionOperationOptions) ToHeaders() *client.Headers
func (CreateSiteListPermissionOperationOptions) ToOData ¶
func (o CreateSiteListPermissionOperationOptions) ToOData() *odata.Query
func (CreateSiteListPermissionOperationOptions) ToQuery ¶
func (o CreateSiteListPermissionOperationOptions) ToQuery() *client.QueryParams
type DeleteSiteListPermissionOperationOptions ¶
type DeleteSiteListPermissionOperationOptions struct { IfMatch *string Metadata *odata.Metadata RetryFunc client.RequestRetryFunc }
func DefaultDeleteSiteListPermissionOperationOptions ¶
func DefaultDeleteSiteListPermissionOperationOptions() DeleteSiteListPermissionOperationOptions
func (DeleteSiteListPermissionOperationOptions) ToHeaders ¶
func (o DeleteSiteListPermissionOperationOptions) ToHeaders() *client.Headers
func (DeleteSiteListPermissionOperationOptions) ToOData ¶
func (o DeleteSiteListPermissionOperationOptions) ToOData() *odata.Query
func (DeleteSiteListPermissionOperationOptions) ToQuery ¶
func (o DeleteSiteListPermissionOperationOptions) ToQuery() *client.QueryParams
type GetSiteListPermissionOperationOptions ¶
type GetSiteListPermissionOperationOptions struct { Expand *odata.Expand Metadata *odata.Metadata RetryFunc client.RequestRetryFunc Select *[]string }
func DefaultGetSiteListPermissionOperationOptions ¶
func DefaultGetSiteListPermissionOperationOptions() GetSiteListPermissionOperationOptions
func (GetSiteListPermissionOperationOptions) ToHeaders ¶
func (o GetSiteListPermissionOperationOptions) ToHeaders() *client.Headers
func (GetSiteListPermissionOperationOptions) ToOData ¶
func (o GetSiteListPermissionOperationOptions) ToOData() *odata.Query
func (GetSiteListPermissionOperationOptions) ToQuery ¶
func (o GetSiteListPermissionOperationOptions) ToQuery() *client.QueryParams
type GetSiteListPermissionsCountOperationOptions ¶
type GetSiteListPermissionsCountOperationOptions struct { Filter *string Metadata *odata.Metadata RetryFunc client.RequestRetryFunc Search *string }
func DefaultGetSiteListPermissionsCountOperationOptions ¶
func DefaultGetSiteListPermissionsCountOperationOptions() GetSiteListPermissionsCountOperationOptions
func (GetSiteListPermissionsCountOperationOptions) ToHeaders ¶
func (o GetSiteListPermissionsCountOperationOptions) ToHeaders() *client.Headers
func (GetSiteListPermissionsCountOperationOptions) ToOData ¶
func (o GetSiteListPermissionsCountOperationOptions) ToOData() *odata.Query
func (GetSiteListPermissionsCountOperationOptions) ToQuery ¶
func (o GetSiteListPermissionsCountOperationOptions) ToQuery() *client.QueryParams
type ListSiteListPermissionGrantsCompleteResult ¶
type ListSiteListPermissionGrantsCompleteResult struct { LatestHttpResponse *http.Response Items []beta.Permission }
type ListSiteListPermissionGrantsCustomPager ¶
type ListSiteListPermissionGrantsCustomPager struct {
NextLink *odata.Link `json:"@odata.nextLink"`
}
func (*ListSiteListPermissionGrantsCustomPager) NextPageLink ¶
func (p *ListSiteListPermissionGrantsCustomPager) NextPageLink() *odata.Link
type ListSiteListPermissionGrantsOperationOptions ¶
type ListSiteListPermissionGrantsOperationOptions struct { Metadata *odata.Metadata RetryFunc client.RequestRetryFunc Skip *int64 Top *int64 }
func DefaultListSiteListPermissionGrantsOperationOptions ¶
func DefaultListSiteListPermissionGrantsOperationOptions() ListSiteListPermissionGrantsOperationOptions
func (ListSiteListPermissionGrantsOperationOptions) ToHeaders ¶
func (o ListSiteListPermissionGrantsOperationOptions) ToHeaders() *client.Headers
func (ListSiteListPermissionGrantsOperationOptions) ToOData ¶
func (o ListSiteListPermissionGrantsOperationOptions) ToOData() *odata.Query
func (ListSiteListPermissionGrantsOperationOptions) ToQuery ¶
func (o ListSiteListPermissionGrantsOperationOptions) ToQuery() *client.QueryParams
type ListSiteListPermissionGrantsRequest ¶
type ListSiteListPermissionGrantsRequest struct { Recipients *[]beta.DriveRecipient `json:"recipients,omitempty"` Roles *[]string `json:"roles,omitempty"` }
type ListSiteListPermissionsCompleteResult ¶
type ListSiteListPermissionsCompleteResult struct { LatestHttpResponse *http.Response Items []beta.Permission }
type ListSiteListPermissionsCustomPager ¶
func (*ListSiteListPermissionsCustomPager) NextPageLink ¶
func (p *ListSiteListPermissionsCustomPager) NextPageLink() *odata.Link
type ListSiteListPermissionsOperationOptions ¶
type ListSiteListPermissionsOperationOptions 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 DefaultListSiteListPermissionsOperationOptions ¶
func DefaultListSiteListPermissionsOperationOptions() ListSiteListPermissionsOperationOptions
func (ListSiteListPermissionsOperationOptions) ToHeaders ¶
func (o ListSiteListPermissionsOperationOptions) ToHeaders() *client.Headers
func (ListSiteListPermissionsOperationOptions) ToOData ¶
func (o ListSiteListPermissionsOperationOptions) ToOData() *odata.Query
func (ListSiteListPermissionsOperationOptions) ToQuery ¶
func (o ListSiteListPermissionsOperationOptions) ToQuery() *client.QueryParams
type PermissionOperationPredicate ¶
type PermissionOperationPredicate struct { }
func (PermissionOperationPredicate) Matches ¶
func (p PermissionOperationPredicate) Matches(input beta.Permission) bool
type RevokeSiteListPermissionGrantsOperationOptions ¶
type RevokeSiteListPermissionGrantsOperationOptions struct { Metadata *odata.Metadata RetryFunc client.RequestRetryFunc }
func DefaultRevokeSiteListPermissionGrantsOperationOptions ¶
func DefaultRevokeSiteListPermissionGrantsOperationOptions() RevokeSiteListPermissionGrantsOperationOptions
func (RevokeSiteListPermissionGrantsOperationOptions) ToHeaders ¶
func (o RevokeSiteListPermissionGrantsOperationOptions) ToHeaders() *client.Headers
func (RevokeSiteListPermissionGrantsOperationOptions) ToOData ¶
func (o RevokeSiteListPermissionGrantsOperationOptions) ToOData() *odata.Query
func (RevokeSiteListPermissionGrantsOperationOptions) ToQuery ¶
func (o RevokeSiteListPermissionGrantsOperationOptions) ToQuery() *client.QueryParams
type RevokeSiteListPermissionGrantsRequest ¶
type RevokeSiteListPermissionGrantsRequest struct {
Grantees *[]beta.DriveRecipient `json:"grantees,omitempty"`
}
type SiteListPermissionClient ¶
func NewSiteListPermissionClientWithBaseURI ¶
func NewSiteListPermissionClientWithBaseURI(sdkApi sdkEnv.Api) (*SiteListPermissionClient, error)
func (SiteListPermissionClient) CreateSiteListPermission ¶
func (c SiteListPermissionClient) CreateSiteListPermission(ctx context.Context, id beta.GroupIdSiteIdListId, input beta.Permission, options CreateSiteListPermissionOperationOptions) (result CreateSiteListPermissionOperationResponse, err error)
CreateSiteListPermission - Create new navigation property to permissions for groups
func (SiteListPermissionClient) DeleteSiteListPermission ¶
func (c SiteListPermissionClient) DeleteSiteListPermission(ctx context.Context, id beta.GroupIdSiteIdListIdPermissionId, options DeleteSiteListPermissionOperationOptions) (result DeleteSiteListPermissionOperationResponse, err error)
DeleteSiteListPermission - Delete navigation property permissions for groups
func (SiteListPermissionClient) GetSiteListPermission ¶
func (c SiteListPermissionClient) GetSiteListPermission(ctx context.Context, id beta.GroupIdSiteIdListIdPermissionId, options GetSiteListPermissionOperationOptions) (result GetSiteListPermissionOperationResponse, err error)
GetSiteListPermission - Get permissions from groups. The set of permissions for the item. Read-only. Nullable.
func (SiteListPermissionClient) GetSiteListPermissionsCount ¶
func (c SiteListPermissionClient) GetSiteListPermissionsCount(ctx context.Context, id beta.GroupIdSiteIdListId, options GetSiteListPermissionsCountOperationOptions) (result GetSiteListPermissionsCountOperationResponse, err error)
GetSiteListPermissionsCount - Get the number of the resource
func (SiteListPermissionClient) ListSiteListPermissionGrants ¶
func (c SiteListPermissionClient) ListSiteListPermissionGrants(ctx context.Context, id beta.GroupIdSiteIdListIdPermissionId, input ListSiteListPermissionGrantsRequest, options ListSiteListPermissionGrantsOperationOptions) (result ListSiteListPermissionGrantsOperationResponse, err error)
ListSiteListPermissionGrants - Invoke action grant. Grant users access to a link represented by a permission.
func (SiteListPermissionClient) ListSiteListPermissionGrantsComplete ¶
func (c SiteListPermissionClient) ListSiteListPermissionGrantsComplete(ctx context.Context, id beta.GroupIdSiteIdListIdPermissionId, input ListSiteListPermissionGrantsRequest, options ListSiteListPermissionGrantsOperationOptions) (ListSiteListPermissionGrantsCompleteResult, error)
ListSiteListPermissionGrantsComplete retrieves all the results into a single object
func (SiteListPermissionClient) ListSiteListPermissionGrantsCompleteMatchingPredicate ¶
func (c SiteListPermissionClient) ListSiteListPermissionGrantsCompleteMatchingPredicate(ctx context.Context, id beta.GroupIdSiteIdListIdPermissionId, input ListSiteListPermissionGrantsRequest, options ListSiteListPermissionGrantsOperationOptions, predicate PermissionOperationPredicate) (result ListSiteListPermissionGrantsCompleteResult, err error)
ListSiteListPermissionGrantsCompleteMatchingPredicate retrieves all the results and then applies the predicate
func (SiteListPermissionClient) ListSiteListPermissions ¶
func (c SiteListPermissionClient) ListSiteListPermissions(ctx context.Context, id beta.GroupIdSiteIdListId, options ListSiteListPermissionsOperationOptions) (result ListSiteListPermissionsOperationResponse, err error)
ListSiteListPermissions - Get permissions from groups. The set of permissions for the item. Read-only. Nullable.
func (SiteListPermissionClient) ListSiteListPermissionsComplete ¶
func (c SiteListPermissionClient) ListSiteListPermissionsComplete(ctx context.Context, id beta.GroupIdSiteIdListId, options ListSiteListPermissionsOperationOptions) (ListSiteListPermissionsCompleteResult, error)
ListSiteListPermissionsComplete retrieves all the results into a single object
func (SiteListPermissionClient) ListSiteListPermissionsCompleteMatchingPredicate ¶
func (c SiteListPermissionClient) ListSiteListPermissionsCompleteMatchingPredicate(ctx context.Context, id beta.GroupIdSiteIdListId, options ListSiteListPermissionsOperationOptions, predicate PermissionOperationPredicate) (result ListSiteListPermissionsCompleteResult, err error)
ListSiteListPermissionsCompleteMatchingPredicate retrieves all the results and then applies the predicate
func (SiteListPermissionClient) RevokeSiteListPermissionGrants ¶
func (c SiteListPermissionClient) RevokeSiteListPermissionGrants(ctx context.Context, id beta.GroupIdSiteIdListIdPermissionId, input RevokeSiteListPermissionGrantsRequest, options RevokeSiteListPermissionGrantsOperationOptions) (result RevokeSiteListPermissionGrantsOperationResponse, err error)
RevokeSiteListPermissionGrants - Invoke action revokeGrants. Revoke access to a listItem or driveItem granted via a sharing link by removing the specified recipient from the link.
func (SiteListPermissionClient) UpdateSiteListPermission ¶
func (c SiteListPermissionClient) UpdateSiteListPermission(ctx context.Context, id beta.GroupIdSiteIdListIdPermissionId, input beta.Permission, options UpdateSiteListPermissionOperationOptions) (result UpdateSiteListPermissionOperationResponse, err error)
UpdateSiteListPermission - Update the navigation property permissions in groups
type UpdateSiteListPermissionOperationOptions ¶
type UpdateSiteListPermissionOperationOptions struct { Metadata *odata.Metadata RetryFunc client.RequestRetryFunc }
func DefaultUpdateSiteListPermissionOperationOptions ¶
func DefaultUpdateSiteListPermissionOperationOptions() UpdateSiteListPermissionOperationOptions
func (UpdateSiteListPermissionOperationOptions) ToHeaders ¶
func (o UpdateSiteListPermissionOperationOptions) ToHeaders() *client.Headers
func (UpdateSiteListPermissionOperationOptions) ToOData ¶
func (o UpdateSiteListPermissionOperationOptions) ToOData() *odata.Query
func (UpdateSiteListPermissionOperationOptions) ToQuery ¶
func (o UpdateSiteListPermissionOperationOptions) ToQuery() *client.QueryParams
Source Files ¶
- client.go
- method_createsitelistpermission.go
- method_deletesitelistpermission.go
- method_getsitelistpermission.go
- method_getsitelistpermissionscount.go
- method_listsitelistpermissiongrants.go
- method_listsitelistpermissions.go
- method_revokesitelistpermissiongrants.go
- method_updatesitelistpermission.go
- model_listsitelistpermissiongrantsrequest.go
- model_revokesitelistpermissiongrantsrequest.go
- predicates.go
- version.go