Documentation ¶
Index ¶
- type ActivityClient
- func (c ActivityClient) CreateActivity(ctx context.Context, input beta.UserActivity, ...) (result CreateActivityOperationResponse, err error)
- func (c ActivityClient) DeleteActivity(ctx context.Context, id beta.MeActivityId, ...) (result DeleteActivityOperationResponse, err error)
- func (c ActivityClient) GetActivitiesCount(ctx context.Context, options GetActivitiesCountOperationOptions) (result GetActivitiesCountOperationResponse, err error)
- func (c ActivityClient) GetActivity(ctx context.Context, id beta.MeActivityId, options GetActivityOperationOptions) (result GetActivityOperationResponse, err error)
- func (c ActivityClient) ListActivities(ctx context.Context, options ListActivitiesOperationOptions) (result ListActivitiesOperationResponse, err error)
- func (c ActivityClient) ListActivitiesComplete(ctx context.Context, options ListActivitiesOperationOptions) (ListActivitiesCompleteResult, error)
- func (c ActivityClient) ListActivitiesCompleteMatchingPredicate(ctx context.Context, options ListActivitiesOperationOptions, ...) (result ListActivitiesCompleteResult, err error)
- func (c ActivityClient) UpdateActivity(ctx context.Context, id beta.MeActivityId, input beta.UserActivity, ...) (result UpdateActivityOperationResponse, err error)
- type CreateActivityOperationOptions
- type CreateActivityOperationResponse
- type DeleteActivityOperationOptions
- type DeleteActivityOperationResponse
- type GetActivitiesCountOperationOptions
- type GetActivitiesCountOperationResponse
- type GetActivityOperationOptions
- type GetActivityOperationResponse
- type ListActivitiesCompleteResult
- type ListActivitiesCustomPager
- type ListActivitiesOperationOptions
- type ListActivitiesOperationResponse
- type UpdateActivityOperationOptions
- type UpdateActivityOperationResponse
- type UserActivityOperationPredicate
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ActivityClient ¶
func NewActivityClientWithBaseURI ¶
func NewActivityClientWithBaseURI(sdkApi sdkEnv.Api) (*ActivityClient, error)
func (ActivityClient) CreateActivity ¶
func (c ActivityClient) CreateActivity(ctx context.Context, input beta.UserActivity, options CreateActivityOperationOptions) (result CreateActivityOperationResponse, err error)
CreateActivity - Create new navigation property to activities for me
func (ActivityClient) DeleteActivity ¶
func (c ActivityClient) DeleteActivity(ctx context.Context, id beta.MeActivityId, options DeleteActivityOperationOptions) (result DeleteActivityOperationResponse, err error)
DeleteActivity - Delete an activity. Delete an existing user activity for your app.
func (ActivityClient) GetActivitiesCount ¶
func (c ActivityClient) GetActivitiesCount(ctx context.Context, options GetActivitiesCountOperationOptions) (result GetActivitiesCountOperationResponse, err error)
GetActivitiesCount - Get the number of the resource
func (ActivityClient) GetActivity ¶
func (c ActivityClient) GetActivity(ctx context.Context, id beta.MeActivityId, options GetActivityOperationOptions) (result GetActivityOperationResponse, err error)
GetActivity - Get activities from me. The user's activities across devices. Read-only. Nullable.
func (ActivityClient) ListActivities ¶
func (c ActivityClient) ListActivities(ctx context.Context, options ListActivitiesOperationOptions) (result ListActivitiesOperationResponse, err error)
ListActivities - Get activities from me. The user's activities across devices. Read-only. Nullable.
func (ActivityClient) ListActivitiesComplete ¶
func (c ActivityClient) ListActivitiesComplete(ctx context.Context, options ListActivitiesOperationOptions) (ListActivitiesCompleteResult, error)
ListActivitiesComplete retrieves all the results into a single object
func (ActivityClient) ListActivitiesCompleteMatchingPredicate ¶
func (c ActivityClient) ListActivitiesCompleteMatchingPredicate(ctx context.Context, options ListActivitiesOperationOptions, predicate UserActivityOperationPredicate) (result ListActivitiesCompleteResult, err error)
ListActivitiesCompleteMatchingPredicate retrieves all the results and then applies the predicate
func (ActivityClient) UpdateActivity ¶
func (c ActivityClient) UpdateActivity(ctx context.Context, id beta.MeActivityId, input beta.UserActivity, options UpdateActivityOperationOptions) (result UpdateActivityOperationResponse, err error)
UpdateActivity - Update the navigation property activities in me
type CreateActivityOperationOptions ¶
type CreateActivityOperationOptions struct { Metadata *odata.Metadata RetryFunc client.RequestRetryFunc }
func DefaultCreateActivityOperationOptions ¶
func DefaultCreateActivityOperationOptions() CreateActivityOperationOptions
func (CreateActivityOperationOptions) ToHeaders ¶
func (o CreateActivityOperationOptions) ToHeaders() *client.Headers
func (CreateActivityOperationOptions) ToOData ¶
func (o CreateActivityOperationOptions) ToOData() *odata.Query
func (CreateActivityOperationOptions) ToQuery ¶
func (o CreateActivityOperationOptions) ToQuery() *client.QueryParams
type DeleteActivityOperationOptions ¶
type DeleteActivityOperationOptions struct { IfMatch *string Metadata *odata.Metadata RetryFunc client.RequestRetryFunc }
func DefaultDeleteActivityOperationOptions ¶
func DefaultDeleteActivityOperationOptions() DeleteActivityOperationOptions
func (DeleteActivityOperationOptions) ToHeaders ¶
func (o DeleteActivityOperationOptions) ToHeaders() *client.Headers
func (DeleteActivityOperationOptions) ToOData ¶
func (o DeleteActivityOperationOptions) ToOData() *odata.Query
func (DeleteActivityOperationOptions) ToQuery ¶
func (o DeleteActivityOperationOptions) ToQuery() *client.QueryParams
type GetActivitiesCountOperationOptions ¶
type GetActivitiesCountOperationOptions struct { Filter *string Metadata *odata.Metadata RetryFunc client.RequestRetryFunc Search *string }
func DefaultGetActivitiesCountOperationOptions ¶
func DefaultGetActivitiesCountOperationOptions() GetActivitiesCountOperationOptions
func (GetActivitiesCountOperationOptions) ToHeaders ¶
func (o GetActivitiesCountOperationOptions) ToHeaders() *client.Headers
func (GetActivitiesCountOperationOptions) ToOData ¶
func (o GetActivitiesCountOperationOptions) ToOData() *odata.Query
func (GetActivitiesCountOperationOptions) ToQuery ¶
func (o GetActivitiesCountOperationOptions) ToQuery() *client.QueryParams
type GetActivityOperationOptions ¶
type GetActivityOperationOptions struct { Expand *odata.Expand Metadata *odata.Metadata RetryFunc client.RequestRetryFunc Select *[]string }
func DefaultGetActivityOperationOptions ¶
func DefaultGetActivityOperationOptions() GetActivityOperationOptions
func (GetActivityOperationOptions) ToHeaders ¶
func (o GetActivityOperationOptions) ToHeaders() *client.Headers
func (GetActivityOperationOptions) ToOData ¶
func (o GetActivityOperationOptions) ToOData() *odata.Query
func (GetActivityOperationOptions) ToQuery ¶
func (o GetActivityOperationOptions) ToQuery() *client.QueryParams
type ListActivitiesCompleteResult ¶
type ListActivitiesCompleteResult struct { LatestHttpResponse *http.Response Items []beta.UserActivity }
type ListActivitiesCustomPager ¶
func (*ListActivitiesCustomPager) NextPageLink ¶
func (p *ListActivitiesCustomPager) NextPageLink() *odata.Link
type ListActivitiesOperationOptions ¶
type ListActivitiesOperationOptions 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 DefaultListActivitiesOperationOptions ¶
func DefaultListActivitiesOperationOptions() ListActivitiesOperationOptions
func (ListActivitiesOperationOptions) ToHeaders ¶
func (o ListActivitiesOperationOptions) ToHeaders() *client.Headers
func (ListActivitiesOperationOptions) ToOData ¶
func (o ListActivitiesOperationOptions) ToOData() *odata.Query
func (ListActivitiesOperationOptions) ToQuery ¶
func (o ListActivitiesOperationOptions) ToQuery() *client.QueryParams
type UpdateActivityOperationOptions ¶
type UpdateActivityOperationOptions struct { Metadata *odata.Metadata RetryFunc client.RequestRetryFunc }
func DefaultUpdateActivityOperationOptions ¶
func DefaultUpdateActivityOperationOptions() UpdateActivityOperationOptions
func (UpdateActivityOperationOptions) ToHeaders ¶
func (o UpdateActivityOperationOptions) ToHeaders() *client.Headers
func (UpdateActivityOperationOptions) ToOData ¶
func (o UpdateActivityOperationOptions) ToOData() *odata.Query
func (UpdateActivityOperationOptions) ToQuery ¶
func (o UpdateActivityOperationOptions) ToQuery() *client.QueryParams
type UserActivityOperationPredicate ¶
type UserActivityOperationPredicate struct { }
func (UserActivityOperationPredicate) Matches ¶
func (p UserActivityOperationPredicate) Matches(input beta.UserActivity) bool