Documentation ¶
Index ¶
- type CreateNotificationOperationOptions
- type CreateNotificationOperationResponse
- type DeleteNotificationOperationOptions
- type DeleteNotificationOperationResponse
- type GetNotificationOperationOptions
- type GetNotificationOperationResponse
- type GetNotificationsCountOperationOptions
- type GetNotificationsCountOperationResponse
- type ListNotificationsCompleteResult
- type ListNotificationsCustomPager
- type ListNotificationsOperationOptions
- type ListNotificationsOperationResponse
- type NotificationClient
- func (c NotificationClient) CreateNotification(ctx context.Context, id beta.UserId, input beta.Notification, ...) (result CreateNotificationOperationResponse, err error)
- func (c NotificationClient) DeleteNotification(ctx context.Context, id beta.UserIdNotificationId, ...) (result DeleteNotificationOperationResponse, err error)
- func (c NotificationClient) GetNotification(ctx context.Context, id beta.UserIdNotificationId, ...) (result GetNotificationOperationResponse, err error)
- func (c NotificationClient) GetNotificationsCount(ctx context.Context, id beta.UserId, ...) (result GetNotificationsCountOperationResponse, err error)
- func (c NotificationClient) ListNotifications(ctx context.Context, id beta.UserId, options ListNotificationsOperationOptions) (result ListNotificationsOperationResponse, err error)
- func (c NotificationClient) ListNotificationsComplete(ctx context.Context, id beta.UserId, options ListNotificationsOperationOptions) (ListNotificationsCompleteResult, error)
- func (c NotificationClient) ListNotificationsCompleteMatchingPredicate(ctx context.Context, id beta.UserId, options ListNotificationsOperationOptions, ...) (result ListNotificationsCompleteResult, err error)
- func (c NotificationClient) UpdateNotification(ctx context.Context, id beta.UserIdNotificationId, input beta.Notification, ...) (result UpdateNotificationOperationResponse, err error)
- type NotificationOperationPredicate
- type UpdateNotificationOperationOptions
- type UpdateNotificationOperationResponse
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CreateNotificationOperationOptions ¶
type CreateNotificationOperationOptions struct { Metadata *odata.Metadata RetryFunc client.RequestRetryFunc }
func DefaultCreateNotificationOperationOptions ¶
func DefaultCreateNotificationOperationOptions() CreateNotificationOperationOptions
func (CreateNotificationOperationOptions) ToHeaders ¶
func (o CreateNotificationOperationOptions) ToHeaders() *client.Headers
func (CreateNotificationOperationOptions) ToOData ¶
func (o CreateNotificationOperationOptions) ToOData() *odata.Query
func (CreateNotificationOperationOptions) ToQuery ¶
func (o CreateNotificationOperationOptions) ToQuery() *client.QueryParams
type DeleteNotificationOperationOptions ¶
type DeleteNotificationOperationOptions struct { IfMatch *string Metadata *odata.Metadata RetryFunc client.RequestRetryFunc }
func DefaultDeleteNotificationOperationOptions ¶
func DefaultDeleteNotificationOperationOptions() DeleteNotificationOperationOptions
func (DeleteNotificationOperationOptions) ToHeaders ¶
func (o DeleteNotificationOperationOptions) ToHeaders() *client.Headers
func (DeleteNotificationOperationOptions) ToOData ¶
func (o DeleteNotificationOperationOptions) ToOData() *odata.Query
func (DeleteNotificationOperationOptions) ToQuery ¶
func (o DeleteNotificationOperationOptions) ToQuery() *client.QueryParams
type GetNotificationOperationOptions ¶
type GetNotificationOperationOptions struct { Expand *odata.Expand Metadata *odata.Metadata RetryFunc client.RequestRetryFunc Select *[]string }
func DefaultGetNotificationOperationOptions ¶
func DefaultGetNotificationOperationOptions() GetNotificationOperationOptions
func (GetNotificationOperationOptions) ToHeaders ¶
func (o GetNotificationOperationOptions) ToHeaders() *client.Headers
func (GetNotificationOperationOptions) ToOData ¶
func (o GetNotificationOperationOptions) ToOData() *odata.Query
func (GetNotificationOperationOptions) ToQuery ¶
func (o GetNotificationOperationOptions) ToQuery() *client.QueryParams
type GetNotificationsCountOperationOptions ¶
type GetNotificationsCountOperationOptions struct { Filter *string Metadata *odata.Metadata RetryFunc client.RequestRetryFunc Search *string }
func DefaultGetNotificationsCountOperationOptions ¶
func DefaultGetNotificationsCountOperationOptions() GetNotificationsCountOperationOptions
func (GetNotificationsCountOperationOptions) ToHeaders ¶
func (o GetNotificationsCountOperationOptions) ToHeaders() *client.Headers
func (GetNotificationsCountOperationOptions) ToOData ¶
func (o GetNotificationsCountOperationOptions) ToOData() *odata.Query
func (GetNotificationsCountOperationOptions) ToQuery ¶
func (o GetNotificationsCountOperationOptions) ToQuery() *client.QueryParams
type ListNotificationsCompleteResult ¶
type ListNotificationsCompleteResult struct { LatestHttpResponse *http.Response Items []beta.Notification }
type ListNotificationsCustomPager ¶
func (*ListNotificationsCustomPager) NextPageLink ¶
func (p *ListNotificationsCustomPager) NextPageLink() *odata.Link
type ListNotificationsOperationOptions ¶
type ListNotificationsOperationOptions 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 DefaultListNotificationsOperationOptions ¶
func DefaultListNotificationsOperationOptions() ListNotificationsOperationOptions
func (ListNotificationsOperationOptions) ToHeaders ¶
func (o ListNotificationsOperationOptions) ToHeaders() *client.Headers
func (ListNotificationsOperationOptions) ToOData ¶
func (o ListNotificationsOperationOptions) ToOData() *odata.Query
func (ListNotificationsOperationOptions) ToQuery ¶
func (o ListNotificationsOperationOptions) ToQuery() *client.QueryParams
type NotificationClient ¶
func NewNotificationClientWithBaseURI ¶
func NewNotificationClientWithBaseURI(sdkApi sdkEnv.Api) (*NotificationClient, error)
func (NotificationClient) CreateNotification ¶
func (c NotificationClient) CreateNotification(ctx context.Context, id beta.UserId, input beta.Notification, options CreateNotificationOperationOptions) (result CreateNotificationOperationResponse, err error)
CreateNotification - Create new navigation property to notifications for users
func (NotificationClient) DeleteNotification ¶
func (c NotificationClient) DeleteNotification(ctx context.Context, id beta.UserIdNotificationId, options DeleteNotificationOperationOptions) (result DeleteNotificationOperationResponse, err error)
DeleteNotification - Delete navigation property notifications for users
func (NotificationClient) GetNotification ¶
func (c NotificationClient) GetNotification(ctx context.Context, id beta.UserIdNotificationId, options GetNotificationOperationOptions) (result GetNotificationOperationResponse, err error)
GetNotification - Get notifications from users
func (NotificationClient) GetNotificationsCount ¶
func (c NotificationClient) GetNotificationsCount(ctx context.Context, id beta.UserId, options GetNotificationsCountOperationOptions) (result GetNotificationsCountOperationResponse, err error)
GetNotificationsCount - Get the number of the resource
func (NotificationClient) ListNotifications ¶
func (c NotificationClient) ListNotifications(ctx context.Context, id beta.UserId, options ListNotificationsOperationOptions) (result ListNotificationsOperationResponse, err error)
ListNotifications - Get notifications from users
func (NotificationClient) ListNotificationsComplete ¶
func (c NotificationClient) ListNotificationsComplete(ctx context.Context, id beta.UserId, options ListNotificationsOperationOptions) (ListNotificationsCompleteResult, error)
ListNotificationsComplete retrieves all the results into a single object
func (NotificationClient) ListNotificationsCompleteMatchingPredicate ¶
func (c NotificationClient) ListNotificationsCompleteMatchingPredicate(ctx context.Context, id beta.UserId, options ListNotificationsOperationOptions, predicate NotificationOperationPredicate) (result ListNotificationsCompleteResult, err error)
ListNotificationsCompleteMatchingPredicate retrieves all the results and then applies the predicate
func (NotificationClient) UpdateNotification ¶
func (c NotificationClient) UpdateNotification(ctx context.Context, id beta.UserIdNotificationId, input beta.Notification, options UpdateNotificationOperationOptions) (result UpdateNotificationOperationResponse, err error)
UpdateNotification - Update the navigation property notifications in users
type NotificationOperationPredicate ¶
type NotificationOperationPredicate struct { }
func (NotificationOperationPredicate) Matches ¶
func (p NotificationOperationPredicate) Matches(input beta.Notification) bool
type UpdateNotificationOperationOptions ¶
type UpdateNotificationOperationOptions struct { Metadata *odata.Metadata RetryFunc client.RequestRetryFunc }
func DefaultUpdateNotificationOperationOptions ¶
func DefaultUpdateNotificationOperationOptions() UpdateNotificationOperationOptions
func (UpdateNotificationOperationOptions) ToHeaders ¶
func (o UpdateNotificationOperationOptions) ToHeaders() *client.Headers
func (UpdateNotificationOperationOptions) ToOData ¶
func (o UpdateNotificationOperationOptions) ToOData() *odata.Query
func (UpdateNotificationOperationOptions) ToQuery ¶
func (o UpdateNotificationOperationOptions) ToQuery() *client.QueryParams
Click to show internal directories.
Click to hide internal directories.