activity

package
v0.20241126.2320 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 26, 2024 License: MPL-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ActivityClient

type ActivityClient struct {
	Client *msgraph.Client
}

func NewActivityClientWithBaseURI

func NewActivityClientWithBaseURI(sdkApi sdkEnv.Api) (*ActivityClient, error)

func (ActivityClient) CreateActivity

CreateActivity - Create new navigation property to activities for me

func (ActivityClient) DeleteActivity

DeleteActivity - Delete an activity. Delete an existing user activity for your app.

func (ActivityClient) GetActivitiesCount

GetActivitiesCount - Get the number of the resource

func (ActivityClient) GetActivity

GetActivity - Get activities from me. The user's activities across devices. Read-only. Nullable.

func (ActivityClient) ListActivities

ListActivities - Get user activities. Get activities for a given user. Unlike the recent OData function, activities without histories will be returned. The permission UserActivity.ReadWrite.CreatedByApp will apply extra filtering to the response, so that only activities created by your application are returned. This server-side filtering might result in empty pages if the user is particularly active and other applications have created more recent activities. To get your application's activities, use the nextLink property to paginate.

func (ActivityClient) ListActivitiesComplete

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

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 (CreateActivityOperationOptions) ToOData

func (CreateActivityOperationOptions) ToQuery

type CreateActivityOperationResponse

type CreateActivityOperationResponse struct {
	HttpResponse *http.Response
	OData        *odata.OData
	Model        *stable.UserActivity
}

type DeleteActivityOperationOptions

type DeleteActivityOperationOptions struct {
	IfMatch   *string
	Metadata  *odata.Metadata
	RetryFunc client.RequestRetryFunc
}

func DefaultDeleteActivityOperationOptions

func DefaultDeleteActivityOperationOptions() DeleteActivityOperationOptions

func (DeleteActivityOperationOptions) ToHeaders

func (DeleteActivityOperationOptions) ToOData

func (DeleteActivityOperationOptions) ToQuery

type DeleteActivityOperationResponse

type DeleteActivityOperationResponse struct {
	HttpResponse *http.Response
	OData        *odata.OData
}

type GetActivitiesCountOperationOptions

type GetActivitiesCountOperationOptions struct {
	Filter    *string
	Metadata  *odata.Metadata
	RetryFunc client.RequestRetryFunc
	Search    *string
}

func DefaultGetActivitiesCountOperationOptions

func DefaultGetActivitiesCountOperationOptions() GetActivitiesCountOperationOptions

func (GetActivitiesCountOperationOptions) ToHeaders

func (GetActivitiesCountOperationOptions) ToOData

func (GetActivitiesCountOperationOptions) ToQuery

type GetActivitiesCountOperationResponse

type GetActivitiesCountOperationResponse struct {
	HttpResponse *http.Response
	OData        *odata.OData
	Model        *[]byte
}

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 (GetActivityOperationOptions) ToOData

func (GetActivityOperationOptions) ToQuery

type GetActivityOperationResponse

type GetActivityOperationResponse struct {
	HttpResponse *http.Response
	OData        *odata.OData
	Model        *stable.UserActivity
}

type ListActivitiesCompleteResult

type ListActivitiesCompleteResult struct {
	LatestHttpResponse *http.Response
	Items              []stable.UserActivity
}

type ListActivitiesCustomPager

type ListActivitiesCustomPager struct {
	NextLink *odata.Link `json:"@odata.nextLink"`
}
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 (ListActivitiesOperationOptions) ToOData

func (ListActivitiesOperationOptions) ToQuery

type ListActivitiesOperationResponse

type ListActivitiesOperationResponse struct {
	HttpResponse *http.Response
	OData        *odata.OData
	Model        *[]stable.UserActivity
}

type UpdateActivityOperationOptions

type UpdateActivityOperationOptions struct {
	Metadata  *odata.Metadata
	RetryFunc client.RequestRetryFunc
}

func DefaultUpdateActivityOperationOptions

func DefaultUpdateActivityOperationOptions() UpdateActivityOperationOptions

func (UpdateActivityOperationOptions) ToHeaders

func (UpdateActivityOperationOptions) ToOData

func (UpdateActivityOperationOptions) ToQuery

type UpdateActivityOperationResponse

type UpdateActivityOperationResponse struct {
	HttpResponse *http.Response
	OData        *odata.OData
}

type UserActivityOperationPredicate

type UserActivityOperationPredicate struct {
}

func (UserActivityOperationPredicate) Matches

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL