Documentation ¶
Index ¶
- type ChatPermissionGrantClient
- func (c ChatPermissionGrantClient) CreateChatPermissionGrant(ctx context.Context, id stable.UserIdChatId, ...) (result CreateChatPermissionGrantOperationResponse, err error)
- func (c ChatPermissionGrantClient) DeleteChatPermissionGrant(ctx context.Context, id stable.UserIdChatIdPermissionGrantId, ...) (result DeleteChatPermissionGrantOperationResponse, err error)
- func (c ChatPermissionGrantClient) GetChatPermissionGrant(ctx context.Context, id stable.UserIdChatIdPermissionGrantId, ...) (result GetChatPermissionGrantOperationResponse, err error)
- func (c ChatPermissionGrantClient) GetChatPermissionGrantsCount(ctx context.Context, id stable.UserIdChatId, ...) (result GetChatPermissionGrantsCountOperationResponse, err error)
- func (c ChatPermissionGrantClient) ListChatPermissionGrants(ctx context.Context, id stable.UserIdChatId, ...) (result ListChatPermissionGrantsOperationResponse, err error)
- func (c ChatPermissionGrantClient) ListChatPermissionGrantsComplete(ctx context.Context, id stable.UserIdChatId, ...) (ListChatPermissionGrantsCompleteResult, error)
- func (c ChatPermissionGrantClient) ListChatPermissionGrantsCompleteMatchingPredicate(ctx context.Context, id stable.UserIdChatId, ...) (result ListChatPermissionGrantsCompleteResult, err error)
- func (c ChatPermissionGrantClient) UpdateChatPermissionGrant(ctx context.Context, id stable.UserIdChatIdPermissionGrantId, ...) (result UpdateChatPermissionGrantOperationResponse, err error)
- type CreateChatPermissionGrantOperationOptions
- type CreateChatPermissionGrantOperationResponse
- type DeleteChatPermissionGrantOperationOptions
- type DeleteChatPermissionGrantOperationResponse
- type GetChatPermissionGrantOperationOptions
- type GetChatPermissionGrantOperationResponse
- type GetChatPermissionGrantsCountOperationOptions
- type GetChatPermissionGrantsCountOperationResponse
- type ListChatPermissionGrantsCompleteResult
- type ListChatPermissionGrantsCustomPager
- type ListChatPermissionGrantsOperationOptions
- type ListChatPermissionGrantsOperationResponse
- type ResourceSpecificPermissionGrantOperationPredicate
- type UpdateChatPermissionGrantOperationOptions
- type UpdateChatPermissionGrantOperationResponse
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ChatPermissionGrantClient ¶
func NewChatPermissionGrantClientWithBaseURI ¶
func NewChatPermissionGrantClientWithBaseURI(sdkApi sdkEnv.Api) (*ChatPermissionGrantClient, error)
func (ChatPermissionGrantClient) CreateChatPermissionGrant ¶
func (c ChatPermissionGrantClient) CreateChatPermissionGrant(ctx context.Context, id stable.UserIdChatId, input stable.ResourceSpecificPermissionGrant, options CreateChatPermissionGrantOperationOptions) (result CreateChatPermissionGrantOperationResponse, err error)
CreateChatPermissionGrant - Create new navigation property to permissionGrants for users
func (ChatPermissionGrantClient) DeleteChatPermissionGrant ¶
func (c ChatPermissionGrantClient) DeleteChatPermissionGrant(ctx context.Context, id stable.UserIdChatIdPermissionGrantId, options DeleteChatPermissionGrantOperationOptions) (result DeleteChatPermissionGrantOperationResponse, err error)
DeleteChatPermissionGrant - Delete navigation property permissionGrants for users
func (ChatPermissionGrantClient) GetChatPermissionGrant ¶
func (c ChatPermissionGrantClient) GetChatPermissionGrant(ctx context.Context, id stable.UserIdChatIdPermissionGrantId, options GetChatPermissionGrantOperationOptions) (result GetChatPermissionGrantOperationResponse, err error)
GetChatPermissionGrant - Get permissionGrants from users. A collection of permissions granted to apps for the chat.
func (ChatPermissionGrantClient) GetChatPermissionGrantsCount ¶
func (c ChatPermissionGrantClient) GetChatPermissionGrantsCount(ctx context.Context, id stable.UserIdChatId, options GetChatPermissionGrantsCountOperationOptions) (result GetChatPermissionGrantsCountOperationResponse, err error)
GetChatPermissionGrantsCount - Get the number of the resource
func (ChatPermissionGrantClient) ListChatPermissionGrants ¶
func (c ChatPermissionGrantClient) ListChatPermissionGrants(ctx context.Context, id stable.UserIdChatId, options ListChatPermissionGrantsOperationOptions) (result ListChatPermissionGrantsOperationResponse, err error)
ListChatPermissionGrants - Get permissionGrants from users. A collection of permissions granted to apps for the chat.
func (ChatPermissionGrantClient) ListChatPermissionGrantsComplete ¶
func (c ChatPermissionGrantClient) ListChatPermissionGrantsComplete(ctx context.Context, id stable.UserIdChatId, options ListChatPermissionGrantsOperationOptions) (ListChatPermissionGrantsCompleteResult, error)
ListChatPermissionGrantsComplete retrieves all the results into a single object
func (ChatPermissionGrantClient) ListChatPermissionGrantsCompleteMatchingPredicate ¶
func (c ChatPermissionGrantClient) ListChatPermissionGrantsCompleteMatchingPredicate(ctx context.Context, id stable.UserIdChatId, options ListChatPermissionGrantsOperationOptions, predicate ResourceSpecificPermissionGrantOperationPredicate) (result ListChatPermissionGrantsCompleteResult, err error)
ListChatPermissionGrantsCompleteMatchingPredicate retrieves all the results and then applies the predicate
func (ChatPermissionGrantClient) UpdateChatPermissionGrant ¶
func (c ChatPermissionGrantClient) UpdateChatPermissionGrant(ctx context.Context, id stable.UserIdChatIdPermissionGrantId, input stable.ResourceSpecificPermissionGrant, options UpdateChatPermissionGrantOperationOptions) (result UpdateChatPermissionGrantOperationResponse, err error)
UpdateChatPermissionGrant - Update the navigation property permissionGrants in users
type CreateChatPermissionGrantOperationOptions ¶
type CreateChatPermissionGrantOperationOptions struct { Metadata *odata.Metadata RetryFunc client.RequestRetryFunc }
func DefaultCreateChatPermissionGrantOperationOptions ¶
func DefaultCreateChatPermissionGrantOperationOptions() CreateChatPermissionGrantOperationOptions
func (CreateChatPermissionGrantOperationOptions) ToHeaders ¶
func (o CreateChatPermissionGrantOperationOptions) ToHeaders() *client.Headers
func (CreateChatPermissionGrantOperationOptions) ToOData ¶
func (o CreateChatPermissionGrantOperationOptions) ToOData() *odata.Query
func (CreateChatPermissionGrantOperationOptions) ToQuery ¶
func (o CreateChatPermissionGrantOperationOptions) ToQuery() *client.QueryParams
type DeleteChatPermissionGrantOperationOptions ¶
type DeleteChatPermissionGrantOperationOptions struct { IfMatch *string Metadata *odata.Metadata RetryFunc client.RequestRetryFunc }
func DefaultDeleteChatPermissionGrantOperationOptions ¶
func DefaultDeleteChatPermissionGrantOperationOptions() DeleteChatPermissionGrantOperationOptions
func (DeleteChatPermissionGrantOperationOptions) ToHeaders ¶
func (o DeleteChatPermissionGrantOperationOptions) ToHeaders() *client.Headers
func (DeleteChatPermissionGrantOperationOptions) ToOData ¶
func (o DeleteChatPermissionGrantOperationOptions) ToOData() *odata.Query
func (DeleteChatPermissionGrantOperationOptions) ToQuery ¶
func (o DeleteChatPermissionGrantOperationOptions) ToQuery() *client.QueryParams
type GetChatPermissionGrantOperationOptions ¶
type GetChatPermissionGrantOperationOptions struct { Expand *odata.Expand Metadata *odata.Metadata RetryFunc client.RequestRetryFunc Select *[]string }
func DefaultGetChatPermissionGrantOperationOptions ¶
func DefaultGetChatPermissionGrantOperationOptions() GetChatPermissionGrantOperationOptions
func (GetChatPermissionGrantOperationOptions) ToHeaders ¶
func (o GetChatPermissionGrantOperationOptions) ToHeaders() *client.Headers
func (GetChatPermissionGrantOperationOptions) ToOData ¶
func (o GetChatPermissionGrantOperationOptions) ToOData() *odata.Query
func (GetChatPermissionGrantOperationOptions) ToQuery ¶
func (o GetChatPermissionGrantOperationOptions) ToQuery() *client.QueryParams
type GetChatPermissionGrantsCountOperationOptions ¶
type GetChatPermissionGrantsCountOperationOptions struct { Filter *string Metadata *odata.Metadata RetryFunc client.RequestRetryFunc Search *string }
func DefaultGetChatPermissionGrantsCountOperationOptions ¶
func DefaultGetChatPermissionGrantsCountOperationOptions() GetChatPermissionGrantsCountOperationOptions
func (GetChatPermissionGrantsCountOperationOptions) ToHeaders ¶
func (o GetChatPermissionGrantsCountOperationOptions) ToHeaders() *client.Headers
func (GetChatPermissionGrantsCountOperationOptions) ToOData ¶
func (o GetChatPermissionGrantsCountOperationOptions) ToOData() *odata.Query
func (GetChatPermissionGrantsCountOperationOptions) ToQuery ¶
func (o GetChatPermissionGrantsCountOperationOptions) ToQuery() *client.QueryParams
type ListChatPermissionGrantsCompleteResult ¶
type ListChatPermissionGrantsCompleteResult struct { LatestHttpResponse *http.Response Items []stable.ResourceSpecificPermissionGrant }
type ListChatPermissionGrantsCustomPager ¶
func (*ListChatPermissionGrantsCustomPager) NextPageLink ¶
func (p *ListChatPermissionGrantsCustomPager) NextPageLink() *odata.Link
type ListChatPermissionGrantsOperationOptions ¶
type ListChatPermissionGrantsOperationOptions 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 DefaultListChatPermissionGrantsOperationOptions ¶
func DefaultListChatPermissionGrantsOperationOptions() ListChatPermissionGrantsOperationOptions
func (ListChatPermissionGrantsOperationOptions) ToHeaders ¶
func (o ListChatPermissionGrantsOperationOptions) ToHeaders() *client.Headers
func (ListChatPermissionGrantsOperationOptions) ToOData ¶
func (o ListChatPermissionGrantsOperationOptions) ToOData() *odata.Query
func (ListChatPermissionGrantsOperationOptions) ToQuery ¶
func (o ListChatPermissionGrantsOperationOptions) ToQuery() *client.QueryParams
type ResourceSpecificPermissionGrantOperationPredicate ¶
type ResourceSpecificPermissionGrantOperationPredicate struct { }
func (ResourceSpecificPermissionGrantOperationPredicate) Matches ¶
func (p ResourceSpecificPermissionGrantOperationPredicate) Matches(input stable.ResourceSpecificPermissionGrant) bool
type UpdateChatPermissionGrantOperationOptions ¶
type UpdateChatPermissionGrantOperationOptions struct { Metadata *odata.Metadata RetryFunc client.RequestRetryFunc }
func DefaultUpdateChatPermissionGrantOperationOptions ¶
func DefaultUpdateChatPermissionGrantOperationOptions() UpdateChatPermissionGrantOperationOptions
func (UpdateChatPermissionGrantOperationOptions) ToHeaders ¶
func (o UpdateChatPermissionGrantOperationOptions) ToHeaders() *client.Headers
func (UpdateChatPermissionGrantOperationOptions) ToOData ¶
func (o UpdateChatPermissionGrantOperationOptions) ToOData() *odata.Query
func (UpdateChatPermissionGrantOperationOptions) ToQuery ¶
func (o UpdateChatPermissionGrantOperationOptions) ToQuery() *client.QueryParams