Documentation ¶
Index ¶
- type CreatePermissionGrantOperationOptions
- type CreatePermissionGrantOperationResponse
- type DeletePermissionGrantOperationOptions
- type DeletePermissionGrantOperationResponse
- type GetPermissionGrantOperationOptions
- type GetPermissionGrantOperationResponse
- type GetPermissionGrantsCountOperationOptions
- type GetPermissionGrantsCountOperationResponse
- type ListPermissionGrantsCompleteResult
- type ListPermissionGrantsCustomPager
- type ListPermissionGrantsOperationOptions
- type ListPermissionGrantsOperationResponse
- type PermissionGrantClient
- func (c PermissionGrantClient) CreatePermissionGrant(ctx context.Context, input stable.ResourceSpecificPermissionGrant, ...) (result CreatePermissionGrantOperationResponse, err error)
- func (c PermissionGrantClient) DeletePermissionGrant(ctx context.Context, id stable.MePermissionGrantId, ...) (result DeletePermissionGrantOperationResponse, err error)
- func (c PermissionGrantClient) GetPermissionGrant(ctx context.Context, id stable.MePermissionGrantId, ...) (result GetPermissionGrantOperationResponse, err error)
- func (c PermissionGrantClient) GetPermissionGrantsCount(ctx context.Context, options GetPermissionGrantsCountOperationOptions) (result GetPermissionGrantsCountOperationResponse, err error)
- func (c PermissionGrantClient) ListPermissionGrants(ctx context.Context, options ListPermissionGrantsOperationOptions) (result ListPermissionGrantsOperationResponse, err error)
- func (c PermissionGrantClient) ListPermissionGrantsComplete(ctx context.Context, options ListPermissionGrantsOperationOptions) (ListPermissionGrantsCompleteResult, error)
- func (c PermissionGrantClient) ListPermissionGrantsCompleteMatchingPredicate(ctx context.Context, options ListPermissionGrantsOperationOptions, ...) (result ListPermissionGrantsCompleteResult, err error)
- func (c PermissionGrantClient) UpdatePermissionGrant(ctx context.Context, id stable.MePermissionGrantId, ...) (result UpdatePermissionGrantOperationResponse, err error)
- type ResourceSpecificPermissionGrantOperationPredicate
- type UpdatePermissionGrantOperationOptions
- type UpdatePermissionGrantOperationResponse
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CreatePermissionGrantOperationOptions ¶
type CreatePermissionGrantOperationOptions struct { Metadata *odata.Metadata RetryFunc client.RequestRetryFunc }
func DefaultCreatePermissionGrantOperationOptions ¶
func DefaultCreatePermissionGrantOperationOptions() CreatePermissionGrantOperationOptions
func (CreatePermissionGrantOperationOptions) ToHeaders ¶
func (o CreatePermissionGrantOperationOptions) ToHeaders() *client.Headers
func (CreatePermissionGrantOperationOptions) ToOData ¶
func (o CreatePermissionGrantOperationOptions) ToOData() *odata.Query
func (CreatePermissionGrantOperationOptions) ToQuery ¶
func (o CreatePermissionGrantOperationOptions) ToQuery() *client.QueryParams
type DeletePermissionGrantOperationOptions ¶
type DeletePermissionGrantOperationOptions struct { IfMatch *string Metadata *odata.Metadata RetryFunc client.RequestRetryFunc }
func DefaultDeletePermissionGrantOperationOptions ¶
func DefaultDeletePermissionGrantOperationOptions() DeletePermissionGrantOperationOptions
func (DeletePermissionGrantOperationOptions) ToHeaders ¶
func (o DeletePermissionGrantOperationOptions) ToHeaders() *client.Headers
func (DeletePermissionGrantOperationOptions) ToOData ¶
func (o DeletePermissionGrantOperationOptions) ToOData() *odata.Query
func (DeletePermissionGrantOperationOptions) ToQuery ¶
func (o DeletePermissionGrantOperationOptions) ToQuery() *client.QueryParams
type GetPermissionGrantOperationOptions ¶
type GetPermissionGrantOperationOptions struct { Expand *odata.Expand Metadata *odata.Metadata RetryFunc client.RequestRetryFunc Select *[]string }
func DefaultGetPermissionGrantOperationOptions ¶
func DefaultGetPermissionGrantOperationOptions() GetPermissionGrantOperationOptions
func (GetPermissionGrantOperationOptions) ToHeaders ¶
func (o GetPermissionGrantOperationOptions) ToHeaders() *client.Headers
func (GetPermissionGrantOperationOptions) ToOData ¶
func (o GetPermissionGrantOperationOptions) ToOData() *odata.Query
func (GetPermissionGrantOperationOptions) ToQuery ¶
func (o GetPermissionGrantOperationOptions) ToQuery() *client.QueryParams
type GetPermissionGrantsCountOperationOptions ¶
type GetPermissionGrantsCountOperationOptions struct { Filter *string Metadata *odata.Metadata RetryFunc client.RequestRetryFunc Search *string }
func DefaultGetPermissionGrantsCountOperationOptions ¶
func DefaultGetPermissionGrantsCountOperationOptions() GetPermissionGrantsCountOperationOptions
func (GetPermissionGrantsCountOperationOptions) ToHeaders ¶
func (o GetPermissionGrantsCountOperationOptions) ToHeaders() *client.Headers
func (GetPermissionGrantsCountOperationOptions) ToOData ¶
func (o GetPermissionGrantsCountOperationOptions) ToOData() *odata.Query
func (GetPermissionGrantsCountOperationOptions) ToQuery ¶
func (o GetPermissionGrantsCountOperationOptions) ToQuery() *client.QueryParams
type ListPermissionGrantsCompleteResult ¶
type ListPermissionGrantsCompleteResult struct { LatestHttpResponse *http.Response Items []stable.ResourceSpecificPermissionGrant }
type ListPermissionGrantsCustomPager ¶
func (*ListPermissionGrantsCustomPager) NextPageLink ¶
func (p *ListPermissionGrantsCustomPager) NextPageLink() *odata.Link
type ListPermissionGrantsOperationOptions ¶
type ListPermissionGrantsOperationOptions 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 DefaultListPermissionGrantsOperationOptions ¶
func DefaultListPermissionGrantsOperationOptions() ListPermissionGrantsOperationOptions
func (ListPermissionGrantsOperationOptions) ToHeaders ¶
func (o ListPermissionGrantsOperationOptions) ToHeaders() *client.Headers
func (ListPermissionGrantsOperationOptions) ToOData ¶
func (o ListPermissionGrantsOperationOptions) ToOData() *odata.Query
func (ListPermissionGrantsOperationOptions) ToQuery ¶
func (o ListPermissionGrantsOperationOptions) ToQuery() *client.QueryParams
type PermissionGrantClient ¶
func NewPermissionGrantClientWithBaseURI ¶
func NewPermissionGrantClientWithBaseURI(sdkApi sdkEnv.Api) (*PermissionGrantClient, error)
func (PermissionGrantClient) CreatePermissionGrant ¶
func (c PermissionGrantClient) CreatePermissionGrant(ctx context.Context, input stable.ResourceSpecificPermissionGrant, options CreatePermissionGrantOperationOptions) (result CreatePermissionGrantOperationResponse, err error)
CreatePermissionGrant - Create new navigation property to permissionGrants for me
func (PermissionGrantClient) DeletePermissionGrant ¶
func (c PermissionGrantClient) DeletePermissionGrant(ctx context.Context, id stable.MePermissionGrantId, options DeletePermissionGrantOperationOptions) (result DeletePermissionGrantOperationResponse, err error)
DeletePermissionGrant - Delete navigation property permissionGrants for me
func (PermissionGrantClient) GetPermissionGrant ¶
func (c PermissionGrantClient) GetPermissionGrant(ctx context.Context, id stable.MePermissionGrantId, options GetPermissionGrantOperationOptions) (result GetPermissionGrantOperationResponse, err error)
GetPermissionGrant - Get permissionGrants from me. List all resource-specific permission grants of a user.
func (PermissionGrantClient) GetPermissionGrantsCount ¶
func (c PermissionGrantClient) GetPermissionGrantsCount(ctx context.Context, options GetPermissionGrantsCountOperationOptions) (result GetPermissionGrantsCountOperationResponse, err error)
GetPermissionGrantsCount - Get the number of the resource
func (PermissionGrantClient) ListPermissionGrants ¶
func (c PermissionGrantClient) ListPermissionGrants(ctx context.Context, options ListPermissionGrantsOperationOptions) (result ListPermissionGrantsOperationResponse, err error)
ListPermissionGrants - Get permissionGrants from me. List all resource-specific permission grants of a user.
func (PermissionGrantClient) ListPermissionGrantsComplete ¶
func (c PermissionGrantClient) ListPermissionGrantsComplete(ctx context.Context, options ListPermissionGrantsOperationOptions) (ListPermissionGrantsCompleteResult, error)
ListPermissionGrantsComplete retrieves all the results into a single object
func (PermissionGrantClient) ListPermissionGrantsCompleteMatchingPredicate ¶
func (c PermissionGrantClient) ListPermissionGrantsCompleteMatchingPredicate(ctx context.Context, options ListPermissionGrantsOperationOptions, predicate ResourceSpecificPermissionGrantOperationPredicate) (result ListPermissionGrantsCompleteResult, err error)
ListPermissionGrantsCompleteMatchingPredicate retrieves all the results and then applies the predicate
func (PermissionGrantClient) UpdatePermissionGrant ¶
func (c PermissionGrantClient) UpdatePermissionGrant(ctx context.Context, id stable.MePermissionGrantId, input stable.ResourceSpecificPermissionGrant, options UpdatePermissionGrantOperationOptions) (result UpdatePermissionGrantOperationResponse, err error)
UpdatePermissionGrant - Update the navigation property permissionGrants in me
type ResourceSpecificPermissionGrantOperationPredicate ¶
type ResourceSpecificPermissionGrantOperationPredicate struct { }
func (ResourceSpecificPermissionGrantOperationPredicate) Matches ¶
func (p ResourceSpecificPermissionGrantOperationPredicate) Matches(input stable.ResourceSpecificPermissionGrant) bool
type UpdatePermissionGrantOperationOptions ¶
type UpdatePermissionGrantOperationOptions struct { Metadata *odata.Metadata RetryFunc client.RequestRetryFunc }
func DefaultUpdatePermissionGrantOperationOptions ¶
func DefaultUpdatePermissionGrantOperationOptions() UpdatePermissionGrantOperationOptions
func (UpdatePermissionGrantOperationOptions) ToHeaders ¶
func (o UpdatePermissionGrantOperationOptions) ToHeaders() *client.Headers
func (UpdatePermissionGrantOperationOptions) ToOData ¶
func (o UpdatePermissionGrantOperationOptions) ToOData() *odata.Query
func (UpdatePermissionGrantOperationOptions) ToQuery ¶
func (o UpdatePermissionGrantOperationOptions) ToQuery() *client.QueryParams