Documentation
¶
Overview ¶
Package gen provides primitives to interact with the openapi HTTP API.
Code generated by github.com/oapi-codegen/oapi-codegen/v2 version v2.5.0 DO NOT EDIT.
Index ¶
- Constants
- func NewApplyCurrentPlanChangesRequest(server string, id string) (*http.Request, error)
- func NewApplyPlanRequest(server string, id string, body ApplyPlanJSONRequestBody) (*http.Request, error)
- func NewApplyPlanRequestWithBody(server string, id string, contentType string, body io.Reader) (*http.Request, error)
- func NewApplyToActivitiesRequest(server string, athleteId string, id string) (*http.Request, error)
- func NewCalcDistanceEtcRequest(server string, id string, gearId string) (*http.Request, error)
- func NewCheckMergeRequest(server string, id string, routeId int64, otherId int64) (*http.Request, error)
- func NewCreateCustomItemRequest(server string, id string, body CreateCustomItemJSONRequestBody) (*http.Request, error)
- func NewCreateCustomItemRequestWithBody(server string, id string, contentType string, body io.Reader) (*http.Request, error)
- func NewCreateEventRequest(server string, id string, params *CreateEventParams, ...) (*http.Request, error)
- func NewCreateEventRequestWithBody(server string, id string, params *CreateEventParams, contentType string, ...) (*http.Request, error)
- func NewCreateFolderRequest(server string, id string, body CreateFolderJSONRequestBody) (*http.Request, error)
- func NewCreateFolderRequestWithBody(server string, id string, contentType string, body io.Reader) (*http.Request, error)
- func NewCreateGearRequest(server string, id string, body CreateGearJSONRequestBody) (*http.Request, error)
- func NewCreateGearRequestWithBody(server string, id string, contentType string, body io.Reader) (*http.Request, error)
- func NewCreateManualActivityRequest(server string, id string, body CreateManualActivityJSONRequestBody) (*http.Request, error)
- func NewCreateManualActivityRequestWithBody(server string, id string, contentType string, body io.Reader) (*http.Request, error)
- func NewCreateMultipleEventsRequest(server string, id string, params *CreateMultipleEventsParams, ...) (*http.Request, error)
- func NewCreateMultipleEventsRequestWithBody(server string, id string, params *CreateMultipleEventsParams, ...) (*http.Request, error)
- func NewCreateMultipleManualActivitiesRequest(server string, id string, body CreateMultipleManualActivitiesJSONRequestBody) (*http.Request, error)
- func NewCreateMultipleManualActivitiesRequestWithBody(server string, id string, contentType string, body io.Reader) (*http.Request, error)
- func NewCreateMultipleWorkoutsRequest(server string, id string, body CreateMultipleWorkoutsJSONRequestBody) (*http.Request, error)
- func NewCreateMultipleWorkoutsRequestWithBody(server string, id string, contentType string, body io.Reader) (*http.Request, error)
- func NewCreateReminderRequest(server string, id string, gearId string, body CreateReminderJSONRequestBody) (*http.Request, error)
- func NewCreateReminderRequestWithBody(server string, id string, gearId string, contentType string, body io.Reader) (*http.Request, error)
- func NewCreateSettingsRequest(server string, athleteId string, body CreateSettingsJSONRequestBody) (*http.Request, error)
- func NewCreateSettingsRequestWithBody(server string, athleteId string, contentType string, body io.Reader) (*http.Request, error)
- func NewCreateSharedEventRequest(server string, params *CreateSharedEventParams, ...) (*http.Request, error)
- func NewCreateSharedEventRequestWithBody(server string, params *CreateSharedEventParams, contentType string, ...) (*http.Request, error)
- func NewCreateWorkoutRequest(server string, id string, body CreateWorkoutJSONRequestBody) (*http.Request, error)
- func NewCreateWorkoutRequestWithBody(server string, id string, contentType string, body io.Reader) (*http.Request, error)
- func NewDeleteActivityRequest(server string, id string) (*http.Request, error)
- func NewDeleteCustomItemRequest(server string, id string, itemId int32) (*http.Request, error)
- func NewDeleteEventRequest(server string, id string, eventId int32, params *DeleteEventParams) (*http.Request, error)
- func NewDeleteEventsBulkRequest(server string, id string, body DeleteEventsBulkJSONRequestBody) (*http.Request, error)
- func NewDeleteEventsBulkRequestWithBody(server string, id string, contentType string, body io.Reader) (*http.Request, error)
- func NewDeleteEventsRequest(server string, id string, params *DeleteEventsParams) (*http.Request, error)
- func NewDeleteFolderRequest(server string, id string, folderId int32) (*http.Request, error)
- func NewDeleteGearRequest(server string, id string, gearId string) (*http.Request, error)
- func NewDeleteIntervalsRequest(server string, id string, body DeleteIntervalsJSONRequestBody) (*http.Request, error)
- func NewDeleteIntervalsRequestWithBody(server string, id string, contentType string, body io.Reader) (*http.Request, error)
- func NewDeleteMessageRequest(server string, id int32, msgId int64) (*http.Request, error)
- func NewDeleteReminderRequest(server string, id string, gearId string, reminderId int32) (*http.Request, error)
- func NewDeleteSettingsRequest(server string, athleteId string, id int32) (*http.Request, error)
- func NewDeleteSharedEventRequest(server string, id int32) (*http.Request, error)
- func NewDeleteWorkoutRequest(server string, id string, workoutId int32, params *DeleteWorkoutParams) (*http.Request, error)
- func NewDisconnectAppRequest(server string) (*http.Request, error)
- func NewDownloadActivitiesAsCSVRequest(server string, id string) (*http.Request, error)
- func NewDownloadActivityFileRequest(server string, id string) (*http.Request, error)
- func NewDownloadActivityFitFileRequest(server string, id string, params *DownloadActivityFitFileParams) (*http.Request, error)
- func NewDownloadActivityFitFilesRequest(server string, id string, params *DownloadActivityFitFilesParams) (*http.Request, error)
- func NewDownloadActivityGpxFileRequest(server string, id string, params *DownloadActivityGpxFileParams) (*http.Request, error)
- func NewDownloadWorkout1Request(server string, id string, eventId int32, ext string) (*http.Request, error)
- func NewDownloadWorkoutForAthleteRequest(server string, id string, ext string, ...) (*http.Request, error)
- func NewDownloadWorkoutForAthleteRequestWithBody(server string, id string, ext string, contentType string, body io.Reader) (*http.Request, error)
- func NewDownloadWorkoutRequest(server string, ext string, body DownloadWorkoutJSONRequestBody) (*http.Request, error)
- func NewDownloadWorkoutRequestWithBody(server string, ext string, contentType string, body io.Reader) (*http.Request, error)
- func NewDownloadWorkoutsRequest(server string, id string, params *DownloadWorkoutsParams) (*http.Request, error)
- func NewDuplicateEventsRequest(server string, id string, body DuplicateEventsJSONRequestBody) (*http.Request, error)
- func NewDuplicateEventsRequestWithBody(server string, id string, contentType string, body io.Reader) (*http.Request, error)
- func NewDuplicateWorkoutsRequest(server string, id string, body DuplicateWorkoutsJSONRequestBody) (*http.Request, error)
- func NewDuplicateWorkoutsRequestWithBody(server string, id string, contentType string, body io.Reader) (*http.Request, error)
- func NewFindBestEffortsRequest(server string, id string, params *FindBestEffortsParams) (*http.Request, error)
- func NewGetActivitiesRequest(server string, athleteId string, ids []string, params *GetActivitiesParams) (*http.Request, error)
- func NewGetActivityHRCurveRequest(server string, id string, ext string) (*http.Request, error)
- func NewGetActivityMapRequest(server string, id string, params *GetActivityMapParams) (*http.Request, error)
- func NewGetActivityPaceCurveRequest(server string, id string, ext string, params *GetActivityPaceCurveParams) (*http.Request, error)
- func NewGetActivityPowerCurveRequest(server string, id string, ext string, params *GetActivityPowerCurveParams) (*http.Request, error)
- func NewGetActivityPowerSpikeModelRequest(server string, id string) (*http.Request, error)
- func NewGetActivityRequest(server string, id string, params *GetActivityParams) (*http.Request, error)
- func NewGetActivitySegmentsRequest(server string, id string) (*http.Request, error)
- func NewGetActivityStreamsRequest(server string, id string, ext string, params *GetActivityStreamsParams) (*http.Request, error)
- func NewGetActivityWeatherSummaryRequest(server string, id string, params *GetActivityWeatherSummaryParams) (*http.Request, error)
- func NewGetAthleteMMPModelRequest(server string, id string, params *GetAthleteMMPModelParams) (*http.Request, error)
- func NewGetAthleteProfileRequest(server string, id string) (*http.Request, error)
- func NewGetAthleteRequest(server string, id string) (*http.Request, error)
- func NewGetAthleteRouteRequest(server string, id string, routeId int64, params *GetAthleteRouteParams) (*http.Request, error)
- func NewGetAthleteSummaryRequest(server string, id string, ext string, params *GetAthleteSummaryParams) (*http.Request, error)
- func NewGetAthleteTrainingPlanRequest(server string, id string) (*http.Request, error)
- func NewGetCustomItemRequest(server string, id string, itemId int32) (*http.Request, error)
- func NewGetForecastRequest(server string, id string) (*http.Request, error)
- func NewGetGapHistogramRequest(server string, id string) (*http.Request, error)
- func NewGetHRHistogramRequest(server string, id string, params *GetHRHistogramParams) (*http.Request, error)
- func NewGetHRTrainingLoadModelRequest(server string, id string) (*http.Request, error)
- func NewGetIntervalStatsRequest(server string, id string, params *GetIntervalStatsParams) (*http.Request, error)
- func NewGetIntervalsRequest(server string, id string) (*http.Request, error)
- func NewGetPaceHistogramRequest(server string, id string) (*http.Request, error)
- func NewGetPowerHRCurveRequest(server string, id string, params *GetPowerHRCurveParams) (*http.Request, error)
- func NewGetPowerHistogramRequest(server string, id string, params *GetPowerHistogramParams) (*http.Request, error)
- func NewGetPowerVsHRRequest(server string, id string, ext string) (*http.Request, error)
- func NewGetRecordRequest(server string, id string, date string) (*http.Request, error)
- func NewGetSettings1Request(server string, athleteId string, id string) (*http.Request, error)
- func NewGetSettingsRequest(server string, id string, deviceClass string) (*http.Request, error)
- func NewGetSharedEventRequest(server string, id int32) (*http.Request, error)
- func NewGetTimeAtHRRequest(server string, id string) (*http.Request, error)
- func NewGetWeatherConfigRequest(server string, id string) (*http.Request, error)
- func NewImportWorkoutFileRequest(server string, id string, folderId int32, params *ImportWorkoutFileParams, ...) (*http.Request, error)
- func NewImportWorkoutFileRequestWithBody(server string, id string, folderId int32, params *ImportWorkoutFileParams, ...) (*http.Request, error)
- func NewListActivitiesAroundRequest(server string, id string, params *ListActivitiesAroundParams) (*http.Request, error)
- func NewListActivitiesRequest(server string, id string, params *ListActivitiesParams) (*http.Request, error)
- func NewListActivityHRCurvesRequest(server string, id string, ext string, params *ListActivityHRCurvesParams) (*http.Request, error)
- func NewListActivityMessagesRequest(server string, id string, params *ListActivityMessagesParams) (*http.Request, error)
- func NewListActivityPaceCurvesRequest(server string, id string, ext string, params *ListActivityPaceCurvesParams) (*http.Request, error)
- func NewListActivityPowerCurves1Request(server string, id string, ext string, params *ListActivityPowerCurves1Params) (*http.Request, error)
- func NewListActivityPowerCurvesRequest(server string, id string, ext string, params *ListActivityPowerCurvesParams) (*http.Request, error)
- func NewListAthleteHRCurvesRequest(server string, id string, ext string, params *ListAthleteHRCurvesParams) (*http.Request, error)
- func NewListAthletePaceCurvesRequest(server string, id string, ext string, params *ListAthletePaceCurvesParams) (*http.Request, error)
- func NewListAthletePowerCurvesRequest(server string, id string, ext string, params *ListAthletePowerCurvesParams) (*http.Request, error)
- func NewListAthleteRoutesRequest(server string, id string) (*http.Request, error)
- func NewListChatsRequest(server string, id string) (*http.Request, error)
- func NewListCustomItemsRequest(server string, id string) (*http.Request, error)
- func NewListEventsRequest(server string, id string, format string, params *ListEventsParams) (*http.Request, error)
- func NewListFitnessModelEventsRequest(server string, id string) (*http.Request, error)
- func NewListFolderSharedWithRequest(server string, id string, folderId int32) (*http.Request, error)
- func NewListFoldersRequest(server string, id string) (*http.Request, error)
- func NewListGearRequest(server string, id string, ext string) (*http.Request, error)
- func NewListMatchingActivitiesRequest(server string, athleteId string, id string) (*http.Request, error)
- func NewListMessagesRequest(server string, id int32, params *ListMessagesParams) (*http.Request, error)
- func NewListPaceDistancesForSportRequest(server string, athleteId string, id string) (*http.Request, error)
- func NewListPaceDistancesRequest(server string) (*http.Request, error)
- func NewListSettingsRequest(server string, athleteId string) (*http.Request, error)
- func NewListTags1Request(server string, id string) (*http.Request, error)
- func NewListTags2Request(server string, id string) (*http.Request, error)
- func NewListTagsRequest(server string, id string) (*http.Request, error)
- func NewListWellnessRecordsRequest(server string, id string, ext string, params *ListWellnessRecordsParams) (*http.Request, error)
- func NewListWorkoutsRequest(server string, id string) (*http.Request, error)
- func NewMarkEventAsDoneRequest(server string, id string, eventId int32) (*http.Request, error)
- func NewReplaceGearRequest(server string, id string, gearId string, body ReplaceGearJSONRequestBody) (*http.Request, error)
- func NewReplaceGearRequestWithBody(server string, id string, gearId string, contentType string, body io.Reader) (*http.Request, error)
- func NewSearchForActivitiesFullRequest(server string, id string, params *SearchForActivitiesFullParams) (*http.Request, error)
- func NewSearchForActivitiesRequest(server string, id string, params *SearchForActivitiesParams) (*http.Request, error)
- func NewSearchForIntervalsRequest(server string, id string, params *SearchForIntervalsParams) (*http.Request, error)
- func NewSendActivityMessageRequest(server string, id string, body SendActivityMessageJSONRequestBody) (*http.Request, error)
- func NewSendActivityMessageRequestWithBody(server string, id string, contentType string, body io.Reader) (*http.Request, error)
- func NewSendMessageRequest(server string, body SendMessageJSONRequestBody) (*http.Request, error)
- func NewSendMessageRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
- func NewShowChatRequest(server string, id int32) (*http.Request, error)
- func NewShowEventRequest(server string, id string, eventId int32) (*http.Request, error)
- func NewShowWorkoutRequest(server string, id string, workoutId int32) (*http.Request, error)
- func NewSplitIntervalRequest(server string, id string, params *SplitIntervalParams) (*http.Request, error)
- func NewUpdateActivityRequest(server string, id string, body UpdateActivityJSONRequestBody) (*http.Request, error)
- func NewUpdateActivityRequestWithBody(server string, id string, contentType string, body io.Reader) (*http.Request, error)
- func NewUpdateActivityStreamsRequest(server string, id string, body UpdateActivityStreamsJSONRequestBody) (*http.Request, error)
- func NewUpdateActivityStreamsRequestWithBody(server string, id string, contentType string, body io.Reader) (*http.Request, error)
- func NewUpdateAthletePlanRequest(server string, id string, body UpdateAthletePlanJSONRequestBody) (*http.Request, error)
- func NewUpdateAthletePlanRequestWithBody(server string, id string, contentType string, body io.Reader) (*http.Request, error)
- func NewUpdateAthletePlansRequest(server string, body UpdateAthletePlansJSONRequestBody) (*http.Request, error)
- func NewUpdateAthletePlansRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
- func NewUpdateAthleteRequest(server string, id string, body UpdateAthleteJSONRequestBody) (*http.Request, error)
- func NewUpdateAthleteRequestWithBody(server string, id string, contentType string, body io.Reader) (*http.Request, error)
- func NewUpdateAthleteRouteRequest(server string, id string, routeId int64, ...) (*http.Request, error)
- func NewUpdateAthleteRouteRequestWithBody(server string, id string, routeId int64, contentType string, body io.Reader) (*http.Request, error)
- func NewUpdateCustomItemImageRequest(server string, id string, itemId int32, ...) (*http.Request, error)
- func NewUpdateCustomItemImageRequestWithBody(server string, id string, itemId int32, contentType string, body io.Reader) (*http.Request, error)
- func NewUpdateCustomItemIndexesRequest(server string, id string, body UpdateCustomItemIndexesJSONRequestBody) (*http.Request, error)
- func NewUpdateCustomItemIndexesRequestWithBody(server string, id string, contentType string, body io.Reader) (*http.Request, error)
- func NewUpdateCustomItemRequest(server string, id string, itemId int32, body UpdateCustomItemJSONRequestBody) (*http.Request, error)
- func NewUpdateCustomItemRequestWithBody(server string, id string, itemId int32, contentType string, body io.Reader) (*http.Request, error)
- func NewUpdateEventRequest(server string, id string, eventId int32, body UpdateEventJSONRequestBody) (*http.Request, error)
- func NewUpdateEventRequestWithBody(server string, id string, eventId int32, contentType string, body io.Reader) (*http.Request, error)
- func NewUpdateEventsRequest(server string, id string, params *UpdateEventsParams, ...) (*http.Request, error)
- func NewUpdateEventsRequestWithBody(server string, id string, params *UpdateEventsParams, contentType string, ...) (*http.Request, error)
- func NewUpdateFolderRequest(server string, id string, folderId int32, body UpdateFolderJSONRequestBody) (*http.Request, error)
- func NewUpdateFolderRequestWithBody(server string, id string, folderId int32, contentType string, body io.Reader) (*http.Request, error)
- func NewUpdateFolderSharedWithRequest(server string, id string, folderId int32, ...) (*http.Request, error)
- func NewUpdateFolderSharedWithRequestWithBody(server string, id string, folderId int32, contentType string, body io.Reader) (*http.Request, error)
- func NewUpdateGearRequest(server string, id string, gearId string, body UpdateGearJSONRequestBody) (*http.Request, error)
- func NewUpdateGearRequestWithBody(server string, id string, gearId string, contentType string, body io.Reader) (*http.Request, error)
- func NewUpdateIntervalRequest(server string, id string, intervalId int32, body UpdateIntervalJSONRequestBody) (*http.Request, error)
- func NewUpdateIntervalRequestWithBody(server string, id string, intervalId int32, contentType string, body io.Reader) (*http.Request, error)
- func NewUpdateIntervalsRequest(server string, id string, params *UpdateIntervalsParams, ...) (*http.Request, error)
- func NewUpdateIntervalsRequestWithBody(server string, id string, params *UpdateIntervalsParams, contentType string, ...) (*http.Request, error)
- func NewUpdateLastSeenMessageIdRequest(server string, id int32, msgId int64) (*http.Request, error)
- func NewUpdatePlanWorkoutsRequest(server string, id string, folderId int32, params *UpdatePlanWorkoutsParams, ...) (*http.Request, error)
- func NewUpdatePlanWorkoutsRequestWithBody(server string, id string, folderId int32, params *UpdatePlanWorkoutsParams, ...) (*http.Request, error)
- func NewUpdateReminderRequest(server string, id string, gearId string, reminderId int32, ...) (*http.Request, error)
- func NewUpdateReminderRequestWithBody(server string, id string, gearId string, reminderId int32, ...) (*http.Request, error)
- func NewUpdateSettingsMultiRequest(server string, athleteId string, params *UpdateSettingsMultiParams, ...) (*http.Request, error)
- func NewUpdateSettingsMultiRequestWithBody(server string, athleteId string, params *UpdateSettingsMultiParams, ...) (*http.Request, error)
- func NewUpdateSettingsRequest(server string, athleteId string, id string, params *UpdateSettingsParams, ...) (*http.Request, error)
- func NewUpdateSettingsRequestWithBody(server string, athleteId string, id string, params *UpdateSettingsParams, ...) (*http.Request, error)
- func NewUpdateSharedEventRequest(server string, id int32, body UpdateSharedEventJSONRequestBody) (*http.Request, error)
- func NewUpdateSharedEventRequestWithBody(server string, id int32, contentType string, body io.Reader) (*http.Request, error)
- func NewUpdateWeatherConfigRequest(server string, id string, body UpdateWeatherConfigJSONRequestBody) (*http.Request, error)
- func NewUpdateWeatherConfigRequestWithBody(server string, id string, contentType string, body io.Reader) (*http.Request, error)
- func NewUpdateWellness1Request(server string, id string, body UpdateWellness1JSONRequestBody) (*http.Request, error)
- func NewUpdateWellness1RequestWithBody(server string, id string, contentType string, body io.Reader) (*http.Request, error)
- func NewUpdateWellnessBulkRequest(server string, id string, body UpdateWellnessBulkJSONRequestBody) (*http.Request, error)
- func NewUpdateWellnessBulkRequestWithBody(server string, id string, contentType string, body io.Reader) (*http.Request, error)
- func NewUpdateWellnessRequest(server string, id string, date string, body UpdateWellnessJSONRequestBody) (*http.Request, error)
- func NewUpdateWellnessRequestWithBody(server string, id string, date string, contentType string, body io.Reader) (*http.Request, error)
- func NewUpdateWorkoutRequest(server string, id string, workoutId int32, body UpdateWorkoutJSONRequestBody) (*http.Request, error)
- func NewUpdateWorkoutRequestWithBody(server string, id string, workoutId int32, contentType string, body io.Reader) (*http.Request, error)
- func NewUploadActivityRequest(server string, id string, params *UploadActivityParams, ...) (*http.Request, error)
- func NewUploadActivityRequestWithBody(server string, id string, params *UploadActivityParams, contentType string, ...) (*http.Request, error)
- func NewUploadActivityStreamsCSVRequest(server string, id string, body UploadActivityStreamsCSVJSONRequestBody) (*http.Request, error)
- func NewUploadActivityStreamsCSVRequestWithBody(server string, id string, contentType string, body io.Reader) (*http.Request, error)
- func NewUploadWellnessRequest(server string, id string, params *UploadWellnessParams, ...) (*http.Request, error)
- func NewUploadWellnessRequestWithBody(server string, id string, params *UploadWellnessParams, contentType string, ...) (*http.Request, error)
- type Activity
- type ActivityCharts
- type ActivityFilter
- type ActivityFilterFieldId
- type ActivityGapModel
- type ActivityHRCurve
- type ActivityHRCurvePayload
- type ActivityHrLoadType
- type ActivityId
- type ActivityMini
- type ActivityPaceLoadType
- type ActivityPowerCurve
- type ActivityPowerCurvePayload
- type ActivitySearchResult
- type ActivitySource
- type ActivityStream
- type ActivitySubType
- type ActivityTizOrder
- type ActivityWeather
- type ActivityWeatherSummary
- type ActivityWithIntervals
- type ActivityWithIntervalsGapModel
- type ActivityWithIntervalsHrLoadType
- type ActivityWithIntervalsPaceLoadType
- type ActivityWithIntervalsSource
- type ActivityWithIntervalsSubType
- type ActivityWithIntervalsTizOrder
- type Anomaly
- type ApplyCurrentPlanChangesResp
- type ApplyPlanDTO
- type ApplyPlanJSONRequestBody
- type ApplyPlanResp
- type ApplyToActivitiesResp
- type Athlete
- type AthleteGarminPowerTarget
- type AthleteGarminSyncActivityTypes
- type AthleteHeightUnits
- type AthleteIcuMenstrualCyclePerm
- type AthleteIcuPermission
- type AthleteIcuWeightSync
- type AthletePlan
- type AthletePolarSyncActivityTypes
- type AthleteProfile
- type AthleteRain
- type AthleteRoute
- type AthleteSearchResult
- type AthleteStatus
- type AthleteStravaSyncActivityTypes
- type AthleteSuuntoSyncActivityTypes
- type AthleteTrainingAvailability
- type AthleteTrainingAvailabilityCanTrainSports
- type AthleteTrainingAvailabilityTrainingAvailability
- type AthleteTrainingPlan
- type AthleteTrainingPlanUpdate
- type AthleteUpdateDTO
- type AthleteUpdateDTOGarminPowerTarget
- type AthleteUpdateDTOGarminSyncActivityTypes
- type AthleteUpdateDTOHeightUnits
- type AthleteUpdateDTOIcuMenstrualCyclePerm
- type AthleteUpdateDTOIcuPermission
- type AthleteUpdateDTOIcuWeightSync
- type AthleteUpdateDTOPlan
- type AthleteUpdateDTOPolarSyncActivityTypes
- type AthleteUpdateDTORain
- type AthleteUpdateDTOStatus
- type AthleteUpdateDTOStravaSyncActivityTypes
- type AthleteUpdateDTOSuuntoSyncActivityTypes
- type AthleteUpdateDTOVisibility
- type AthleteUpdateDTOWindSpeed
- type AthleteVisibility
- type AthleteWindSpeed
- type Attachment
- type BestEfforts
- type Bucket
- type CalcDistanceEtcResp
- type CategorySummary
- type CategorySummaryCategory
- type Chat
- type ChatJoinPolicy
- type ChatMember
- type ChatMemberPlan
- type ChatMemberRole
- type ChatRole
- type ChatType
- type CheckMergeResp
- type Client
- func (c *Client) ApplyCurrentPlanChanges(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) ApplyPlan(ctx context.Context, id string, body ApplyPlanJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) ApplyPlanWithBody(ctx context.Context, id string, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) ApplyToActivities(ctx context.Context, athleteId string, id string, ...) (*http.Response, error)
- func (c *Client) CalcDistanceEtc(ctx context.Context, id string, gearId string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) CheckMerge(ctx context.Context, id string, routeId int64, otherId int64, ...) (*http.Response, error)
- func (c *Client) CreateCustomItem(ctx context.Context, id string, body CreateCustomItemJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) CreateCustomItemWithBody(ctx context.Context, id string, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) CreateEvent(ctx context.Context, id string, params *CreateEventParams, ...) (*http.Response, error)
- func (c *Client) CreateEventWithBody(ctx context.Context, id string, params *CreateEventParams, contentType string, ...) (*http.Response, error)
- func (c *Client) CreateFolder(ctx context.Context, id string, body CreateFolderJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) CreateFolderWithBody(ctx context.Context, id string, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) CreateGear(ctx context.Context, id string, body CreateGearJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) CreateGearWithBody(ctx context.Context, id string, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) CreateManualActivity(ctx context.Context, id string, body CreateManualActivityJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) CreateManualActivityWithBody(ctx context.Context, id string, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) CreateMultipleEvents(ctx context.Context, id string, params *CreateMultipleEventsParams, ...) (*http.Response, error)
- func (c *Client) CreateMultipleEventsWithBody(ctx context.Context, id string, params *CreateMultipleEventsParams, ...) (*http.Response, error)
- func (c *Client) CreateMultipleManualActivities(ctx context.Context, id string, ...) (*http.Response, error)
- func (c *Client) CreateMultipleManualActivitiesWithBody(ctx context.Context, id string, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) CreateMultipleWorkouts(ctx context.Context, id string, body CreateMultipleWorkoutsJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) CreateMultipleWorkoutsWithBody(ctx context.Context, id string, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) CreateReminder(ctx context.Context, id string, gearId string, ...) (*http.Response, error)
- func (c *Client) CreateReminderWithBody(ctx context.Context, id string, gearId string, contentType string, ...) (*http.Response, error)
- func (c *Client) CreateSettings(ctx context.Context, athleteId string, body CreateSettingsJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) CreateSettingsWithBody(ctx context.Context, athleteId string, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) CreateSharedEvent(ctx context.Context, params *CreateSharedEventParams, ...) (*http.Response, error)
- func (c *Client) CreateSharedEventWithBody(ctx context.Context, params *CreateSharedEventParams, contentType string, ...) (*http.Response, error)
- func (c *Client) CreateWorkout(ctx context.Context, id string, body CreateWorkoutJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) CreateWorkoutWithBody(ctx context.Context, id string, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) DeleteActivity(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) DeleteCustomItem(ctx context.Context, id string, itemId int32, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) DeleteEvent(ctx context.Context, id string, eventId int32, params *DeleteEventParams, ...) (*http.Response, error)
- func (c *Client) DeleteEvents(ctx context.Context, id string, params *DeleteEventsParams, ...) (*http.Response, error)
- func (c *Client) DeleteEventsBulk(ctx context.Context, id string, body DeleteEventsBulkJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) DeleteEventsBulkWithBody(ctx context.Context, id string, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) DeleteFolder(ctx context.Context, id string, folderId int32, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) DeleteGear(ctx context.Context, id string, gearId string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) DeleteIntervals(ctx context.Context, id string, body DeleteIntervalsJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) DeleteIntervalsWithBody(ctx context.Context, id string, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) DeleteMessage(ctx context.Context, id int32, msgId int64, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) DeleteReminder(ctx context.Context, id string, gearId string, reminderId int32, ...) (*http.Response, error)
- func (c *Client) DeleteSettings(ctx context.Context, athleteId string, id int32, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) DeleteSharedEvent(ctx context.Context, id int32, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) DeleteWorkout(ctx context.Context, id string, workoutId int32, params *DeleteWorkoutParams, ...) (*http.Response, error)
- func (c *Client) DisconnectApp(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) DownloadActivitiesAsCSV(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) DownloadActivityFile(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) DownloadActivityFitFile(ctx context.Context, id string, params *DownloadActivityFitFileParams, ...) (*http.Response, error)
- func (c *Client) DownloadActivityFitFiles(ctx context.Context, id string, params *DownloadActivityFitFilesParams, ...) (*http.Response, error)
- func (c *Client) DownloadActivityGpxFile(ctx context.Context, id string, params *DownloadActivityGpxFileParams, ...) (*http.Response, error)
- func (c *Client) DownloadWorkout(ctx context.Context, ext string, body DownloadWorkoutJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) DownloadWorkout1(ctx context.Context, id string, eventId int32, ext string, ...) (*http.Response, error)
- func (c *Client) DownloadWorkoutForAthlete(ctx context.Context, id string, ext string, ...) (*http.Response, error)
- func (c *Client) DownloadWorkoutForAthleteWithBody(ctx context.Context, id string, ext string, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) DownloadWorkoutWithBody(ctx context.Context, ext string, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) DownloadWorkouts(ctx context.Context, id string, params *DownloadWorkoutsParams, ...) (*http.Response, error)
- func (c *Client) DuplicateEvents(ctx context.Context, id string, body DuplicateEventsJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) DuplicateEventsWithBody(ctx context.Context, id string, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) DuplicateWorkouts(ctx context.Context, id string, body DuplicateWorkoutsJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) DuplicateWorkoutsWithBody(ctx context.Context, id string, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) FindBestEfforts(ctx context.Context, id string, params *FindBestEffortsParams, ...) (*http.Response, error)
- func (c *Client) GetActivities(ctx context.Context, athleteId string, ids []string, ...) (*http.Response, error)
- func (c *Client) GetActivity(ctx context.Context, id string, params *GetActivityParams, ...) (*http.Response, error)
- func (c *Client) GetActivityHRCurve(ctx context.Context, id string, ext string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GetActivityMap(ctx context.Context, id string, params *GetActivityMapParams, ...) (*http.Response, error)
- func (c *Client) GetActivityPaceCurve(ctx context.Context, id string, ext string, params *GetActivityPaceCurveParams, ...) (*http.Response, error)
- func (c *Client) GetActivityPowerCurve(ctx context.Context, id string, ext string, ...) (*http.Response, error)
- func (c *Client) GetActivityPowerSpikeModel(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GetActivitySegments(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GetActivityStreams(ctx context.Context, id string, ext string, params *GetActivityStreamsParams, ...) (*http.Response, error)
- func (c *Client) GetActivityWeatherSummary(ctx context.Context, id string, params *GetActivityWeatherSummaryParams, ...) (*http.Response, error)
- func (c *Client) GetAthlete(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GetAthleteMMPModel(ctx context.Context, id string, params *GetAthleteMMPModelParams, ...) (*http.Response, error)
- func (c *Client) GetAthleteProfile(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GetAthleteRoute(ctx context.Context, id string, routeId int64, params *GetAthleteRouteParams, ...) (*http.Response, error)
- func (c *Client) GetAthleteSummary(ctx context.Context, id string, ext string, params *GetAthleteSummaryParams, ...) (*http.Response, error)
- func (c *Client) GetAthleteTrainingPlan(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GetCustomItem(ctx context.Context, id string, itemId int32, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GetForecast(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GetGapHistogram(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GetHRHistogram(ctx context.Context, id string, params *GetHRHistogramParams, ...) (*http.Response, error)
- func (c *Client) GetHRTrainingLoadModel(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GetIntervalStats(ctx context.Context, id string, params *GetIntervalStatsParams, ...) (*http.Response, error)
- func (c *Client) GetIntervals(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GetPaceHistogram(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GetPowerHRCurve(ctx context.Context, id string, params *GetPowerHRCurveParams, ...) (*http.Response, error)
- func (c *Client) GetPowerHistogram(ctx context.Context, id string, params *GetPowerHistogramParams, ...) (*http.Response, error)
- func (c *Client) GetPowerVsHR(ctx context.Context, id string, ext string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GetRecord(ctx context.Context, id string, date string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GetSettings(ctx context.Context, id string, deviceClass string, ...) (*http.Response, error)
- func (c *Client) GetSettings1(ctx context.Context, athleteId string, id string, ...) (*http.Response, error)
- func (c *Client) GetSharedEvent(ctx context.Context, id int32, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GetTimeAtHR(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GetWeatherConfig(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) ImportWorkoutFile(ctx context.Context, id string, folderId int32, ...) (*http.Response, error)
- func (c *Client) ImportWorkoutFileWithBody(ctx context.Context, id string, folderId int32, ...) (*http.Response, error)
- func (c *Client) ListActivities(ctx context.Context, id string, params *ListActivitiesParams, ...) (*http.Response, error)
- func (c *Client) ListActivitiesAround(ctx context.Context, id string, params *ListActivitiesAroundParams, ...) (*http.Response, error)
- func (c *Client) ListActivityHRCurves(ctx context.Context, id string, ext string, params *ListActivityHRCurvesParams, ...) (*http.Response, error)
- func (c *Client) ListActivityMessages(ctx context.Context, id string, params *ListActivityMessagesParams, ...) (*http.Response, error)
- func (c *Client) ListActivityPaceCurves(ctx context.Context, id string, ext string, ...) (*http.Response, error)
- func (c *Client) ListActivityPowerCurves(ctx context.Context, id string, ext string, ...) (*http.Response, error)
- func (c *Client) ListActivityPowerCurves1(ctx context.Context, id string, ext string, ...) (*http.Response, error)
- func (c *Client) ListAthleteHRCurves(ctx context.Context, id string, ext string, params *ListAthleteHRCurvesParams, ...) (*http.Response, error)
- func (c *Client) ListAthletePaceCurves(ctx context.Context, id string, ext string, ...) (*http.Response, error)
- func (c *Client) ListAthletePowerCurves(ctx context.Context, id string, ext string, ...) (*http.Response, error)
- func (c *Client) ListAthleteRoutes(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) ListChats(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) ListCustomItems(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) ListEvents(ctx context.Context, id string, format string, params *ListEventsParams, ...) (*http.Response, error)
- func (c *Client) ListFitnessModelEvents(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) ListFolderSharedWith(ctx context.Context, id string, folderId int32, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) ListFolders(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) ListGear(ctx context.Context, id string, ext string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) ListMatchingActivities(ctx context.Context, athleteId string, id string, ...) (*http.Response, error)
- func (c *Client) ListMessages(ctx context.Context, id int32, params *ListMessagesParams, ...) (*http.Response, error)
- func (c *Client) ListPaceDistances(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) ListPaceDistancesForSport(ctx context.Context, athleteId string, id string, ...) (*http.Response, error)
- func (c *Client) ListSettings(ctx context.Context, athleteId string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) ListTags(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) ListTags1(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) ListTags2(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) ListWellnessRecords(ctx context.Context, id string, ext string, params *ListWellnessRecordsParams, ...) (*http.Response, error)
- func (c *Client) ListWorkouts(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) MarkEventAsDone(ctx context.Context, id string, eventId int32, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) ReplaceGear(ctx context.Context, id string, gearId string, body ReplaceGearJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) ReplaceGearWithBody(ctx context.Context, id string, gearId string, contentType string, ...) (*http.Response, error)
- func (c *Client) SearchForActivities(ctx context.Context, id string, params *SearchForActivitiesParams, ...) (*http.Response, error)
- func (c *Client) SearchForActivitiesFull(ctx context.Context, id string, params *SearchForActivitiesFullParams, ...) (*http.Response, error)
- func (c *Client) SearchForIntervals(ctx context.Context, id string, params *SearchForIntervalsParams, ...) (*http.Response, error)
- func (c *Client) SendActivityMessage(ctx context.Context, id string, body SendActivityMessageJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) SendActivityMessageWithBody(ctx context.Context, id string, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) SendMessage(ctx context.Context, body SendMessageJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) SendMessageWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) ShowChat(ctx context.Context, id int32, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) ShowEvent(ctx context.Context, id string, eventId int32, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) ShowWorkout(ctx context.Context, id string, workoutId int32, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) SplitInterval(ctx context.Context, id string, params *SplitIntervalParams, ...) (*http.Response, error)
- func (c *Client) UpdateActivity(ctx context.Context, id string, body UpdateActivityJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) UpdateActivityStreams(ctx context.Context, id string, body UpdateActivityStreamsJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) UpdateActivityStreamsWithBody(ctx context.Context, id string, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) UpdateActivityWithBody(ctx context.Context, id string, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) UpdateAthlete(ctx context.Context, id string, body UpdateAthleteJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) UpdateAthletePlan(ctx context.Context, id string, body UpdateAthletePlanJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) UpdateAthletePlanWithBody(ctx context.Context, id string, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) UpdateAthletePlans(ctx context.Context, body UpdateAthletePlansJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) UpdateAthletePlansWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) UpdateAthleteRoute(ctx context.Context, id string, routeId int64, ...) (*http.Response, error)
- func (c *Client) UpdateAthleteRouteWithBody(ctx context.Context, id string, routeId int64, contentType string, ...) (*http.Response, error)
- func (c *Client) UpdateAthleteWithBody(ctx context.Context, id string, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) UpdateCustomItem(ctx context.Context, id string, itemId int32, ...) (*http.Response, error)
- func (c *Client) UpdateCustomItemImage(ctx context.Context, id string, itemId int32, ...) (*http.Response, error)
- func (c *Client) UpdateCustomItemImageWithBody(ctx context.Context, id string, itemId int32, contentType string, ...) (*http.Response, error)
- func (c *Client) UpdateCustomItemIndexes(ctx context.Context, id string, body UpdateCustomItemIndexesJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) UpdateCustomItemIndexesWithBody(ctx context.Context, id string, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) UpdateCustomItemWithBody(ctx context.Context, id string, itemId int32, contentType string, ...) (*http.Response, error)
- func (c *Client) UpdateEvent(ctx context.Context, id string, eventId int32, body UpdateEventJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) UpdateEventWithBody(ctx context.Context, id string, eventId int32, contentType string, ...) (*http.Response, error)
- func (c *Client) UpdateEvents(ctx context.Context, id string, params *UpdateEventsParams, ...) (*http.Response, error)
- func (c *Client) UpdateEventsWithBody(ctx context.Context, id string, params *UpdateEventsParams, contentType string, ...) (*http.Response, error)
- func (c *Client) UpdateFolder(ctx context.Context, id string, folderId int32, ...) (*http.Response, error)
- func (c *Client) UpdateFolderSharedWith(ctx context.Context, id string, folderId int32, ...) (*http.Response, error)
- func (c *Client) UpdateFolderSharedWithWithBody(ctx context.Context, id string, folderId int32, contentType string, ...) (*http.Response, error)
- func (c *Client) UpdateFolderWithBody(ctx context.Context, id string, folderId int32, contentType string, ...) (*http.Response, error)
- func (c *Client) UpdateGear(ctx context.Context, id string, gearId string, body UpdateGearJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) UpdateGearWithBody(ctx context.Context, id string, gearId string, contentType string, ...) (*http.Response, error)
- func (c *Client) UpdateInterval(ctx context.Context, id string, intervalId int32, ...) (*http.Response, error)
- func (c *Client) UpdateIntervalWithBody(ctx context.Context, id string, intervalId int32, contentType string, ...) (*http.Response, error)
- func (c *Client) UpdateIntervals(ctx context.Context, id string, params *UpdateIntervalsParams, ...) (*http.Response, error)
- func (c *Client) UpdateIntervalsWithBody(ctx context.Context, id string, params *UpdateIntervalsParams, ...) (*http.Response, error)
- func (c *Client) UpdateLastSeenMessageId(ctx context.Context, id int32, msgId int64, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) UpdatePlanWorkouts(ctx context.Context, id string, folderId int32, ...) (*http.Response, error)
- func (c *Client) UpdatePlanWorkoutsWithBody(ctx context.Context, id string, folderId int32, ...) (*http.Response, error)
- func (c *Client) UpdateReminder(ctx context.Context, id string, gearId string, reminderId int32, ...) (*http.Response, error)
- func (c *Client) UpdateReminderWithBody(ctx context.Context, id string, gearId string, reminderId int32, ...) (*http.Response, error)
- func (c *Client) UpdateSettings(ctx context.Context, athleteId string, id string, params *UpdateSettingsParams, ...) (*http.Response, error)
- func (c *Client) UpdateSettingsMulti(ctx context.Context, athleteId string, params *UpdateSettingsMultiParams, ...) (*http.Response, error)
- func (c *Client) UpdateSettingsMultiWithBody(ctx context.Context, athleteId string, params *UpdateSettingsMultiParams, ...) (*http.Response, error)
- func (c *Client) UpdateSettingsWithBody(ctx context.Context, athleteId string, id string, params *UpdateSettingsParams, ...) (*http.Response, error)
- func (c *Client) UpdateSharedEvent(ctx context.Context, id int32, body UpdateSharedEventJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) UpdateSharedEventWithBody(ctx context.Context, id int32, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) UpdateWeatherConfig(ctx context.Context, id string, body UpdateWeatherConfigJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) UpdateWeatherConfigWithBody(ctx context.Context, id string, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) UpdateWellness(ctx context.Context, id string, date string, ...) (*http.Response, error)
- func (c *Client) UpdateWellness1(ctx context.Context, id string, body UpdateWellness1JSONRequestBody, ...) (*http.Response, error)
- func (c *Client) UpdateWellness1WithBody(ctx context.Context, id string, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) UpdateWellnessBulk(ctx context.Context, id string, body UpdateWellnessBulkJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) UpdateWellnessBulkWithBody(ctx context.Context, id string, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) UpdateWellnessWithBody(ctx context.Context, id string, date string, contentType string, ...) (*http.Response, error)
- func (c *Client) UpdateWorkout(ctx context.Context, id string, workoutId int32, ...) (*http.Response, error)
- func (c *Client) UpdateWorkoutWithBody(ctx context.Context, id string, workoutId int32, contentType string, ...) (*http.Response, error)
- func (c *Client) UploadActivity(ctx context.Context, id string, params *UploadActivityParams, ...) (*http.Response, error)
- func (c *Client) UploadActivityStreamsCSV(ctx context.Context, id string, body UploadActivityStreamsCSVJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) UploadActivityStreamsCSVWithBody(ctx context.Context, id string, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) UploadActivityWithBody(ctx context.Context, id string, params *UploadActivityParams, ...) (*http.Response, error)
- func (c *Client) UploadWellness(ctx context.Context, id string, params *UploadWellnessParams, ...) (*http.Response, error)
- func (c *Client) UploadWellnessWithBody(ctx context.Context, id string, params *UploadWellnessParams, ...) (*http.Response, error)
- type ClientInterface
- type ClientOption
- type ClientWithResponses
- func (c *ClientWithResponses) ApplyCurrentPlanChangesWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*ApplyCurrentPlanChangesResp, error)
- func (c *ClientWithResponses) ApplyPlanWithBodyWithResponse(ctx context.Context, id string, contentType string, body io.Reader, ...) (*ApplyPlanResp, error)
- func (c *ClientWithResponses) ApplyPlanWithResponse(ctx context.Context, id string, body ApplyPlanJSONRequestBody, ...) (*ApplyPlanResp, error)
- func (c *ClientWithResponses) ApplyToActivitiesWithResponse(ctx context.Context, athleteId string, id string, ...) (*ApplyToActivitiesResp, error)
- func (c *ClientWithResponses) CalcDistanceEtcWithResponse(ctx context.Context, id string, gearId string, reqEditors ...RequestEditorFn) (*CalcDistanceEtcResp, error)
- func (c *ClientWithResponses) CheckMergeWithResponse(ctx context.Context, id string, routeId int64, otherId int64, ...) (*CheckMergeResp, error)
- func (c *ClientWithResponses) CreateCustomItemWithBodyWithResponse(ctx context.Context, id string, contentType string, body io.Reader, ...) (*CreateCustomItemResp, error)
- func (c *ClientWithResponses) CreateCustomItemWithResponse(ctx context.Context, id string, body CreateCustomItemJSONRequestBody, ...) (*CreateCustomItemResp, error)
- func (c *ClientWithResponses) CreateEventWithBodyWithResponse(ctx context.Context, id string, params *CreateEventParams, contentType string, ...) (*CreateEventResp, error)
- func (c *ClientWithResponses) CreateEventWithResponse(ctx context.Context, id string, params *CreateEventParams, ...) (*CreateEventResp, error)
- func (c *ClientWithResponses) CreateFolderWithBodyWithResponse(ctx context.Context, id string, contentType string, body io.Reader, ...) (*CreateFolderResp, error)
- func (c *ClientWithResponses) CreateFolderWithResponse(ctx context.Context, id string, body CreateFolderJSONRequestBody, ...) (*CreateFolderResp, error)
- func (c *ClientWithResponses) CreateGearWithBodyWithResponse(ctx context.Context, id string, contentType string, body io.Reader, ...) (*CreateGearResp, error)
- func (c *ClientWithResponses) CreateGearWithResponse(ctx context.Context, id string, body CreateGearJSONRequestBody, ...) (*CreateGearResp, error)
- func (c *ClientWithResponses) CreateManualActivityWithBodyWithResponse(ctx context.Context, id string, contentType string, body io.Reader, ...) (*CreateManualActivityResp, error)
- func (c *ClientWithResponses) CreateManualActivityWithResponse(ctx context.Context, id string, body CreateManualActivityJSONRequestBody, ...) (*CreateManualActivityResp, error)
- func (c *ClientWithResponses) CreateMultipleEventsWithBodyWithResponse(ctx context.Context, id string, params *CreateMultipleEventsParams, ...) (*CreateMultipleEventsResp, error)
- func (c *ClientWithResponses) CreateMultipleEventsWithResponse(ctx context.Context, id string, params *CreateMultipleEventsParams, ...) (*CreateMultipleEventsResp, error)
- func (c *ClientWithResponses) CreateMultipleManualActivitiesWithBodyWithResponse(ctx context.Context, id string, contentType string, body io.Reader, ...) (*CreateMultipleManualActivitiesResp, error)
- func (c *ClientWithResponses) CreateMultipleManualActivitiesWithResponse(ctx context.Context, id string, ...) (*CreateMultipleManualActivitiesResp, error)
- func (c *ClientWithResponses) CreateMultipleWorkoutsWithBodyWithResponse(ctx context.Context, id string, contentType string, body io.Reader, ...) (*CreateMultipleWorkoutsResp, error)
- func (c *ClientWithResponses) CreateMultipleWorkoutsWithResponse(ctx context.Context, id string, body CreateMultipleWorkoutsJSONRequestBody, ...) (*CreateMultipleWorkoutsResp, error)
- func (c *ClientWithResponses) CreateReminderWithBodyWithResponse(ctx context.Context, id string, gearId string, contentType string, ...) (*CreateReminderResp, error)
- func (c *ClientWithResponses) CreateReminderWithResponse(ctx context.Context, id string, gearId string, ...) (*CreateReminderResp, error)
- func (c *ClientWithResponses) CreateSettingsWithBodyWithResponse(ctx context.Context, athleteId string, contentType string, body io.Reader, ...) (*CreateSettingsResp, error)
- func (c *ClientWithResponses) CreateSettingsWithResponse(ctx context.Context, athleteId string, body CreateSettingsJSONRequestBody, ...) (*CreateSettingsResp, error)
- func (c *ClientWithResponses) CreateSharedEventWithBodyWithResponse(ctx context.Context, params *CreateSharedEventParams, contentType string, ...) (*CreateSharedEventResp, error)
- func (c *ClientWithResponses) CreateSharedEventWithResponse(ctx context.Context, params *CreateSharedEventParams, ...) (*CreateSharedEventResp, error)
- func (c *ClientWithResponses) CreateWorkoutWithBodyWithResponse(ctx context.Context, id string, contentType string, body io.Reader, ...) (*CreateWorkoutResp, error)
- func (c *ClientWithResponses) CreateWorkoutWithResponse(ctx context.Context, id string, body CreateWorkoutJSONRequestBody, ...) (*CreateWorkoutResp, error)
- func (c *ClientWithResponses) DeleteActivityWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*DeleteActivityResp, error)
- func (c *ClientWithResponses) DeleteCustomItemWithResponse(ctx context.Context, id string, itemId int32, reqEditors ...RequestEditorFn) (*DeleteCustomItemResp, error)
- func (c *ClientWithResponses) DeleteEventWithResponse(ctx context.Context, id string, eventId int32, params *DeleteEventParams, ...) (*DeleteEventResp, error)
- func (c *ClientWithResponses) DeleteEventsBulkWithBodyWithResponse(ctx context.Context, id string, contentType string, body io.Reader, ...) (*DeleteEventsBulkResp, error)
- func (c *ClientWithResponses) DeleteEventsBulkWithResponse(ctx context.Context, id string, body DeleteEventsBulkJSONRequestBody, ...) (*DeleteEventsBulkResp, error)
- func (c *ClientWithResponses) DeleteEventsWithResponse(ctx context.Context, id string, params *DeleteEventsParams, ...) (*DeleteEventsResp, error)
- func (c *ClientWithResponses) DeleteFolderWithResponse(ctx context.Context, id string, folderId int32, reqEditors ...RequestEditorFn) (*DeleteFolderResp, error)
- func (c *ClientWithResponses) DeleteGearWithResponse(ctx context.Context, id string, gearId string, reqEditors ...RequestEditorFn) (*DeleteGearResp, error)
- func (c *ClientWithResponses) DeleteIntervalsWithBodyWithResponse(ctx context.Context, id string, contentType string, body io.Reader, ...) (*DeleteIntervalsResp, error)
- func (c *ClientWithResponses) DeleteIntervalsWithResponse(ctx context.Context, id string, body DeleteIntervalsJSONRequestBody, ...) (*DeleteIntervalsResp, error)
- func (c *ClientWithResponses) DeleteMessageWithResponse(ctx context.Context, id int32, msgId int64, reqEditors ...RequestEditorFn) (*DeleteMessageResp, error)
- func (c *ClientWithResponses) DeleteReminderWithResponse(ctx context.Context, id string, gearId string, reminderId int32, ...) (*DeleteReminderResp, error)
- func (c *ClientWithResponses) DeleteSettingsWithResponse(ctx context.Context, athleteId string, id int32, reqEditors ...RequestEditorFn) (*DeleteSettingsResp, error)
- func (c *ClientWithResponses) DeleteSharedEventWithResponse(ctx context.Context, id int32, reqEditors ...RequestEditorFn) (*DeleteSharedEventResp, error)
- func (c *ClientWithResponses) DeleteWorkoutWithResponse(ctx context.Context, id string, workoutId int32, params *DeleteWorkoutParams, ...) (*DeleteWorkoutResp, error)
- func (c *ClientWithResponses) DisconnectAppWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*DisconnectAppResp, error)
- func (c *ClientWithResponses) DownloadActivitiesAsCSVWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*DownloadActivitiesAsCSVResp, error)
- func (c *ClientWithResponses) DownloadActivityFileWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*DownloadActivityFileResp, error)
- func (c *ClientWithResponses) DownloadActivityFitFileWithResponse(ctx context.Context, id string, params *DownloadActivityFitFileParams, ...) (*DownloadActivityFitFileResp, error)
- func (c *ClientWithResponses) DownloadActivityFitFilesWithResponse(ctx context.Context, id string, params *DownloadActivityFitFilesParams, ...) (*DownloadActivityFitFilesResp, error)
- func (c *ClientWithResponses) DownloadActivityGpxFileWithResponse(ctx context.Context, id string, params *DownloadActivityGpxFileParams, ...) (*DownloadActivityGpxFileResp, error)
- func (c *ClientWithResponses) DownloadWorkout1WithResponse(ctx context.Context, id string, eventId int32, ext string, ...) (*DownloadWorkout1Resp, error)
- func (c *ClientWithResponses) DownloadWorkoutForAthleteWithBodyWithResponse(ctx context.Context, id string, ext string, contentType string, body io.Reader, ...) (*DownloadWorkoutForAthleteResp, error)
- func (c *ClientWithResponses) DownloadWorkoutForAthleteWithResponse(ctx context.Context, id string, ext string, ...) (*DownloadWorkoutForAthleteResp, error)
- func (c *ClientWithResponses) DownloadWorkoutWithBodyWithResponse(ctx context.Context, ext string, contentType string, body io.Reader, ...) (*DownloadWorkoutResp, error)
- func (c *ClientWithResponses) DownloadWorkoutWithResponse(ctx context.Context, ext string, body DownloadWorkoutJSONRequestBody, ...) (*DownloadWorkoutResp, error)
- func (c *ClientWithResponses) DownloadWorkoutsWithResponse(ctx context.Context, id string, params *DownloadWorkoutsParams, ...) (*DownloadWorkoutsResp, error)
- func (c *ClientWithResponses) DuplicateEventsWithBodyWithResponse(ctx context.Context, id string, contentType string, body io.Reader, ...) (*DuplicateEventsResp, error)
- func (c *ClientWithResponses) DuplicateEventsWithResponse(ctx context.Context, id string, body DuplicateEventsJSONRequestBody, ...) (*DuplicateEventsResp, error)
- func (c *ClientWithResponses) DuplicateWorkoutsWithBodyWithResponse(ctx context.Context, id string, contentType string, body io.Reader, ...) (*DuplicateWorkoutsResp, error)
- func (c *ClientWithResponses) DuplicateWorkoutsWithResponse(ctx context.Context, id string, body DuplicateWorkoutsJSONRequestBody, ...) (*DuplicateWorkoutsResp, error)
- func (c *ClientWithResponses) FindBestEffortsWithResponse(ctx context.Context, id string, params *FindBestEffortsParams, ...) (*FindBestEffortsResp, error)
- func (c *ClientWithResponses) GetActivitiesWithResponse(ctx context.Context, athleteId string, ids []string, ...) (*GetActivitiesResp, error)
- func (c *ClientWithResponses) GetActivityHRCurveWithResponse(ctx context.Context, id string, ext string, reqEditors ...RequestEditorFn) (*GetActivityHRCurveResp, error)
- func (c *ClientWithResponses) GetActivityMapWithResponse(ctx context.Context, id string, params *GetActivityMapParams, ...) (*GetActivityMapResp, error)
- func (c *ClientWithResponses) GetActivityPaceCurveWithResponse(ctx context.Context, id string, ext string, params *GetActivityPaceCurveParams, ...) (*GetActivityPaceCurveResp, error)
- func (c *ClientWithResponses) GetActivityPowerCurveWithResponse(ctx context.Context, id string, ext string, ...) (*GetActivityPowerCurveResp, error)
- func (c *ClientWithResponses) GetActivityPowerSpikeModelWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*GetActivityPowerSpikeModelResp, error)
- func (c *ClientWithResponses) GetActivitySegmentsWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*GetActivitySegmentsResp, error)
- func (c *ClientWithResponses) GetActivityStreamsWithResponse(ctx context.Context, id string, ext string, params *GetActivityStreamsParams, ...) (*GetActivityStreamsResp, error)
- func (c *ClientWithResponses) GetActivityWeatherSummaryWithResponse(ctx context.Context, id string, params *GetActivityWeatherSummaryParams, ...) (*GetActivityWeatherSummaryResp, error)
- func (c *ClientWithResponses) GetActivityWithResponse(ctx context.Context, id string, params *GetActivityParams, ...) (*GetActivityResp, error)
- func (c *ClientWithResponses) GetAthleteMMPModelWithResponse(ctx context.Context, id string, params *GetAthleteMMPModelParams, ...) (*GetAthleteMMPModelResp, error)
- func (c *ClientWithResponses) GetAthleteProfileWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*GetAthleteProfileResp, error)
- func (c *ClientWithResponses) GetAthleteRouteWithResponse(ctx context.Context, id string, routeId int64, params *GetAthleteRouteParams, ...) (*GetAthleteRouteResp, error)
- func (c *ClientWithResponses) GetAthleteSummaryWithResponse(ctx context.Context, id string, ext string, params *GetAthleteSummaryParams, ...) (*GetAthleteSummaryResp, error)
- func (c *ClientWithResponses) GetAthleteTrainingPlanWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*GetAthleteTrainingPlanResp, error)
- func (c *ClientWithResponses) GetAthleteWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*GetAthleteResp, error)
- func (c *ClientWithResponses) GetCustomItemWithResponse(ctx context.Context, id string, itemId int32, reqEditors ...RequestEditorFn) (*GetCustomItemResp, error)
- func (c *ClientWithResponses) GetForecastWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*GetForecastResp, error)
- func (c *ClientWithResponses) GetGapHistogramWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*GetGapHistogramResp, error)
- func (c *ClientWithResponses) GetHRHistogramWithResponse(ctx context.Context, id string, params *GetHRHistogramParams, ...) (*GetHRHistogramResp, error)
- func (c *ClientWithResponses) GetHRTrainingLoadModelWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*GetHRTrainingLoadModelResp, error)
- func (c *ClientWithResponses) GetIntervalStatsWithResponse(ctx context.Context, id string, params *GetIntervalStatsParams, ...) (*GetIntervalStatsResp, error)
- func (c *ClientWithResponses) GetIntervalsWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*GetIntervalsResp, error)
- func (c *ClientWithResponses) GetPaceHistogramWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*GetPaceHistogramResp, error)
- func (c *ClientWithResponses) GetPowerHRCurveWithResponse(ctx context.Context, id string, params *GetPowerHRCurveParams, ...) (*GetPowerHRCurveResp, error)
- func (c *ClientWithResponses) GetPowerHistogramWithResponse(ctx context.Context, id string, params *GetPowerHistogramParams, ...) (*GetPowerHistogramResp, error)
- func (c *ClientWithResponses) GetPowerVsHRWithResponse(ctx context.Context, id string, ext string, reqEditors ...RequestEditorFn) (*GetPowerVsHRResp, error)
- func (c *ClientWithResponses) GetRecordWithResponse(ctx context.Context, id string, date string, reqEditors ...RequestEditorFn) (*GetRecordResp, error)
- func (c *ClientWithResponses) GetSettings1WithResponse(ctx context.Context, athleteId string, id string, ...) (*GetSettings1Resp, error)
- func (c *ClientWithResponses) GetSettingsWithResponse(ctx context.Context, id string, deviceClass string, ...) (*GetSettingsResp, error)
- func (c *ClientWithResponses) GetSharedEventWithResponse(ctx context.Context, id int32, reqEditors ...RequestEditorFn) (*GetSharedEventResp, error)
- func (c *ClientWithResponses) GetTimeAtHRWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*GetTimeAtHRResp, error)
- func (c *ClientWithResponses) GetWeatherConfigWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*GetWeatherConfigResp, error)
- func (c *ClientWithResponses) ImportWorkoutFileWithBodyWithResponse(ctx context.Context, id string, folderId int32, ...) (*ImportWorkoutFileResp, error)
- func (c *ClientWithResponses) ImportWorkoutFileWithResponse(ctx context.Context, id string, folderId int32, ...) (*ImportWorkoutFileResp, error)
- func (c *ClientWithResponses) ListActivitiesAroundWithResponse(ctx context.Context, id string, params *ListActivitiesAroundParams, ...) (*ListActivitiesAroundResp, error)
- func (c *ClientWithResponses) ListActivitiesWithResponse(ctx context.Context, id string, params *ListActivitiesParams, ...) (*ListActivitiesResp, error)
- func (c *ClientWithResponses) ListActivityHRCurvesWithResponse(ctx context.Context, id string, ext string, params *ListActivityHRCurvesParams, ...) (*ListActivityHRCurvesResp, error)
- func (c *ClientWithResponses) ListActivityMessagesWithResponse(ctx context.Context, id string, params *ListActivityMessagesParams, ...) (*ListActivityMessagesResp, error)
- func (c *ClientWithResponses) ListActivityPaceCurvesWithResponse(ctx context.Context, id string, ext string, ...) (*ListActivityPaceCurvesResp, error)
- func (c *ClientWithResponses) ListActivityPowerCurves1WithResponse(ctx context.Context, id string, ext string, ...) (*ListActivityPowerCurves1Resp, error)
- func (c *ClientWithResponses) ListActivityPowerCurvesWithResponse(ctx context.Context, id string, ext string, ...) (*ListActivityPowerCurvesResp, error)
- func (c *ClientWithResponses) ListAthleteHRCurvesWithResponse(ctx context.Context, id string, ext string, params *ListAthleteHRCurvesParams, ...) (*ListAthleteHRCurvesResp, error)
- func (c *ClientWithResponses) ListAthletePaceCurvesWithResponse(ctx context.Context, id string, ext string, ...) (*ListAthletePaceCurvesResp, error)
- func (c *ClientWithResponses) ListAthletePowerCurvesWithResponse(ctx context.Context, id string, ext string, ...) (*ListAthletePowerCurvesResp, error)
- func (c *ClientWithResponses) ListAthleteRoutesWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*ListAthleteRoutesResp, error)
- func (c *ClientWithResponses) ListChatsWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*ListChatsResp, error)
- func (c *ClientWithResponses) ListCustomItemsWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*ListCustomItemsResp, error)
- func (c *ClientWithResponses) ListEventsWithResponse(ctx context.Context, id string, format string, params *ListEventsParams, ...) (*ListEventsResp, error)
- func (c *ClientWithResponses) ListFitnessModelEventsWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*ListFitnessModelEventsResp, error)
- func (c *ClientWithResponses) ListFolderSharedWithWithResponse(ctx context.Context, id string, folderId int32, reqEditors ...RequestEditorFn) (*ListFolderSharedWithResp, error)
- func (c *ClientWithResponses) ListFoldersWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*ListFoldersResp, error)
- func (c *ClientWithResponses) ListGearWithResponse(ctx context.Context, id string, ext string, reqEditors ...RequestEditorFn) (*ListGearResp, error)
- func (c *ClientWithResponses) ListMatchingActivitiesWithResponse(ctx context.Context, athleteId string, id string, ...) (*ListMatchingActivitiesResp, error)
- func (c *ClientWithResponses) ListMessagesWithResponse(ctx context.Context, id int32, params *ListMessagesParams, ...) (*ListMessagesResp, error)
- func (c *ClientWithResponses) ListPaceDistancesForSportWithResponse(ctx context.Context, athleteId string, id string, ...) (*ListPaceDistancesForSportResp, error)
- func (c *ClientWithResponses) ListPaceDistancesWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*ListPaceDistancesResp, error)
- func (c *ClientWithResponses) ListSettingsWithResponse(ctx context.Context, athleteId string, reqEditors ...RequestEditorFn) (*ListSettingsResp, error)
- func (c *ClientWithResponses) ListTags1WithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*ListTags1Resp, error)
- func (c *ClientWithResponses) ListTags2WithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*ListTags2Resp, error)
- func (c *ClientWithResponses) ListTagsWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*ListTagsResp, error)
- func (c *ClientWithResponses) ListWellnessRecordsWithResponse(ctx context.Context, id string, ext string, params *ListWellnessRecordsParams, ...) (*ListWellnessRecordsResp, error)
- func (c *ClientWithResponses) ListWorkoutsWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*ListWorkoutsResp, error)
- func (c *ClientWithResponses) MarkEventAsDoneWithResponse(ctx context.Context, id string, eventId int32, reqEditors ...RequestEditorFn) (*MarkEventAsDoneResp, error)
- func (c *ClientWithResponses) ReplaceGearWithBodyWithResponse(ctx context.Context, id string, gearId string, contentType string, ...) (*ReplaceGearResp, error)
- func (c *ClientWithResponses) ReplaceGearWithResponse(ctx context.Context, id string, gearId string, body ReplaceGearJSONRequestBody, ...) (*ReplaceGearResp, error)
- func (c *ClientWithResponses) SearchForActivitiesFullWithResponse(ctx context.Context, id string, params *SearchForActivitiesFullParams, ...) (*SearchForActivitiesFullResp, error)
- func (c *ClientWithResponses) SearchForActivitiesWithResponse(ctx context.Context, id string, params *SearchForActivitiesParams, ...) (*SearchForActivitiesResp, error)
- func (c *ClientWithResponses) SearchForIntervalsWithResponse(ctx context.Context, id string, params *SearchForIntervalsParams, ...) (*SearchForIntervalsResp, error)
- func (c *ClientWithResponses) SendActivityMessageWithBodyWithResponse(ctx context.Context, id string, contentType string, body io.Reader, ...) (*SendActivityMessageResp, error)
- func (c *ClientWithResponses) SendActivityMessageWithResponse(ctx context.Context, id string, body SendActivityMessageJSONRequestBody, ...) (*SendActivityMessageResp, error)
- func (c *ClientWithResponses) SendMessageWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*SendMessageResp, error)
- func (c *ClientWithResponses) SendMessageWithResponse(ctx context.Context, body SendMessageJSONRequestBody, ...) (*SendMessageResp, error)
- func (c *ClientWithResponses) ShowChatWithResponse(ctx context.Context, id int32, reqEditors ...RequestEditorFn) (*ShowChatResp, error)
- func (c *ClientWithResponses) ShowEventWithResponse(ctx context.Context, id string, eventId int32, reqEditors ...RequestEditorFn) (*ShowEventResp, error)
- func (c *ClientWithResponses) ShowWorkoutWithResponse(ctx context.Context, id string, workoutId int32, reqEditors ...RequestEditorFn) (*ShowWorkoutResp, error)
- func (c *ClientWithResponses) SplitIntervalWithResponse(ctx context.Context, id string, params *SplitIntervalParams, ...) (*SplitIntervalResp, error)
- func (c *ClientWithResponses) UpdateActivityStreamsWithBodyWithResponse(ctx context.Context, id string, contentType string, body io.Reader, ...) (*UpdateActivityStreamsResp, error)
- func (c *ClientWithResponses) UpdateActivityStreamsWithResponse(ctx context.Context, id string, body UpdateActivityStreamsJSONRequestBody, ...) (*UpdateActivityStreamsResp, error)
- func (c *ClientWithResponses) UpdateActivityWithBodyWithResponse(ctx context.Context, id string, contentType string, body io.Reader, ...) (*UpdateActivityResp, error)
- func (c *ClientWithResponses) UpdateActivityWithResponse(ctx context.Context, id string, body UpdateActivityJSONRequestBody, ...) (*UpdateActivityResp, error)
- func (c *ClientWithResponses) UpdateAthletePlanWithBodyWithResponse(ctx context.Context, id string, contentType string, body io.Reader, ...) (*UpdateAthletePlanResp, error)
- func (c *ClientWithResponses) UpdateAthletePlanWithResponse(ctx context.Context, id string, body UpdateAthletePlanJSONRequestBody, ...) (*UpdateAthletePlanResp, error)
- func (c *ClientWithResponses) UpdateAthletePlansWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*UpdateAthletePlansResp, error)
- func (c *ClientWithResponses) UpdateAthletePlansWithResponse(ctx context.Context, body UpdateAthletePlansJSONRequestBody, ...) (*UpdateAthletePlansResp, error)
- func (c *ClientWithResponses) UpdateAthleteRouteWithBodyWithResponse(ctx context.Context, id string, routeId int64, contentType string, ...) (*UpdateAthleteRouteResp, error)
- func (c *ClientWithResponses) UpdateAthleteRouteWithResponse(ctx context.Context, id string, routeId int64, ...) (*UpdateAthleteRouteResp, error)
- func (c *ClientWithResponses) UpdateAthleteWithBodyWithResponse(ctx context.Context, id string, contentType string, body io.Reader, ...) (*UpdateAthleteResp, error)
- func (c *ClientWithResponses) UpdateAthleteWithResponse(ctx context.Context, id string, body UpdateAthleteJSONRequestBody, ...) (*UpdateAthleteResp, error)
- func (c *ClientWithResponses) UpdateCustomItemImageWithBodyWithResponse(ctx context.Context, id string, itemId int32, contentType string, ...) (*UpdateCustomItemImageResp, error)
- func (c *ClientWithResponses) UpdateCustomItemImageWithResponse(ctx context.Context, id string, itemId int32, ...) (*UpdateCustomItemImageResp, error)
- func (c *ClientWithResponses) UpdateCustomItemIndexesWithBodyWithResponse(ctx context.Context, id string, contentType string, body io.Reader, ...) (*UpdateCustomItemIndexesResp, error)
- func (c *ClientWithResponses) UpdateCustomItemIndexesWithResponse(ctx context.Context, id string, body UpdateCustomItemIndexesJSONRequestBody, ...) (*UpdateCustomItemIndexesResp, error)
- func (c *ClientWithResponses) UpdateCustomItemWithBodyWithResponse(ctx context.Context, id string, itemId int32, contentType string, ...) (*UpdateCustomItemResp, error)
- func (c *ClientWithResponses) UpdateCustomItemWithResponse(ctx context.Context, id string, itemId int32, ...) (*UpdateCustomItemResp, error)
- func (c *ClientWithResponses) UpdateEventWithBodyWithResponse(ctx context.Context, id string, eventId int32, contentType string, ...) (*UpdateEventResp, error)
- func (c *ClientWithResponses) UpdateEventWithResponse(ctx context.Context, id string, eventId int32, body UpdateEventJSONRequestBody, ...) (*UpdateEventResp, error)
- func (c *ClientWithResponses) UpdateEventsWithBodyWithResponse(ctx context.Context, id string, params *UpdateEventsParams, contentType string, ...) (*UpdateEventsResp, error)
- func (c *ClientWithResponses) UpdateEventsWithResponse(ctx context.Context, id string, params *UpdateEventsParams, ...) (*UpdateEventsResp, error)
- func (c *ClientWithResponses) UpdateFolderSharedWithWithBodyWithResponse(ctx context.Context, id string, folderId int32, contentType string, ...) (*UpdateFolderSharedWithResp, error)
- func (c *ClientWithResponses) UpdateFolderSharedWithWithResponse(ctx context.Context, id string, folderId int32, ...) (*UpdateFolderSharedWithResp, error)
- func (c *ClientWithResponses) UpdateFolderWithBodyWithResponse(ctx context.Context, id string, folderId int32, contentType string, ...) (*UpdateFolderResp, error)
- func (c *ClientWithResponses) UpdateFolderWithResponse(ctx context.Context, id string, folderId int32, ...) (*UpdateFolderResp, error)
- func (c *ClientWithResponses) UpdateGearWithBodyWithResponse(ctx context.Context, id string, gearId string, contentType string, ...) (*UpdateGearResp, error)
- func (c *ClientWithResponses) UpdateGearWithResponse(ctx context.Context, id string, gearId string, body UpdateGearJSONRequestBody, ...) (*UpdateGearResp, error)
- func (c *ClientWithResponses) UpdateIntervalWithBodyWithResponse(ctx context.Context, id string, intervalId int32, contentType string, ...) (*UpdateIntervalResp, error)
- func (c *ClientWithResponses) UpdateIntervalWithResponse(ctx context.Context, id string, intervalId int32, ...) (*UpdateIntervalResp, error)
- func (c *ClientWithResponses) UpdateIntervalsWithBodyWithResponse(ctx context.Context, id string, params *UpdateIntervalsParams, ...) (*UpdateIntervalsResp, error)
- func (c *ClientWithResponses) UpdateIntervalsWithResponse(ctx context.Context, id string, params *UpdateIntervalsParams, ...) (*UpdateIntervalsResp, error)
- func (c *ClientWithResponses) UpdateLastSeenMessageIdWithResponse(ctx context.Context, id int32, msgId int64, reqEditors ...RequestEditorFn) (*UpdateLastSeenMessageIdResp, error)
- func (c *ClientWithResponses) UpdatePlanWorkoutsWithBodyWithResponse(ctx context.Context, id string, folderId int32, ...) (*UpdatePlanWorkoutsResp, error)
- func (c *ClientWithResponses) UpdatePlanWorkoutsWithResponse(ctx context.Context, id string, folderId int32, ...) (*UpdatePlanWorkoutsResp, error)
- func (c *ClientWithResponses) UpdateReminderWithBodyWithResponse(ctx context.Context, id string, gearId string, reminderId int32, ...) (*UpdateReminderResp, error)
- func (c *ClientWithResponses) UpdateReminderWithResponse(ctx context.Context, id string, gearId string, reminderId int32, ...) (*UpdateReminderResp, error)
- func (c *ClientWithResponses) UpdateSettingsMultiWithBodyWithResponse(ctx context.Context, athleteId string, params *UpdateSettingsMultiParams, ...) (*UpdateSettingsMultiResp, error)
- func (c *ClientWithResponses) UpdateSettingsMultiWithResponse(ctx context.Context, athleteId string, params *UpdateSettingsMultiParams, ...) (*UpdateSettingsMultiResp, error)
- func (c *ClientWithResponses) UpdateSettingsWithBodyWithResponse(ctx context.Context, athleteId string, id string, params *UpdateSettingsParams, ...) (*UpdateSettingsResp, error)
- func (c *ClientWithResponses) UpdateSettingsWithResponse(ctx context.Context, athleteId string, id string, params *UpdateSettingsParams, ...) (*UpdateSettingsResp, error)
- func (c *ClientWithResponses) UpdateSharedEventWithBodyWithResponse(ctx context.Context, id int32, contentType string, body io.Reader, ...) (*UpdateSharedEventResp, error)
- func (c *ClientWithResponses) UpdateSharedEventWithResponse(ctx context.Context, id int32, body UpdateSharedEventJSONRequestBody, ...) (*UpdateSharedEventResp, error)
- func (c *ClientWithResponses) UpdateWeatherConfigWithBodyWithResponse(ctx context.Context, id string, contentType string, body io.Reader, ...) (*UpdateWeatherConfigResp, error)
- func (c *ClientWithResponses) UpdateWeatherConfigWithResponse(ctx context.Context, id string, body UpdateWeatherConfigJSONRequestBody, ...) (*UpdateWeatherConfigResp, error)
- func (c *ClientWithResponses) UpdateWellness1WithBodyWithResponse(ctx context.Context, id string, contentType string, body io.Reader, ...) (*UpdateWellness1Resp, error)
- func (c *ClientWithResponses) UpdateWellness1WithResponse(ctx context.Context, id string, body UpdateWellness1JSONRequestBody, ...) (*UpdateWellness1Resp, error)
- func (c *ClientWithResponses) UpdateWellnessBulkWithBodyWithResponse(ctx context.Context, id string, contentType string, body io.Reader, ...) (*UpdateWellnessBulkResp, error)
- func (c *ClientWithResponses) UpdateWellnessBulkWithResponse(ctx context.Context, id string, body UpdateWellnessBulkJSONRequestBody, ...) (*UpdateWellnessBulkResp, error)
- func (c *ClientWithResponses) UpdateWellnessWithBodyWithResponse(ctx context.Context, id string, date string, contentType string, ...) (*UpdateWellnessResp, error)
- func (c *ClientWithResponses) UpdateWellnessWithResponse(ctx context.Context, id string, date string, ...) (*UpdateWellnessResp, error)
- func (c *ClientWithResponses) UpdateWorkoutWithBodyWithResponse(ctx context.Context, id string, workoutId int32, contentType string, ...) (*UpdateWorkoutResp, error)
- func (c *ClientWithResponses) UpdateWorkoutWithResponse(ctx context.Context, id string, workoutId int32, ...) (*UpdateWorkoutResp, error)
- func (c *ClientWithResponses) UploadActivityStreamsCSVWithBodyWithResponse(ctx context.Context, id string, contentType string, body io.Reader, ...) (*UploadActivityStreamsCSVResp, error)
- func (c *ClientWithResponses) UploadActivityStreamsCSVWithResponse(ctx context.Context, id string, body UploadActivityStreamsCSVJSONRequestBody, ...) (*UploadActivityStreamsCSVResp, error)
- func (c *ClientWithResponses) UploadActivityWithBodyWithResponse(ctx context.Context, id string, params *UploadActivityParams, ...) (*UploadActivityResp, error)
- func (c *ClientWithResponses) UploadActivityWithResponse(ctx context.Context, id string, params *UploadActivityParams, ...) (*UploadActivityResp, error)
- func (c *ClientWithResponses) UploadWellnessWithBodyWithResponse(ctx context.Context, id string, params *UploadWellnessParams, ...) (*UploadWellnessResp, error)
- func (c *ClientWithResponses) UploadWellnessWithResponse(ctx context.Context, id string, params *UploadWellnessParams, ...) (*UploadWellnessResp, error)
- type ClientWithResponsesInterface
- type Closest
- type CoachTick
- type CreateCustomItemJSONRequestBody
- type CreateCustomItemResp
- type CreateEventJSONRequestBody
- type CreateEventParams
- type CreateEventResp
- type CreateFolderDTO
- type CreateFolderDTOActivityTypes
- type CreateFolderDTOType
- type CreateFolderDTOVisibility
- type CreateFolderDTOWorkoutTargets
- type CreateFolderJSONRequestBody
- type CreateFolderResp
- type CreateGearJSONRequestBody
- type CreateGearResp
- type CreateManualActivityJSONRequestBody
- type CreateManualActivityResp
- type CreateMultipleEventsJSONBody
- type CreateMultipleEventsJSONRequestBody
- type CreateMultipleEventsParams
- type CreateMultipleEventsResp
- type CreateMultipleManualActivitiesJSONBody
- type CreateMultipleManualActivitiesJSONRequestBody
- type CreateMultipleManualActivitiesResp
- type CreateMultipleWorkoutsJSONBody
- type CreateMultipleWorkoutsJSONRequestBody
- type CreateMultipleWorkoutsResp
- type CreateReminderJSONRequestBody
- type CreateReminderResp
- type CreateSettingsJSONRequestBody
- type CreateSettingsResp
- type CreateSharedEventJSONRequestBody
- type CreateSharedEventParams
- type CreateSharedEventResp
- type CreateWorkoutJSONRequestBody
- type CreateWorkoutResp
- type Curve
- type CustomItem
- type CustomItemType
- type CustomItemVisibility
- type DataCurve
- type DataCurvePt
- type DataCurveSetHRCurve
- type DataCurveSetPaceCurve
- type DataCurveSetPowerCurve
- type DeleteActivityResp
- type DeleteCustomItemResp
- type DeleteEventParams
- type DeleteEventResp
- type DeleteEventsBulkJSONBody
- type DeleteEventsBulkJSONRequestBody
- type DeleteEventsBulkResp
- type DeleteEventsParams
- type DeleteEventsResp
- type DeleteEventsResponse
- type DeleteFolderResp
- type DeleteGearResp
- type DeleteIntervalsJSONBody
- type DeleteIntervalsJSONRequestBody
- type DeleteIntervalsResp
- type DeleteMessageResp
- type DeleteReminderResp
- type DeleteSettingsResp
- type DeleteSharedEventResp
- type DeleteWorkoutParams
- type DeleteWorkoutResp
- type DisconnectAppResp
- type Display
- type DoomedEvent
- type DownloadActivitiesAsCSVResp
- type DownloadActivityFileResp
- type DownloadActivityFitFileParams
- type DownloadActivityFitFileResp
- type DownloadActivityFitFilesParams
- type DownloadActivityFitFilesResp
- type DownloadActivityGpxFileParams
- type DownloadActivityGpxFileResp
- type DownloadWorkout1Resp
- type DownloadWorkoutForAthleteJSONRequestBody
- type DownloadWorkoutForAthleteResp
- type DownloadWorkoutJSONRequestBody
- type DownloadWorkoutResp
- type DownloadWorkoutsParams
- type DownloadWorkoutsResp
- type DuplicateEventsDTO
- type DuplicateEventsJSONRequestBody
- type DuplicateEventsResp
- type DuplicateWorkoutsDTO
- type DuplicateWorkoutsJSONRequestBody
- type DuplicateWorkoutsResp
- type Effort
- type Event
- type EventCanTrainSports
- type EventCategory
- type EventEx
- type EventExCanTrainSports
- type EventExCategory
- type EventExSubType
- type EventExTarget
- type EventExTrainingAvailability
- type EventSubType
- type EventTarget
- type EventTrainingAvailability
- type FindBestEffortsParams
- type FindBestEffortsResp
- type Folder
- type FolderActivityTypes
- type FolderType
- type FolderVisibility
- type FolderWorkoutTargets
- type Forecast
- type ForecastProvider
- type Gear
- type GearReminder
- type GearStats
- type GearType
- type GetActivitiesParams
- type GetActivitiesResp
- type GetActivityHRCurveResp
- type GetActivityMapParams
- type GetActivityMapResp
- type GetActivityPaceCurveParams
- type GetActivityPaceCurveResp
- type GetActivityParams
- type GetActivityPowerCurveParams
- type GetActivityPowerCurveResp
- type GetActivityPowerSpikeModelResp
- type GetActivityResp
- type GetActivitySegmentsResp
- type GetActivityStreamsParams
- type GetActivityStreamsResp
- type GetActivityWeatherSummaryParams
- type GetActivityWeatherSummaryResp
- type GetAthleteMMPModelParams
- type GetAthleteMMPModelParamsType
- type GetAthleteMMPModelResp
- type GetAthleteProfileResp
- type GetAthleteResp
- type GetAthleteRouteParams
- type GetAthleteRouteResp
- type GetAthleteSummaryParams
- type GetAthleteSummaryResp
- type GetAthleteTrainingPlanResp
- type GetCustomItemResp
- type GetForecastResp
- type GetGapHistogramResp
- type GetHRHistogramParams
- type GetHRHistogramResp
- type GetHRTrainingLoadModelResp
- type GetIntervalStatsParams
- type GetIntervalStatsResp
- type GetIntervalsResp
- type GetPaceHistogramResp
- type GetPowerHRCurveParams
- type GetPowerHRCurveResp
- type GetPowerHistogramParams
- type GetPowerHistogramResp
- type GetPowerVsHRResp
- type GetRecordResp
- type GetSettings1Resp
- type GetSettingsResp
- type GetSharedEventResp
- type GetTimeAtHRResp
- type GetWeatherConfigResp
- type HRCurve
- type HRLoadModel
- type HRLoadModelType
- type HRRecovery
- type Hidden
- type HiddenSource
- type HttpRequestDoer
- type IcuAchievement
- type IcuAchievementType
- type IcuSegment
- type Ignore
- type ImportWorkoutFileJSONBody
- type ImportWorkoutFileJSONRequestBody
- type ImportWorkoutFileParams
- type ImportWorkoutFileParamsType
- type ImportWorkoutFileResp
- type Interval
- type IntervalGroup
- type IntervalType
- type IntervalsDTO
- type ListActivitiesAroundParams
- type ListActivitiesAroundResp
- type ListActivitiesParams
- type ListActivitiesResp
- type ListActivityHRCurvesParams
- type ListActivityHRCurvesParamsType
- type ListActivityHRCurvesResp
- type ListActivityMessagesParams
- type ListActivityMessagesResp
- type ListActivityPaceCurvesParams
- type ListActivityPaceCurvesParamsType
- type ListActivityPaceCurvesResp
- type ListActivityPowerCurves1Params
- type ListActivityPowerCurves1Resp
- type ListActivityPowerCurvesParams
- type ListActivityPowerCurvesParamsType
- type ListActivityPowerCurvesResp
- type ListAthleteHRCurvesParams
- type ListAthleteHRCurvesParamsType
- type ListAthleteHRCurvesResp
- type ListAthletePaceCurvesParams
- type ListAthletePaceCurvesParamsPmType
- type ListAthletePaceCurvesParamsType
- type ListAthletePaceCurvesResp
- type ListAthletePowerCurvesParams
- type ListAthletePowerCurvesParamsPmType
- type ListAthletePowerCurvesParamsType
- type ListAthletePowerCurvesResp
- type ListAthleteRoutesResp
- type ListChatsResp
- type ListCustomItemsResp
- type ListEventsParams
- type ListEventsResp
- type ListFitnessModelEventsResp
- type ListFolderSharedWithResp
- type ListFoldersResp
- type ListGearResp
- type ListMatchingActivitiesResp
- type ListMessagesParams
- type ListMessagesResp
- type ListPaceDistancesForSportResp
- type ListPaceDistancesResp
- type ListSettingsResp
- type ListTags1Resp
- type ListTags2Resp
- type ListTagsResp
- type ListWellnessRecordsParams
- type ListWellnessRecordsResp
- type ListWorkoutsResp
- type MapData
- type MarkEventAsDoneResp
- type Message
- type MessageType
- type NewActivityMsg
- type NewCustomItem
- type NewCustomItemType
- type NewCustomItemVisibility
- type NewMessage
- type NewMessageType
- type NewMsg
- type PaceCurve
- type PaceCurveType
- type PaceDistancesDTO
- type PaceModel
- type PaceModelType
- type Plot
- type Pos
- type PowerCurve
- type PowerHRCurve
- type PowerModel
- type PowerModelType
- type PowerVsHRPlot
- type PushError
- type Rank
- type ReplaceGearJSONRequestBody
- type ReplaceGearResp
- type RequestEditorFn
- type RouteSimilarity
- type SearchForActivitiesFullParams
- type SearchForActivitiesFullResp
- type SearchForActivitiesParams
- type SearchForActivitiesResp
- type SearchForIntervalsParams
- type SearchForIntervalsParamsType
- type SearchForIntervalsResp
- type SendActivityMessageJSONRequestBody
- type SendActivityMessageResp
- type SendMessageJSONRequestBody
- type SendMessageResp
- type SendResponse
- type Settings
- type SettingsType
- type SharedEvent
- type SharedEventCategory
- type SharedEventTypes
- type SharedEventVisibility
- type SharedWith
- type ShowChatResp
- type ShowEventResp
- type ShowWorkoutResp
- type SplitIntervalParams
- type SplitIntervalResp
- type SportInfo
- type SportInfoType
- type SportSettings
- type SportSettingsElevationCorrection
- type SportSettingsGapModel
- type SportSettingsHrLoadType
- type SportSettingsIntervalDisplay
- type SportSettingsLoadOrder
- type SportSettingsPaceLoadType
- type SportSettingsPaceUnits
- type SportSettingsTizOrder
- type SportSettingsTypes
- type SportSettingsWorkoutOrder
- type StravaGear
- type SummaryWithCats
- type Time
- type UpdateActivityJSONRequestBody
- type UpdateActivityResp
- type UpdateActivityStreamsJSONBody
- type UpdateActivityStreamsJSONRequestBody
- type UpdateActivityStreamsResp
- type UpdateAthleteJSONRequestBody
- type UpdateAthletePlanJSONRequestBody
- type UpdateAthletePlanResp
- type UpdateAthletePlansJSONBody
- type UpdateAthletePlansJSONRequestBody
- type UpdateAthletePlansResp
- type UpdateAthleteResp
- type UpdateAthleteRouteJSONRequestBody
- type UpdateAthleteRouteResp
- type UpdateCustomItemImageJSONBody
- type UpdateCustomItemImageJSONRequestBody
- type UpdateCustomItemImageResp
- type UpdateCustomItemIndexesJSONBody
- type UpdateCustomItemIndexesJSONRequestBody
- type UpdateCustomItemIndexesResp
- type UpdateCustomItemJSONRequestBody
- type UpdateCustomItemResp
- type UpdateEventJSONRequestBody
- type UpdateEventResp
- type UpdateEventsJSONRequestBody
- type UpdateEventsParams
- type UpdateEventsResp
- type UpdateFolderJSONRequestBody
- type UpdateFolderResp
- type UpdateFolderSharedWithJSONBody
- type UpdateFolderSharedWithJSONRequestBody
- type UpdateFolderSharedWithResp
- type UpdateGearJSONRequestBody
- type UpdateGearResp
- type UpdateIntervalJSONRequestBody
- type UpdateIntervalResp
- type UpdateIntervalsJSONBody
- type UpdateIntervalsJSONRequestBody
- type UpdateIntervalsParams
- type UpdateIntervalsResp
- type UpdateLastSeenMessageIdResp
- type UpdatePlanWorkoutsJSONRequestBody
- type UpdatePlanWorkoutsParams
- type UpdatePlanWorkoutsResp
- type UpdateReminderJSONRequestBody
- type UpdateReminderParams
- type UpdateReminderResp
- type UpdateSettingsJSONRequestBody
- type UpdateSettingsMultiJSONBody
- type UpdateSettingsMultiJSONRequestBody
- type UpdateSettingsMultiParams
- type UpdateSettingsMultiResp
- type UpdateSettingsParams
- type UpdateSettingsResp
- type UpdateSharedEventJSONRequestBody
- type UpdateSharedEventResp
- type UpdateStreamsResult
- type UpdateWeatherConfigJSONRequestBody
- type UpdateWeatherConfigResp
- type UpdateWellness1JSONRequestBody
- type UpdateWellness1Resp
- type UpdateWellnessBulkJSONBody
- type UpdateWellnessBulkJSONRequestBody
- type UpdateWellnessBulkResp
- type UpdateWellnessJSONRequestBody
- type UpdateWellnessResp
- type UpdateWorkoutJSONRequestBody
- type UpdateWorkoutResp
- type UploadActivityJSONBody
- type UploadActivityJSONRequestBody
- type UploadActivityMultipartBody
- type UploadActivityMultipartRequestBody
- type UploadActivityParams
- type UploadActivityResp
- type UploadActivityStreamsCSVJSONBody
- type UploadActivityStreamsCSVJSONRequestBody
- type UploadActivityStreamsCSVMultipartBody
- type UploadActivityStreamsCSVMultipartRequestBody
- type UploadActivityStreamsCSVResp
- type UploadResponse
- type UploadWellnessJSONBody
- type UploadWellnessJSONRequestBody
- type UploadWellnessParams
- type UploadWellnessResp
- type WeatherConfig
- type WeatherDTO
- type WeatherPoint
- type Wellness
- type WellnessMenstrualPhase
- type WellnessMenstrualPhasePredicted
- type WindRose
- type WithCount
- type WithSportSettings
- type WithSportSettingsGarminPowerTarget
- type WithSportSettingsGarminSyncActivityTypes
- type WithSportSettingsHeightUnits
- type WithSportSettingsIcuMenstrualCyclePerm
- type WithSportSettingsIcuPermission
- type WithSportSettingsIcuWeightSync
- type WithSportSettingsPlan
- type WithSportSettingsPolarSyncActivityTypes
- type WithSportSettingsRain
- type WithSportSettingsStatus
- type WithSportSettingsStravaSyncActivityTypes
- type WithSportSettingsSuuntoSyncActivityTypes
- type WithSportSettingsVisibility
- type WithSportSettingsWindSpeed
- type Workout
- type WorkoutEx
- type WorkoutExSubType
- type WorkoutExTarget
- type WorkoutExTargets
- type WorkoutSubType
- type WorkoutTarget
- type WorkoutTargets
- type ZoneInfo
- type ZoneSet
- type ZoneTime
Constants ¶
const ( APIKeyScopes = "APIKey.Scopes" AccessTokenScopes = "AccessToken.Scopes" )
Variables ¶
This section is empty.
Functions ¶
func NewApplyCurrentPlanChangesRequest ¶
NewApplyCurrentPlanChangesRequest generates requests for ApplyCurrentPlanChanges
func NewApplyPlanRequest ¶
func NewApplyPlanRequest(server string, id string, body ApplyPlanJSONRequestBody) (*http.Request, error)
NewApplyPlanRequest calls the generic ApplyPlan builder with application/json body
func NewApplyPlanRequestWithBody ¶
func NewApplyPlanRequestWithBody(server string, id string, contentType string, body io.Reader) (*http.Request, error)
NewApplyPlanRequestWithBody generates requests for ApplyPlan with any type of body
func NewApplyToActivitiesRequest ¶
NewApplyToActivitiesRequest generates requests for ApplyToActivities
func NewCalcDistanceEtcRequest ¶
NewCalcDistanceEtcRequest generates requests for CalcDistanceEtc
func NewCheckMergeRequest ¶
func NewCheckMergeRequest(server string, id string, routeId int64, otherId int64) (*http.Request, error)
NewCheckMergeRequest generates requests for CheckMerge
func NewCreateCustomItemRequest ¶
func NewCreateCustomItemRequest(server string, id string, body CreateCustomItemJSONRequestBody) (*http.Request, error)
NewCreateCustomItemRequest calls the generic CreateCustomItem builder with application/json body
func NewCreateCustomItemRequestWithBody ¶
func NewCreateCustomItemRequestWithBody(server string, id string, contentType string, body io.Reader) (*http.Request, error)
NewCreateCustomItemRequestWithBody generates requests for CreateCustomItem with any type of body
func NewCreateEventRequest ¶
func NewCreateEventRequest(server string, id string, params *CreateEventParams, body CreateEventJSONRequestBody) (*http.Request, error)
NewCreateEventRequest calls the generic CreateEvent builder with application/json body
func NewCreateEventRequestWithBody ¶
func NewCreateEventRequestWithBody(server string, id string, params *CreateEventParams, contentType string, body io.Reader) (*http.Request, error)
NewCreateEventRequestWithBody generates requests for CreateEvent with any type of body
func NewCreateFolderRequest ¶
func NewCreateFolderRequest(server string, id string, body CreateFolderJSONRequestBody) (*http.Request, error)
NewCreateFolderRequest calls the generic CreateFolder builder with application/json body
func NewCreateFolderRequestWithBody ¶
func NewCreateFolderRequestWithBody(server string, id string, contentType string, body io.Reader) (*http.Request, error)
NewCreateFolderRequestWithBody generates requests for CreateFolder with any type of body
func NewCreateGearRequest ¶
func NewCreateGearRequest(server string, id string, body CreateGearJSONRequestBody) (*http.Request, error)
NewCreateGearRequest calls the generic CreateGear builder with application/json body
func NewCreateGearRequestWithBody ¶
func NewCreateGearRequestWithBody(server string, id string, contentType string, body io.Reader) (*http.Request, error)
NewCreateGearRequestWithBody generates requests for CreateGear with any type of body
func NewCreateManualActivityRequest ¶
func NewCreateManualActivityRequest(server string, id string, body CreateManualActivityJSONRequestBody) (*http.Request, error)
NewCreateManualActivityRequest calls the generic CreateManualActivity builder with application/json body
func NewCreateManualActivityRequestWithBody ¶
func NewCreateManualActivityRequestWithBody(server string, id string, contentType string, body io.Reader) (*http.Request, error)
NewCreateManualActivityRequestWithBody generates requests for CreateManualActivity with any type of body
func NewCreateMultipleEventsRequest ¶
func NewCreateMultipleEventsRequest(server string, id string, params *CreateMultipleEventsParams, body CreateMultipleEventsJSONRequestBody) (*http.Request, error)
NewCreateMultipleEventsRequest calls the generic CreateMultipleEvents builder with application/json body
func NewCreateMultipleEventsRequestWithBody ¶
func NewCreateMultipleEventsRequestWithBody(server string, id string, params *CreateMultipleEventsParams, contentType string, body io.Reader) (*http.Request, error)
NewCreateMultipleEventsRequestWithBody generates requests for CreateMultipleEvents with any type of body
func NewCreateMultipleManualActivitiesRequest ¶
func NewCreateMultipleManualActivitiesRequest(server string, id string, body CreateMultipleManualActivitiesJSONRequestBody) (*http.Request, error)
NewCreateMultipleManualActivitiesRequest calls the generic CreateMultipleManualActivities builder with application/json body
func NewCreateMultipleManualActivitiesRequestWithBody ¶
func NewCreateMultipleManualActivitiesRequestWithBody(server string, id string, contentType string, body io.Reader) (*http.Request, error)
NewCreateMultipleManualActivitiesRequestWithBody generates requests for CreateMultipleManualActivities with any type of body
func NewCreateMultipleWorkoutsRequest ¶
func NewCreateMultipleWorkoutsRequest(server string, id string, body CreateMultipleWorkoutsJSONRequestBody) (*http.Request, error)
NewCreateMultipleWorkoutsRequest calls the generic CreateMultipleWorkouts builder with application/json body
func NewCreateMultipleWorkoutsRequestWithBody ¶
func NewCreateMultipleWorkoutsRequestWithBody(server string, id string, contentType string, body io.Reader) (*http.Request, error)
NewCreateMultipleWorkoutsRequestWithBody generates requests for CreateMultipleWorkouts with any type of body
func NewCreateReminderRequest ¶
func NewCreateReminderRequest(server string, id string, gearId string, body CreateReminderJSONRequestBody) (*http.Request, error)
NewCreateReminderRequest calls the generic CreateReminder builder with application/json body
func NewCreateReminderRequestWithBody ¶
func NewCreateReminderRequestWithBody(server string, id string, gearId string, contentType string, body io.Reader) (*http.Request, error)
NewCreateReminderRequestWithBody generates requests for CreateReminder with any type of body
func NewCreateSettingsRequest ¶
func NewCreateSettingsRequest(server string, athleteId string, body CreateSettingsJSONRequestBody) (*http.Request, error)
NewCreateSettingsRequest calls the generic CreateSettings builder with application/json body
func NewCreateSettingsRequestWithBody ¶
func NewCreateSettingsRequestWithBody(server string, athleteId string, contentType string, body io.Reader) (*http.Request, error)
NewCreateSettingsRequestWithBody generates requests for CreateSettings with any type of body
func NewCreateSharedEventRequest ¶
func NewCreateSharedEventRequest(server string, params *CreateSharedEventParams, body CreateSharedEventJSONRequestBody) (*http.Request, error)
NewCreateSharedEventRequest calls the generic CreateSharedEvent builder with application/json body
func NewCreateSharedEventRequestWithBody ¶
func NewCreateSharedEventRequestWithBody(server string, params *CreateSharedEventParams, contentType string, body io.Reader) (*http.Request, error)
NewCreateSharedEventRequestWithBody generates requests for CreateSharedEvent with any type of body
func NewCreateWorkoutRequest ¶
func NewCreateWorkoutRequest(server string, id string, body CreateWorkoutJSONRequestBody) (*http.Request, error)
NewCreateWorkoutRequest calls the generic CreateWorkout builder with application/json body
func NewCreateWorkoutRequestWithBody ¶
func NewCreateWorkoutRequestWithBody(server string, id string, contentType string, body io.Reader) (*http.Request, error)
NewCreateWorkoutRequestWithBody generates requests for CreateWorkout with any type of body
func NewDeleteActivityRequest ¶
NewDeleteActivityRequest generates requests for DeleteActivity
func NewDeleteCustomItemRequest ¶
NewDeleteCustomItemRequest generates requests for DeleteCustomItem
func NewDeleteEventRequest ¶
func NewDeleteEventRequest(server string, id string, eventId int32, params *DeleteEventParams) (*http.Request, error)
NewDeleteEventRequest generates requests for DeleteEvent
func NewDeleteEventsBulkRequest ¶
func NewDeleteEventsBulkRequest(server string, id string, body DeleteEventsBulkJSONRequestBody) (*http.Request, error)
NewDeleteEventsBulkRequest calls the generic DeleteEventsBulk builder with application/json body
func NewDeleteEventsBulkRequestWithBody ¶
func NewDeleteEventsBulkRequestWithBody(server string, id string, contentType string, body io.Reader) (*http.Request, error)
NewDeleteEventsBulkRequestWithBody generates requests for DeleteEventsBulk with any type of body
func NewDeleteEventsRequest ¶
func NewDeleteEventsRequest(server string, id string, params *DeleteEventsParams) (*http.Request, error)
NewDeleteEventsRequest generates requests for DeleteEvents
func NewDeleteFolderRequest ¶
NewDeleteFolderRequest generates requests for DeleteFolder
func NewDeleteGearRequest ¶
NewDeleteGearRequest generates requests for DeleteGear
func NewDeleteIntervalsRequest ¶
func NewDeleteIntervalsRequest(server string, id string, body DeleteIntervalsJSONRequestBody) (*http.Request, error)
NewDeleteIntervalsRequest calls the generic DeleteIntervals builder with application/json body
func NewDeleteIntervalsRequestWithBody ¶
func NewDeleteIntervalsRequestWithBody(server string, id string, contentType string, body io.Reader) (*http.Request, error)
NewDeleteIntervalsRequestWithBody generates requests for DeleteIntervals with any type of body
func NewDeleteMessageRequest ¶
NewDeleteMessageRequest generates requests for DeleteMessage
func NewDeleteReminderRequest ¶
func NewDeleteReminderRequest(server string, id string, gearId string, reminderId int32) (*http.Request, error)
NewDeleteReminderRequest generates requests for DeleteReminder
func NewDeleteSettingsRequest ¶
NewDeleteSettingsRequest generates requests for DeleteSettings
func NewDeleteSharedEventRequest ¶
NewDeleteSharedEventRequest generates requests for DeleteSharedEvent
func NewDeleteWorkoutRequest ¶
func NewDeleteWorkoutRequest(server string, id string, workoutId int32, params *DeleteWorkoutParams) (*http.Request, error)
NewDeleteWorkoutRequest generates requests for DeleteWorkout
func NewDisconnectAppRequest ¶
NewDisconnectAppRequest generates requests for DisconnectApp
func NewDownloadActivitiesAsCSVRequest ¶
NewDownloadActivitiesAsCSVRequest generates requests for DownloadActivitiesAsCSV
func NewDownloadActivityFileRequest ¶
NewDownloadActivityFileRequest generates requests for DownloadActivityFile
func NewDownloadActivityFitFileRequest ¶
func NewDownloadActivityFitFileRequest(server string, id string, params *DownloadActivityFitFileParams) (*http.Request, error)
NewDownloadActivityFitFileRequest generates requests for DownloadActivityFitFile
func NewDownloadActivityFitFilesRequest ¶
func NewDownloadActivityFitFilesRequest(server string, id string, params *DownloadActivityFitFilesParams) (*http.Request, error)
NewDownloadActivityFitFilesRequest generates requests for DownloadActivityFitFiles
func NewDownloadActivityGpxFileRequest ¶
func NewDownloadActivityGpxFileRequest(server string, id string, params *DownloadActivityGpxFileParams) (*http.Request, error)
NewDownloadActivityGpxFileRequest generates requests for DownloadActivityGpxFile
func NewDownloadWorkout1Request ¶
func NewDownloadWorkout1Request(server string, id string, eventId int32, ext string) (*http.Request, error)
NewDownloadWorkout1Request generates requests for DownloadWorkout1
func NewDownloadWorkoutForAthleteRequest ¶
func NewDownloadWorkoutForAthleteRequest(server string, id string, ext string, body DownloadWorkoutForAthleteJSONRequestBody) (*http.Request, error)
NewDownloadWorkoutForAthleteRequest calls the generic DownloadWorkoutForAthlete builder with application/json body
func NewDownloadWorkoutForAthleteRequestWithBody ¶
func NewDownloadWorkoutForAthleteRequestWithBody(server string, id string, ext string, contentType string, body io.Reader) (*http.Request, error)
NewDownloadWorkoutForAthleteRequestWithBody generates requests for DownloadWorkoutForAthlete with any type of body
func NewDownloadWorkoutRequest ¶
func NewDownloadWorkoutRequest(server string, ext string, body DownloadWorkoutJSONRequestBody) (*http.Request, error)
NewDownloadWorkoutRequest calls the generic DownloadWorkout builder with application/json body
func NewDownloadWorkoutRequestWithBody ¶
func NewDownloadWorkoutRequestWithBody(server string, ext string, contentType string, body io.Reader) (*http.Request, error)
NewDownloadWorkoutRequestWithBody generates requests for DownloadWorkout with any type of body
func NewDownloadWorkoutsRequest ¶
func NewDownloadWorkoutsRequest(server string, id string, params *DownloadWorkoutsParams) (*http.Request, error)
NewDownloadWorkoutsRequest generates requests for DownloadWorkouts
func NewDuplicateEventsRequest ¶
func NewDuplicateEventsRequest(server string, id string, body DuplicateEventsJSONRequestBody) (*http.Request, error)
NewDuplicateEventsRequest calls the generic DuplicateEvents builder with application/json body
func NewDuplicateEventsRequestWithBody ¶
func NewDuplicateEventsRequestWithBody(server string, id string, contentType string, body io.Reader) (*http.Request, error)
NewDuplicateEventsRequestWithBody generates requests for DuplicateEvents with any type of body
func NewDuplicateWorkoutsRequest ¶
func NewDuplicateWorkoutsRequest(server string, id string, body DuplicateWorkoutsJSONRequestBody) (*http.Request, error)
NewDuplicateWorkoutsRequest calls the generic DuplicateWorkouts builder with application/json body
func NewDuplicateWorkoutsRequestWithBody ¶
func NewDuplicateWorkoutsRequestWithBody(server string, id string, contentType string, body io.Reader) (*http.Request, error)
NewDuplicateWorkoutsRequestWithBody generates requests for DuplicateWorkouts with any type of body
func NewFindBestEffortsRequest ¶
func NewFindBestEffortsRequest(server string, id string, params *FindBestEffortsParams) (*http.Request, error)
NewFindBestEffortsRequest generates requests for FindBestEfforts
func NewGetActivitiesRequest ¶
func NewGetActivitiesRequest(server string, athleteId string, ids []string, params *GetActivitiesParams) (*http.Request, error)
NewGetActivitiesRequest generates requests for GetActivities
func NewGetActivityHRCurveRequest ¶
NewGetActivityHRCurveRequest generates requests for GetActivityHRCurve
func NewGetActivityMapRequest ¶
func NewGetActivityMapRequest(server string, id string, params *GetActivityMapParams) (*http.Request, error)
NewGetActivityMapRequest generates requests for GetActivityMap
func NewGetActivityPaceCurveRequest ¶
func NewGetActivityPaceCurveRequest(server string, id string, ext string, params *GetActivityPaceCurveParams) (*http.Request, error)
NewGetActivityPaceCurveRequest generates requests for GetActivityPaceCurve
func NewGetActivityPowerCurveRequest ¶
func NewGetActivityPowerCurveRequest(server string, id string, ext string, params *GetActivityPowerCurveParams) (*http.Request, error)
NewGetActivityPowerCurveRequest generates requests for GetActivityPowerCurve
func NewGetActivityPowerSpikeModelRequest ¶
NewGetActivityPowerSpikeModelRequest generates requests for GetActivityPowerSpikeModel
func NewGetActivityRequest ¶
func NewGetActivityRequest(server string, id string, params *GetActivityParams) (*http.Request, error)
NewGetActivityRequest generates requests for GetActivity
func NewGetActivitySegmentsRequest ¶
NewGetActivitySegmentsRequest generates requests for GetActivitySegments
func NewGetActivityStreamsRequest ¶
func NewGetActivityStreamsRequest(server string, id string, ext string, params *GetActivityStreamsParams) (*http.Request, error)
NewGetActivityStreamsRequest generates requests for GetActivityStreams
func NewGetActivityWeatherSummaryRequest ¶
func NewGetActivityWeatherSummaryRequest(server string, id string, params *GetActivityWeatherSummaryParams) (*http.Request, error)
NewGetActivityWeatherSummaryRequest generates requests for GetActivityWeatherSummary
func NewGetAthleteMMPModelRequest ¶
func NewGetAthleteMMPModelRequest(server string, id string, params *GetAthleteMMPModelParams) (*http.Request, error)
NewGetAthleteMMPModelRequest generates requests for GetAthleteMMPModel
func NewGetAthleteProfileRequest ¶
NewGetAthleteProfileRequest generates requests for GetAthleteProfile
func NewGetAthleteRequest ¶
NewGetAthleteRequest generates requests for GetAthlete
func NewGetAthleteRouteRequest ¶
func NewGetAthleteRouteRequest(server string, id string, routeId int64, params *GetAthleteRouteParams) (*http.Request, error)
NewGetAthleteRouteRequest generates requests for GetAthleteRoute
func NewGetAthleteSummaryRequest ¶
func NewGetAthleteSummaryRequest(server string, id string, ext string, params *GetAthleteSummaryParams) (*http.Request, error)
NewGetAthleteSummaryRequest generates requests for GetAthleteSummary
func NewGetAthleteTrainingPlanRequest ¶
NewGetAthleteTrainingPlanRequest generates requests for GetAthleteTrainingPlan
func NewGetCustomItemRequest ¶
NewGetCustomItemRequest generates requests for GetCustomItem
func NewGetForecastRequest ¶
NewGetForecastRequest generates requests for GetForecast
func NewGetGapHistogramRequest ¶
NewGetGapHistogramRequest generates requests for GetGapHistogram
func NewGetHRHistogramRequest ¶
func NewGetHRHistogramRequest(server string, id string, params *GetHRHistogramParams) (*http.Request, error)
NewGetHRHistogramRequest generates requests for GetHRHistogram
func NewGetHRTrainingLoadModelRequest ¶
NewGetHRTrainingLoadModelRequest generates requests for GetHRTrainingLoadModel
func NewGetIntervalStatsRequest ¶
func NewGetIntervalStatsRequest(server string, id string, params *GetIntervalStatsParams) (*http.Request, error)
NewGetIntervalStatsRequest generates requests for GetIntervalStats
func NewGetIntervalsRequest ¶
NewGetIntervalsRequest generates requests for GetIntervals
func NewGetPaceHistogramRequest ¶
NewGetPaceHistogramRequest generates requests for GetPaceHistogram
func NewGetPowerHRCurveRequest ¶
func NewGetPowerHRCurveRequest(server string, id string, params *GetPowerHRCurveParams) (*http.Request, error)
NewGetPowerHRCurveRequest generates requests for GetPowerHRCurve
func NewGetPowerHistogramRequest ¶
func NewGetPowerHistogramRequest(server string, id string, params *GetPowerHistogramParams) (*http.Request, error)
NewGetPowerHistogramRequest generates requests for GetPowerHistogram
func NewGetPowerVsHRRequest ¶
NewGetPowerVsHRRequest generates requests for GetPowerVsHR
func NewGetRecordRequest ¶
NewGetRecordRequest generates requests for GetRecord
func NewGetSettings1Request ¶
NewGetSettings1Request generates requests for GetSettings1
func NewGetSettingsRequest ¶
NewGetSettingsRequest generates requests for GetSettings
func NewGetSharedEventRequest ¶
NewGetSharedEventRequest generates requests for GetSharedEvent
func NewGetTimeAtHRRequest ¶
NewGetTimeAtHRRequest generates requests for GetTimeAtHR
func NewGetWeatherConfigRequest ¶
NewGetWeatherConfigRequest generates requests for GetWeatherConfig
func NewImportWorkoutFileRequest ¶
func NewImportWorkoutFileRequest(server string, id string, folderId int32, params *ImportWorkoutFileParams, body ImportWorkoutFileJSONRequestBody) (*http.Request, error)
NewImportWorkoutFileRequest calls the generic ImportWorkoutFile builder with application/json body
func NewImportWorkoutFileRequestWithBody ¶
func NewImportWorkoutFileRequestWithBody(server string, id string, folderId int32, params *ImportWorkoutFileParams, contentType string, body io.Reader) (*http.Request, error)
NewImportWorkoutFileRequestWithBody generates requests for ImportWorkoutFile with any type of body
func NewListActivitiesAroundRequest ¶
func NewListActivitiesAroundRequest(server string, id string, params *ListActivitiesAroundParams) (*http.Request, error)
NewListActivitiesAroundRequest generates requests for ListActivitiesAround
func NewListActivitiesRequest ¶
func NewListActivitiesRequest(server string, id string, params *ListActivitiesParams) (*http.Request, error)
NewListActivitiesRequest generates requests for ListActivities
func NewListActivityHRCurvesRequest ¶
func NewListActivityHRCurvesRequest(server string, id string, ext string, params *ListActivityHRCurvesParams) (*http.Request, error)
NewListActivityHRCurvesRequest generates requests for ListActivityHRCurves
func NewListActivityMessagesRequest ¶
func NewListActivityMessagesRequest(server string, id string, params *ListActivityMessagesParams) (*http.Request, error)
NewListActivityMessagesRequest generates requests for ListActivityMessages
func NewListActivityPaceCurvesRequest ¶
func NewListActivityPaceCurvesRequest(server string, id string, ext string, params *ListActivityPaceCurvesParams) (*http.Request, error)
NewListActivityPaceCurvesRequest generates requests for ListActivityPaceCurves
func NewListActivityPowerCurves1Request ¶
func NewListActivityPowerCurves1Request(server string, id string, ext string, params *ListActivityPowerCurves1Params) (*http.Request, error)
NewListActivityPowerCurves1Request generates requests for ListActivityPowerCurves1
func NewListActivityPowerCurvesRequest ¶
func NewListActivityPowerCurvesRequest(server string, id string, ext string, params *ListActivityPowerCurvesParams) (*http.Request, error)
NewListActivityPowerCurvesRequest generates requests for ListActivityPowerCurves
func NewListAthleteHRCurvesRequest ¶
func NewListAthleteHRCurvesRequest(server string, id string, ext string, params *ListAthleteHRCurvesParams) (*http.Request, error)
NewListAthleteHRCurvesRequest generates requests for ListAthleteHRCurves
func NewListAthletePaceCurvesRequest ¶
func NewListAthletePaceCurvesRequest(server string, id string, ext string, params *ListAthletePaceCurvesParams) (*http.Request, error)
NewListAthletePaceCurvesRequest generates requests for ListAthletePaceCurves
func NewListAthletePowerCurvesRequest ¶
func NewListAthletePowerCurvesRequest(server string, id string, ext string, params *ListAthletePowerCurvesParams) (*http.Request, error)
NewListAthletePowerCurvesRequest generates requests for ListAthletePowerCurves
func NewListAthleteRoutesRequest ¶
NewListAthleteRoutesRequest generates requests for ListAthleteRoutes
func NewListChatsRequest ¶
NewListChatsRequest generates requests for ListChats
func NewListCustomItemsRequest ¶
NewListCustomItemsRequest generates requests for ListCustomItems
func NewListEventsRequest ¶
func NewListEventsRequest(server string, id string, format string, params *ListEventsParams) (*http.Request, error)
NewListEventsRequest generates requests for ListEvents
func NewListFitnessModelEventsRequest ¶
NewListFitnessModelEventsRequest generates requests for ListFitnessModelEvents
func NewListFolderSharedWithRequest ¶
func NewListFolderSharedWithRequest(server string, id string, folderId int32) (*http.Request, error)
NewListFolderSharedWithRequest generates requests for ListFolderSharedWith
func NewListFoldersRequest ¶
NewListFoldersRequest generates requests for ListFolders
func NewListGearRequest ¶
NewListGearRequest generates requests for ListGear
func NewListMatchingActivitiesRequest ¶
func NewListMatchingActivitiesRequest(server string, athleteId string, id string) (*http.Request, error)
NewListMatchingActivitiesRequest generates requests for ListMatchingActivities
func NewListMessagesRequest ¶
func NewListMessagesRequest(server string, id int32, params *ListMessagesParams) (*http.Request, error)
NewListMessagesRequest generates requests for ListMessages
func NewListPaceDistancesForSportRequest ¶
func NewListPaceDistancesForSportRequest(server string, athleteId string, id string) (*http.Request, error)
NewListPaceDistancesForSportRequest generates requests for ListPaceDistancesForSport
func NewListPaceDistancesRequest ¶
NewListPaceDistancesRequest generates requests for ListPaceDistances
func NewListSettingsRequest ¶
NewListSettingsRequest generates requests for ListSettings
func NewListTags1Request ¶
NewListTags1Request generates requests for ListTags1
func NewListTags2Request ¶
NewListTags2Request generates requests for ListTags2
func NewListTagsRequest ¶
NewListTagsRequest generates requests for ListTags
func NewListWellnessRecordsRequest ¶
func NewListWellnessRecordsRequest(server string, id string, ext string, params *ListWellnessRecordsParams) (*http.Request, error)
NewListWellnessRecordsRequest generates requests for ListWellnessRecords
func NewListWorkoutsRequest ¶
NewListWorkoutsRequest generates requests for ListWorkouts
func NewMarkEventAsDoneRequest ¶
NewMarkEventAsDoneRequest generates requests for MarkEventAsDone
func NewReplaceGearRequest ¶
func NewReplaceGearRequest(server string, id string, gearId string, body ReplaceGearJSONRequestBody) (*http.Request, error)
NewReplaceGearRequest calls the generic ReplaceGear builder with application/json body
func NewReplaceGearRequestWithBody ¶
func NewReplaceGearRequestWithBody(server string, id string, gearId string, contentType string, body io.Reader) (*http.Request, error)
NewReplaceGearRequestWithBody generates requests for ReplaceGear with any type of body
func NewSearchForActivitiesFullRequest ¶
func NewSearchForActivitiesFullRequest(server string, id string, params *SearchForActivitiesFullParams) (*http.Request, error)
NewSearchForActivitiesFullRequest generates requests for SearchForActivitiesFull
func NewSearchForActivitiesRequest ¶
func NewSearchForActivitiesRequest(server string, id string, params *SearchForActivitiesParams) (*http.Request, error)
NewSearchForActivitiesRequest generates requests for SearchForActivities
func NewSearchForIntervalsRequest ¶
func NewSearchForIntervalsRequest(server string, id string, params *SearchForIntervalsParams) (*http.Request, error)
NewSearchForIntervalsRequest generates requests for SearchForIntervals
func NewSendActivityMessageRequest ¶
func NewSendActivityMessageRequest(server string, id string, body SendActivityMessageJSONRequestBody) (*http.Request, error)
NewSendActivityMessageRequest calls the generic SendActivityMessage builder with application/json body
func NewSendActivityMessageRequestWithBody ¶
func NewSendActivityMessageRequestWithBody(server string, id string, contentType string, body io.Reader) (*http.Request, error)
NewSendActivityMessageRequestWithBody generates requests for SendActivityMessage with any type of body
func NewSendMessageRequest ¶
func NewSendMessageRequest(server string, body SendMessageJSONRequestBody) (*http.Request, error)
NewSendMessageRequest calls the generic SendMessage builder with application/json body
func NewSendMessageRequestWithBody ¶
func NewSendMessageRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
NewSendMessageRequestWithBody generates requests for SendMessage with any type of body
func NewShowChatRequest ¶
NewShowChatRequest generates requests for ShowChat
func NewShowEventRequest ¶
NewShowEventRequest generates requests for ShowEvent
func NewShowWorkoutRequest ¶
NewShowWorkoutRequest generates requests for ShowWorkout
func NewSplitIntervalRequest ¶
func NewSplitIntervalRequest(server string, id string, params *SplitIntervalParams) (*http.Request, error)
NewSplitIntervalRequest generates requests for SplitInterval
func NewUpdateActivityRequest ¶
func NewUpdateActivityRequest(server string, id string, body UpdateActivityJSONRequestBody) (*http.Request, error)
NewUpdateActivityRequest calls the generic UpdateActivity builder with application/json body
func NewUpdateActivityRequestWithBody ¶
func NewUpdateActivityRequestWithBody(server string, id string, contentType string, body io.Reader) (*http.Request, error)
NewUpdateActivityRequestWithBody generates requests for UpdateActivity with any type of body
func NewUpdateActivityStreamsRequest ¶
func NewUpdateActivityStreamsRequest(server string, id string, body UpdateActivityStreamsJSONRequestBody) (*http.Request, error)
NewUpdateActivityStreamsRequest calls the generic UpdateActivityStreams builder with application/json body
func NewUpdateActivityStreamsRequestWithBody ¶
func NewUpdateActivityStreamsRequestWithBody(server string, id string, contentType string, body io.Reader) (*http.Request, error)
NewUpdateActivityStreamsRequestWithBody generates requests for UpdateActivityStreams with any type of body
func NewUpdateAthletePlanRequest ¶
func NewUpdateAthletePlanRequest(server string, id string, body UpdateAthletePlanJSONRequestBody) (*http.Request, error)
NewUpdateAthletePlanRequest calls the generic UpdateAthletePlan builder with application/json body
func NewUpdateAthletePlanRequestWithBody ¶
func NewUpdateAthletePlanRequestWithBody(server string, id string, contentType string, body io.Reader) (*http.Request, error)
NewUpdateAthletePlanRequestWithBody generates requests for UpdateAthletePlan with any type of body
func NewUpdateAthletePlansRequest ¶
func NewUpdateAthletePlansRequest(server string, body UpdateAthletePlansJSONRequestBody) (*http.Request, error)
NewUpdateAthletePlansRequest calls the generic UpdateAthletePlans builder with application/json body
func NewUpdateAthletePlansRequestWithBody ¶
func NewUpdateAthletePlansRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
NewUpdateAthletePlansRequestWithBody generates requests for UpdateAthletePlans with any type of body
func NewUpdateAthleteRequest ¶
func NewUpdateAthleteRequest(server string, id string, body UpdateAthleteJSONRequestBody) (*http.Request, error)
NewUpdateAthleteRequest calls the generic UpdateAthlete builder with application/json body
func NewUpdateAthleteRequestWithBody ¶
func NewUpdateAthleteRequestWithBody(server string, id string, contentType string, body io.Reader) (*http.Request, error)
NewUpdateAthleteRequestWithBody generates requests for UpdateAthlete with any type of body
func NewUpdateAthleteRouteRequest ¶
func NewUpdateAthleteRouteRequest(server string, id string, routeId int64, body UpdateAthleteRouteJSONRequestBody) (*http.Request, error)
NewUpdateAthleteRouteRequest calls the generic UpdateAthleteRoute builder with application/json body
func NewUpdateAthleteRouteRequestWithBody ¶
func NewUpdateAthleteRouteRequestWithBody(server string, id string, routeId int64, contentType string, body io.Reader) (*http.Request, error)
NewUpdateAthleteRouteRequestWithBody generates requests for UpdateAthleteRoute with any type of body
func NewUpdateCustomItemImageRequest ¶
func NewUpdateCustomItemImageRequest(server string, id string, itemId int32, body UpdateCustomItemImageJSONRequestBody) (*http.Request, error)
NewUpdateCustomItemImageRequest calls the generic UpdateCustomItemImage builder with application/json body
func NewUpdateCustomItemImageRequestWithBody ¶
func NewUpdateCustomItemImageRequestWithBody(server string, id string, itemId int32, contentType string, body io.Reader) (*http.Request, error)
NewUpdateCustomItemImageRequestWithBody generates requests for UpdateCustomItemImage with any type of body
func NewUpdateCustomItemIndexesRequest ¶
func NewUpdateCustomItemIndexesRequest(server string, id string, body UpdateCustomItemIndexesJSONRequestBody) (*http.Request, error)
NewUpdateCustomItemIndexesRequest calls the generic UpdateCustomItemIndexes builder with application/json body
func NewUpdateCustomItemIndexesRequestWithBody ¶
func NewUpdateCustomItemIndexesRequestWithBody(server string, id string, contentType string, body io.Reader) (*http.Request, error)
NewUpdateCustomItemIndexesRequestWithBody generates requests for UpdateCustomItemIndexes with any type of body
func NewUpdateCustomItemRequest ¶
func NewUpdateCustomItemRequest(server string, id string, itemId int32, body UpdateCustomItemJSONRequestBody) (*http.Request, error)
NewUpdateCustomItemRequest calls the generic UpdateCustomItem builder with application/json body
func NewUpdateCustomItemRequestWithBody ¶
func NewUpdateCustomItemRequestWithBody(server string, id string, itemId int32, contentType string, body io.Reader) (*http.Request, error)
NewUpdateCustomItemRequestWithBody generates requests for UpdateCustomItem with any type of body
func NewUpdateEventRequest ¶
func NewUpdateEventRequest(server string, id string, eventId int32, body UpdateEventJSONRequestBody) (*http.Request, error)
NewUpdateEventRequest calls the generic UpdateEvent builder with application/json body
func NewUpdateEventRequestWithBody ¶
func NewUpdateEventRequestWithBody(server string, id string, eventId int32, contentType string, body io.Reader) (*http.Request, error)
NewUpdateEventRequestWithBody generates requests for UpdateEvent with any type of body
func NewUpdateEventsRequest ¶
func NewUpdateEventsRequest(server string, id string, params *UpdateEventsParams, body UpdateEventsJSONRequestBody) (*http.Request, error)
NewUpdateEventsRequest calls the generic UpdateEvents builder with application/json body
func NewUpdateEventsRequestWithBody ¶
func NewUpdateEventsRequestWithBody(server string, id string, params *UpdateEventsParams, contentType string, body io.Reader) (*http.Request, error)
NewUpdateEventsRequestWithBody generates requests for UpdateEvents with any type of body
func NewUpdateFolderRequest ¶
func NewUpdateFolderRequest(server string, id string, folderId int32, body UpdateFolderJSONRequestBody) (*http.Request, error)
NewUpdateFolderRequest calls the generic UpdateFolder builder with application/json body
func NewUpdateFolderRequestWithBody ¶
func NewUpdateFolderRequestWithBody(server string, id string, folderId int32, contentType string, body io.Reader) (*http.Request, error)
NewUpdateFolderRequestWithBody generates requests for UpdateFolder with any type of body
func NewUpdateFolderSharedWithRequest ¶
func NewUpdateFolderSharedWithRequest(server string, id string, folderId int32, body UpdateFolderSharedWithJSONRequestBody) (*http.Request, error)
NewUpdateFolderSharedWithRequest calls the generic UpdateFolderSharedWith builder with application/json body
func NewUpdateFolderSharedWithRequestWithBody ¶
func NewUpdateFolderSharedWithRequestWithBody(server string, id string, folderId int32, contentType string, body io.Reader) (*http.Request, error)
NewUpdateFolderSharedWithRequestWithBody generates requests for UpdateFolderSharedWith with any type of body
func NewUpdateGearRequest ¶
func NewUpdateGearRequest(server string, id string, gearId string, body UpdateGearJSONRequestBody) (*http.Request, error)
NewUpdateGearRequest calls the generic UpdateGear builder with application/json body
func NewUpdateGearRequestWithBody ¶
func NewUpdateGearRequestWithBody(server string, id string, gearId string, contentType string, body io.Reader) (*http.Request, error)
NewUpdateGearRequestWithBody generates requests for UpdateGear with any type of body
func NewUpdateIntervalRequest ¶
func NewUpdateIntervalRequest(server string, id string, intervalId int32, body UpdateIntervalJSONRequestBody) (*http.Request, error)
NewUpdateIntervalRequest calls the generic UpdateInterval builder with application/json body
func NewUpdateIntervalRequestWithBody ¶
func NewUpdateIntervalRequestWithBody(server string, id string, intervalId int32, contentType string, body io.Reader) (*http.Request, error)
NewUpdateIntervalRequestWithBody generates requests for UpdateInterval with any type of body
func NewUpdateIntervalsRequest ¶
func NewUpdateIntervalsRequest(server string, id string, params *UpdateIntervalsParams, body UpdateIntervalsJSONRequestBody) (*http.Request, error)
NewUpdateIntervalsRequest calls the generic UpdateIntervals builder with application/json body
func NewUpdateIntervalsRequestWithBody ¶
func NewUpdateIntervalsRequestWithBody(server string, id string, params *UpdateIntervalsParams, contentType string, body io.Reader) (*http.Request, error)
NewUpdateIntervalsRequestWithBody generates requests for UpdateIntervals with any type of body
func NewUpdateLastSeenMessageIdRequest ¶
NewUpdateLastSeenMessageIdRequest generates requests for UpdateLastSeenMessageId
func NewUpdatePlanWorkoutsRequest ¶
func NewUpdatePlanWorkoutsRequest(server string, id string, folderId int32, params *UpdatePlanWorkoutsParams, body UpdatePlanWorkoutsJSONRequestBody) (*http.Request, error)
NewUpdatePlanWorkoutsRequest calls the generic UpdatePlanWorkouts builder with application/json body
func NewUpdatePlanWorkoutsRequestWithBody ¶
func NewUpdatePlanWorkoutsRequestWithBody(server string, id string, folderId int32, params *UpdatePlanWorkoutsParams, contentType string, body io.Reader) (*http.Request, error)
NewUpdatePlanWorkoutsRequestWithBody generates requests for UpdatePlanWorkouts with any type of body
func NewUpdateReminderRequest ¶
func NewUpdateReminderRequest(server string, id string, gearId string, reminderId int32, params *UpdateReminderParams, body UpdateReminderJSONRequestBody) (*http.Request, error)
NewUpdateReminderRequest calls the generic UpdateReminder builder with application/json body
func NewUpdateReminderRequestWithBody ¶
func NewUpdateReminderRequestWithBody(server string, id string, gearId string, reminderId int32, params *UpdateReminderParams, contentType string, body io.Reader) (*http.Request, error)
NewUpdateReminderRequestWithBody generates requests for UpdateReminder with any type of body
func NewUpdateSettingsMultiRequest ¶
func NewUpdateSettingsMultiRequest(server string, athleteId string, params *UpdateSettingsMultiParams, body UpdateSettingsMultiJSONRequestBody) (*http.Request, error)
NewUpdateSettingsMultiRequest calls the generic UpdateSettingsMulti builder with application/json body
func NewUpdateSettingsMultiRequestWithBody ¶
func NewUpdateSettingsMultiRequestWithBody(server string, athleteId string, params *UpdateSettingsMultiParams, contentType string, body io.Reader) (*http.Request, error)
NewUpdateSettingsMultiRequestWithBody generates requests for UpdateSettingsMulti with any type of body
func NewUpdateSettingsRequest ¶
func NewUpdateSettingsRequest(server string, athleteId string, id string, params *UpdateSettingsParams, body UpdateSettingsJSONRequestBody) (*http.Request, error)
NewUpdateSettingsRequest calls the generic UpdateSettings builder with application/json body
func NewUpdateSettingsRequestWithBody ¶
func NewUpdateSettingsRequestWithBody(server string, athleteId string, id string, params *UpdateSettingsParams, contentType string, body io.Reader) (*http.Request, error)
NewUpdateSettingsRequestWithBody generates requests for UpdateSettings with any type of body
func NewUpdateSharedEventRequest ¶
func NewUpdateSharedEventRequest(server string, id int32, body UpdateSharedEventJSONRequestBody) (*http.Request, error)
NewUpdateSharedEventRequest calls the generic UpdateSharedEvent builder with application/json body
func NewUpdateSharedEventRequestWithBody ¶
func NewUpdateSharedEventRequestWithBody(server string, id int32, contentType string, body io.Reader) (*http.Request, error)
NewUpdateSharedEventRequestWithBody generates requests for UpdateSharedEvent with any type of body
func NewUpdateWeatherConfigRequest ¶
func NewUpdateWeatherConfigRequest(server string, id string, body UpdateWeatherConfigJSONRequestBody) (*http.Request, error)
NewUpdateWeatherConfigRequest calls the generic UpdateWeatherConfig builder with application/json body
func NewUpdateWeatherConfigRequestWithBody ¶
func NewUpdateWeatherConfigRequestWithBody(server string, id string, contentType string, body io.Reader) (*http.Request, error)
NewUpdateWeatherConfigRequestWithBody generates requests for UpdateWeatherConfig with any type of body
func NewUpdateWellness1Request ¶
func NewUpdateWellness1Request(server string, id string, body UpdateWellness1JSONRequestBody) (*http.Request, error)
NewUpdateWellness1Request calls the generic UpdateWellness1 builder with application/json body
func NewUpdateWellness1RequestWithBody ¶
func NewUpdateWellness1RequestWithBody(server string, id string, contentType string, body io.Reader) (*http.Request, error)
NewUpdateWellness1RequestWithBody generates requests for UpdateWellness1 with any type of body
func NewUpdateWellnessBulkRequest ¶
func NewUpdateWellnessBulkRequest(server string, id string, body UpdateWellnessBulkJSONRequestBody) (*http.Request, error)
NewUpdateWellnessBulkRequest calls the generic UpdateWellnessBulk builder with application/json body
func NewUpdateWellnessBulkRequestWithBody ¶
func NewUpdateWellnessBulkRequestWithBody(server string, id string, contentType string, body io.Reader) (*http.Request, error)
NewUpdateWellnessBulkRequestWithBody generates requests for UpdateWellnessBulk with any type of body
func NewUpdateWellnessRequest ¶
func NewUpdateWellnessRequest(server string, id string, date string, body UpdateWellnessJSONRequestBody) (*http.Request, error)
NewUpdateWellnessRequest calls the generic UpdateWellness builder with application/json body
func NewUpdateWellnessRequestWithBody ¶
func NewUpdateWellnessRequestWithBody(server string, id string, date string, contentType string, body io.Reader) (*http.Request, error)
NewUpdateWellnessRequestWithBody generates requests for UpdateWellness with any type of body
func NewUpdateWorkoutRequest ¶
func NewUpdateWorkoutRequest(server string, id string, workoutId int32, body UpdateWorkoutJSONRequestBody) (*http.Request, error)
NewUpdateWorkoutRequest calls the generic UpdateWorkout builder with application/json body
func NewUpdateWorkoutRequestWithBody ¶
func NewUpdateWorkoutRequestWithBody(server string, id string, workoutId int32, contentType string, body io.Reader) (*http.Request, error)
NewUpdateWorkoutRequestWithBody generates requests for UpdateWorkout with any type of body
func NewUploadActivityRequest ¶
func NewUploadActivityRequest(server string, id string, params *UploadActivityParams, body UploadActivityJSONRequestBody) (*http.Request, error)
NewUploadActivityRequest calls the generic UploadActivity builder with application/json body
func NewUploadActivityRequestWithBody ¶
func NewUploadActivityRequestWithBody(server string, id string, params *UploadActivityParams, contentType string, body io.Reader) (*http.Request, error)
NewUploadActivityRequestWithBody generates requests for UploadActivity with any type of body
func NewUploadActivityStreamsCSVRequest ¶
func NewUploadActivityStreamsCSVRequest(server string, id string, body UploadActivityStreamsCSVJSONRequestBody) (*http.Request, error)
NewUploadActivityStreamsCSVRequest calls the generic UploadActivityStreamsCSV builder with application/json body
func NewUploadActivityStreamsCSVRequestWithBody ¶
func NewUploadActivityStreamsCSVRequestWithBody(server string, id string, contentType string, body io.Reader) (*http.Request, error)
NewUploadActivityStreamsCSVRequestWithBody generates requests for UploadActivityStreamsCSV with any type of body
func NewUploadWellnessRequest ¶
func NewUploadWellnessRequest(server string, id string, params *UploadWellnessParams, body UploadWellnessJSONRequestBody) (*http.Request, error)
NewUploadWellnessRequest calls the generic UploadWellness builder with application/json body
Types ¶
type Activity ¶
type Activity struct {
Analyzed *time.Time `json:"analyzed,omitempty"`
AthleteMaxHr *int32 `json:"athlete_max_hr,omitempty"`
Attachments *[]Attachment `json:"attachments,omitempty"`
AverageAltitude *float32 `json:"average_altitude,omitempty"`
AverageCadence *float32 `json:"average_cadence,omitempty"`
AverageClouds *int32 `json:"average_clouds,omitempty"`
AverageFeelsLike *float32 `json:"average_feels_like,omitempty"`
AverageHeartrate *int32 `json:"average_heartrate,omitempty"`
AverageSpeed *float32 `json:"average_speed,omitempty"`
AverageStride *float32 `json:"average_stride,omitempty"`
AverageTemp *float32 `json:"average_temp,omitempty"`
AverageWeatherTemp *float32 `json:"average_weather_temp,omitempty"`
AverageWindGust *float32 `json:"average_wind_gust,omitempty"`
AverageWindSpeed *float32 `json:"average_wind_speed,omitempty"`
AvgLrBalance *float32 `json:"avg_lr_balance,omitempty"`
Calories *int32 `json:"calories,omitempty"`
CarbsIngested *int32 `json:"carbs_ingested,omitempty"`
CarbsUsed *int32 `json:"carbs_used,omitempty"`
CoachTick *int32 `json:"coach_tick,omitempty"`
CoastingTime *int32 `json:"coasting_time,omitempty"`
Commute *bool `json:"commute,omitempty"`
Compliance *float32 `json:"compliance,omitempty"`
CrankLength *float32 `json:"crank_length,omitempty"`
Created *time.Time `json:"created,omitempty"`
CustomZones *[]ZoneSet `json:"custom_zones,omitempty"`
Decoupling *float32 `json:"decoupling,omitempty"`
Description *string `json:"description,omitempty"`
DeviceName *string `json:"device_name,omitempty"`
DeviceWatts *bool `json:"device_watts,omitempty"`
Distance *float32 `json:"distance,omitempty"`
ElapsedTime *int32 `json:"elapsed_time,omitempty"`
ExternalId *string `json:"external_id,omitempty"`
Feel *int32 `json:"feel,omitempty"`
FileSportIndex *int32 `json:"file_sport_index,omitempty"`
FileType *string `json:"file_type,omitempty"`
Gap *float32 `json:"gap,omitempty"`
GapModel *ActivityGapModel `json:"gap_model,omitempty"`
GapZoneTimes *[]int32 `json:"gap_zone_times,omitempty"`
Gear *StravaGear `json:"gear,omitempty"`
Group *string `json:"group,omitempty"`
HasHeartrate *bool `json:"has_heartrate,omitempty"`
HasSegments *bool `json:"has_segments,omitempty"`
HasWeather *bool `json:"has_weather,omitempty"`
HeadwindPercent *float32 `json:"headwind_percent,omitempty"`
HrLoad *int32 `json:"hr_load,omitempty"`
HrLoadType *ActivityHrLoadType `json:"hr_load_type,omitempty"`
IcuAchievements *[]IcuAchievement `json:"icu_achievements,omitempty"`
IcuAthleteId *string `json:"icu_athlete_id,omitempty"`
IcuAtl *float32 `json:"icu_atl,omitempty"`
IcuAverageWatts *int32 `json:"icu_average_watts,omitempty"`
IcuCadenceZ2 *int32 `json:"icu_cadence_z2,omitempty"`
IcuChatId *int32 `json:"icu_chat_id,omitempty"`
IcuColor *string `json:"icu_color,omitempty"`
IcuCooldownTime *int32 `json:"icu_cooldown_time,omitempty"`
IcuCtl *float32 `json:"icu_ctl,omitempty"`
IcuDistance *float32 `json:"icu_distance,omitempty"`
IcuEfficiencyFactor *float32 `json:"icu_efficiency_factor,omitempty"`
IcuFtp *int32 `json:"icu_ftp,omitempty"`
IcuHrZoneTimes *[]int32 `json:"icu_hr_zone_times,omitempty"`
IcuHrZones *[]int32 `json:"icu_hr_zones,omitempty"`
IcuHrr *HRRecovery `json:"icu_hrr,omitempty"`
IcuIgnoreHr *bool `json:"icu_ignore_hr,omitempty"`
IcuIgnorePower *bool `json:"icu_ignore_power,omitempty"`
IcuIgnoreTime *bool `json:"icu_ignore_time,omitempty"`
IcuIntensity *float32 `json:"icu_intensity,omitempty"`
IcuIntervalsEdited *bool `json:"icu_intervals_edited,omitempty"`
IcuJoules *int32 `json:"icu_joules,omitempty"`
IcuJoulesAboveFtp *int32 `json:"icu_joules_above_ftp,omitempty"`
IcuLapCount *int32 `json:"icu_lap_count,omitempty"`
IcuMaxWbalDepletion *int32 `json:"icu_max_wbal_depletion,omitempty"`
IcuMedianTimeDelta *int32 `json:"icu_median_time_delta,omitempty"`
IcuPmCp *int32 `json:"icu_pm_cp,omitempty"`
IcuPmFtp *int32 `json:"icu_pm_ftp,omitempty"`
IcuPmFtpSecs *int32 `json:"icu_pm_ftp_secs,omitempty"`
IcuPmFtpWatts *int32 `json:"icu_pm_ftp_watts,omitempty"`
IcuPmPMax *int32 `json:"icu_pm_p_max,omitempty"`
IcuPmWPrime *int32 `json:"icu_pm_w_prime,omitempty"`
IcuPowerHr *float32 `json:"icu_power_hr,omitempty"`
IcuPowerHrZ2 *float32 `json:"icu_power_hr_z2,omitempty"`
IcuPowerHrZ2Mins *int32 `json:"icu_power_hr_z2_mins,omitempty"`
IcuPowerSpikeThreshold *int32 `json:"icu_power_spike_threshold,omitempty"`
IcuPowerZones *[]int32 `json:"icu_power_zones,omitempty"`
IcuRecordingTime *int32 `json:"icu_recording_time,omitempty"`
IcuRestingHr *int32 `json:"icu_resting_hr,omitempty"`
IcuRollingCp *float32 `json:"icu_rolling_cp,omitempty"`
IcuRollingFtp *int32 `json:"icu_rolling_ftp,omitempty"`
IcuRollingFtpDelta *int32 `json:"icu_rolling_ftp_delta,omitempty"`
IcuRollingPMax *float32 `json:"icu_rolling_p_max,omitempty"`
IcuRollingWPrime *float32 `json:"icu_rolling_w_prime,omitempty"`
IcuRpe *int32 `json:"icu_rpe,omitempty"`
IcuSweetSpotMax *int32 `json:"icu_sweet_spot_max,omitempty"`
IcuSweetSpotMin *int32 `json:"icu_sweet_spot_min,omitempty"`
IcuSyncDate *time.Time `json:"icu_sync_date,omitempty"`
IcuSyncError *string `json:"icu_sync_error,omitempty"`
IcuTrainingLoad *int32 `json:"icu_training_load,omitempty"`
IcuTrainingLoadData *int32 `json:"icu_training_load_data,omitempty"`
IcuVariabilityIndex *float32 `json:"icu_variability_index,omitempty"`
IcuWPrime *int32 `json:"icu_w_prime,omitempty"`
IcuWarmupTime *int32 `json:"icu_warmup_time,omitempty"`
IcuWeight *float32 `json:"icu_weight,omitempty"`
IcuWeightedAvgWatts *int32 `json:"icu_weighted_avg_watts,omitempty"`
IcuZoneTimes *[]ZoneTime `json:"icu_zone_times,omitempty"`
Id *string `json:"id,omitempty"`
IgnorePace *bool `json:"ignore_pace,omitempty"`
IgnoreParts *[]Ignore `json:"ignore_parts,omitempty"`
IgnoreVelocity *bool `json:"ignore_velocity,omitempty"`
IntervalSummary *[]string `json:"interval_summary,omitempty"`
KgLifted *float32 `json:"kg_lifted,omitempty"`
Lengths *int32 `json:"lengths,omitempty"`
LockIntervals *bool `json:"lock_intervals,omitempty"`
Lthr *int32 `json:"lthr,omitempty"`
MaxAltitude *float32 `json:"max_altitude,omitempty"`
MaxFeelsLike *float32 `json:"max_feels_like,omitempty"`
MaxHeartrate *int32 `json:"max_heartrate,omitempty"`
MaxRain *float32 `json:"max_rain,omitempty"`
MaxSnow *float32 `json:"max_snow,omitempty"`
MaxSpeed *float32 `json:"max_speed,omitempty"`
MaxTemp *int32 `json:"max_temp,omitempty"`
MaxWeatherTemp *float32 `json:"max_weather_temp,omitempty"`
MinAltitude *float32 `json:"min_altitude,omitempty"`
MinFeelsLike *float32 `json:"min_feels_like,omitempty"`
MinTemp *int32 `json:"min_temp,omitempty"`
MinWeatherTemp *float32 `json:"min_weather_temp,omitempty"`
MovingTime *int32 `json:"moving_time,omitempty"`
Name *string `json:"name,omitempty"`
OauthClientId *int32 `json:"oauth_client_id,omitempty"`
OauthClientName *string `json:"oauth_client_name,omitempty"`
P30sExponent *float32 `json:"p30s_exponent,omitempty"`
PMax *int32 `json:"p_max,omitempty"`
Pace *float32 `json:"pace,omitempty"`
PaceLoad *int32 `json:"pace_load,omitempty"`
PaceLoadType *ActivityPaceLoadType `json:"pace_load_type,omitempty"`
PaceZoneTimes *[]int32 `json:"pace_zone_times,omitempty"`
PaceZones *[]float32 `json:"pace_zones,omitempty"`
PairedEventId *int32 `json:"paired_event_id,omitempty"`
PerceivedExertion *float32 `json:"perceived_exertion,omitempty"`
PolarizationIndex *float32 `json:"polarization_index,omitempty"`
PoolLength *float32 `json:"pool_length,omitempty"`
PowerField *string `json:"power_field,omitempty"`
PowerFieldNames *[]string `json:"power_field_names,omitempty"`
PowerLoad *int32 `json:"power_load,omitempty"`
PowerMeter *string `json:"power_meter,omitempty"`
PowerMeterBattery *string `json:"power_meter_battery,omitempty"`
PowerMeterSerial *string `json:"power_meter_serial,omitempty"`
PrevailingWindDeg *int32 `json:"prevailing_wind_deg,omitempty"`
Race *bool `json:"race,omitempty"`
RecordingStops *[]int32 `json:"recording_stops,omitempty"`
RouteId *int64 `json:"route_id,omitempty"`
SessionRpe *int32 `json:"session_rpe,omitempty"`
SkylineChartBytes *[][]byte `json:"skyline_chart_bytes,omitempty"`
Source *ActivitySource `json:"source,omitempty"`
SsCp *float32 `json:"ss_cp,omitempty"`
SsPMax *float32 `json:"ss_p_max,omitempty"`
SsWPrime *float32 `json:"ss_w_prime,omitempty"`
StartDate *string `json:"start_date,omitempty"`
StartDateLocal *string `json:"start_date_local,omitempty"`
StrainScore *float32 `json:"strain_score,omitempty"`
StravaId *string `json:"strava_id,omitempty"`
StreamTypes *[]string `json:"stream_types,omitempty"`
SubType *ActivitySubType `json:"sub_type,omitempty"`
Tags *[]string `json:"tags,omitempty"`
TailwindPercent *float32 `json:"tailwind_percent,omitempty"`
ThresholdPace *float32 `json:"threshold_pace,omitempty"`
Timezone *string `json:"timezone,omitempty"`
TizOrder *ActivityTizOrder `json:"tiz_order,omitempty"`
TotalElevationGain *float32 `json:"total_elevation_gain,omitempty"`
TotalElevationLoss *float32 `json:"total_elevation_loss,omitempty"`
Trainer *bool `json:"trainer,omitempty"`
Trimp *float32 `json:"trimp,omitempty"`
Type *string `json:"type,omitempty"`
UseElevationCorrection *bool `json:"use_elevation_correction,omitempty"`
UseGapZoneTimes *bool `json:"use_gap_zone_times,omitempty"`
WorkoutShiftSecs *int32 `json:"workout_shift_secs,omitempty"`
}
Activity defines model for Activity.
type ActivityCharts ¶
type ActivityCharts struct {
Data *[]Pos `json:"data,omitempty"`
Home *[]Pos `json:"home,omitempty"`
Hr *[]Pos `json:"hr,omitempty"`
Pace *[]Pos `json:"pace,omitempty"`
Power *[]Pos `json:"power,omitempty"`
}
ActivityCharts defines model for ActivityCharts.
type ActivityFilter ¶
type ActivityFilter struct {
Code *string `json:"code,omitempty"`
FieldId *ActivityFilterFieldId `json:"field_id,omitempty"`
Id *int32 `json:"id,omitempty"`
Not *bool `json:"not,omitempty"`
Operator *string `json:"operator,omitempty"`
Value *map[string]interface{} `json:"value,omitempty"`
}
ActivityFilter defines model for ActivityFilter.
type ActivityFilterFieldId ¶
type ActivityFilterFieldId string
ActivityFilterFieldId defines model for ActivityFilter.FieldId.
const ( ActivityFilterFieldIdAverageAltitude ActivityFilterFieldId = "average_altitude" ActivityFilterFieldIdAverageCadence ActivityFilterFieldId = "average_cadence" ActivityFilterFieldIdAverageCadenceZ2 ActivityFilterFieldId = "average_cadence_z2" ActivityFilterFieldIdAverageHeartrate ActivityFilterFieldId = "average_heartrate" ActivityFilterFieldIdAveragePower ActivityFilterFieldId = "average_power" ActivityFilterFieldIdAverageSpeed ActivityFilterFieldId = "average_speed" ActivityFilterFieldIdAverageTemp ActivityFilterFieldId = "average_temp" ActivityFilterFieldIdCalories ActivityFilterFieldId = "calories" ActivityFilterFieldIdClimbing ActivityFilterFieldId = "climbing" ActivityFilterFieldIdCoastingTime ActivityFilterFieldId = "coasting_time" ActivityFilterFieldIdCompliance ActivityFilterFieldId = "compliance" ActivityFilterFieldIdCustom ActivityFilterFieldId = "custom" ActivityFilterFieldIdDayOfWeek ActivityFilterFieldId = "day_of_week" ActivityFilterFieldIdDescription ActivityFilterFieldId = "description" ActivityFilterFieldIdDeviceName ActivityFilterFieldId = "device_name" ActivityFilterFieldIdDistance ActivityFilterFieldId = "distance" ActivityFilterFieldIdEfficiency ActivityFilterFieldId = "efficiency" ActivityFilterFieldIdElapsedTime ActivityFilterFieldId = "elapsed_time" ActivityFilterFieldIdFeel ActivityFilterFieldId = "feel" ActivityFilterFieldIdGap ActivityFilterFieldId = "gap" ActivityFilterFieldIdGearName ActivityFilterFieldId = "gear_name" ActivityFilterFieldIdHrrc ActivityFilterFieldId = "hrrc" ActivityFilterFieldIdIndoor ActivityFilterFieldId = "indoor" ActivityFilterFieldIdIntensity ActivityFilterFieldId = "intensity" ActivityFilterFieldIdKgLifted ActivityFilterFieldId = "kg_lifted" ActivityFilterFieldIdLoad ActivityFilterFieldId = "load" ActivityFilterFieldIdMaxAltitude ActivityFilterFieldId = "max_altitude" ActivityFilterFieldIdMaxHeartrate ActivityFilterFieldId = "max_heartrate" ActivityFilterFieldIdMaxSpeed ActivityFilterFieldId = "max_speed" ActivityFilterFieldIdMaxWbalDepletion ActivityFilterFieldId = "max_wbal_depletion" ActivityFilterFieldIdMinAltitude ActivityFilterFieldId = "min_altitude" ActivityFilterFieldIdMovingTime ActivityFilterFieldId = "moving_time" ActivityFilterFieldIdName ActivityFilterFieldId = "name" ActivityFilterFieldIdNormPower ActivityFilterFieldId = "norm_power" ActivityFilterFieldIdNotName ActivityFilterFieldId = "notName" ActivityFilterFieldIdPace ActivityFilterFieldId = "pace" ActivityFilterFieldIdPolarizationIndex ActivityFilterFieldId = "polarization_index" ActivityFilterFieldIdPowerHr ActivityFilterFieldId = "power_hr" ActivityFilterFieldIdPowerHrZ2 ActivityFilterFieldId = "power_hr_z2" ActivityFilterFieldIdPowerHrZ2Mins ActivityFilterFieldId = "power_hr_z2_mins" ActivityFilterFieldIdPowerMeter ActivityFilterFieldId = "power_meter" ActivityFilterFieldIdPowerMeterSerial ActivityFilterFieldId = "power_meter_serial" ActivityFilterFieldIdRace ActivityFilterFieldId = "race" ActivityFilterFieldIdRouteId ActivityFilterFieldId = "route_id" ActivityFilterFieldIdRpe ActivityFilterFieldId = "rpe" ActivityFilterFieldIdSessionRpe ActivityFilterFieldId = "session_rpe" ActivityFilterFieldIdSource ActivityFilterFieldId = "source" ActivityFilterFieldIdStartTime ActivityFilterFieldId = "start_time" ActivityFilterFieldIdTags ActivityFilterFieldId = "tags" ActivityFilterFieldIdTrimp ActivityFilterFieldId = "trimp" ActivityFilterFieldIdType ActivityFilterFieldId = "type" ActivityFilterFieldIdVariabilityIndex ActivityFilterFieldId = "variability_index" ActivityFilterFieldIdWork ActivityFilterFieldId = "work" ActivityFilterFieldIdWorkAboveFtp ActivityFilterFieldId = "work_above_ftp" )
Defines values for ActivityFilterFieldId.
type ActivityGapModel ¶
type ActivityGapModel string
ActivityGapModel defines model for Activity.GapModel.
const ( ActivityGapModelNONE ActivityGapModel = "NONE" ActivityGapModelSTRAVARUN ActivityGapModel = "STRAVA_RUN" )
Defines values for ActivityGapModel.
type ActivityHRCurve ¶
type ActivityHRCurve struct {
Bpm *[]int32 `json:"bpm,omitempty"`
Id *string `json:"id,omitempty"`
StartDateLocal *string `json:"start_date_local,omitempty"`
Weight *float32 `json:"weight,omitempty"`
}
ActivityHRCurve defines model for ActivityHRCurve.
type ActivityHRCurvePayload ¶
type ActivityHRCurvePayload struct {
Curves *[]ActivityHRCurve `json:"curves,omitempty"`
Secs *[]int32 `json:"secs,omitempty"`
}
ActivityHRCurvePayload defines model for ActivityHRCurvePayload.
type ActivityHrLoadType ¶
type ActivityHrLoadType string
ActivityHrLoadType defines model for Activity.HrLoadType.
const ( ActivityHrLoadTypeAVGHR ActivityHrLoadType = "AVG_HR" ActivityHrLoadTypeHRSS ActivityHrLoadType = "HRSS" ActivityHrLoadTypeHRZONES ActivityHrLoadType = "HR_ZONES" )
Defines values for ActivityHrLoadType.
type ActivityId ¶
type ActivityId struct {
IcuAthleteId *string `json:"icu_athlete_id,omitempty"`
Id *string `json:"id,omitempty"`
}
ActivityId defines model for ActivityId.
type ActivityMini ¶
type ActivityMini struct {
Id *string `json:"id,omitempty"`
Name *string `json:"name,omitempty"`
StartDateLocal *string `json:"start_date_local,omitempty"`
Type *string `json:"type,omitempty"`
}
ActivityMini defines model for ActivityMini.
type ActivityPaceLoadType ¶
type ActivityPaceLoadType string
ActivityPaceLoadType defines model for Activity.PaceLoadType.
const ( ActivityPaceLoadTypeRUN ActivityPaceLoadType = "RUN" ActivityPaceLoadTypeSWIM ActivityPaceLoadType = "SWIM" )
Defines values for ActivityPaceLoadType.
type ActivityPowerCurve ¶
type ActivityPowerCurve struct {
Id *string `json:"id,omitempty"`
StartDateLocal *string `json:"start_date_local,omitempty"`
Watts *[]int32 `json:"watts,omitempty"`
Weight *float32 `json:"weight,omitempty"`
}
ActivityPowerCurve defines model for ActivityPowerCurve.
type ActivityPowerCurvePayload ¶
type ActivityPowerCurvePayload struct {
AfterKj *int32 `json:"after_kj,omitempty"`
Curves *[]ActivityPowerCurve `json:"curves,omitempty"`
Secs *[]int32 `json:"secs,omitempty"`
}
ActivityPowerCurvePayload defines model for ActivityPowerCurvePayload.
type ActivitySearchResult ¶
type ActivitySearchResult struct {
Description *string `json:"description,omitempty"`
Distance *float32 `json:"distance,omitempty"`
Id *string `json:"id,omitempty"`
MovingTime *int32 `json:"moving_time,omitempty"`
Name *string `json:"name,omitempty"`
Race *bool `json:"race,omitempty"`
StartDateLocal *string `json:"start_date_local,omitempty"`
Tags *[]string `json:"tags,omitempty"`
Type *string `json:"type,omitempty"`
}
ActivitySearchResult defines model for ActivitySearchResult.
type ActivitySource ¶
type ActivitySource string
ActivitySource defines model for Activity.Source.
const ( ActivitySourceCONCEPT2 ActivitySource = "CONCEPT2" ActivitySourceCOROS ActivitySource = "COROS" ActivitySourceDROPBOX ActivitySource = "DROPBOX" ActivitySourceGARMINCONNECT ActivitySource = "GARMIN_CONNECT" ActivitySourceHUAWEI ActivitySource = "HUAWEI" ActivitySourceMANUAL ActivitySource = "MANUAL" ActivitySourceOAUTHCLIENT ActivitySource = "OAUTH_CLIENT" ActivitySourcePOLAR ActivitySource = "POLAR" ActivitySourceSTRAVA ActivitySource = "STRAVA" ActivitySourceSUUNTO ActivitySource = "SUUNTO" ActivitySourceUPLOAD ActivitySource = "UPLOAD" ActivitySourceWAHOO ActivitySource = "WAHOO" ActivitySourceZEPP ActivitySource = "ZEPP" ActivitySourceZWIFT ActivitySource = "ZWIFT" )
Defines values for ActivitySource.
type ActivityStream ¶
type ActivityStream struct {
AllNull *bool `json:"allNull,omitempty"`
Anomalies *[]Anomaly `json:"anomalies,omitempty"`
Custom *bool `json:"custom,omitempty"`
Data *map[string]interface{} `json:"data,omitempty"`
Data2 *map[string]interface{} `json:"data2,omitempty"`
Name *string `json:"name,omitempty"`
Type *string `json:"type,omitempty"`
ValueTypeIsArray *bool `json:"valueTypeIsArray,omitempty"`
}
ActivityStream defines model for ActivityStream.
type ActivitySubType ¶
type ActivitySubType string
ActivitySubType defines model for Activity.SubType.
const ( ActivitySubTypeCOMMUTE ActivitySubType = "COMMUTE" ActivitySubTypeCOOLDOWN ActivitySubType = "COOLDOWN" ActivitySubTypeNONE ActivitySubType = "NONE" ActivitySubTypeRACE ActivitySubType = "RACE" ActivitySubTypeWARMUP ActivitySubType = "WARMUP" )
Defines values for ActivitySubType.
type ActivityTizOrder ¶
type ActivityTizOrder string
ActivityTizOrder defines model for Activity.TizOrder.
const ( ActivityTizOrderHRPACEPOWER ActivityTizOrder = "HR_PACE_POWER" ActivityTizOrderHRPOWERPACE ActivityTizOrder = "HR_POWER_PACE" ActivityTizOrderPACEHRPOWER ActivityTizOrder = "PACE_HR_POWER" ActivityTizOrderPACEPOWERHR ActivityTizOrder = "PACE_POWER_HR" ActivityTizOrderPOWERHRPACE ActivityTizOrder = "POWER_HR_PACE" ActivityTizOrderPOWERPACEHR ActivityTizOrder = "POWER_PACE_HR" )
Defines values for ActivityTizOrder.
type ActivityWeather ¶
type ActivityWeather struct {
ClosestPoints *[]Closest `json:"closest_points,omitempty"`
Points *[]WeatherPoint `json:"points,omitempty"`
}
ActivityWeather defines model for ActivityWeather.
type ActivityWeatherSummary ¶
type ActivityWeatherSummary struct {
ApparentWindGust *WindRose `json:"apparent_wind_gust,omitempty"`
ApparentWindSpeed *WindRose `json:"apparent_wind_speed,omitempty"`
AverageClouds *int32 `json:"average_clouds,omitempty"`
AverageFeelsLike *float32 `json:"average_feels_like,omitempty"`
AverageTemp *float32 `json:"average_temp,omitempty"`
AverageWeatherTemp *float32 `json:"average_weather_temp,omitempty"`
AverageWindGust *float32 `json:"average_wind_gust,omitempty"`
AverageWindSpeed *float32 `json:"average_wind_speed,omitempty"`
AverageYaw *float32 `json:"average_yaw,omitempty"`
Description *string `json:"description,omitempty"`
EndIndex *int32 `json:"end_index,omitempty"`
EndSecs *int32 `json:"end_secs,omitempty"`
HeadwindPercent *float32 `json:"headwind_percent,omitempty"`
MaxFeelsLike *float32 `json:"max_feels_like,omitempty"`
MaxRain *float32 `json:"max_rain,omitempty"`
MaxShowers *float32 `json:"max_showers,omitempty"`
MaxSnow *float32 `json:"max_snow,omitempty"`
MaxTemp *int32 `json:"max_temp,omitempty"`
MaxWeatherTemp *float32 `json:"max_weather_temp,omitempty"`
MaxWindGust *float32 `json:"max_wind_gust,omitempty"`
MaxWindSpeed *float32 `json:"max_wind_speed,omitempty"`
MinFeelsLike *float32 `json:"min_feels_like,omitempty"`
MinTemp *int32 `json:"min_temp,omitempty"`
MinWeatherTemp *float32 `json:"min_weather_temp,omitempty"`
MinWindGust *float32 `json:"min_wind_gust,omitempty"`
MinWindSpeed *float32 `json:"min_wind_speed,omitempty"`
MovingTime *int32 `json:"moving_time,omitempty"`
PrevailingWindDeg *int32 `json:"prevailing_wind_deg,omitempty"`
StartIndex *int32 `json:"start_index,omitempty"`
StartSecs *int32 `json:"start_secs,omitempty"`
TailwindPercent *float32 `json:"tailwind_percent,omitempty"`
WholeActivity *bool `json:"whole_activity,omitempty"`
WindGust *WindRose `json:"wind_gust,omitempty"`
WindSpeed *WindRose `json:"wind_speed,omitempty"`
}
ActivityWeatherSummary defines model for ActivityWeatherSummary.
type ActivityWithIntervals ¶
type ActivityWithIntervals struct {
Analyzed *time.Time `json:"analyzed,omitempty"`
AthleteMaxHr *int32 `json:"athlete_max_hr,omitempty"`
Attachments *[]Attachment `json:"attachments,omitempty"`
AverageAltitude *float32 `json:"average_altitude,omitempty"`
AverageCadence *float32 `json:"average_cadence,omitempty"`
AverageClouds *int32 `json:"average_clouds,omitempty"`
AverageFeelsLike *float32 `json:"average_feels_like,omitempty"`
AverageHeartrate *int32 `json:"average_heartrate,omitempty"`
AverageSpeed *float32 `json:"average_speed,omitempty"`
AverageStride *float32 `json:"average_stride,omitempty"`
AverageTemp *float32 `json:"average_temp,omitempty"`
AverageWeatherTemp *float32 `json:"average_weather_temp,omitempty"`
AverageWindGust *float32 `json:"average_wind_gust,omitempty"`
AverageWindSpeed *float32 `json:"average_wind_speed,omitempty"`
AvgLrBalance *float32 `json:"avg_lr_balance,omitempty"`
Calories *int32 `json:"calories,omitempty"`
CarbsIngested *int32 `json:"carbs_ingested,omitempty"`
CarbsUsed *int32 `json:"carbs_used,omitempty"`
CoachTick *int32 `json:"coach_tick,omitempty"`
CoastingTime *int32 `json:"coasting_time,omitempty"`
Commute *bool `json:"commute,omitempty"`
Compliance *float32 `json:"compliance,omitempty"`
CrankLength *float32 `json:"crank_length,omitempty"`
Created *time.Time `json:"created,omitempty"`
CustomZones *[]ZoneSet `json:"custom_zones,omitempty"`
Decoupling *float32 `json:"decoupling,omitempty"`
Description *string `json:"description,omitempty"`
DeviceName *string `json:"device_name,omitempty"`
DeviceWatts *bool `json:"device_watts,omitempty"`
Distance *float32 `json:"distance,omitempty"`
ElapsedTime *int32 `json:"elapsed_time,omitempty"`
ExternalId *string `json:"external_id,omitempty"`
Feel *int32 `json:"feel,omitempty"`
FileSportIndex *int32 `json:"file_sport_index,omitempty"`
FileType *string `json:"file_type,omitempty"`
Gap *float32 `json:"gap,omitempty"`
GapModel *ActivityWithIntervalsGapModel `json:"gap_model,omitempty"`
GapZoneTimes *[]int32 `json:"gap_zone_times,omitempty"`
Gear *StravaGear `json:"gear,omitempty"`
Group *string `json:"group,omitempty"`
HasHeartrate *bool `json:"has_heartrate,omitempty"`
HasSegments *bool `json:"has_segments,omitempty"`
HasWeather *bool `json:"has_weather,omitempty"`
HeadwindPercent *float32 `json:"headwind_percent,omitempty"`
HrLoad *int32 `json:"hr_load,omitempty"`
HrLoadType *ActivityWithIntervalsHrLoadType `json:"hr_load_type,omitempty"`
IcuAchievements *[]IcuAchievement `json:"icu_achievements,omitempty"`
IcuAthleteId *string `json:"icu_athlete_id,omitempty"`
IcuAtl *float32 `json:"icu_atl,omitempty"`
IcuAverageWatts *int32 `json:"icu_average_watts,omitempty"`
IcuCadenceZ2 *int32 `json:"icu_cadence_z2,omitempty"`
IcuChatId *int32 `json:"icu_chat_id,omitempty"`
IcuColor *string `json:"icu_color,omitempty"`
IcuCooldownTime *int32 `json:"icu_cooldown_time,omitempty"`
IcuCtl *float32 `json:"icu_ctl,omitempty"`
IcuDistance *float32 `json:"icu_distance,omitempty"`
IcuEfficiencyFactor *float32 `json:"icu_efficiency_factor,omitempty"`
IcuFtp *int32 `json:"icu_ftp,omitempty"`
IcuGroups *[]IntervalGroup `json:"icu_groups,omitempty"`
IcuHrZoneTimes *[]int32 `json:"icu_hr_zone_times,omitempty"`
IcuHrZones *[]int32 `json:"icu_hr_zones,omitempty"`
IcuHrr *HRRecovery `json:"icu_hrr,omitempty"`
IcuIgnoreHr *bool `json:"icu_ignore_hr,omitempty"`
IcuIgnorePower *bool `json:"icu_ignore_power,omitempty"`
IcuIgnoreTime *bool `json:"icu_ignore_time,omitempty"`
IcuIntensity *float32 `json:"icu_intensity,omitempty"`
IcuIntervals *[]Interval `json:"icu_intervals,omitempty"`
IcuIntervalsEdited *bool `json:"icu_intervals_edited,omitempty"`
IcuJoules *int32 `json:"icu_joules,omitempty"`
IcuJoulesAboveFtp *int32 `json:"icu_joules_above_ftp,omitempty"`
IcuLapCount *int32 `json:"icu_lap_count,omitempty"`
IcuMaxWbalDepletion *int32 `json:"icu_max_wbal_depletion,omitempty"`
IcuMedianTimeDelta *int32 `json:"icu_median_time_delta,omitempty"`
IcuPmCp *int32 `json:"icu_pm_cp,omitempty"`
IcuPmFtp *int32 `json:"icu_pm_ftp,omitempty"`
IcuPmFtpSecs *int32 `json:"icu_pm_ftp_secs,omitempty"`
IcuPmFtpWatts *int32 `json:"icu_pm_ftp_watts,omitempty"`
IcuPmPMax *int32 `json:"icu_pm_p_max,omitempty"`
IcuPmWPrime *int32 `json:"icu_pm_w_prime,omitempty"`
IcuPowerHr *float32 `json:"icu_power_hr,omitempty"`
IcuPowerHrZ2 *float32 `json:"icu_power_hr_z2,omitempty"`
IcuPowerHrZ2Mins *int32 `json:"icu_power_hr_z2_mins,omitempty"`
IcuPowerSpikeThreshold *int32 `json:"icu_power_spike_threshold,omitempty"`
IcuPowerZones *[]int32 `json:"icu_power_zones,omitempty"`
IcuRecordingTime *int32 `json:"icu_recording_time,omitempty"`
IcuRestingHr *int32 `json:"icu_resting_hr,omitempty"`
IcuRollingCp *float32 `json:"icu_rolling_cp,omitempty"`
IcuRollingFtp *int32 `json:"icu_rolling_ftp,omitempty"`
IcuRollingFtpDelta *int32 `json:"icu_rolling_ftp_delta,omitempty"`
IcuRollingPMax *float32 `json:"icu_rolling_p_max,omitempty"`
IcuRollingWPrime *float32 `json:"icu_rolling_w_prime,omitempty"`
IcuRpe *int32 `json:"icu_rpe,omitempty"`
IcuSweetSpotMax *int32 `json:"icu_sweet_spot_max,omitempty"`
IcuSweetSpotMin *int32 `json:"icu_sweet_spot_min,omitempty"`
IcuSyncDate *time.Time `json:"icu_sync_date,omitempty"`
IcuSyncError *string `json:"icu_sync_error,omitempty"`
IcuTrainingLoad *int32 `json:"icu_training_load,omitempty"`
IcuTrainingLoadData *int32 `json:"icu_training_load_data,omitempty"`
IcuVariabilityIndex *float32 `json:"icu_variability_index,omitempty"`
IcuWPrime *int32 `json:"icu_w_prime,omitempty"`
IcuWarmupTime *int32 `json:"icu_warmup_time,omitempty"`
IcuWeight *float32 `json:"icu_weight,omitempty"`
IcuWeightedAvgWatts *int32 `json:"icu_weighted_avg_watts,omitempty"`
IcuZoneTimes *[]ZoneTime `json:"icu_zone_times,omitempty"`
Id *string `json:"id,omitempty"`
IgnorePace *bool `json:"ignore_pace,omitempty"`
IgnoreParts *[]Ignore `json:"ignore_parts,omitempty"`
IgnoreVelocity *bool `json:"ignore_velocity,omitempty"`
IntervalSummary *[]string `json:"interval_summary,omitempty"`
KgLifted *float32 `json:"kg_lifted,omitempty"`
Lengths *int32 `json:"lengths,omitempty"`
LockIntervals *bool `json:"lock_intervals,omitempty"`
Lthr *int32 `json:"lthr,omitempty"`
MaxAltitude *float32 `json:"max_altitude,omitempty"`
MaxFeelsLike *float32 `json:"max_feels_like,omitempty"`
MaxHeartrate *int32 `json:"max_heartrate,omitempty"`
MaxRain *float32 `json:"max_rain,omitempty"`
MaxSnow *float32 `json:"max_snow,omitempty"`
MaxSpeed *float32 `json:"max_speed,omitempty"`
MaxTemp *int32 `json:"max_temp,omitempty"`
MaxWeatherTemp *float32 `json:"max_weather_temp,omitempty"`
MinAltitude *float32 `json:"min_altitude,omitempty"`
MinFeelsLike *float32 `json:"min_feels_like,omitempty"`
MinTemp *int32 `json:"min_temp,omitempty"`
MinWeatherTemp *float32 `json:"min_weather_temp,omitempty"`
MovingTime *int32 `json:"moving_time,omitempty"`
Name *string `json:"name,omitempty"`
OauthClientId *int32 `json:"oauth_client_id,omitempty"`
OauthClientName *string `json:"oauth_client_name,omitempty"`
P30sExponent *float32 `json:"p30s_exponent,omitempty"`
PMax *int32 `json:"p_max,omitempty"`
Pace *float32 `json:"pace,omitempty"`
PaceLoad *int32 `json:"pace_load,omitempty"`
PaceLoadType *ActivityWithIntervalsPaceLoadType `json:"pace_load_type,omitempty"`
PaceZoneTimes *[]int32 `json:"pace_zone_times,omitempty"`
PaceZones *[]float32 `json:"pace_zones,omitempty"`
PairedEventId *int32 `json:"paired_event_id,omitempty"`
PerceivedExertion *float32 `json:"perceived_exertion,omitempty"`
PolarizationIndex *float32 `json:"polarization_index,omitempty"`
PoolLength *float32 `json:"pool_length,omitempty"`
PowerField *string `json:"power_field,omitempty"`
PowerFieldNames *[]string `json:"power_field_names,omitempty"`
PowerLoad *int32 `json:"power_load,omitempty"`
PowerMeter *string `json:"power_meter,omitempty"`
PowerMeterBattery *string `json:"power_meter_battery,omitempty"`
PowerMeterSerial *string `json:"power_meter_serial,omitempty"`
PrevailingWindDeg *int32 `json:"prevailing_wind_deg,omitempty"`
Race *bool `json:"race,omitempty"`
RecordingStops *[]int32 `json:"recording_stops,omitempty"`
RouteId *int64 `json:"route_id,omitempty"`
SessionRpe *int32 `json:"session_rpe,omitempty"`
SkylineChartBytes *[][]byte `json:"skyline_chart_bytes,omitempty"`
Source *ActivityWithIntervalsSource `json:"source,omitempty"`
SsCp *float32 `json:"ss_cp,omitempty"`
SsPMax *float32 `json:"ss_p_max,omitempty"`
SsWPrime *float32 `json:"ss_w_prime,omitempty"`
StartDate *string `json:"start_date,omitempty"`
StartDateLocal *string `json:"start_date_local,omitempty"`
StrainScore *float32 `json:"strain_score,omitempty"`
StravaId *string `json:"strava_id,omitempty"`
StreamTypes *[]string `json:"stream_types,omitempty"`
SubType *ActivityWithIntervalsSubType `json:"sub_type,omitempty"`
Tags *[]string `json:"tags,omitempty"`
TailwindPercent *float32 `json:"tailwind_percent,omitempty"`
ThresholdPace *float32 `json:"threshold_pace,omitempty"`
Timezone *string `json:"timezone,omitempty"`
TizOrder *ActivityWithIntervalsTizOrder `json:"tiz_order,omitempty"`
TotalElevationGain *float32 `json:"total_elevation_gain,omitempty"`
TotalElevationLoss *float32 `json:"total_elevation_loss,omitempty"`
Trainer *bool `json:"trainer,omitempty"`
Trimp *float32 `json:"trimp,omitempty"`
Type *string `json:"type,omitempty"`
UseElevationCorrection *bool `json:"use_elevation_correction,omitempty"`
UseGapZoneTimes *bool `json:"use_gap_zone_times,omitempty"`
WorkoutShiftSecs *int32 `json:"workout_shift_secs,omitempty"`
}
ActivityWithIntervals defines model for ActivityWithIntervals.
type ActivityWithIntervalsGapModel ¶
type ActivityWithIntervalsGapModel string
ActivityWithIntervalsGapModel defines model for ActivityWithIntervals.GapModel.
const ( ActivityWithIntervalsGapModelNONE ActivityWithIntervalsGapModel = "NONE" ActivityWithIntervalsGapModelSTRAVARUN ActivityWithIntervalsGapModel = "STRAVA_RUN" )
Defines values for ActivityWithIntervalsGapModel.
type ActivityWithIntervalsHrLoadType ¶
type ActivityWithIntervalsHrLoadType string
ActivityWithIntervalsHrLoadType defines model for ActivityWithIntervals.HrLoadType.
const ( ActivityWithIntervalsHrLoadTypeAVGHR ActivityWithIntervalsHrLoadType = "AVG_HR" ActivityWithIntervalsHrLoadTypeHRSS ActivityWithIntervalsHrLoadType = "HRSS" ActivityWithIntervalsHrLoadTypeHRZONES ActivityWithIntervalsHrLoadType = "HR_ZONES" )
Defines values for ActivityWithIntervalsHrLoadType.
type ActivityWithIntervalsPaceLoadType ¶
type ActivityWithIntervalsPaceLoadType string
ActivityWithIntervalsPaceLoadType defines model for ActivityWithIntervals.PaceLoadType.
const ( ActivityWithIntervalsPaceLoadTypeRUN ActivityWithIntervalsPaceLoadType = "RUN" ActivityWithIntervalsPaceLoadTypeSWIM ActivityWithIntervalsPaceLoadType = "SWIM" )
Defines values for ActivityWithIntervalsPaceLoadType.
type ActivityWithIntervalsSource ¶
type ActivityWithIntervalsSource string
ActivityWithIntervalsSource defines model for ActivityWithIntervals.Source.
const ( ActivityWithIntervalsSourceCONCEPT2 ActivityWithIntervalsSource = "CONCEPT2" ActivityWithIntervalsSourceCOROS ActivityWithIntervalsSource = "COROS" ActivityWithIntervalsSourceDROPBOX ActivityWithIntervalsSource = "DROPBOX" ActivityWithIntervalsSourceGARMINCONNECT ActivityWithIntervalsSource = "GARMIN_CONNECT" ActivityWithIntervalsSourceHUAWEI ActivityWithIntervalsSource = "HUAWEI" ActivityWithIntervalsSourceMANUAL ActivityWithIntervalsSource = "MANUAL" ActivityWithIntervalsSourceOAUTHCLIENT ActivityWithIntervalsSource = "OAUTH_CLIENT" ActivityWithIntervalsSourcePOLAR ActivityWithIntervalsSource = "POLAR" ActivityWithIntervalsSourceSTRAVA ActivityWithIntervalsSource = "STRAVA" ActivityWithIntervalsSourceSUUNTO ActivityWithIntervalsSource = "SUUNTO" ActivityWithIntervalsSourceUPLOAD ActivityWithIntervalsSource = "UPLOAD" ActivityWithIntervalsSourceWAHOO ActivityWithIntervalsSource = "WAHOO" ActivityWithIntervalsSourceZEPP ActivityWithIntervalsSource = "ZEPP" ActivityWithIntervalsSourceZWIFT ActivityWithIntervalsSource = "ZWIFT" )
Defines values for ActivityWithIntervalsSource.
type ActivityWithIntervalsSubType ¶
type ActivityWithIntervalsSubType string
ActivityWithIntervalsSubType defines model for ActivityWithIntervals.SubType.
const ( ActivityWithIntervalsSubTypeCOMMUTE ActivityWithIntervalsSubType = "COMMUTE" ActivityWithIntervalsSubTypeCOOLDOWN ActivityWithIntervalsSubType = "COOLDOWN" ActivityWithIntervalsSubTypeNONE ActivityWithIntervalsSubType = "NONE" ActivityWithIntervalsSubTypeRACE ActivityWithIntervalsSubType = "RACE" ActivityWithIntervalsSubTypeWARMUP ActivityWithIntervalsSubType = "WARMUP" )
Defines values for ActivityWithIntervalsSubType.
type ActivityWithIntervalsTizOrder ¶
type ActivityWithIntervalsTizOrder string
ActivityWithIntervalsTizOrder defines model for ActivityWithIntervals.TizOrder.
const ( ActivityWithIntervalsTizOrderHRPACEPOWER ActivityWithIntervalsTizOrder = "HR_PACE_POWER" ActivityWithIntervalsTizOrderHRPOWERPACE ActivityWithIntervalsTizOrder = "HR_POWER_PACE" ActivityWithIntervalsTizOrderPACEHRPOWER ActivityWithIntervalsTizOrder = "PACE_HR_POWER" ActivityWithIntervalsTizOrderPACEPOWERHR ActivityWithIntervalsTizOrder = "PACE_POWER_HR" ActivityWithIntervalsTizOrderPOWERHRPACE ActivityWithIntervalsTizOrder = "POWER_HR_PACE" ActivityWithIntervalsTizOrderPOWERPACEHR ActivityWithIntervalsTizOrder = "POWER_PACE_HR" )
Defines values for ActivityWithIntervalsTizOrder.
type Anomaly ¶
type Anomaly struct {
EndIndex *int32 `json:"end_index,omitempty"`
StartIndex *int32 `json:"start_index,omitempty"`
Value *int32 `json:"value,omitempty"`
ValueEnd *int32 `json:"valueEnd,omitempty"`
}
Anomaly defines model for Anomaly.
type ApplyCurrentPlanChangesResp ¶
func ParseApplyCurrentPlanChangesResp ¶
func ParseApplyCurrentPlanChangesResp(rsp *http.Response) (*ApplyCurrentPlanChangesResp, error)
ParseApplyCurrentPlanChangesResp parses an HTTP response from a ApplyCurrentPlanChangesWithResponse call
func (ApplyCurrentPlanChangesResp) Status ¶
func (r ApplyCurrentPlanChangesResp) Status() string
Status returns HTTPResponse.Status
func (ApplyCurrentPlanChangesResp) StatusCode ¶
func (r ApplyCurrentPlanChangesResp) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ApplyPlanDTO ¶
type ApplyPlanDTO struct {
ExtraWorkouts *[]Workout `json:"extra_workouts,omitempty"`
FolderId *int32 `json:"folder_id,omitempty"`
StartDateLocal *string `json:"start_date_local,omitempty"`
}
ApplyPlanDTO defines model for ApplyPlanDTO.
type ApplyPlanJSONRequestBody ¶
type ApplyPlanJSONRequestBody = ApplyPlanDTO
ApplyPlanJSONRequestBody defines body for ApplyPlan for application/json ContentType.
type ApplyPlanResp ¶
func ParseApplyPlanResp ¶
func ParseApplyPlanResp(rsp *http.Response) (*ApplyPlanResp, error)
ParseApplyPlanResp parses an HTTP response from a ApplyPlanWithResponse call
func (ApplyPlanResp) Status ¶
func (r ApplyPlanResp) Status() string
Status returns HTTPResponse.Status
func (ApplyPlanResp) StatusCode ¶
func (r ApplyPlanResp) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ApplyToActivitiesResp ¶
func ParseApplyToActivitiesResp ¶
func ParseApplyToActivitiesResp(rsp *http.Response) (*ApplyToActivitiesResp, error)
ParseApplyToActivitiesResp parses an HTTP response from a ApplyToActivitiesWithResponse call
func (ApplyToActivitiesResp) Status ¶
func (r ApplyToActivitiesResp) Status() string
Status returns HTTPResponse.Status
func (ApplyToActivitiesResp) StatusCode ¶
func (r ApplyToActivitiesResp) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type Athlete ¶
type Athlete struct {
ActivityRpePrompt *bool `json:"activity_rpe_prompt,omitempty"`
AddWeatherToStravaDescr *bool `json:"add_weather_to_strava_descr,omitempty"`
BetaUser *bool `json:"beta_user,omitempty"`
Bikes *[]StravaGear `json:"bikes,omitempty"`
Bio *string `json:"bio,omitempty"`
City *string `json:"city,omitempty"`
CoachTicks *[]CoachTick `json:"coach_ticks,omitempty"`
Concept2SyncActivities *bool `json:"concept2_sync_activities,omitempty"`
Concept2UserId *string `json:"concept2_user_id,omitempty"`
CorosDownloadWellness *bool `json:"coros_download_wellness,omitempty"`
CorosLastUpload *time.Time `json:"coros_last_upload,omitempty"`
CorosSyncActivities *bool `json:"coros_sync_activities,omitempty"`
CorosUploadWorkouts *bool `json:"coros_upload_workouts,omitempty"`
CorosUserId *string `json:"coros_user_id,omitempty"`
Country *string `json:"country,omitempty"`
Currency *string `json:"currency,omitempty"`
DateFormat *string `json:"date_format,omitempty"`
DropboxScope *string `json:"dropbox_scope,omitempty"`
Email *string `json:"email,omitempty"`
Fahrenheit *bool `json:"fahrenheit,omitempty"`
Firstname *string `json:"firstname,omitempty"`
GarminPaceRange *float32 `json:"garmin_pace_range,omitempty"`
GarminPowerTarget *AthleteGarminPowerTarget `json:"garmin_power_target,omitempty"`
GarminSyncActivityTypes *[]AthleteGarminSyncActivityTypes `json:"garmin_sync_activity_types,omitempty"`
GarminSyncAfter *time.Time `json:"garmin_sync_after,omitempty"`
GoogleScope *string `json:"google_scope,omitempty"`
GoogleWellnessKeys *[]string `json:"google_wellness_keys,omitempty"`
HasPassword *bool `json:"has_password,omitempty"`
Height *float32 `json:"height,omitempty"`
HeightUnits *AthleteHeightUnits `json:"height_units,omitempty"`
HuaweiDownloadWellness *bool `json:"huawei_download_wellness,omitempty"`
HuaweiSyncActivities *bool `json:"huawei_sync_activities,omitempty"`
HuaweiUploadWorkouts *bool `json:"huawei_upload_workouts,omitempty"`
HuaweiUserId *string `json:"huawei_user_id,omitempty"`
IcuActivated *time.Time `json:"icu_activated,omitempty"`
IcuAdmin *bool `json:"icu_admin,omitempty"`
IcuApiKey *string `json:"icu_api_key,omitempty"`
IcuCoach *bool `json:"icu_coach,omitempty"`
IcuDateOfBirth *string `json:"icu_date_of_birth,omitempty"`
IcuEffortSecs *[]int32 `json:"icu_effort_secs,omitempty"`
IcuEmailDisabled *string `json:"icu_email_disabled,omitempty"`
IcuEmailVerified *bool `json:"icu_email_verified,omitempty"`
IcuFormAsPercent *bool `json:"icu_form_as_percent,omitempty"`
IcuFriendInviteToken *string `json:"icu_friend_invite_token,omitempty"`
IcuGarminDownloadWellness *bool `json:"icu_garmin_download_wellness,omitempty"`
IcuGarminHealth *bool `json:"icu_garmin_health,omitempty"`
IcuGarminHrRange *float32 `json:"icu_garmin_hr_range,omitempty"`
IcuGarminLastUpload *time.Time `json:"icu_garmin_last_upload,omitempty"`
IcuGarminOutdoorPowerRange *float32 `json:"icu_garmin_outdoor_power_range,omitempty"`
IcuGarminSyncActivities *bool `json:"icu_garmin_sync_activities,omitempty"`
IcuGarminTraining *bool `json:"icu_garmin_training,omitempty"`
IcuGarminUploadFilters *[]ActivityFilter `json:"icu_garmin_upload_filters,omitempty"`
IcuGarminUploadWorkouts *bool `json:"icu_garmin_upload_workouts,omitempty"`
IcuGarminWellnessKeys *[]string `json:"icu_garmin_wellness_keys,omitempty"`
IcuLastSeen *time.Time `json:"icu_last_seen,omitempty"`
IcuMenstrualCyclePerm *AthleteIcuMenstrualCyclePerm `json:"icu_menstrual_cycle_perm,omitempty"`
IcuMmpDays *int32 `json:"icu_mmp_days,omitempty"`
IcuPermission *AthleteIcuPermission `json:"icu_permission,omitempty"`
IcuQueuePos *int32 `json:"icu_queue_pos,omitempty"`
IcuRestingHr *int32 `json:"icu_resting_hr,omitempty"`
IcuSendAchievements *bool `json:"icu_send_achievements,omitempty"`
IcuSendActivityChat *bool `json:"icu_send_activity_chat,omitempty"`
IcuSendActivityMsg *bool `json:"icu_send_activity_msg,omitempty"`
IcuSendCoachMeReq *bool `json:"icu_send_coach_me_req,omitempty"`
IcuSendCoachTick *bool `json:"icu_send_coach_tick,omitempty"`
IcuSendCoachedActivityChat *bool `json:"icu_send_coached_activity_chat,omitempty"`
IcuSendCoachedNewActivity *bool `json:"icu_send_coached_new_activity,omitempty"`
IcuSendFollowReq *bool `json:"icu_send_follow_req,omitempty"`
IcuSendFollowedActivityChat *bool `json:"icu_send_followed_activity_chat,omitempty"`
IcuSendFollowedNewActivity *bool `json:"icu_send_followed_new_activity,omitempty"`
IcuSendGearAlerts *bool `json:"icu_send_gear_alerts,omitempty"`
IcuSendGroupChat *bool `json:"icu_send_group_chat,omitempty"`
IcuSendGroupMsg *bool `json:"icu_send_group_msg,omitempty"`
IcuSendNewsletter *bool `json:"icu_send_newsletter,omitempty"`
IcuSendPlanForWeek *bool `json:"icu_send_plan_for_week,omitempty"`
IcuSendPrivateChat *bool `json:"icu_send_private_chat,omitempty"`
IcuSendPrivateMsg *bool `json:"icu_send_private_msg,omitempty"`
IcuTrackMenstrualCycle *bool `json:"icu_track_menstrual_cycle,omitempty"`
IcuTypeSettings *[]Settings `json:"icu_type_settings,omitempty"`
IcuWeight *float32 `json:"icu_weight,omitempty"`
IcuWeightSync *AthleteIcuWeightSync `json:"icu_weight_sync,omitempty"`
IcuWellnessKeys *[]string `json:"icu_wellness_keys,omitempty"`
IcuWellnessPrompt *bool `json:"icu_wellness_prompt,omitempty"`
Id *string `json:"id,omitempty"`
IgnoreStravaGear *bool `json:"ignore_strava_gear,omitempty"`
IncludeDescrInPlanForWeek *bool `json:"include_descr_in_plan_for_week,omitempty"`
Lastname *string `json:"lastname,omitempty"`
Locale *string `json:"locale,omitempty"`
MeasurementPreference *string `json:"measurement_preference,omitempty"`
Name *string `json:"name,omitempty"`
OpenStepDuration *int32 `json:"open_step_duration,omitempty"`
OuraScope *string `json:"oura_scope,omitempty"`
OuraWellnessKeys *[]string `json:"oura_wellness_keys,omitempty"`
Plan *AthletePlan `json:"plan,omitempty"`
PlanExpires *time.Time `json:"plan_expires,omitempty"`
PolarDownloadWellness *bool `json:"polar_download_wellness,omitempty"`
PolarScope *string `json:"polar_scope,omitempty"`
PolarSyncActivities *bool `json:"polar_sync_activities,omitempty"`
PolarSyncActivityTypes *[]AthletePolarSyncActivityTypes `json:"polar_sync_activity_types,omitempty"`
PolarWellnessKeys *[]string `json:"polar_wellness_keys,omitempty"`
PrivateWellnessKeys *[]string `json:"private_wellness_keys,omitempty"`
ProfileMedium *string `json:"profile_medium,omitempty"`
Rain *AthleteRain `json:"rain,omitempty"`
Scope *string `json:"scope,omitempty"`
Sex *string `json:"sex,omitempty"`
Shoes *[]StravaGear `json:"shoes,omitempty"`
SponsoredByChatId *int32 `json:"sponsored_by_chat_id,omitempty"`
State *string `json:"state,omitempty"`
Status *AthleteStatus `json:"status,omitempty"`
StatusUpdated *time.Time `json:"status_updated,omitempty"`
StravaAllowed *bool `json:"strava_allowed,omitempty"`
StravaAuthorized *bool `json:"strava_authorized,omitempty"`
StravaId *int32 `json:"strava_id,omitempty"`
StravaSyncActivities *bool `json:"strava_sync_activities,omitempty"`
StravaSyncActivityTypes *[]AthleteStravaSyncActivityTypes `json:"strava_sync_activity_types,omitempty"`
StravaSyncOtherActivities *bool `json:"strava_sync_other_activities,omitempty"`
SuuntoDownloadWellness *bool `json:"suunto_download_wellness,omitempty"`
SuuntoHrRange *float32 `json:"suunto_hr_range,omitempty"`
SuuntoLastUpload *time.Time `json:"suunto_last_upload,omitempty"`
SuuntoOutdoorPowerRange *float32 `json:"suunto_outdoor_power_range,omitempty"`
SuuntoPaceRange *float32 `json:"suunto_pace_range,omitempty"`
SuuntoScope *string `json:"suunto_scope,omitempty"`
SuuntoSyncActivities *bool `json:"suunto_sync_activities,omitempty"`
SuuntoSyncActivityTypes *[]AthleteSuuntoSyncActivityTypes `json:"suunto_sync_activity_types,omitempty"`
SuuntoUploadFilters *[]ActivityFilter `json:"suunto_upload_filters,omitempty"`
SuuntoUploadWorkouts *bool `json:"suunto_upload_workouts,omitempty"`
SuuntoUserId *string `json:"suunto_user_id,omitempty"`
TimeFormat *string `json:"time_format,omitempty"`
Timezone *string `json:"timezone,omitempty"`
TrainingAvailability *[]AthleteTrainingAvailability `json:"training_availability,omitempty"`
TrainingPlanId *int32 `json:"training_plan_id,omitempty"`
TrainingPlanStartDate *string `json:"training_plan_start_date,omitempty"`
TrialEndDate *time.Time `json:"trial_end_date,omitempty"`
UpdateStravaName *bool `json:"update_strava_name,omitempty"`
Visibility *AthleteVisibility `json:"visibility,omitempty"`
WahooSyncActivities *bool `json:"wahoo_sync_activities,omitempty"`
WahooUploadWorkouts *bool `json:"wahoo_upload_workouts,omitempty"`
WahooUserId *string `json:"wahoo_user_id,omitempty"`
Website *string `json:"website,omitempty"`
Weight *float32 `json:"weight,omitempty"`
WeightPrefLb *bool `json:"weight_pref_lb,omitempty"`
WellnessLastPromptDate *string `json:"wellness_last_prompt_date,omitempty"`
WhoopScope *string `json:"whoop_scope,omitempty"`
WhoopWellnessKeys *[]string `json:"whoop_wellness_keys,omitempty"`
WindSpeed *AthleteWindSpeed `json:"wind_speed,omitempty"`
ZeppDownloadWellness *bool `json:"zepp_download_wellness,omitempty"`
ZeppSyncActivities *bool `json:"zepp_sync_activities,omitempty"`
ZeppUploadWorkouts *bool `json:"zepp_upload_workouts,omitempty"`
ZeppUserId *string `json:"zepp_user_id,omitempty"`
ZwiftSyncActivities *bool `json:"zwift_sync_activities,omitempty"`
ZwiftUploadWorkouts *bool `json:"zwift_upload_workouts,omitempty"`
ZwiftUserId *string `json:"zwift_user_id,omitempty"`
}
Athlete defines model for Athlete.
type AthleteGarminPowerTarget ¶
type AthleteGarminPowerTarget string
AthleteGarminPowerTarget defines model for Athlete.GarminPowerTarget.
const ( AthleteGarminPowerTargetPOWER AthleteGarminPowerTarget = "POWER" AthleteGarminPowerTargetPOWER10S AthleteGarminPowerTarget = "POWER_10S" AthleteGarminPowerTargetPOWER30S AthleteGarminPowerTarget = "POWER_30S" AthleteGarminPowerTargetPOWER3S AthleteGarminPowerTarget = "POWER_3S" AthleteGarminPowerTargetPOWERLAP AthleteGarminPowerTarget = "POWER_LAP" )
Defines values for AthleteGarminPowerTarget.
type AthleteGarminSyncActivityTypes ¶
type AthleteGarminSyncActivityTypes string
AthleteGarminSyncActivityTypes defines model for Athlete.GarminSyncActivityTypes.
const ( AthleteGarminSyncActivityTypesAlpineSki AthleteGarminSyncActivityTypes = "AlpineSki" AthleteGarminSyncActivityTypesBackcountrySki AthleteGarminSyncActivityTypes = "BackcountrySki" AthleteGarminSyncActivityTypesBadminton AthleteGarminSyncActivityTypes = "Badminton" AthleteGarminSyncActivityTypesCanoeing AthleteGarminSyncActivityTypes = "Canoeing" AthleteGarminSyncActivityTypesCrossfit AthleteGarminSyncActivityTypes = "Crossfit" AthleteGarminSyncActivityTypesEBikeRide AthleteGarminSyncActivityTypes = "EBikeRide" AthleteGarminSyncActivityTypesEMountainBikeRide AthleteGarminSyncActivityTypes = "EMountainBikeRide" AthleteGarminSyncActivityTypesElliptical AthleteGarminSyncActivityTypes = "Elliptical" AthleteGarminSyncActivityTypesGolf AthleteGarminSyncActivityTypes = "Golf" AthleteGarminSyncActivityTypesGravelRide AthleteGarminSyncActivityTypes = "GravelRide" AthleteGarminSyncActivityTypesHandcycle AthleteGarminSyncActivityTypes = "Handcycle" AthleteGarminSyncActivityTypesHighIntensityIntervalTraining AthleteGarminSyncActivityTypes = "HighIntensityIntervalTraining" AthleteGarminSyncActivityTypesHike AthleteGarminSyncActivityTypes = "Hike" AthleteGarminSyncActivityTypesHockey AthleteGarminSyncActivityTypes = "Hockey" AthleteGarminSyncActivityTypesIceSkate AthleteGarminSyncActivityTypes = "IceSkate" AthleteGarminSyncActivityTypesInlineSkate AthleteGarminSyncActivityTypes = "InlineSkate" AthleteGarminSyncActivityTypesKayaking AthleteGarminSyncActivityTypes = "Kayaking" AthleteGarminSyncActivityTypesKitesurf AthleteGarminSyncActivityTypes = "Kitesurf" AthleteGarminSyncActivityTypesMountainBikeRide AthleteGarminSyncActivityTypes = "MountainBikeRide" AthleteGarminSyncActivityTypesNordicSki AthleteGarminSyncActivityTypes = "NordicSki" AthleteGarminSyncActivityTypesOpenWaterSwim AthleteGarminSyncActivityTypes = "OpenWaterSwim" AthleteGarminSyncActivityTypesOther AthleteGarminSyncActivityTypes = "Other" AthleteGarminSyncActivityTypesPadel AthleteGarminSyncActivityTypes = "Padel" AthleteGarminSyncActivityTypesPickleball AthleteGarminSyncActivityTypes = "Pickleball" AthleteGarminSyncActivityTypesPilates AthleteGarminSyncActivityTypes = "Pilates" AthleteGarminSyncActivityTypesRacquetball AthleteGarminSyncActivityTypes = "Racquetball" AthleteGarminSyncActivityTypesRide AthleteGarminSyncActivityTypes = "Ride" AthleteGarminSyncActivityTypesRockClimbing AthleteGarminSyncActivityTypes = "RockClimbing" AthleteGarminSyncActivityTypesRollerSki AthleteGarminSyncActivityTypes = "RollerSki" AthleteGarminSyncActivityTypesRowing AthleteGarminSyncActivityTypes = "Rowing" AthleteGarminSyncActivityTypesRugby AthleteGarminSyncActivityTypes = "Rugby" AthleteGarminSyncActivityTypesRun AthleteGarminSyncActivityTypes = "Run" AthleteGarminSyncActivityTypesSail AthleteGarminSyncActivityTypes = "Sail" AthleteGarminSyncActivityTypesSkateboard AthleteGarminSyncActivityTypes = "Skateboard" AthleteGarminSyncActivityTypesSnowboard AthleteGarminSyncActivityTypes = "Snowboard" AthleteGarminSyncActivityTypesSnowshoe AthleteGarminSyncActivityTypes = "Snowshoe" AthleteGarminSyncActivityTypesSoccer AthleteGarminSyncActivityTypes = "Soccer" AthleteGarminSyncActivityTypesSquash AthleteGarminSyncActivityTypes = "Squash" AthleteGarminSyncActivityTypesStairStepper AthleteGarminSyncActivityTypes = "StairStepper" AthleteGarminSyncActivityTypesStandUpPaddling AthleteGarminSyncActivityTypes = "StandUpPaddling" AthleteGarminSyncActivityTypesSurfing AthleteGarminSyncActivityTypes = "Surfing" AthleteGarminSyncActivityTypesSwim AthleteGarminSyncActivityTypes = "Swim" AthleteGarminSyncActivityTypesTableTennis AthleteGarminSyncActivityTypes = "TableTennis" AthleteGarminSyncActivityTypesTennis AthleteGarminSyncActivityTypes = "Tennis" AthleteGarminSyncActivityTypesTrackRide AthleteGarminSyncActivityTypes = "TrackRide" AthleteGarminSyncActivityTypesTrailRun AthleteGarminSyncActivityTypes = "TrailRun" AthleteGarminSyncActivityTypesTransition AthleteGarminSyncActivityTypes = "Transition" AthleteGarminSyncActivityTypesVelomobile AthleteGarminSyncActivityTypes = "Velomobile" AthleteGarminSyncActivityTypesVirtualRide AthleteGarminSyncActivityTypes = "VirtualRide" AthleteGarminSyncActivityTypesVirtualRow AthleteGarminSyncActivityTypes = "VirtualRow" AthleteGarminSyncActivityTypesVirtualRun AthleteGarminSyncActivityTypes = "VirtualRun" AthleteGarminSyncActivityTypesVirtualSki AthleteGarminSyncActivityTypes = "VirtualSki" AthleteGarminSyncActivityTypesWalk AthleteGarminSyncActivityTypes = "Walk" AthleteGarminSyncActivityTypesWaterSport AthleteGarminSyncActivityTypes = "WaterSport" AthleteGarminSyncActivityTypesWeightTraining AthleteGarminSyncActivityTypes = "WeightTraining" AthleteGarminSyncActivityTypesWheelchair AthleteGarminSyncActivityTypes = "Wheelchair" AthleteGarminSyncActivityTypesWindsurf AthleteGarminSyncActivityTypes = "Windsurf" AthleteGarminSyncActivityTypesWorkout AthleteGarminSyncActivityTypes = "Workout" AthleteGarminSyncActivityTypesYoga AthleteGarminSyncActivityTypes = "Yoga" )
Defines values for AthleteGarminSyncActivityTypes.
type AthleteHeightUnits ¶
type AthleteHeightUnits string
AthleteHeightUnits defines model for Athlete.HeightUnits.
const ( AthleteHeightUnitsCM AthleteHeightUnits = "CM" AthleteHeightUnitsFEET AthleteHeightUnits = "FEET" )
Defines values for AthleteHeightUnits.
type AthleteIcuMenstrualCyclePerm ¶
type AthleteIcuMenstrualCyclePerm string
AthleteIcuMenstrualCyclePerm defines model for Athlete.IcuMenstrualCyclePerm.
const ( AthleteIcuMenstrualCyclePermNONE AthleteIcuMenstrualCyclePerm = "NONE" AthleteIcuMenstrualCyclePermREAD AthleteIcuMenstrualCyclePerm = "READ" AthleteIcuMenstrualCyclePermWRITE AthleteIcuMenstrualCyclePerm = "WRITE" )
Defines values for AthleteIcuMenstrualCyclePerm.
type AthleteIcuPermission ¶
type AthleteIcuPermission string
AthleteIcuPermission defines model for Athlete.IcuPermission.
const ( AthleteIcuPermissionNONE AthleteIcuPermission = "NONE" AthleteIcuPermissionREAD AthleteIcuPermission = "READ" AthleteIcuPermissionWRITE AthleteIcuPermission = "WRITE" )
Defines values for AthleteIcuPermission.
type AthleteIcuWeightSync ¶
type AthleteIcuWeightSync string
AthleteIcuWeightSync defines model for Athlete.IcuWeightSync.
const ( AthleteIcuWeightSyncNONE AthleteIcuWeightSync = "NONE" AthleteIcuWeightSyncSTRAVA AthleteIcuWeightSync = "STRAVA" )
Defines values for AthleteIcuWeightSync.
type AthletePlan ¶
type AthletePlan string
AthletePlan defines model for Athlete.Plan.
const ( AthletePlanFREE AthletePlan = "FREE" AthletePlanPREMIUM AthletePlan = "PREMIUM" AthletePlanSUPPORTER AthletePlan = "SUPPORTER" AthletePlanWHITELABEL AthletePlan = "WHITELABEL" )
Defines values for AthletePlan.
type AthletePolarSyncActivityTypes ¶
type AthletePolarSyncActivityTypes string
AthletePolarSyncActivityTypes defines model for Athlete.PolarSyncActivityTypes.
const ( AthletePolarSyncActivityTypesAlpineSki AthletePolarSyncActivityTypes = "AlpineSki" AthletePolarSyncActivityTypesBackcountrySki AthletePolarSyncActivityTypes = "BackcountrySki" AthletePolarSyncActivityTypesBadminton AthletePolarSyncActivityTypes = "Badminton" AthletePolarSyncActivityTypesCanoeing AthletePolarSyncActivityTypes = "Canoeing" AthletePolarSyncActivityTypesCrossfit AthletePolarSyncActivityTypes = "Crossfit" AthletePolarSyncActivityTypesEBikeRide AthletePolarSyncActivityTypes = "EBikeRide" AthletePolarSyncActivityTypesEMountainBikeRide AthletePolarSyncActivityTypes = "EMountainBikeRide" AthletePolarSyncActivityTypesElliptical AthletePolarSyncActivityTypes = "Elliptical" AthletePolarSyncActivityTypesGolf AthletePolarSyncActivityTypes = "Golf" AthletePolarSyncActivityTypesGravelRide AthletePolarSyncActivityTypes = "GravelRide" AthletePolarSyncActivityTypesHandcycle AthletePolarSyncActivityTypes = "Handcycle" AthletePolarSyncActivityTypesHighIntensityIntervalTraining AthletePolarSyncActivityTypes = "HighIntensityIntervalTraining" AthletePolarSyncActivityTypesHike AthletePolarSyncActivityTypes = "Hike" AthletePolarSyncActivityTypesHockey AthletePolarSyncActivityTypes = "Hockey" AthletePolarSyncActivityTypesIceSkate AthletePolarSyncActivityTypes = "IceSkate" AthletePolarSyncActivityTypesInlineSkate AthletePolarSyncActivityTypes = "InlineSkate" AthletePolarSyncActivityTypesKayaking AthletePolarSyncActivityTypes = "Kayaking" AthletePolarSyncActivityTypesKitesurf AthletePolarSyncActivityTypes = "Kitesurf" AthletePolarSyncActivityTypesMountainBikeRide AthletePolarSyncActivityTypes = "MountainBikeRide" AthletePolarSyncActivityTypesNordicSki AthletePolarSyncActivityTypes = "NordicSki" AthletePolarSyncActivityTypesOpenWaterSwim AthletePolarSyncActivityTypes = "OpenWaterSwim" AthletePolarSyncActivityTypesOther AthletePolarSyncActivityTypes = "Other" AthletePolarSyncActivityTypesPadel AthletePolarSyncActivityTypes = "Padel" AthletePolarSyncActivityTypesPickleball AthletePolarSyncActivityTypes = "Pickleball" AthletePolarSyncActivityTypesPilates AthletePolarSyncActivityTypes = "Pilates" AthletePolarSyncActivityTypesRacquetball AthletePolarSyncActivityTypes = "Racquetball" AthletePolarSyncActivityTypesRide AthletePolarSyncActivityTypes = "Ride" AthletePolarSyncActivityTypesRockClimbing AthletePolarSyncActivityTypes = "RockClimbing" AthletePolarSyncActivityTypesRollerSki AthletePolarSyncActivityTypes = "RollerSki" AthletePolarSyncActivityTypesRowing AthletePolarSyncActivityTypes = "Rowing" AthletePolarSyncActivityTypesRugby AthletePolarSyncActivityTypes = "Rugby" AthletePolarSyncActivityTypesRun AthletePolarSyncActivityTypes = "Run" AthletePolarSyncActivityTypesSail AthletePolarSyncActivityTypes = "Sail" AthletePolarSyncActivityTypesSkateboard AthletePolarSyncActivityTypes = "Skateboard" AthletePolarSyncActivityTypesSnowboard AthletePolarSyncActivityTypes = "Snowboard" AthletePolarSyncActivityTypesSnowshoe AthletePolarSyncActivityTypes = "Snowshoe" AthletePolarSyncActivityTypesSoccer AthletePolarSyncActivityTypes = "Soccer" AthletePolarSyncActivityTypesSquash AthletePolarSyncActivityTypes = "Squash" AthletePolarSyncActivityTypesStairStepper AthletePolarSyncActivityTypes = "StairStepper" AthletePolarSyncActivityTypesStandUpPaddling AthletePolarSyncActivityTypes = "StandUpPaddling" AthletePolarSyncActivityTypesSurfing AthletePolarSyncActivityTypes = "Surfing" AthletePolarSyncActivityTypesSwim AthletePolarSyncActivityTypes = "Swim" AthletePolarSyncActivityTypesTableTennis AthletePolarSyncActivityTypes = "TableTennis" AthletePolarSyncActivityTypesTennis AthletePolarSyncActivityTypes = "Tennis" AthletePolarSyncActivityTypesTrackRide AthletePolarSyncActivityTypes = "TrackRide" AthletePolarSyncActivityTypesTrailRun AthletePolarSyncActivityTypes = "TrailRun" AthletePolarSyncActivityTypesTransition AthletePolarSyncActivityTypes = "Transition" AthletePolarSyncActivityTypesVelomobile AthletePolarSyncActivityTypes = "Velomobile" AthletePolarSyncActivityTypesVirtualRide AthletePolarSyncActivityTypes = "VirtualRide" AthletePolarSyncActivityTypesVirtualRow AthletePolarSyncActivityTypes = "VirtualRow" AthletePolarSyncActivityTypesVirtualRun AthletePolarSyncActivityTypes = "VirtualRun" AthletePolarSyncActivityTypesVirtualSki AthletePolarSyncActivityTypes = "VirtualSki" AthletePolarSyncActivityTypesWalk AthletePolarSyncActivityTypes = "Walk" AthletePolarSyncActivityTypesWaterSport AthletePolarSyncActivityTypes = "WaterSport" AthletePolarSyncActivityTypesWeightTraining AthletePolarSyncActivityTypes = "WeightTraining" AthletePolarSyncActivityTypesWheelchair AthletePolarSyncActivityTypes = "Wheelchair" AthletePolarSyncActivityTypesWindsurf AthletePolarSyncActivityTypes = "Windsurf" AthletePolarSyncActivityTypesWorkout AthletePolarSyncActivityTypes = "Workout" AthletePolarSyncActivityTypesYoga AthletePolarSyncActivityTypes = "Yoga" )
Defines values for AthletePolarSyncActivityTypes.
type AthleteProfile ¶
type AthleteProfile struct {
Athlete *AthleteSearchResult `json:"athlete,omitempty"`
CustomItems *[]CustomItem `json:"customItems,omitempty"`
}
AthleteProfile defines model for AthleteProfile.
type AthleteRain ¶
type AthleteRain string
AthleteRain defines model for Athlete.Rain.
const ( AthleteRainINCHES AthleteRain = "INCHES" AthleteRainMM AthleteRain = "MM" )
Defines values for AthleteRain.
type AthleteRoute ¶
type AthleteRoute struct {
AthleteId *string `json:"athlete_id,omitempty"`
Commute *bool `json:"commute,omitempty"`
Description *string `json:"description,omitempty"`
Latlngs *[][]float32 `json:"latlngs,omitempty"`
Name *string `json:"name,omitempty"`
RenameActivities *bool `json:"rename_activities,omitempty"`
ReplacedByRouteId *int64 `json:"replaced_by_route_id,omitempty"`
RouteId *int64 `json:"route_id,omitempty"`
Tags *[]string `json:"tags,omitempty"`
}
AthleteRoute defines model for AthleteRoute.
type AthleteSearchResult ¶
type AthleteSearchResult struct {
Bio *string `json:"bio,omitempty"`
City *string `json:"city,omitempty"`
Country *string `json:"country,omitempty"`
Email *string `json:"email,omitempty"`
Id *string `json:"id,omitempty"`
Name *string `json:"name,omitempty"`
ProfileMedium *string `json:"profile_medium,omitempty"`
Sex *string `json:"sex,omitempty"`
State *string `json:"state,omitempty"`
Timezone *string `json:"timezone,omitempty"`
Website *string `json:"website,omitempty"`
}
AthleteSearchResult defines model for AthleteSearchResult.
type AthleteStatus ¶
type AthleteStatus string
AthleteStatus defines model for Athlete.Status.
const ( AthleteStatusACTIVE AthleteStatus = "ACTIVE" AthleteStatusARCHIVED AthleteStatus = "ARCHIVED" AthleteStatusDORMANT AthleteStatus = "DORMANT" )
Defines values for AthleteStatus.
type AthleteStravaSyncActivityTypes ¶
type AthleteStravaSyncActivityTypes string
AthleteStravaSyncActivityTypes defines model for Athlete.StravaSyncActivityTypes.
const ( AthleteStravaSyncActivityTypesAlpineSki AthleteStravaSyncActivityTypes = "AlpineSki" AthleteStravaSyncActivityTypesBackcountrySki AthleteStravaSyncActivityTypes = "BackcountrySki" AthleteStravaSyncActivityTypesBadminton AthleteStravaSyncActivityTypes = "Badminton" AthleteStravaSyncActivityTypesCanoeing AthleteStravaSyncActivityTypes = "Canoeing" AthleteStravaSyncActivityTypesCrossfit AthleteStravaSyncActivityTypes = "Crossfit" AthleteStravaSyncActivityTypesEBikeRide AthleteStravaSyncActivityTypes = "EBikeRide" AthleteStravaSyncActivityTypesEMountainBikeRide AthleteStravaSyncActivityTypes = "EMountainBikeRide" AthleteStravaSyncActivityTypesElliptical AthleteStravaSyncActivityTypes = "Elliptical" AthleteStravaSyncActivityTypesGolf AthleteStravaSyncActivityTypes = "Golf" AthleteStravaSyncActivityTypesGravelRide AthleteStravaSyncActivityTypes = "GravelRide" AthleteStravaSyncActivityTypesHandcycle AthleteStravaSyncActivityTypes = "Handcycle" AthleteStravaSyncActivityTypesHighIntensityIntervalTraining AthleteStravaSyncActivityTypes = "HighIntensityIntervalTraining" AthleteStravaSyncActivityTypesHike AthleteStravaSyncActivityTypes = "Hike" AthleteStravaSyncActivityTypesHockey AthleteStravaSyncActivityTypes = "Hockey" AthleteStravaSyncActivityTypesIceSkate AthleteStravaSyncActivityTypes = "IceSkate" AthleteStravaSyncActivityTypesInlineSkate AthleteStravaSyncActivityTypes = "InlineSkate" AthleteStravaSyncActivityTypesKayaking AthleteStravaSyncActivityTypes = "Kayaking" AthleteStravaSyncActivityTypesKitesurf AthleteStravaSyncActivityTypes = "Kitesurf" AthleteStravaSyncActivityTypesMountainBikeRide AthleteStravaSyncActivityTypes = "MountainBikeRide" AthleteStravaSyncActivityTypesNordicSki AthleteStravaSyncActivityTypes = "NordicSki" AthleteStravaSyncActivityTypesOpenWaterSwim AthleteStravaSyncActivityTypes = "OpenWaterSwim" AthleteStravaSyncActivityTypesOther AthleteStravaSyncActivityTypes = "Other" AthleteStravaSyncActivityTypesPadel AthleteStravaSyncActivityTypes = "Padel" AthleteStravaSyncActivityTypesPickleball AthleteStravaSyncActivityTypes = "Pickleball" AthleteStravaSyncActivityTypesPilates AthleteStravaSyncActivityTypes = "Pilates" AthleteStravaSyncActivityTypesRacquetball AthleteStravaSyncActivityTypes = "Racquetball" AthleteStravaSyncActivityTypesRide AthleteStravaSyncActivityTypes = "Ride" AthleteStravaSyncActivityTypesRockClimbing AthleteStravaSyncActivityTypes = "RockClimbing" AthleteStravaSyncActivityTypesRollerSki AthleteStravaSyncActivityTypes = "RollerSki" AthleteStravaSyncActivityTypesRowing AthleteStravaSyncActivityTypes = "Rowing" AthleteStravaSyncActivityTypesRugby AthleteStravaSyncActivityTypes = "Rugby" AthleteStravaSyncActivityTypesRun AthleteStravaSyncActivityTypes = "Run" AthleteStravaSyncActivityTypesSail AthleteStravaSyncActivityTypes = "Sail" AthleteStravaSyncActivityTypesSkateboard AthleteStravaSyncActivityTypes = "Skateboard" AthleteStravaSyncActivityTypesSnowboard AthleteStravaSyncActivityTypes = "Snowboard" AthleteStravaSyncActivityTypesSnowshoe AthleteStravaSyncActivityTypes = "Snowshoe" AthleteStravaSyncActivityTypesSoccer AthleteStravaSyncActivityTypes = "Soccer" AthleteStravaSyncActivityTypesSquash AthleteStravaSyncActivityTypes = "Squash" AthleteStravaSyncActivityTypesStairStepper AthleteStravaSyncActivityTypes = "StairStepper" AthleteStravaSyncActivityTypesStandUpPaddling AthleteStravaSyncActivityTypes = "StandUpPaddling" AthleteStravaSyncActivityTypesSurfing AthleteStravaSyncActivityTypes = "Surfing" AthleteStravaSyncActivityTypesSwim AthleteStravaSyncActivityTypes = "Swim" AthleteStravaSyncActivityTypesTableTennis AthleteStravaSyncActivityTypes = "TableTennis" AthleteStravaSyncActivityTypesTennis AthleteStravaSyncActivityTypes = "Tennis" AthleteStravaSyncActivityTypesTrackRide AthleteStravaSyncActivityTypes = "TrackRide" AthleteStravaSyncActivityTypesTrailRun AthleteStravaSyncActivityTypes = "TrailRun" AthleteStravaSyncActivityTypesTransition AthleteStravaSyncActivityTypes = "Transition" AthleteStravaSyncActivityTypesVelomobile AthleteStravaSyncActivityTypes = "Velomobile" AthleteStravaSyncActivityTypesVirtualRide AthleteStravaSyncActivityTypes = "VirtualRide" AthleteStravaSyncActivityTypesVirtualRow AthleteStravaSyncActivityTypes = "VirtualRow" AthleteStravaSyncActivityTypesVirtualRun AthleteStravaSyncActivityTypes = "VirtualRun" AthleteStravaSyncActivityTypesVirtualSki AthleteStravaSyncActivityTypes = "VirtualSki" AthleteStravaSyncActivityTypesWalk AthleteStravaSyncActivityTypes = "Walk" AthleteStravaSyncActivityTypesWaterSport AthleteStravaSyncActivityTypes = "WaterSport" AthleteStravaSyncActivityTypesWeightTraining AthleteStravaSyncActivityTypes = "WeightTraining" AthleteStravaSyncActivityTypesWheelchair AthleteStravaSyncActivityTypes = "Wheelchair" AthleteStravaSyncActivityTypesWindsurf AthleteStravaSyncActivityTypes = "Windsurf" AthleteStravaSyncActivityTypesWorkout AthleteStravaSyncActivityTypes = "Workout" AthleteStravaSyncActivityTypesYoga AthleteStravaSyncActivityTypes = "Yoga" )
Defines values for AthleteStravaSyncActivityTypes.
type AthleteSuuntoSyncActivityTypes ¶
type AthleteSuuntoSyncActivityTypes string
AthleteSuuntoSyncActivityTypes defines model for Athlete.SuuntoSyncActivityTypes.
const ( AthleteSuuntoSyncActivityTypesAlpineSki AthleteSuuntoSyncActivityTypes = "AlpineSki" AthleteSuuntoSyncActivityTypesBackcountrySki AthleteSuuntoSyncActivityTypes = "BackcountrySki" AthleteSuuntoSyncActivityTypesBadminton AthleteSuuntoSyncActivityTypes = "Badminton" AthleteSuuntoSyncActivityTypesCanoeing AthleteSuuntoSyncActivityTypes = "Canoeing" AthleteSuuntoSyncActivityTypesCrossfit AthleteSuuntoSyncActivityTypes = "Crossfit" AthleteSuuntoSyncActivityTypesEBikeRide AthleteSuuntoSyncActivityTypes = "EBikeRide" AthleteSuuntoSyncActivityTypesEMountainBikeRide AthleteSuuntoSyncActivityTypes = "EMountainBikeRide" AthleteSuuntoSyncActivityTypesElliptical AthleteSuuntoSyncActivityTypes = "Elliptical" AthleteSuuntoSyncActivityTypesGolf AthleteSuuntoSyncActivityTypes = "Golf" AthleteSuuntoSyncActivityTypesGravelRide AthleteSuuntoSyncActivityTypes = "GravelRide" AthleteSuuntoSyncActivityTypesHandcycle AthleteSuuntoSyncActivityTypes = "Handcycle" AthleteSuuntoSyncActivityTypesHighIntensityIntervalTraining AthleteSuuntoSyncActivityTypes = "HighIntensityIntervalTraining" AthleteSuuntoSyncActivityTypesHike AthleteSuuntoSyncActivityTypes = "Hike" AthleteSuuntoSyncActivityTypesHockey AthleteSuuntoSyncActivityTypes = "Hockey" AthleteSuuntoSyncActivityTypesIceSkate AthleteSuuntoSyncActivityTypes = "IceSkate" AthleteSuuntoSyncActivityTypesInlineSkate AthleteSuuntoSyncActivityTypes = "InlineSkate" AthleteSuuntoSyncActivityTypesKayaking AthleteSuuntoSyncActivityTypes = "Kayaking" AthleteSuuntoSyncActivityTypesKitesurf AthleteSuuntoSyncActivityTypes = "Kitesurf" AthleteSuuntoSyncActivityTypesMountainBikeRide AthleteSuuntoSyncActivityTypes = "MountainBikeRide" AthleteSuuntoSyncActivityTypesNordicSki AthleteSuuntoSyncActivityTypes = "NordicSki" AthleteSuuntoSyncActivityTypesOpenWaterSwim AthleteSuuntoSyncActivityTypes = "OpenWaterSwim" AthleteSuuntoSyncActivityTypesOther AthleteSuuntoSyncActivityTypes = "Other" AthleteSuuntoSyncActivityTypesPadel AthleteSuuntoSyncActivityTypes = "Padel" AthleteSuuntoSyncActivityTypesPickleball AthleteSuuntoSyncActivityTypes = "Pickleball" AthleteSuuntoSyncActivityTypesPilates AthleteSuuntoSyncActivityTypes = "Pilates" AthleteSuuntoSyncActivityTypesRacquetball AthleteSuuntoSyncActivityTypes = "Racquetball" AthleteSuuntoSyncActivityTypesRide AthleteSuuntoSyncActivityTypes = "Ride" AthleteSuuntoSyncActivityTypesRockClimbing AthleteSuuntoSyncActivityTypes = "RockClimbing" AthleteSuuntoSyncActivityTypesRollerSki AthleteSuuntoSyncActivityTypes = "RollerSki" AthleteSuuntoSyncActivityTypesRowing AthleteSuuntoSyncActivityTypes = "Rowing" AthleteSuuntoSyncActivityTypesRugby AthleteSuuntoSyncActivityTypes = "Rugby" AthleteSuuntoSyncActivityTypesRun AthleteSuuntoSyncActivityTypes = "Run" AthleteSuuntoSyncActivityTypesSail AthleteSuuntoSyncActivityTypes = "Sail" AthleteSuuntoSyncActivityTypesSkateboard AthleteSuuntoSyncActivityTypes = "Skateboard" AthleteSuuntoSyncActivityTypesSnowboard AthleteSuuntoSyncActivityTypes = "Snowboard" AthleteSuuntoSyncActivityTypesSnowshoe AthleteSuuntoSyncActivityTypes = "Snowshoe" AthleteSuuntoSyncActivityTypesSoccer AthleteSuuntoSyncActivityTypes = "Soccer" AthleteSuuntoSyncActivityTypesSquash AthleteSuuntoSyncActivityTypes = "Squash" AthleteSuuntoSyncActivityTypesStairStepper AthleteSuuntoSyncActivityTypes = "StairStepper" AthleteSuuntoSyncActivityTypesStandUpPaddling AthleteSuuntoSyncActivityTypes = "StandUpPaddling" AthleteSuuntoSyncActivityTypesSurfing AthleteSuuntoSyncActivityTypes = "Surfing" AthleteSuuntoSyncActivityTypesSwim AthleteSuuntoSyncActivityTypes = "Swim" AthleteSuuntoSyncActivityTypesTableTennis AthleteSuuntoSyncActivityTypes = "TableTennis" AthleteSuuntoSyncActivityTypesTennis AthleteSuuntoSyncActivityTypes = "Tennis" AthleteSuuntoSyncActivityTypesTrackRide AthleteSuuntoSyncActivityTypes = "TrackRide" AthleteSuuntoSyncActivityTypesTrailRun AthleteSuuntoSyncActivityTypes = "TrailRun" AthleteSuuntoSyncActivityTypesTransition AthleteSuuntoSyncActivityTypes = "Transition" AthleteSuuntoSyncActivityTypesVelomobile AthleteSuuntoSyncActivityTypes = "Velomobile" AthleteSuuntoSyncActivityTypesVirtualRide AthleteSuuntoSyncActivityTypes = "VirtualRide" AthleteSuuntoSyncActivityTypesVirtualRow AthleteSuuntoSyncActivityTypes = "VirtualRow" AthleteSuuntoSyncActivityTypesVirtualRun AthleteSuuntoSyncActivityTypes = "VirtualRun" AthleteSuuntoSyncActivityTypesVirtualSki AthleteSuuntoSyncActivityTypes = "VirtualSki" AthleteSuuntoSyncActivityTypesWalk AthleteSuuntoSyncActivityTypes = "Walk" AthleteSuuntoSyncActivityTypesWaterSport AthleteSuuntoSyncActivityTypes = "WaterSport" AthleteSuuntoSyncActivityTypesWeightTraining AthleteSuuntoSyncActivityTypes = "WeightTraining" AthleteSuuntoSyncActivityTypesWheelchair AthleteSuuntoSyncActivityTypes = "Wheelchair" AthleteSuuntoSyncActivityTypesWindsurf AthleteSuuntoSyncActivityTypes = "Windsurf" AthleteSuuntoSyncActivityTypesWorkout AthleteSuuntoSyncActivityTypes = "Workout" AthleteSuuntoSyncActivityTypesYoga AthleteSuuntoSyncActivityTypes = "Yoga" )
Defines values for AthleteSuuntoSyncActivityTypes.
type AthleteTrainingAvailability ¶
type AthleteTrainingAvailability struct {
CanTrainSports *[]AthleteTrainingAvailabilityCanTrainSports `json:"can_train_sports,omitempty"`
EndDay *int32 `json:"end_day,omitempty"`
MaxTrainingTime *int32 `json:"max_training_time,omitempty"`
StartDay *int32 `json:"start_day,omitempty"`
TrainingAvailability *AthleteTrainingAvailabilityTrainingAvailability `json:"training_availability,omitempty"`
}
AthleteTrainingAvailability defines model for AthleteTrainingAvailability.
type AthleteTrainingAvailabilityCanTrainSports ¶
type AthleteTrainingAvailabilityCanTrainSports string
AthleteTrainingAvailabilityCanTrainSports defines model for AthleteTrainingAvailability.CanTrainSports.
const ( AthleteTrainingAvailabilityCanTrainSportsAlpineSki AthleteTrainingAvailabilityCanTrainSports = "AlpineSki" AthleteTrainingAvailabilityCanTrainSportsBackcountrySki AthleteTrainingAvailabilityCanTrainSports = "BackcountrySki" AthleteTrainingAvailabilityCanTrainSportsBadminton AthleteTrainingAvailabilityCanTrainSports = "Badminton" AthleteTrainingAvailabilityCanTrainSportsCanoeing AthleteTrainingAvailabilityCanTrainSports = "Canoeing" AthleteTrainingAvailabilityCanTrainSportsCrossfit AthleteTrainingAvailabilityCanTrainSports = "Crossfit" AthleteTrainingAvailabilityCanTrainSportsEBikeRide AthleteTrainingAvailabilityCanTrainSports = "EBikeRide" AthleteTrainingAvailabilityCanTrainSportsEMountainBikeRide AthleteTrainingAvailabilityCanTrainSports = "EMountainBikeRide" AthleteTrainingAvailabilityCanTrainSportsElliptical AthleteTrainingAvailabilityCanTrainSports = "Elliptical" AthleteTrainingAvailabilityCanTrainSportsGolf AthleteTrainingAvailabilityCanTrainSports = "Golf" AthleteTrainingAvailabilityCanTrainSportsGravelRide AthleteTrainingAvailabilityCanTrainSports = "GravelRide" AthleteTrainingAvailabilityCanTrainSportsHandcycle AthleteTrainingAvailabilityCanTrainSports = "Handcycle" AthleteTrainingAvailabilityCanTrainSportsHighIntensityIntervalTraining AthleteTrainingAvailabilityCanTrainSports = "HighIntensityIntervalTraining" AthleteTrainingAvailabilityCanTrainSportsHike AthleteTrainingAvailabilityCanTrainSports = "Hike" AthleteTrainingAvailabilityCanTrainSportsHockey AthleteTrainingAvailabilityCanTrainSports = "Hockey" AthleteTrainingAvailabilityCanTrainSportsIceSkate AthleteTrainingAvailabilityCanTrainSports = "IceSkate" AthleteTrainingAvailabilityCanTrainSportsInlineSkate AthleteTrainingAvailabilityCanTrainSports = "InlineSkate" AthleteTrainingAvailabilityCanTrainSportsKayaking AthleteTrainingAvailabilityCanTrainSports = "Kayaking" AthleteTrainingAvailabilityCanTrainSportsKitesurf AthleteTrainingAvailabilityCanTrainSports = "Kitesurf" AthleteTrainingAvailabilityCanTrainSportsMountainBikeRide AthleteTrainingAvailabilityCanTrainSports = "MountainBikeRide" AthleteTrainingAvailabilityCanTrainSportsNordicSki AthleteTrainingAvailabilityCanTrainSports = "NordicSki" AthleteTrainingAvailabilityCanTrainSportsOpenWaterSwim AthleteTrainingAvailabilityCanTrainSports = "OpenWaterSwim" AthleteTrainingAvailabilityCanTrainSportsOther AthleteTrainingAvailabilityCanTrainSports = "Other" AthleteTrainingAvailabilityCanTrainSportsPadel AthleteTrainingAvailabilityCanTrainSports = "Padel" AthleteTrainingAvailabilityCanTrainSportsPickleball AthleteTrainingAvailabilityCanTrainSports = "Pickleball" AthleteTrainingAvailabilityCanTrainSportsPilates AthleteTrainingAvailabilityCanTrainSports = "Pilates" AthleteTrainingAvailabilityCanTrainSportsRacquetball AthleteTrainingAvailabilityCanTrainSports = "Racquetball" AthleteTrainingAvailabilityCanTrainSportsRide AthleteTrainingAvailabilityCanTrainSports = "Ride" AthleteTrainingAvailabilityCanTrainSportsRockClimbing AthleteTrainingAvailabilityCanTrainSports = "RockClimbing" AthleteTrainingAvailabilityCanTrainSportsRollerSki AthleteTrainingAvailabilityCanTrainSports = "RollerSki" AthleteTrainingAvailabilityCanTrainSportsRowing AthleteTrainingAvailabilityCanTrainSports = "Rowing" AthleteTrainingAvailabilityCanTrainSportsRugby AthleteTrainingAvailabilityCanTrainSports = "Rugby" AthleteTrainingAvailabilityCanTrainSportsRun AthleteTrainingAvailabilityCanTrainSports = "Run" AthleteTrainingAvailabilityCanTrainSportsSail AthleteTrainingAvailabilityCanTrainSports = "Sail" AthleteTrainingAvailabilityCanTrainSportsSkateboard AthleteTrainingAvailabilityCanTrainSports = "Skateboard" AthleteTrainingAvailabilityCanTrainSportsSnowboard AthleteTrainingAvailabilityCanTrainSports = "Snowboard" AthleteTrainingAvailabilityCanTrainSportsSnowshoe AthleteTrainingAvailabilityCanTrainSports = "Snowshoe" AthleteTrainingAvailabilityCanTrainSportsSoccer AthleteTrainingAvailabilityCanTrainSports = "Soccer" AthleteTrainingAvailabilityCanTrainSportsSquash AthleteTrainingAvailabilityCanTrainSports = "Squash" AthleteTrainingAvailabilityCanTrainSportsStairStepper AthleteTrainingAvailabilityCanTrainSports = "StairStepper" AthleteTrainingAvailabilityCanTrainSportsStandUpPaddling AthleteTrainingAvailabilityCanTrainSports = "StandUpPaddling" AthleteTrainingAvailabilityCanTrainSportsSurfing AthleteTrainingAvailabilityCanTrainSports = "Surfing" AthleteTrainingAvailabilityCanTrainSportsSwim AthleteTrainingAvailabilityCanTrainSports = "Swim" AthleteTrainingAvailabilityCanTrainSportsTableTennis AthleteTrainingAvailabilityCanTrainSports = "TableTennis" AthleteTrainingAvailabilityCanTrainSportsTennis AthleteTrainingAvailabilityCanTrainSports = "Tennis" AthleteTrainingAvailabilityCanTrainSportsTrackRide AthleteTrainingAvailabilityCanTrainSports = "TrackRide" AthleteTrainingAvailabilityCanTrainSportsTrailRun AthleteTrainingAvailabilityCanTrainSports = "TrailRun" AthleteTrainingAvailabilityCanTrainSportsTransition AthleteTrainingAvailabilityCanTrainSports = "Transition" AthleteTrainingAvailabilityCanTrainSportsVelomobile AthleteTrainingAvailabilityCanTrainSports = "Velomobile" AthleteTrainingAvailabilityCanTrainSportsVirtualRide AthleteTrainingAvailabilityCanTrainSports = "VirtualRide" AthleteTrainingAvailabilityCanTrainSportsVirtualRow AthleteTrainingAvailabilityCanTrainSports = "VirtualRow" AthleteTrainingAvailabilityCanTrainSportsVirtualRun AthleteTrainingAvailabilityCanTrainSports = "VirtualRun" AthleteTrainingAvailabilityCanTrainSportsVirtualSki AthleteTrainingAvailabilityCanTrainSports = "VirtualSki" AthleteTrainingAvailabilityCanTrainSportsWalk AthleteTrainingAvailabilityCanTrainSports = "Walk" AthleteTrainingAvailabilityCanTrainSportsWaterSport AthleteTrainingAvailabilityCanTrainSports = "WaterSport" AthleteTrainingAvailabilityCanTrainSportsWeightTraining AthleteTrainingAvailabilityCanTrainSports = "WeightTraining" AthleteTrainingAvailabilityCanTrainSportsWheelchair AthleteTrainingAvailabilityCanTrainSports = "Wheelchair" AthleteTrainingAvailabilityCanTrainSportsWindsurf AthleteTrainingAvailabilityCanTrainSports = "Windsurf" AthleteTrainingAvailabilityCanTrainSportsWorkout AthleteTrainingAvailabilityCanTrainSports = "Workout" AthleteTrainingAvailabilityCanTrainSportsYoga AthleteTrainingAvailabilityCanTrainSports = "Yoga" )
Defines values for AthleteTrainingAvailabilityCanTrainSports.
type AthleteTrainingAvailabilityTrainingAvailability ¶
type AthleteTrainingAvailabilityTrainingAvailability string
AthleteTrainingAvailabilityTrainingAvailability defines model for AthleteTrainingAvailability.TrainingAvailability.
const ( AthleteTrainingAvailabilityTrainingAvailabilityLIMITED AthleteTrainingAvailabilityTrainingAvailability = "LIMITED" AthleteTrainingAvailabilityTrainingAvailabilityNORMAL AthleteTrainingAvailabilityTrainingAvailability = "NORMAL" AthleteTrainingAvailabilityTrainingAvailabilityUNAVAILABLE AthleteTrainingAvailabilityTrainingAvailability = "UNAVAILABLE" )
Defines values for AthleteTrainingAvailabilityTrainingAvailability.
type AthleteTrainingPlan ¶
type AthleteTrainingPlan struct {
AthleteId *string `json:"athlete_id,omitempty"`
Timezone *string `json:"timezone,omitempty"`
TrainingPlan *Folder `json:"training_plan,omitempty"`
TrainingPlanAlias *string `json:"training_plan_alias,omitempty"`
TrainingPlanId *int32 `json:"training_plan_id,omitempty"`
TrainingPlanLastApplied *time.Time `json:"training_plan_last_applied,omitempty"`
TrainingPlanStartDate *string `json:"training_plan_start_date,omitempty"`
}
AthleteTrainingPlan defines model for AthleteTrainingPlan.
type AthleteTrainingPlanUpdate ¶
type AthleteTrainingPlanUpdate struct {
Id *string `json:"id,omitempty"`
TrainingPlanAlias *string `json:"training_plan_alias,omitempty"`
TrainingPlanId *int32 `json:"training_plan_id,omitempty"`
TrainingPlanStartDate *string `json:"training_plan_start_date,omitempty"`
}
AthleteTrainingPlanUpdate defines model for AthleteTrainingPlanUpdate.
type AthleteUpdateDTO ¶
type AthleteUpdateDTO struct {
ActivityRpePrompt *bool `json:"activity_rpe_prompt,omitempty"`
AddWeatherToStravaDescr *bool `json:"add_weather_to_strava_descr,omitempty"`
ApplyToAll *bool `json:"applyToAll,omitempty"`
BetaUser *bool `json:"beta_user,omitempty"`
Bikes *[]StravaGear `json:"bikes,omitempty"`
Bio *string `json:"bio,omitempty"`
City *string `json:"city,omitempty"`
CoachTicks *[]CoachTick `json:"coach_ticks,omitempty"`
Concept2SyncActivities *bool `json:"concept2_sync_activities,omitempty"`
Concept2UserId *string `json:"concept2_user_id,omitempty"`
CorosDownloadWellness *bool `json:"coros_download_wellness,omitempty"`
CorosLastUpload *time.Time `json:"coros_last_upload,omitempty"`
CorosSyncActivities *bool `json:"coros_sync_activities,omitempty"`
CorosUploadWorkouts *bool `json:"coros_upload_workouts,omitempty"`
CorosUserId *string `json:"coros_user_id,omitempty"`
Country *string `json:"country,omitempty"`
Currency *string `json:"currency,omitempty"`
DateFormat *string `json:"date_format,omitempty"`
DropboxScope *string `json:"dropbox_scope,omitempty"`
Email *string `json:"email,omitempty"`
Fahrenheit *bool `json:"fahrenheit,omitempty"`
Firstname *string `json:"firstname,omitempty"`
GarminPaceRange *float32 `json:"garmin_pace_range,omitempty"`
GarminPowerTarget *AthleteUpdateDTOGarminPowerTarget `json:"garmin_power_target,omitempty"`
GarminSyncActivityTypes *[]AthleteUpdateDTOGarminSyncActivityTypes `json:"garmin_sync_activity_types,omitempty"`
GarminSyncAfter *time.Time `json:"garmin_sync_after,omitempty"`
GoogleScope *string `json:"google_scope,omitempty"`
GoogleWellnessKeys *[]string `json:"google_wellness_keys,omitempty"`
HasPassword *bool `json:"has_password,omitempty"`
Height *float32 `json:"height,omitempty"`
HeightUnits *AthleteUpdateDTOHeightUnits `json:"height_units,omitempty"`
HuaweiDownloadWellness *bool `json:"huawei_download_wellness,omitempty"`
HuaweiSyncActivities *bool `json:"huawei_sync_activities,omitempty"`
HuaweiUploadWorkouts *bool `json:"huawei_upload_workouts,omitempty"`
HuaweiUserId *string `json:"huawei_user_id,omitempty"`
IcuActivated *time.Time `json:"icu_activated,omitempty"`
IcuAdmin *bool `json:"icu_admin,omitempty"`
IcuApiKey *string `json:"icu_api_key,omitempty"`
IcuCoach *bool `json:"icu_coach,omitempty"`
IcuDateOfBirth *string `json:"icu_date_of_birth,omitempty"`
IcuEffortSecs *[]int32 `json:"icu_effort_secs,omitempty"`
IcuEmailDisabled *string `json:"icu_email_disabled,omitempty"`
IcuEmailVerified *bool `json:"icu_email_verified,omitempty"`
IcuFormAsPercent *bool `json:"icu_form_as_percent,omitempty"`
IcuFriendInviteToken *string `json:"icu_friend_invite_token,omitempty"`
IcuGarminDownloadWellness *bool `json:"icu_garmin_download_wellness,omitempty"`
IcuGarminHealth *bool `json:"icu_garmin_health,omitempty"`
IcuGarminHrRange *float32 `json:"icu_garmin_hr_range,omitempty"`
IcuGarminLastUpload *time.Time `json:"icu_garmin_last_upload,omitempty"`
IcuGarminOutdoorPowerRange *float32 `json:"icu_garmin_outdoor_power_range,omitempty"`
IcuGarminSyncActivities *bool `json:"icu_garmin_sync_activities,omitempty"`
IcuGarminTraining *bool `json:"icu_garmin_training,omitempty"`
IcuGarminUploadFilters *[]ActivityFilter `json:"icu_garmin_upload_filters,omitempty"`
IcuGarminUploadWorkouts *bool `json:"icu_garmin_upload_workouts,omitempty"`
IcuGarminWellnessKeys *[]string `json:"icu_garmin_wellness_keys,omitempty"`
IcuLastSeen *time.Time `json:"icu_last_seen,omitempty"`
IcuMenstrualCyclePerm *AthleteUpdateDTOIcuMenstrualCyclePerm `json:"icu_menstrual_cycle_perm,omitempty"`
IcuMmpDays *int32 `json:"icu_mmp_days,omitempty"`
IcuNotes *string `json:"icu_notes,omitempty"`
IcuPermission *AthleteUpdateDTOIcuPermission `json:"icu_permission,omitempty"`
IcuQueuePos *int32 `json:"icu_queue_pos,omitempty"`
IcuRestingHr *int32 `json:"icu_resting_hr,omitempty"`
IcuSendAchievements *bool `json:"icu_send_achievements,omitempty"`
IcuSendActivityChat *bool `json:"icu_send_activity_chat,omitempty"`
IcuSendActivityMsg *bool `json:"icu_send_activity_msg,omitempty"`
IcuSendCoachMeReq *bool `json:"icu_send_coach_me_req,omitempty"`
IcuSendCoachTick *bool `json:"icu_send_coach_tick,omitempty"`
IcuSendCoachedActivityChat *bool `json:"icu_send_coached_activity_chat,omitempty"`
IcuSendCoachedNewActivity *bool `json:"icu_send_coached_new_activity,omitempty"`
IcuSendFollowReq *bool `json:"icu_send_follow_req,omitempty"`
IcuSendFollowedActivityChat *bool `json:"icu_send_followed_activity_chat,omitempty"`
IcuSendFollowedNewActivity *bool `json:"icu_send_followed_new_activity,omitempty"`
IcuSendGearAlerts *bool `json:"icu_send_gear_alerts,omitempty"`
IcuSendGroupChat *bool `json:"icu_send_group_chat,omitempty"`
IcuSendGroupMsg *bool `json:"icu_send_group_msg,omitempty"`
IcuSendNewsletter *bool `json:"icu_send_newsletter,omitempty"`
IcuSendPlanForWeek *bool `json:"icu_send_plan_for_week,omitempty"`
IcuSendPrivateChat *bool `json:"icu_send_private_chat,omitempty"`
IcuSendPrivateMsg *bool `json:"icu_send_private_msg,omitempty"`
IcuTags *[]string `json:"icu_tags,omitempty"`
IcuTrackMenstrualCycle *bool `json:"icu_track_menstrual_cycle,omitempty"`
IcuTypeSettings *[]Settings `json:"icu_type_settings,omitempty"`
IcuWeight *float32 `json:"icu_weight,omitempty"`
IcuWeightSync *AthleteUpdateDTOIcuWeightSync `json:"icu_weight_sync,omitempty"`
IcuWellnessKeys *[]string `json:"icu_wellness_keys,omitempty"`
IcuWellnessPrompt *bool `json:"icu_wellness_prompt,omitempty"`
Id *string `json:"id,omitempty"`
IgnoreStravaGear *bool `json:"ignore_strava_gear,omitempty"`
IncludeDescrInPlanForWeek *bool `json:"include_descr_in_plan_for_week,omitempty"`
Lastname *string `json:"lastname,omitempty"`
LocalDate *string `json:"localDate,omitempty"`
Locale *string `json:"locale,omitempty"`
MeasurementPreference *string `json:"measurement_preference,omitempty"`
Name *string `json:"name,omitempty"`
OpenStepDuration *int32 `json:"open_step_duration,omitempty"`
OuraScope *string `json:"oura_scope,omitempty"`
OuraWellnessKeys *[]string `json:"oura_wellness_keys,omitempty"`
Password *string `json:"password,omitempty"`
Plan *AthleteUpdateDTOPlan `json:"plan,omitempty"`
PlanExpires *time.Time `json:"plan_expires,omitempty"`
PolarDownloadWellness *bool `json:"polar_download_wellness,omitempty"`
PolarScope *string `json:"polar_scope,omitempty"`
PolarSyncActivities *bool `json:"polar_sync_activities,omitempty"`
PolarSyncActivityTypes *[]AthleteUpdateDTOPolarSyncActivityTypes `json:"polar_sync_activity_types,omitempty"`
PolarWellnessKeys *[]string `json:"polar_wellness_keys,omitempty"`
PrivateWellnessKeys *[]string `json:"private_wellness_keys,omitempty"`
ProfileMedium *string `json:"profile_medium,omitempty"`
Rain *AthleteUpdateDTORain `json:"rain,omitempty"`
RecalcHrZones *bool `json:"recalcHrZones,omitempty"`
Scope *string `json:"scope,omitempty"`
Sex *string `json:"sex,omitempty"`
Shoes *[]StravaGear `json:"shoes,omitempty"`
SponsoredByChatId *int32 `json:"sponsored_by_chat_id,omitempty"`
State *string `json:"state,omitempty"`
Status *AthleteUpdateDTOStatus `json:"status,omitempty"`
StatusUpdated *time.Time `json:"status_updated,omitempty"`
StravaAllowed *bool `json:"strava_allowed,omitempty"`
StravaAuthorized *bool `json:"strava_authorized,omitempty"`
StravaId *int32 `json:"strava_id,omitempty"`
StravaSyncActivities *bool `json:"strava_sync_activities,omitempty"`
StravaSyncActivityTypes *[]AthleteUpdateDTOStravaSyncActivityTypes `json:"strava_sync_activity_types,omitempty"`
StravaSyncOtherActivities *bool `json:"strava_sync_other_activities,omitempty"`
SuuntoDownloadWellness *bool `json:"suunto_download_wellness,omitempty"`
SuuntoHrRange *float32 `json:"suunto_hr_range,omitempty"`
SuuntoLastUpload *time.Time `json:"suunto_last_upload,omitempty"`
SuuntoOutdoorPowerRange *float32 `json:"suunto_outdoor_power_range,omitempty"`
SuuntoPaceRange *float32 `json:"suunto_pace_range,omitempty"`
SuuntoScope *string `json:"suunto_scope,omitempty"`
SuuntoSyncActivities *bool `json:"suunto_sync_activities,omitempty"`
SuuntoSyncActivityTypes *[]AthleteUpdateDTOSuuntoSyncActivityTypes `json:"suunto_sync_activity_types,omitempty"`
SuuntoUploadFilters *[]ActivityFilter `json:"suunto_upload_filters,omitempty"`
SuuntoUploadWorkouts *bool `json:"suunto_upload_workouts,omitempty"`
SuuntoUserId *string `json:"suunto_user_id,omitempty"`
TimeFormat *string `json:"time_format,omitempty"`
Timezone *string `json:"timezone,omitempty"`
TrainingAvailability *[]AthleteTrainingAvailability `json:"training_availability,omitempty"`
TrainingPlanId *int32 `json:"training_plan_id,omitempty"`
TrainingPlanStartDate *string `json:"training_plan_start_date,omitempty"`
TrialEndDate *time.Time `json:"trial_end_date,omitempty"`
UpdateStravaName *bool `json:"update_strava_name,omitempty"`
Visibility *AthleteUpdateDTOVisibility `json:"visibility,omitempty"`
WahooSyncActivities *bool `json:"wahoo_sync_activities,omitempty"`
WahooUploadWorkouts *bool `json:"wahoo_upload_workouts,omitempty"`
WahooUserId *string `json:"wahoo_user_id,omitempty"`
Website *string `json:"website,omitempty"`
Weight *float32 `json:"weight,omitempty"`
WeightPrefLb *bool `json:"weight_pref_lb,omitempty"`
WellnessLastPromptDate *string `json:"wellness_last_prompt_date,omitempty"`
WhoopScope *string `json:"whoop_scope,omitempty"`
WhoopWellnessKeys *[]string `json:"whoop_wellness_keys,omitempty"`
WindSpeed *AthleteUpdateDTOWindSpeed `json:"wind_speed,omitempty"`
ZeppDownloadWellness *bool `json:"zepp_download_wellness,omitempty"`
ZeppSyncActivities *bool `json:"zepp_sync_activities,omitempty"`
ZeppUploadWorkouts *bool `json:"zepp_upload_workouts,omitempty"`
ZeppUserId *string `json:"zepp_user_id,omitempty"`
ZwiftSyncActivities *bool `json:"zwift_sync_activities,omitempty"`
ZwiftUploadWorkouts *bool `json:"zwift_upload_workouts,omitempty"`
ZwiftUserId *string `json:"zwift_user_id,omitempty"`
}
AthleteUpdateDTO defines model for AthleteUpdateDTO.
type AthleteUpdateDTOGarminPowerTarget ¶
type AthleteUpdateDTOGarminPowerTarget string
AthleteUpdateDTOGarminPowerTarget defines model for AthleteUpdateDTO.GarminPowerTarget.
const ( AthleteUpdateDTOGarminPowerTargetPOWER AthleteUpdateDTOGarminPowerTarget = "POWER" AthleteUpdateDTOGarminPowerTargetPOWER10S AthleteUpdateDTOGarminPowerTarget = "POWER_10S" AthleteUpdateDTOGarminPowerTargetPOWER30S AthleteUpdateDTOGarminPowerTarget = "POWER_30S" AthleteUpdateDTOGarminPowerTargetPOWER3S AthleteUpdateDTOGarminPowerTarget = "POWER_3S" AthleteUpdateDTOGarminPowerTargetPOWERLAP AthleteUpdateDTOGarminPowerTarget = "POWER_LAP" )
Defines values for AthleteUpdateDTOGarminPowerTarget.
type AthleteUpdateDTOGarminSyncActivityTypes ¶
type AthleteUpdateDTOGarminSyncActivityTypes string
AthleteUpdateDTOGarminSyncActivityTypes defines model for AthleteUpdateDTO.GarminSyncActivityTypes.
const ( AthleteUpdateDTOGarminSyncActivityTypesAlpineSki AthleteUpdateDTOGarminSyncActivityTypes = "AlpineSki" AthleteUpdateDTOGarminSyncActivityTypesBackcountrySki AthleteUpdateDTOGarminSyncActivityTypes = "BackcountrySki" AthleteUpdateDTOGarminSyncActivityTypesBadminton AthleteUpdateDTOGarminSyncActivityTypes = "Badminton" AthleteUpdateDTOGarminSyncActivityTypesCanoeing AthleteUpdateDTOGarminSyncActivityTypes = "Canoeing" AthleteUpdateDTOGarminSyncActivityTypesCrossfit AthleteUpdateDTOGarminSyncActivityTypes = "Crossfit" AthleteUpdateDTOGarminSyncActivityTypesEBikeRide AthleteUpdateDTOGarminSyncActivityTypes = "EBikeRide" AthleteUpdateDTOGarminSyncActivityTypesEMountainBikeRide AthleteUpdateDTOGarminSyncActivityTypes = "EMountainBikeRide" AthleteUpdateDTOGarminSyncActivityTypesElliptical AthleteUpdateDTOGarminSyncActivityTypes = "Elliptical" AthleteUpdateDTOGarminSyncActivityTypesGolf AthleteUpdateDTOGarminSyncActivityTypes = "Golf" AthleteUpdateDTOGarminSyncActivityTypesGravelRide AthleteUpdateDTOGarminSyncActivityTypes = "GravelRide" AthleteUpdateDTOGarminSyncActivityTypesHandcycle AthleteUpdateDTOGarminSyncActivityTypes = "Handcycle" AthleteUpdateDTOGarminSyncActivityTypesHighIntensityIntervalTraining AthleteUpdateDTOGarminSyncActivityTypes = "HighIntensityIntervalTraining" AthleteUpdateDTOGarminSyncActivityTypesHike AthleteUpdateDTOGarminSyncActivityTypes = "Hike" AthleteUpdateDTOGarminSyncActivityTypesHockey AthleteUpdateDTOGarminSyncActivityTypes = "Hockey" AthleteUpdateDTOGarminSyncActivityTypesIceSkate AthleteUpdateDTOGarminSyncActivityTypes = "IceSkate" AthleteUpdateDTOGarminSyncActivityTypesInlineSkate AthleteUpdateDTOGarminSyncActivityTypes = "InlineSkate" AthleteUpdateDTOGarminSyncActivityTypesKayaking AthleteUpdateDTOGarminSyncActivityTypes = "Kayaking" AthleteUpdateDTOGarminSyncActivityTypesKitesurf AthleteUpdateDTOGarminSyncActivityTypes = "Kitesurf" AthleteUpdateDTOGarminSyncActivityTypesMountainBikeRide AthleteUpdateDTOGarminSyncActivityTypes = "MountainBikeRide" AthleteUpdateDTOGarminSyncActivityTypesNordicSki AthleteUpdateDTOGarminSyncActivityTypes = "NordicSki" AthleteUpdateDTOGarminSyncActivityTypesOpenWaterSwim AthleteUpdateDTOGarminSyncActivityTypes = "OpenWaterSwim" AthleteUpdateDTOGarminSyncActivityTypesOther AthleteUpdateDTOGarminSyncActivityTypes = "Other" AthleteUpdateDTOGarminSyncActivityTypesPadel AthleteUpdateDTOGarminSyncActivityTypes = "Padel" AthleteUpdateDTOGarminSyncActivityTypesPickleball AthleteUpdateDTOGarminSyncActivityTypes = "Pickleball" AthleteUpdateDTOGarminSyncActivityTypesPilates AthleteUpdateDTOGarminSyncActivityTypes = "Pilates" AthleteUpdateDTOGarminSyncActivityTypesRacquetball AthleteUpdateDTOGarminSyncActivityTypes = "Racquetball" AthleteUpdateDTOGarminSyncActivityTypesRide AthleteUpdateDTOGarminSyncActivityTypes = "Ride" AthleteUpdateDTOGarminSyncActivityTypesRockClimbing AthleteUpdateDTOGarminSyncActivityTypes = "RockClimbing" AthleteUpdateDTOGarminSyncActivityTypesRollerSki AthleteUpdateDTOGarminSyncActivityTypes = "RollerSki" AthleteUpdateDTOGarminSyncActivityTypesRowing AthleteUpdateDTOGarminSyncActivityTypes = "Rowing" AthleteUpdateDTOGarminSyncActivityTypesRugby AthleteUpdateDTOGarminSyncActivityTypes = "Rugby" AthleteUpdateDTOGarminSyncActivityTypesRun AthleteUpdateDTOGarminSyncActivityTypes = "Run" AthleteUpdateDTOGarminSyncActivityTypesSail AthleteUpdateDTOGarminSyncActivityTypes = "Sail" AthleteUpdateDTOGarminSyncActivityTypesSkateboard AthleteUpdateDTOGarminSyncActivityTypes = "Skateboard" AthleteUpdateDTOGarminSyncActivityTypesSnowboard AthleteUpdateDTOGarminSyncActivityTypes = "Snowboard" AthleteUpdateDTOGarminSyncActivityTypesSnowshoe AthleteUpdateDTOGarminSyncActivityTypes = "Snowshoe" AthleteUpdateDTOGarminSyncActivityTypesSoccer AthleteUpdateDTOGarminSyncActivityTypes = "Soccer" AthleteUpdateDTOGarminSyncActivityTypesSquash AthleteUpdateDTOGarminSyncActivityTypes = "Squash" AthleteUpdateDTOGarminSyncActivityTypesStairStepper AthleteUpdateDTOGarminSyncActivityTypes = "StairStepper" AthleteUpdateDTOGarminSyncActivityTypesStandUpPaddling AthleteUpdateDTOGarminSyncActivityTypes = "StandUpPaddling" AthleteUpdateDTOGarminSyncActivityTypesSurfing AthleteUpdateDTOGarminSyncActivityTypes = "Surfing" AthleteUpdateDTOGarminSyncActivityTypesSwim AthleteUpdateDTOGarminSyncActivityTypes = "Swim" AthleteUpdateDTOGarminSyncActivityTypesTableTennis AthleteUpdateDTOGarminSyncActivityTypes = "TableTennis" AthleteUpdateDTOGarminSyncActivityTypesTennis AthleteUpdateDTOGarminSyncActivityTypes = "Tennis" AthleteUpdateDTOGarminSyncActivityTypesTrackRide AthleteUpdateDTOGarminSyncActivityTypes = "TrackRide" AthleteUpdateDTOGarminSyncActivityTypesTrailRun AthleteUpdateDTOGarminSyncActivityTypes = "TrailRun" AthleteUpdateDTOGarminSyncActivityTypesTransition AthleteUpdateDTOGarminSyncActivityTypes = "Transition" AthleteUpdateDTOGarminSyncActivityTypesVelomobile AthleteUpdateDTOGarminSyncActivityTypes = "Velomobile" AthleteUpdateDTOGarminSyncActivityTypesVirtualRide AthleteUpdateDTOGarminSyncActivityTypes = "VirtualRide" AthleteUpdateDTOGarminSyncActivityTypesVirtualRow AthleteUpdateDTOGarminSyncActivityTypes = "VirtualRow" AthleteUpdateDTOGarminSyncActivityTypesVirtualRun AthleteUpdateDTOGarminSyncActivityTypes = "VirtualRun" AthleteUpdateDTOGarminSyncActivityTypesVirtualSki AthleteUpdateDTOGarminSyncActivityTypes = "VirtualSki" AthleteUpdateDTOGarminSyncActivityTypesWalk AthleteUpdateDTOGarminSyncActivityTypes = "Walk" AthleteUpdateDTOGarminSyncActivityTypesWaterSport AthleteUpdateDTOGarminSyncActivityTypes = "WaterSport" AthleteUpdateDTOGarminSyncActivityTypesWeightTraining AthleteUpdateDTOGarminSyncActivityTypes = "WeightTraining" AthleteUpdateDTOGarminSyncActivityTypesWheelchair AthleteUpdateDTOGarminSyncActivityTypes = "Wheelchair" AthleteUpdateDTOGarminSyncActivityTypesWindsurf AthleteUpdateDTOGarminSyncActivityTypes = "Windsurf" AthleteUpdateDTOGarminSyncActivityTypesWorkout AthleteUpdateDTOGarminSyncActivityTypes = "Workout" AthleteUpdateDTOGarminSyncActivityTypesYoga AthleteUpdateDTOGarminSyncActivityTypes = "Yoga" )
Defines values for AthleteUpdateDTOGarminSyncActivityTypes.
type AthleteUpdateDTOHeightUnits ¶
type AthleteUpdateDTOHeightUnits string
AthleteUpdateDTOHeightUnits defines model for AthleteUpdateDTO.HeightUnits.
const ( AthleteUpdateDTOHeightUnitsCM AthleteUpdateDTOHeightUnits = "CM" AthleteUpdateDTOHeightUnitsFEET AthleteUpdateDTOHeightUnits = "FEET" )
Defines values for AthleteUpdateDTOHeightUnits.
type AthleteUpdateDTOIcuMenstrualCyclePerm ¶
type AthleteUpdateDTOIcuMenstrualCyclePerm string
AthleteUpdateDTOIcuMenstrualCyclePerm defines model for AthleteUpdateDTO.IcuMenstrualCyclePerm.
const ( AthleteUpdateDTOIcuMenstrualCyclePermNONE AthleteUpdateDTOIcuMenstrualCyclePerm = "NONE" AthleteUpdateDTOIcuMenstrualCyclePermREAD AthleteUpdateDTOIcuMenstrualCyclePerm = "READ" AthleteUpdateDTOIcuMenstrualCyclePermWRITE AthleteUpdateDTOIcuMenstrualCyclePerm = "WRITE" )
Defines values for AthleteUpdateDTOIcuMenstrualCyclePerm.
type AthleteUpdateDTOIcuPermission ¶
type AthleteUpdateDTOIcuPermission string
AthleteUpdateDTOIcuPermission defines model for AthleteUpdateDTO.IcuPermission.
const ( AthleteUpdateDTOIcuPermissionNONE AthleteUpdateDTOIcuPermission = "NONE" AthleteUpdateDTOIcuPermissionREAD AthleteUpdateDTOIcuPermission = "READ" AthleteUpdateDTOIcuPermissionWRITE AthleteUpdateDTOIcuPermission = "WRITE" )
Defines values for AthleteUpdateDTOIcuPermission.
type AthleteUpdateDTOIcuWeightSync ¶
type AthleteUpdateDTOIcuWeightSync string
AthleteUpdateDTOIcuWeightSync defines model for AthleteUpdateDTO.IcuWeightSync.
const ( AthleteUpdateDTOIcuWeightSyncNONE AthleteUpdateDTOIcuWeightSync = "NONE" AthleteUpdateDTOIcuWeightSyncSTRAVA AthleteUpdateDTOIcuWeightSync = "STRAVA" )
Defines values for AthleteUpdateDTOIcuWeightSync.
type AthleteUpdateDTOPlan ¶
type AthleteUpdateDTOPlan string
AthleteUpdateDTOPlan defines model for AthleteUpdateDTO.Plan.
const ( AthleteUpdateDTOPlanFREE AthleteUpdateDTOPlan = "FREE" AthleteUpdateDTOPlanPREMIUM AthleteUpdateDTOPlan = "PREMIUM" AthleteUpdateDTOPlanSUPPORTER AthleteUpdateDTOPlan = "SUPPORTER" AthleteUpdateDTOPlanWHITELABEL AthleteUpdateDTOPlan = "WHITELABEL" )
Defines values for AthleteUpdateDTOPlan.
type AthleteUpdateDTOPolarSyncActivityTypes ¶
type AthleteUpdateDTOPolarSyncActivityTypes string
AthleteUpdateDTOPolarSyncActivityTypes defines model for AthleteUpdateDTO.PolarSyncActivityTypes.
const ( AthleteUpdateDTOPolarSyncActivityTypesAlpineSki AthleteUpdateDTOPolarSyncActivityTypes = "AlpineSki" AthleteUpdateDTOPolarSyncActivityTypesBackcountrySki AthleteUpdateDTOPolarSyncActivityTypes = "BackcountrySki" AthleteUpdateDTOPolarSyncActivityTypesBadminton AthleteUpdateDTOPolarSyncActivityTypes = "Badminton" AthleteUpdateDTOPolarSyncActivityTypesCanoeing AthleteUpdateDTOPolarSyncActivityTypes = "Canoeing" AthleteUpdateDTOPolarSyncActivityTypesCrossfit AthleteUpdateDTOPolarSyncActivityTypes = "Crossfit" AthleteUpdateDTOPolarSyncActivityTypesEBikeRide AthleteUpdateDTOPolarSyncActivityTypes = "EBikeRide" AthleteUpdateDTOPolarSyncActivityTypesEMountainBikeRide AthleteUpdateDTOPolarSyncActivityTypes = "EMountainBikeRide" AthleteUpdateDTOPolarSyncActivityTypesElliptical AthleteUpdateDTOPolarSyncActivityTypes = "Elliptical" AthleteUpdateDTOPolarSyncActivityTypesGolf AthleteUpdateDTOPolarSyncActivityTypes = "Golf" AthleteUpdateDTOPolarSyncActivityTypesGravelRide AthleteUpdateDTOPolarSyncActivityTypes = "GravelRide" AthleteUpdateDTOPolarSyncActivityTypesHandcycle AthleteUpdateDTOPolarSyncActivityTypes = "Handcycle" AthleteUpdateDTOPolarSyncActivityTypesHighIntensityIntervalTraining AthleteUpdateDTOPolarSyncActivityTypes = "HighIntensityIntervalTraining" AthleteUpdateDTOPolarSyncActivityTypesHike AthleteUpdateDTOPolarSyncActivityTypes = "Hike" AthleteUpdateDTOPolarSyncActivityTypesHockey AthleteUpdateDTOPolarSyncActivityTypes = "Hockey" AthleteUpdateDTOPolarSyncActivityTypesIceSkate AthleteUpdateDTOPolarSyncActivityTypes = "IceSkate" AthleteUpdateDTOPolarSyncActivityTypesInlineSkate AthleteUpdateDTOPolarSyncActivityTypes = "InlineSkate" AthleteUpdateDTOPolarSyncActivityTypesKayaking AthleteUpdateDTOPolarSyncActivityTypes = "Kayaking" AthleteUpdateDTOPolarSyncActivityTypesKitesurf AthleteUpdateDTOPolarSyncActivityTypes = "Kitesurf" AthleteUpdateDTOPolarSyncActivityTypesMountainBikeRide AthleteUpdateDTOPolarSyncActivityTypes = "MountainBikeRide" AthleteUpdateDTOPolarSyncActivityTypesNordicSki AthleteUpdateDTOPolarSyncActivityTypes = "NordicSki" AthleteUpdateDTOPolarSyncActivityTypesOpenWaterSwim AthleteUpdateDTOPolarSyncActivityTypes = "OpenWaterSwim" AthleteUpdateDTOPolarSyncActivityTypesOther AthleteUpdateDTOPolarSyncActivityTypes = "Other" AthleteUpdateDTOPolarSyncActivityTypesPadel AthleteUpdateDTOPolarSyncActivityTypes = "Padel" AthleteUpdateDTOPolarSyncActivityTypesPickleball AthleteUpdateDTOPolarSyncActivityTypes = "Pickleball" AthleteUpdateDTOPolarSyncActivityTypesPilates AthleteUpdateDTOPolarSyncActivityTypes = "Pilates" AthleteUpdateDTOPolarSyncActivityTypesRacquetball AthleteUpdateDTOPolarSyncActivityTypes = "Racquetball" AthleteUpdateDTOPolarSyncActivityTypesRide AthleteUpdateDTOPolarSyncActivityTypes = "Ride" AthleteUpdateDTOPolarSyncActivityTypesRockClimbing AthleteUpdateDTOPolarSyncActivityTypes = "RockClimbing" AthleteUpdateDTOPolarSyncActivityTypesRollerSki AthleteUpdateDTOPolarSyncActivityTypes = "RollerSki" AthleteUpdateDTOPolarSyncActivityTypesRowing AthleteUpdateDTOPolarSyncActivityTypes = "Rowing" AthleteUpdateDTOPolarSyncActivityTypesRugby AthleteUpdateDTOPolarSyncActivityTypes = "Rugby" AthleteUpdateDTOPolarSyncActivityTypesRun AthleteUpdateDTOPolarSyncActivityTypes = "Run" AthleteUpdateDTOPolarSyncActivityTypesSail AthleteUpdateDTOPolarSyncActivityTypes = "Sail" AthleteUpdateDTOPolarSyncActivityTypesSkateboard AthleteUpdateDTOPolarSyncActivityTypes = "Skateboard" AthleteUpdateDTOPolarSyncActivityTypesSnowboard AthleteUpdateDTOPolarSyncActivityTypes = "Snowboard" AthleteUpdateDTOPolarSyncActivityTypesSnowshoe AthleteUpdateDTOPolarSyncActivityTypes = "Snowshoe" AthleteUpdateDTOPolarSyncActivityTypesSoccer AthleteUpdateDTOPolarSyncActivityTypes = "Soccer" AthleteUpdateDTOPolarSyncActivityTypesSquash AthleteUpdateDTOPolarSyncActivityTypes = "Squash" AthleteUpdateDTOPolarSyncActivityTypesStairStepper AthleteUpdateDTOPolarSyncActivityTypes = "StairStepper" AthleteUpdateDTOPolarSyncActivityTypesStandUpPaddling AthleteUpdateDTOPolarSyncActivityTypes = "StandUpPaddling" AthleteUpdateDTOPolarSyncActivityTypesSurfing AthleteUpdateDTOPolarSyncActivityTypes = "Surfing" AthleteUpdateDTOPolarSyncActivityTypesSwim AthleteUpdateDTOPolarSyncActivityTypes = "Swim" AthleteUpdateDTOPolarSyncActivityTypesTableTennis AthleteUpdateDTOPolarSyncActivityTypes = "TableTennis" AthleteUpdateDTOPolarSyncActivityTypesTennis AthleteUpdateDTOPolarSyncActivityTypes = "Tennis" AthleteUpdateDTOPolarSyncActivityTypesTrackRide AthleteUpdateDTOPolarSyncActivityTypes = "TrackRide" AthleteUpdateDTOPolarSyncActivityTypesTrailRun AthleteUpdateDTOPolarSyncActivityTypes = "TrailRun" AthleteUpdateDTOPolarSyncActivityTypesTransition AthleteUpdateDTOPolarSyncActivityTypes = "Transition" AthleteUpdateDTOPolarSyncActivityTypesVelomobile AthleteUpdateDTOPolarSyncActivityTypes = "Velomobile" AthleteUpdateDTOPolarSyncActivityTypesVirtualRide AthleteUpdateDTOPolarSyncActivityTypes = "VirtualRide" AthleteUpdateDTOPolarSyncActivityTypesVirtualRow AthleteUpdateDTOPolarSyncActivityTypes = "VirtualRow" AthleteUpdateDTOPolarSyncActivityTypesVirtualRun AthleteUpdateDTOPolarSyncActivityTypes = "VirtualRun" AthleteUpdateDTOPolarSyncActivityTypesVirtualSki AthleteUpdateDTOPolarSyncActivityTypes = "VirtualSki" AthleteUpdateDTOPolarSyncActivityTypesWalk AthleteUpdateDTOPolarSyncActivityTypes = "Walk" AthleteUpdateDTOPolarSyncActivityTypesWaterSport AthleteUpdateDTOPolarSyncActivityTypes = "WaterSport" AthleteUpdateDTOPolarSyncActivityTypesWeightTraining AthleteUpdateDTOPolarSyncActivityTypes = "WeightTraining" AthleteUpdateDTOPolarSyncActivityTypesWheelchair AthleteUpdateDTOPolarSyncActivityTypes = "Wheelchair" AthleteUpdateDTOPolarSyncActivityTypesWindsurf AthleteUpdateDTOPolarSyncActivityTypes = "Windsurf" AthleteUpdateDTOPolarSyncActivityTypesWorkout AthleteUpdateDTOPolarSyncActivityTypes = "Workout" AthleteUpdateDTOPolarSyncActivityTypesYoga AthleteUpdateDTOPolarSyncActivityTypes = "Yoga" )
Defines values for AthleteUpdateDTOPolarSyncActivityTypes.
type AthleteUpdateDTORain ¶
type AthleteUpdateDTORain string
AthleteUpdateDTORain defines model for AthleteUpdateDTO.Rain.
const ( AthleteUpdateDTORainINCHES AthleteUpdateDTORain = "INCHES" AthleteUpdateDTORainMM AthleteUpdateDTORain = "MM" )
Defines values for AthleteUpdateDTORain.
type AthleteUpdateDTOStatus ¶
type AthleteUpdateDTOStatus string
AthleteUpdateDTOStatus defines model for AthleteUpdateDTO.Status.
const ( AthleteUpdateDTOStatusACTIVE AthleteUpdateDTOStatus = "ACTIVE" AthleteUpdateDTOStatusARCHIVED AthleteUpdateDTOStatus = "ARCHIVED" AthleteUpdateDTOStatusDORMANT AthleteUpdateDTOStatus = "DORMANT" )
Defines values for AthleteUpdateDTOStatus.
type AthleteUpdateDTOStravaSyncActivityTypes ¶
type AthleteUpdateDTOStravaSyncActivityTypes string
AthleteUpdateDTOStravaSyncActivityTypes defines model for AthleteUpdateDTO.StravaSyncActivityTypes.
const ( AthleteUpdateDTOStravaSyncActivityTypesAlpineSki AthleteUpdateDTOStravaSyncActivityTypes = "AlpineSki" AthleteUpdateDTOStravaSyncActivityTypesBackcountrySki AthleteUpdateDTOStravaSyncActivityTypes = "BackcountrySki" AthleteUpdateDTOStravaSyncActivityTypesBadminton AthleteUpdateDTOStravaSyncActivityTypes = "Badminton" AthleteUpdateDTOStravaSyncActivityTypesCanoeing AthleteUpdateDTOStravaSyncActivityTypes = "Canoeing" AthleteUpdateDTOStravaSyncActivityTypesCrossfit AthleteUpdateDTOStravaSyncActivityTypes = "Crossfit" AthleteUpdateDTOStravaSyncActivityTypesEBikeRide AthleteUpdateDTOStravaSyncActivityTypes = "EBikeRide" AthleteUpdateDTOStravaSyncActivityTypesEMountainBikeRide AthleteUpdateDTOStravaSyncActivityTypes = "EMountainBikeRide" AthleteUpdateDTOStravaSyncActivityTypesElliptical AthleteUpdateDTOStravaSyncActivityTypes = "Elliptical" AthleteUpdateDTOStravaSyncActivityTypesGolf AthleteUpdateDTOStravaSyncActivityTypes = "Golf" AthleteUpdateDTOStravaSyncActivityTypesGravelRide AthleteUpdateDTOStravaSyncActivityTypes = "GravelRide" AthleteUpdateDTOStravaSyncActivityTypesHandcycle AthleteUpdateDTOStravaSyncActivityTypes = "Handcycle" AthleteUpdateDTOStravaSyncActivityTypesHighIntensityIntervalTraining AthleteUpdateDTOStravaSyncActivityTypes = "HighIntensityIntervalTraining" AthleteUpdateDTOStravaSyncActivityTypesHike AthleteUpdateDTOStravaSyncActivityTypes = "Hike" AthleteUpdateDTOStravaSyncActivityTypesHockey AthleteUpdateDTOStravaSyncActivityTypes = "Hockey" AthleteUpdateDTOStravaSyncActivityTypesIceSkate AthleteUpdateDTOStravaSyncActivityTypes = "IceSkate" AthleteUpdateDTOStravaSyncActivityTypesInlineSkate AthleteUpdateDTOStravaSyncActivityTypes = "InlineSkate" AthleteUpdateDTOStravaSyncActivityTypesKayaking AthleteUpdateDTOStravaSyncActivityTypes = "Kayaking" AthleteUpdateDTOStravaSyncActivityTypesKitesurf AthleteUpdateDTOStravaSyncActivityTypes = "Kitesurf" AthleteUpdateDTOStravaSyncActivityTypesMountainBikeRide AthleteUpdateDTOStravaSyncActivityTypes = "MountainBikeRide" AthleteUpdateDTOStravaSyncActivityTypesNordicSki AthleteUpdateDTOStravaSyncActivityTypes = "NordicSki" AthleteUpdateDTOStravaSyncActivityTypesOpenWaterSwim AthleteUpdateDTOStravaSyncActivityTypes = "OpenWaterSwim" AthleteUpdateDTOStravaSyncActivityTypesOther AthleteUpdateDTOStravaSyncActivityTypes = "Other" AthleteUpdateDTOStravaSyncActivityTypesPadel AthleteUpdateDTOStravaSyncActivityTypes = "Padel" AthleteUpdateDTOStravaSyncActivityTypesPickleball AthleteUpdateDTOStravaSyncActivityTypes = "Pickleball" AthleteUpdateDTOStravaSyncActivityTypesPilates AthleteUpdateDTOStravaSyncActivityTypes = "Pilates" AthleteUpdateDTOStravaSyncActivityTypesRacquetball AthleteUpdateDTOStravaSyncActivityTypes = "Racquetball" AthleteUpdateDTOStravaSyncActivityTypesRide AthleteUpdateDTOStravaSyncActivityTypes = "Ride" AthleteUpdateDTOStravaSyncActivityTypesRockClimbing AthleteUpdateDTOStravaSyncActivityTypes = "RockClimbing" AthleteUpdateDTOStravaSyncActivityTypesRollerSki AthleteUpdateDTOStravaSyncActivityTypes = "RollerSki" AthleteUpdateDTOStravaSyncActivityTypesRowing AthleteUpdateDTOStravaSyncActivityTypes = "Rowing" AthleteUpdateDTOStravaSyncActivityTypesRugby AthleteUpdateDTOStravaSyncActivityTypes = "Rugby" AthleteUpdateDTOStravaSyncActivityTypesRun AthleteUpdateDTOStravaSyncActivityTypes = "Run" AthleteUpdateDTOStravaSyncActivityTypesSail AthleteUpdateDTOStravaSyncActivityTypes = "Sail" AthleteUpdateDTOStravaSyncActivityTypesSkateboard AthleteUpdateDTOStravaSyncActivityTypes = "Skateboard" AthleteUpdateDTOStravaSyncActivityTypesSnowboard AthleteUpdateDTOStravaSyncActivityTypes = "Snowboard" AthleteUpdateDTOStravaSyncActivityTypesSnowshoe AthleteUpdateDTOStravaSyncActivityTypes = "Snowshoe" AthleteUpdateDTOStravaSyncActivityTypesSoccer AthleteUpdateDTOStravaSyncActivityTypes = "Soccer" AthleteUpdateDTOStravaSyncActivityTypesSquash AthleteUpdateDTOStravaSyncActivityTypes = "Squash" AthleteUpdateDTOStravaSyncActivityTypesStairStepper AthleteUpdateDTOStravaSyncActivityTypes = "StairStepper" AthleteUpdateDTOStravaSyncActivityTypesStandUpPaddling AthleteUpdateDTOStravaSyncActivityTypes = "StandUpPaddling" AthleteUpdateDTOStravaSyncActivityTypesSurfing AthleteUpdateDTOStravaSyncActivityTypes = "Surfing" AthleteUpdateDTOStravaSyncActivityTypesSwim AthleteUpdateDTOStravaSyncActivityTypes = "Swim" AthleteUpdateDTOStravaSyncActivityTypesTableTennis AthleteUpdateDTOStravaSyncActivityTypes = "TableTennis" AthleteUpdateDTOStravaSyncActivityTypesTennis AthleteUpdateDTOStravaSyncActivityTypes = "Tennis" AthleteUpdateDTOStravaSyncActivityTypesTrackRide AthleteUpdateDTOStravaSyncActivityTypes = "TrackRide" AthleteUpdateDTOStravaSyncActivityTypesTrailRun AthleteUpdateDTOStravaSyncActivityTypes = "TrailRun" AthleteUpdateDTOStravaSyncActivityTypesTransition AthleteUpdateDTOStravaSyncActivityTypes = "Transition" AthleteUpdateDTOStravaSyncActivityTypesVelomobile AthleteUpdateDTOStravaSyncActivityTypes = "Velomobile" AthleteUpdateDTOStravaSyncActivityTypesVirtualRide AthleteUpdateDTOStravaSyncActivityTypes = "VirtualRide" AthleteUpdateDTOStravaSyncActivityTypesVirtualRow AthleteUpdateDTOStravaSyncActivityTypes = "VirtualRow" AthleteUpdateDTOStravaSyncActivityTypesVirtualRun AthleteUpdateDTOStravaSyncActivityTypes = "VirtualRun" AthleteUpdateDTOStravaSyncActivityTypesVirtualSki AthleteUpdateDTOStravaSyncActivityTypes = "VirtualSki" AthleteUpdateDTOStravaSyncActivityTypesWalk AthleteUpdateDTOStravaSyncActivityTypes = "Walk" AthleteUpdateDTOStravaSyncActivityTypesWaterSport AthleteUpdateDTOStravaSyncActivityTypes = "WaterSport" AthleteUpdateDTOStravaSyncActivityTypesWeightTraining AthleteUpdateDTOStravaSyncActivityTypes = "WeightTraining" AthleteUpdateDTOStravaSyncActivityTypesWheelchair AthleteUpdateDTOStravaSyncActivityTypes = "Wheelchair" AthleteUpdateDTOStravaSyncActivityTypesWindsurf AthleteUpdateDTOStravaSyncActivityTypes = "Windsurf" AthleteUpdateDTOStravaSyncActivityTypesWorkout AthleteUpdateDTOStravaSyncActivityTypes = "Workout" AthleteUpdateDTOStravaSyncActivityTypesYoga AthleteUpdateDTOStravaSyncActivityTypes = "Yoga" )
Defines values for AthleteUpdateDTOStravaSyncActivityTypes.
type AthleteUpdateDTOSuuntoSyncActivityTypes ¶
type AthleteUpdateDTOSuuntoSyncActivityTypes string
AthleteUpdateDTOSuuntoSyncActivityTypes defines model for AthleteUpdateDTO.SuuntoSyncActivityTypes.
const ( AthleteUpdateDTOSuuntoSyncActivityTypesAlpineSki AthleteUpdateDTOSuuntoSyncActivityTypes = "AlpineSki" AthleteUpdateDTOSuuntoSyncActivityTypesBackcountrySki AthleteUpdateDTOSuuntoSyncActivityTypes = "BackcountrySki" AthleteUpdateDTOSuuntoSyncActivityTypesBadminton AthleteUpdateDTOSuuntoSyncActivityTypes = "Badminton" AthleteUpdateDTOSuuntoSyncActivityTypesCanoeing AthleteUpdateDTOSuuntoSyncActivityTypes = "Canoeing" AthleteUpdateDTOSuuntoSyncActivityTypesCrossfit AthleteUpdateDTOSuuntoSyncActivityTypes = "Crossfit" AthleteUpdateDTOSuuntoSyncActivityTypesEBikeRide AthleteUpdateDTOSuuntoSyncActivityTypes = "EBikeRide" AthleteUpdateDTOSuuntoSyncActivityTypesEMountainBikeRide AthleteUpdateDTOSuuntoSyncActivityTypes = "EMountainBikeRide" AthleteUpdateDTOSuuntoSyncActivityTypesElliptical AthleteUpdateDTOSuuntoSyncActivityTypes = "Elliptical" AthleteUpdateDTOSuuntoSyncActivityTypesGolf AthleteUpdateDTOSuuntoSyncActivityTypes = "Golf" AthleteUpdateDTOSuuntoSyncActivityTypesGravelRide AthleteUpdateDTOSuuntoSyncActivityTypes = "GravelRide" AthleteUpdateDTOSuuntoSyncActivityTypesHandcycle AthleteUpdateDTOSuuntoSyncActivityTypes = "Handcycle" AthleteUpdateDTOSuuntoSyncActivityTypesHighIntensityIntervalTraining AthleteUpdateDTOSuuntoSyncActivityTypes = "HighIntensityIntervalTraining" AthleteUpdateDTOSuuntoSyncActivityTypesHike AthleteUpdateDTOSuuntoSyncActivityTypes = "Hike" AthleteUpdateDTOSuuntoSyncActivityTypesHockey AthleteUpdateDTOSuuntoSyncActivityTypes = "Hockey" AthleteUpdateDTOSuuntoSyncActivityTypesIceSkate AthleteUpdateDTOSuuntoSyncActivityTypes = "IceSkate" AthleteUpdateDTOSuuntoSyncActivityTypesInlineSkate AthleteUpdateDTOSuuntoSyncActivityTypes = "InlineSkate" AthleteUpdateDTOSuuntoSyncActivityTypesKayaking AthleteUpdateDTOSuuntoSyncActivityTypes = "Kayaking" AthleteUpdateDTOSuuntoSyncActivityTypesKitesurf AthleteUpdateDTOSuuntoSyncActivityTypes = "Kitesurf" AthleteUpdateDTOSuuntoSyncActivityTypesMountainBikeRide AthleteUpdateDTOSuuntoSyncActivityTypes = "MountainBikeRide" AthleteUpdateDTOSuuntoSyncActivityTypesNordicSki AthleteUpdateDTOSuuntoSyncActivityTypes = "NordicSki" AthleteUpdateDTOSuuntoSyncActivityTypesOpenWaterSwim AthleteUpdateDTOSuuntoSyncActivityTypes = "OpenWaterSwim" AthleteUpdateDTOSuuntoSyncActivityTypesOther AthleteUpdateDTOSuuntoSyncActivityTypes = "Other" AthleteUpdateDTOSuuntoSyncActivityTypesPadel AthleteUpdateDTOSuuntoSyncActivityTypes = "Padel" AthleteUpdateDTOSuuntoSyncActivityTypesPickleball AthleteUpdateDTOSuuntoSyncActivityTypes = "Pickleball" AthleteUpdateDTOSuuntoSyncActivityTypesPilates AthleteUpdateDTOSuuntoSyncActivityTypes = "Pilates" AthleteUpdateDTOSuuntoSyncActivityTypesRacquetball AthleteUpdateDTOSuuntoSyncActivityTypes = "Racquetball" AthleteUpdateDTOSuuntoSyncActivityTypesRide AthleteUpdateDTOSuuntoSyncActivityTypes = "Ride" AthleteUpdateDTOSuuntoSyncActivityTypesRockClimbing AthleteUpdateDTOSuuntoSyncActivityTypes = "RockClimbing" AthleteUpdateDTOSuuntoSyncActivityTypesRollerSki AthleteUpdateDTOSuuntoSyncActivityTypes = "RollerSki" AthleteUpdateDTOSuuntoSyncActivityTypesRowing AthleteUpdateDTOSuuntoSyncActivityTypes = "Rowing" AthleteUpdateDTOSuuntoSyncActivityTypesRugby AthleteUpdateDTOSuuntoSyncActivityTypes = "Rugby" AthleteUpdateDTOSuuntoSyncActivityTypesRun AthleteUpdateDTOSuuntoSyncActivityTypes = "Run" AthleteUpdateDTOSuuntoSyncActivityTypesSail AthleteUpdateDTOSuuntoSyncActivityTypes = "Sail" AthleteUpdateDTOSuuntoSyncActivityTypesSkateboard AthleteUpdateDTOSuuntoSyncActivityTypes = "Skateboard" AthleteUpdateDTOSuuntoSyncActivityTypesSnowboard AthleteUpdateDTOSuuntoSyncActivityTypes = "Snowboard" AthleteUpdateDTOSuuntoSyncActivityTypesSnowshoe AthleteUpdateDTOSuuntoSyncActivityTypes = "Snowshoe" AthleteUpdateDTOSuuntoSyncActivityTypesSoccer AthleteUpdateDTOSuuntoSyncActivityTypes = "Soccer" AthleteUpdateDTOSuuntoSyncActivityTypesSquash AthleteUpdateDTOSuuntoSyncActivityTypes = "Squash" AthleteUpdateDTOSuuntoSyncActivityTypesStairStepper AthleteUpdateDTOSuuntoSyncActivityTypes = "StairStepper" AthleteUpdateDTOSuuntoSyncActivityTypesStandUpPaddling AthleteUpdateDTOSuuntoSyncActivityTypes = "StandUpPaddling" AthleteUpdateDTOSuuntoSyncActivityTypesSurfing AthleteUpdateDTOSuuntoSyncActivityTypes = "Surfing" AthleteUpdateDTOSuuntoSyncActivityTypesSwim AthleteUpdateDTOSuuntoSyncActivityTypes = "Swim" AthleteUpdateDTOSuuntoSyncActivityTypesTableTennis AthleteUpdateDTOSuuntoSyncActivityTypes = "TableTennis" AthleteUpdateDTOSuuntoSyncActivityTypesTennis AthleteUpdateDTOSuuntoSyncActivityTypes = "Tennis" AthleteUpdateDTOSuuntoSyncActivityTypesTrackRide AthleteUpdateDTOSuuntoSyncActivityTypes = "TrackRide" AthleteUpdateDTOSuuntoSyncActivityTypesTrailRun AthleteUpdateDTOSuuntoSyncActivityTypes = "TrailRun" AthleteUpdateDTOSuuntoSyncActivityTypesTransition AthleteUpdateDTOSuuntoSyncActivityTypes = "Transition" AthleteUpdateDTOSuuntoSyncActivityTypesVelomobile AthleteUpdateDTOSuuntoSyncActivityTypes = "Velomobile" AthleteUpdateDTOSuuntoSyncActivityTypesVirtualRide AthleteUpdateDTOSuuntoSyncActivityTypes = "VirtualRide" AthleteUpdateDTOSuuntoSyncActivityTypesVirtualRow AthleteUpdateDTOSuuntoSyncActivityTypes = "VirtualRow" AthleteUpdateDTOSuuntoSyncActivityTypesVirtualRun AthleteUpdateDTOSuuntoSyncActivityTypes = "VirtualRun" AthleteUpdateDTOSuuntoSyncActivityTypesVirtualSki AthleteUpdateDTOSuuntoSyncActivityTypes = "VirtualSki" AthleteUpdateDTOSuuntoSyncActivityTypesWalk AthleteUpdateDTOSuuntoSyncActivityTypes = "Walk" AthleteUpdateDTOSuuntoSyncActivityTypesWaterSport AthleteUpdateDTOSuuntoSyncActivityTypes = "WaterSport" AthleteUpdateDTOSuuntoSyncActivityTypesWeightTraining AthleteUpdateDTOSuuntoSyncActivityTypes = "WeightTraining" AthleteUpdateDTOSuuntoSyncActivityTypesWheelchair AthleteUpdateDTOSuuntoSyncActivityTypes = "Wheelchair" AthleteUpdateDTOSuuntoSyncActivityTypesWindsurf AthleteUpdateDTOSuuntoSyncActivityTypes = "Windsurf" AthleteUpdateDTOSuuntoSyncActivityTypesWorkout AthleteUpdateDTOSuuntoSyncActivityTypes = "Workout" AthleteUpdateDTOSuuntoSyncActivityTypesYoga AthleteUpdateDTOSuuntoSyncActivityTypes = "Yoga" )
Defines values for AthleteUpdateDTOSuuntoSyncActivityTypes.
type AthleteUpdateDTOVisibility ¶
type AthleteUpdateDTOVisibility string
AthleteUpdateDTOVisibility defines model for AthleteUpdateDTO.Visibility.
const ( AthleteUpdateDTOVisibilityHIDDEN AthleteUpdateDTOVisibility = "HIDDEN" AthleteUpdateDTOVisibilityPRIVATE AthleteUpdateDTOVisibility = "PRIVATE" AthleteUpdateDTOVisibilityPUBLIC AthleteUpdateDTOVisibility = "PUBLIC" )
Defines values for AthleteUpdateDTOVisibility.
type AthleteUpdateDTOWindSpeed ¶
type AthleteUpdateDTOWindSpeed string
AthleteUpdateDTOWindSpeed defines model for AthleteUpdateDTO.WindSpeed.
const ( AthleteUpdateDTOWindSpeedBFT AthleteUpdateDTOWindSpeed = "BFT" AthleteUpdateDTOWindSpeedKMH AthleteUpdateDTOWindSpeed = "KMH" AthleteUpdateDTOWindSpeedKNOTS AthleteUpdateDTOWindSpeed = "KNOTS" AthleteUpdateDTOWindSpeedMPH AthleteUpdateDTOWindSpeed = "MPH" AthleteUpdateDTOWindSpeedMPS AthleteUpdateDTOWindSpeed = "MPS" )
Defines values for AthleteUpdateDTOWindSpeed.
type AthleteVisibility ¶
type AthleteVisibility string
AthleteVisibility defines model for Athlete.Visibility.
const ( AthleteVisibilityHIDDEN AthleteVisibility = "HIDDEN" AthleteVisibilityPRIVATE AthleteVisibility = "PRIVATE" AthleteVisibilityPUBLIC AthleteVisibility = "PUBLIC" )
Defines values for AthleteVisibility.
type AthleteWindSpeed ¶
type AthleteWindSpeed string
AthleteWindSpeed defines model for Athlete.WindSpeed.
const ( AthleteWindSpeedBFT AthleteWindSpeed = "BFT" AthleteWindSpeedKMH AthleteWindSpeed = "KMH" AthleteWindSpeedKNOTS AthleteWindSpeed = "KNOTS" AthleteWindSpeedMPH AthleteWindSpeed = "MPH" AthleteWindSpeedMPS AthleteWindSpeed = "MPS" )
Defines values for AthleteWindSpeed.
type Attachment ¶
type Attachment struct {
Filename *string `json:"filename,omitempty"`
Id *string `json:"id,omitempty"`
Mimetype *string `json:"mimetype,omitempty"`
Url *string `json:"url,omitempty"`
}
Attachment defines model for Attachment.
type BestEfforts ¶
type BestEfforts struct {
Efforts *[]Effort `json:"efforts,omitempty"`
}
BestEfforts defines model for BestEfforts.
type Bucket ¶
type Bucket struct {
Cadence *int32 `json:"cadence,omitempty"`
Hr *float64 `json:"hr,omitempty"`
MovingSecs *int32 `json:"movingSecs,omitempty"`
Secs *int32 `json:"secs,omitempty"`
Start *int32 `json:"start,omitempty"`
Watts *float64 `json:"watts,omitempty"`
}
Bucket defines model for Bucket.
type CalcDistanceEtcResp ¶
func ParseCalcDistanceEtcResp ¶
func ParseCalcDistanceEtcResp(rsp *http.Response) (*CalcDistanceEtcResp, error)
ParseCalcDistanceEtcResp parses an HTTP response from a CalcDistanceEtcWithResponse call
func (CalcDistanceEtcResp) Status ¶
func (r CalcDistanceEtcResp) Status() string
Status returns HTTPResponse.Status
func (CalcDistanceEtcResp) StatusCode ¶
func (r CalcDistanceEtcResp) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type CategorySummary ¶
type CategorySummary struct {
Calories *int32 `json:"calories,omitempty"`
Category *CategorySummaryCategory `json:"category,omitempty"`
Count *int32 `json:"count,omitempty"`
Distance *float32 `json:"distance,omitempty"`
Eftp *float32 `json:"eftp,omitempty"`
EftpPerKg *float32 `json:"eftpPerKg,omitempty"`
ElapsedTime *int32 `json:"elapsed_time,omitempty"`
MovingTime *int32 `json:"moving_time,omitempty"`
Srpe *int32 `json:"srpe,omitempty"`
Time *int32 `json:"time,omitempty"`
TotalElevationGain *float32 `json:"total_elevation_gain,omitempty"`
TrainingLoad *int32 `json:"training_load,omitempty"`
}
CategorySummary defines model for CategorySummary.
type CategorySummaryCategory ¶
type CategorySummaryCategory string
CategorySummaryCategory defines model for CategorySummary.Category.
const ( CategorySummaryCategoryAlpineSki CategorySummaryCategory = "AlpineSki" CategorySummaryCategoryBackcountrySki CategorySummaryCategory = "BackcountrySki" CategorySummaryCategoryBadminton CategorySummaryCategory = "Badminton" CategorySummaryCategoryCanoeing CategorySummaryCategory = "Canoeing" CategorySummaryCategoryCrossfit CategorySummaryCategory = "Crossfit" CategorySummaryCategoryEBikeRide CategorySummaryCategory = "EBikeRide" CategorySummaryCategoryEMountainBikeRide CategorySummaryCategory = "EMountainBikeRide" CategorySummaryCategoryElliptical CategorySummaryCategory = "Elliptical" CategorySummaryCategoryGolf CategorySummaryCategory = "Golf" CategorySummaryCategoryGravelRide CategorySummaryCategory = "GravelRide" CategorySummaryCategoryHandcycle CategorySummaryCategory = "Handcycle" CategorySummaryCategoryHighIntensityIntervalTraining CategorySummaryCategory = "HighIntensityIntervalTraining" CategorySummaryCategoryHike CategorySummaryCategory = "Hike" CategorySummaryCategoryHockey CategorySummaryCategory = "Hockey" CategorySummaryCategoryIceSkate CategorySummaryCategory = "IceSkate" CategorySummaryCategoryInlineSkate CategorySummaryCategory = "InlineSkate" CategorySummaryCategoryKayaking CategorySummaryCategory = "Kayaking" CategorySummaryCategoryKitesurf CategorySummaryCategory = "Kitesurf" CategorySummaryCategoryMountainBikeRide CategorySummaryCategory = "MountainBikeRide" CategorySummaryCategoryNordicSki CategorySummaryCategory = "NordicSki" CategorySummaryCategoryOpenWaterSwim CategorySummaryCategory = "OpenWaterSwim" CategorySummaryCategoryOther CategorySummaryCategory = "Other" CategorySummaryCategoryPadel CategorySummaryCategory = "Padel" CategorySummaryCategoryPickleball CategorySummaryCategory = "Pickleball" CategorySummaryCategoryPilates CategorySummaryCategory = "Pilates" CategorySummaryCategoryRacquetball CategorySummaryCategory = "Racquetball" CategorySummaryCategoryRide CategorySummaryCategory = "Ride" CategorySummaryCategoryRockClimbing CategorySummaryCategory = "RockClimbing" CategorySummaryCategoryRollerSki CategorySummaryCategory = "RollerSki" CategorySummaryCategoryRowing CategorySummaryCategory = "Rowing" CategorySummaryCategoryRugby CategorySummaryCategory = "Rugby" CategorySummaryCategoryRun CategorySummaryCategory = "Run" CategorySummaryCategorySail CategorySummaryCategory = "Sail" CategorySummaryCategorySkateboard CategorySummaryCategory = "Skateboard" CategorySummaryCategorySnowboard CategorySummaryCategory = "Snowboard" CategorySummaryCategorySnowshoe CategorySummaryCategory = "Snowshoe" CategorySummaryCategorySoccer CategorySummaryCategory = "Soccer" CategorySummaryCategorySquash CategorySummaryCategory = "Squash" CategorySummaryCategoryStairStepper CategorySummaryCategory = "StairStepper" CategorySummaryCategoryStandUpPaddling CategorySummaryCategory = "StandUpPaddling" CategorySummaryCategorySurfing CategorySummaryCategory = "Surfing" CategorySummaryCategorySwim CategorySummaryCategory = "Swim" CategorySummaryCategoryTableTennis CategorySummaryCategory = "TableTennis" CategorySummaryCategoryTennis CategorySummaryCategory = "Tennis" CategorySummaryCategoryTrackRide CategorySummaryCategory = "TrackRide" CategorySummaryCategoryTrailRun CategorySummaryCategory = "TrailRun" CategorySummaryCategoryTransition CategorySummaryCategory = "Transition" CategorySummaryCategoryVelomobile CategorySummaryCategory = "Velomobile" CategorySummaryCategoryVirtualRide CategorySummaryCategory = "VirtualRide" CategorySummaryCategoryVirtualRow CategorySummaryCategory = "VirtualRow" CategorySummaryCategoryVirtualRun CategorySummaryCategory = "VirtualRun" CategorySummaryCategoryVirtualSki CategorySummaryCategory = "VirtualSki" CategorySummaryCategoryWalk CategorySummaryCategory = "Walk" CategorySummaryCategoryWaterSport CategorySummaryCategory = "WaterSport" CategorySummaryCategoryWeightTraining CategorySummaryCategory = "WeightTraining" CategorySummaryCategoryWheelchair CategorySummaryCategory = "Wheelchair" CategorySummaryCategoryWindsurf CategorySummaryCategory = "Windsurf" CategorySummaryCategoryWorkout CategorySummaryCategory = "Workout" CategorySummaryCategoryYoga CategorySummaryCategory = "Yoga" )
Defines values for CategorySummaryCategory.
type Chat ¶
type Chat struct {
ActivityId *string `json:"activity_id,omitempty"`
AthleteId *string `json:"athlete_id,omitempty"`
CoachingGroup *time.Time `json:"coaching_group,omitempty"`
Coins *float32 `json:"coins,omitempty"`
Description *string `json:"description,omitempty"`
FollowsYou *string `json:"follows_you,omitempty"`
HideMembers *bool `json:"hide_members,omitempty"`
Id *int32 `json:"id,omitempty"`
JoinPolicy *ChatJoinPolicy `json:"join_policy,omitempty"`
Kicked *time.Time `json:"kicked,omitempty"`
KickedById *string `json:"kicked_by_id,omitempty"`
LastSeenMessageId *int64 `json:"last_seen_message_id,omitempty"`
Members *[]ChatMember `json:"members,omitempty"`
MembersCannotChat *bool `json:"members_cannot_chat,omitempty"`
MuteUntil *time.Time `json:"mute_until,omitempty"`
Name *string `json:"name,omitempty"`
NewMessageCount *int32 `json:"new_message_count,omitempty"`
OtherAthleteId *string `json:"other_athlete_id,omitempty"`
OtherAthleteSex *string `json:"other_athlete_sex,omitempty"`
Picture *string `json:"picture,omitempty"`
PrimaryGroup *bool `json:"primary_group,omitempty"`
Pub *bool `json:"pub,omitempty"`
Role *ChatRole `json:"role,omitempty"`
SidebarColor *string `json:"sidebar_color,omitempty"`
SidebarDark *bool `json:"sidebar_dark,omitempty"`
SidebarLogo *string `json:"sidebar_logo,omitempty"`
SidebarTopColor *string `json:"sidebar_top_color,omitempty"`
Slug *string `json:"slug,omitempty"`
Type *ChatType `json:"type,omitempty"`
Updated *time.Time `json:"updated,omitempty"`
Url *string `json:"url,omitempty"`
YouFollow *string `json:"you_follow,omitempty"`
}
Chat defines model for Chat.
type ChatJoinPolicy ¶
type ChatJoinPolicy string
ChatJoinPolicy defines model for Chat.JoinPolicy.
const ( ASK ChatJoinPolicy = "ASK" INVITEONLY ChatJoinPolicy = "INVITE_ONLY" OPEN ChatJoinPolicy = "OPEN" )
Defines values for ChatJoinPolicy.
type ChatMember ¶
type ChatMember struct {
AcceptedCoachingGroup *time.Time `json:"accepted_coaching_group,omitempty"`
AthleteId *string `json:"athlete_id,omitempty"`
Coach *bool `json:"coach,omitempty"`
Name *string `json:"name,omitempty"`
Plan *ChatMemberPlan `json:"plan,omitempty"`
ProfileMedium *string `json:"profile_medium,omitempty"`
Role *ChatMemberRole `json:"role,omitempty"`
}
ChatMember defines model for ChatMember.
type ChatMemberPlan ¶
type ChatMemberPlan string
ChatMemberPlan defines model for ChatMember.Plan.
const ( ChatMemberPlanFREE ChatMemberPlan = "FREE" ChatMemberPlanPREMIUM ChatMemberPlan = "PREMIUM" ChatMemberPlanSUPPORTER ChatMemberPlan = "SUPPORTER" ChatMemberPlanWHITELABEL ChatMemberPlan = "WHITELABEL" )
Defines values for ChatMemberPlan.
type ChatMemberRole ¶
type ChatMemberRole string
ChatMemberRole defines model for ChatMember.Role.
const ( ChatMemberRoleADMIN ChatMemberRole = "ADMIN" ChatMemberRoleCOACH ChatMemberRole = "COACH" ChatMemberRoleFOLLOWER ChatMemberRole = "FOLLOWER" ChatMemberRoleMEMBER ChatMemberRole = "MEMBER" )
Defines values for ChatMemberRole.
type CheckMergeResp ¶
func ParseCheckMergeResp ¶
func ParseCheckMergeResp(rsp *http.Response) (*CheckMergeResp, error)
ParseCheckMergeResp parses an HTTP response from a CheckMergeWithResponse call
func (CheckMergeResp) Status ¶
func (r CheckMergeResp) Status() string
Status returns HTTPResponse.Status
func (CheckMergeResp) StatusCode ¶
func (r CheckMergeResp) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type Client ¶
type Client struct {
// The endpoint of the server conforming to this interface, with scheme,
// https://api.deepmap.com for example. This can contain a path relative
// to the server, such as https://api.deepmap.com/dev-test, and all the
// paths in the swagger spec will be appended to the server.
Server string
// Doer for performing requests, typically a *http.Client with any
// customized settings, such as certificate chains.
Client HttpRequestDoer
// A list of callbacks for modifying requests which are generated before sending over
// the network.
RequestEditors []RequestEditorFn
}
Client which conforms to the OpenAPI3 specification for this service.
func NewClient ¶
func NewClient(server string, opts ...ClientOption) (*Client, error)
Creates a new Client, with reasonable defaults
func (*Client) ApplyCurrentPlanChanges ¶
func (*Client) ApplyPlan ¶
func (c *Client) ApplyPlan(ctx context.Context, id string, body ApplyPlanJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) ApplyPlanWithBody ¶
func (*Client) ApplyToActivities ¶
func (*Client) CalcDistanceEtc ¶
func (*Client) CheckMerge ¶
func (*Client) CreateCustomItem ¶
func (c *Client) CreateCustomItem(ctx context.Context, id string, body CreateCustomItemJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) CreateCustomItemWithBody ¶
func (*Client) CreateEvent ¶
func (c *Client) CreateEvent(ctx context.Context, id string, params *CreateEventParams, body CreateEventJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) CreateEventWithBody ¶
func (*Client) CreateFolder ¶
func (c *Client) CreateFolder(ctx context.Context, id string, body CreateFolderJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) CreateFolderWithBody ¶
func (*Client) CreateGear ¶
func (c *Client) CreateGear(ctx context.Context, id string, body CreateGearJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) CreateGearWithBody ¶
func (*Client) CreateManualActivity ¶
func (c *Client) CreateManualActivity(ctx context.Context, id string, body CreateManualActivityJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) CreateManualActivityWithBody ¶
func (*Client) CreateMultipleEvents ¶
func (c *Client) CreateMultipleEvents(ctx context.Context, id string, params *CreateMultipleEventsParams, body CreateMultipleEventsJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) CreateMultipleEventsWithBody ¶
func (*Client) CreateMultipleManualActivities ¶
func (c *Client) CreateMultipleManualActivities(ctx context.Context, id string, body CreateMultipleManualActivitiesJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) CreateMultipleManualActivitiesWithBody ¶
func (*Client) CreateMultipleWorkouts ¶
func (c *Client) CreateMultipleWorkouts(ctx context.Context, id string, body CreateMultipleWorkoutsJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) CreateMultipleWorkoutsWithBody ¶
func (*Client) CreateReminder ¶
func (c *Client) CreateReminder(ctx context.Context, id string, gearId string, body CreateReminderJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) CreateReminderWithBody ¶
func (*Client) CreateSettings ¶
func (c *Client) CreateSettings(ctx context.Context, athleteId string, body CreateSettingsJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) CreateSettingsWithBody ¶
func (*Client) CreateSharedEvent ¶
func (c *Client) CreateSharedEvent(ctx context.Context, params *CreateSharedEventParams, body CreateSharedEventJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) CreateSharedEventWithBody ¶
func (*Client) CreateWorkout ¶
func (c *Client) CreateWorkout(ctx context.Context, id string, body CreateWorkoutJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) CreateWorkoutWithBody ¶
func (*Client) DeleteActivity ¶
func (*Client) DeleteCustomItem ¶
func (*Client) DeleteEvent ¶
func (c *Client) DeleteEvent(ctx context.Context, id string, eventId int32, params *DeleteEventParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) DeleteEvents ¶
func (c *Client) DeleteEvents(ctx context.Context, id string, params *DeleteEventsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) DeleteEventsBulk ¶
func (c *Client) DeleteEventsBulk(ctx context.Context, id string, body DeleteEventsBulkJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) DeleteEventsBulkWithBody ¶
func (*Client) DeleteFolder ¶
func (*Client) DeleteGear ¶
func (*Client) DeleteIntervals ¶
func (c *Client) DeleteIntervals(ctx context.Context, id string, body DeleteIntervalsJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) DeleteIntervalsWithBody ¶
func (*Client) DeleteMessage ¶
func (*Client) DeleteReminder ¶
func (*Client) DeleteSettings ¶
func (*Client) DeleteSharedEvent ¶
func (*Client) DeleteWorkout ¶
func (c *Client) DeleteWorkout(ctx context.Context, id string, workoutId int32, params *DeleteWorkoutParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) DisconnectApp ¶
func (*Client) DownloadActivitiesAsCSV ¶
func (*Client) DownloadActivityFile ¶
func (*Client) DownloadActivityFitFile ¶
func (c *Client) DownloadActivityFitFile(ctx context.Context, id string, params *DownloadActivityFitFileParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) DownloadActivityFitFiles ¶
func (c *Client) DownloadActivityFitFiles(ctx context.Context, id string, params *DownloadActivityFitFilesParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) DownloadActivityGpxFile ¶
func (c *Client) DownloadActivityGpxFile(ctx context.Context, id string, params *DownloadActivityGpxFileParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) DownloadWorkout ¶
func (c *Client) DownloadWorkout(ctx context.Context, ext string, body DownloadWorkoutJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) DownloadWorkout1 ¶
func (*Client) DownloadWorkoutForAthlete ¶
func (c *Client) DownloadWorkoutForAthlete(ctx context.Context, id string, ext string, body DownloadWorkoutForAthleteJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) DownloadWorkoutForAthleteWithBody ¶
func (*Client) DownloadWorkoutWithBody ¶
func (*Client) DownloadWorkouts ¶
func (c *Client) DownloadWorkouts(ctx context.Context, id string, params *DownloadWorkoutsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) DuplicateEvents ¶
func (c *Client) DuplicateEvents(ctx context.Context, id string, body DuplicateEventsJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) DuplicateEventsWithBody ¶
func (*Client) DuplicateWorkouts ¶
func (c *Client) DuplicateWorkouts(ctx context.Context, id string, body DuplicateWorkoutsJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) DuplicateWorkoutsWithBody ¶
func (*Client) FindBestEfforts ¶
func (c *Client) FindBestEfforts(ctx context.Context, id string, params *FindBestEffortsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) GetActivities ¶
func (c *Client) GetActivities(ctx context.Context, athleteId string, ids []string, params *GetActivitiesParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) GetActivity ¶
func (c *Client) GetActivity(ctx context.Context, id string, params *GetActivityParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) GetActivityHRCurve ¶
func (*Client) GetActivityMap ¶
func (c *Client) GetActivityMap(ctx context.Context, id string, params *GetActivityMapParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) GetActivityPaceCurve ¶
func (c *Client) GetActivityPaceCurve(ctx context.Context, id string, ext string, params *GetActivityPaceCurveParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) GetActivityPowerCurve ¶
func (c *Client) GetActivityPowerCurve(ctx context.Context, id string, ext string, params *GetActivityPowerCurveParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) GetActivityPowerSpikeModel ¶
func (*Client) GetActivitySegments ¶
func (*Client) GetActivityStreams ¶
func (c *Client) GetActivityStreams(ctx context.Context, id string, ext string, params *GetActivityStreamsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) GetActivityWeatherSummary ¶
func (c *Client) GetActivityWeatherSummary(ctx context.Context, id string, params *GetActivityWeatherSummaryParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) GetAthlete ¶
func (*Client) GetAthleteMMPModel ¶
func (c *Client) GetAthleteMMPModel(ctx context.Context, id string, params *GetAthleteMMPModelParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) GetAthleteProfile ¶
func (*Client) GetAthleteRoute ¶
func (c *Client) GetAthleteRoute(ctx context.Context, id string, routeId int64, params *GetAthleteRouteParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) GetAthleteSummary ¶
func (c *Client) GetAthleteSummary(ctx context.Context, id string, ext string, params *GetAthleteSummaryParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) GetAthleteTrainingPlan ¶
func (*Client) GetCustomItem ¶
func (*Client) GetForecast ¶
func (*Client) GetGapHistogram ¶
func (*Client) GetHRHistogram ¶
func (c *Client) GetHRHistogram(ctx context.Context, id string, params *GetHRHistogramParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) GetHRTrainingLoadModel ¶
func (*Client) GetIntervalStats ¶
func (c *Client) GetIntervalStats(ctx context.Context, id string, params *GetIntervalStatsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) GetIntervals ¶
func (*Client) GetPaceHistogram ¶
func (*Client) GetPowerHRCurve ¶
func (c *Client) GetPowerHRCurve(ctx context.Context, id string, params *GetPowerHRCurveParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) GetPowerHistogram ¶
func (c *Client) GetPowerHistogram(ctx context.Context, id string, params *GetPowerHistogramParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) GetPowerVsHR ¶
func (*Client) GetSettings ¶
func (*Client) GetSettings1 ¶
func (*Client) GetSharedEvent ¶
func (*Client) GetTimeAtHR ¶
func (*Client) GetWeatherConfig ¶
func (*Client) ImportWorkoutFile ¶
func (c *Client) ImportWorkoutFile(ctx context.Context, id string, folderId int32, params *ImportWorkoutFileParams, body ImportWorkoutFileJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) ImportWorkoutFileWithBody ¶
func (*Client) ListActivities ¶
func (c *Client) ListActivities(ctx context.Context, id string, params *ListActivitiesParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) ListActivitiesAround ¶
func (c *Client) ListActivitiesAround(ctx context.Context, id string, params *ListActivitiesAroundParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) ListActivityHRCurves ¶
func (c *Client) ListActivityHRCurves(ctx context.Context, id string, ext string, params *ListActivityHRCurvesParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) ListActivityMessages ¶
func (c *Client) ListActivityMessages(ctx context.Context, id string, params *ListActivityMessagesParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) ListActivityPaceCurves ¶
func (c *Client) ListActivityPaceCurves(ctx context.Context, id string, ext string, params *ListActivityPaceCurvesParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) ListActivityPowerCurves ¶
func (c *Client) ListActivityPowerCurves(ctx context.Context, id string, ext string, params *ListActivityPowerCurvesParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) ListActivityPowerCurves1 ¶
func (c *Client) ListActivityPowerCurves1(ctx context.Context, id string, ext string, params *ListActivityPowerCurves1Params, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) ListAthleteHRCurves ¶
func (c *Client) ListAthleteHRCurves(ctx context.Context, id string, ext string, params *ListAthleteHRCurvesParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) ListAthletePaceCurves ¶
func (c *Client) ListAthletePaceCurves(ctx context.Context, id string, ext string, params *ListAthletePaceCurvesParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) ListAthletePowerCurves ¶
func (c *Client) ListAthletePowerCurves(ctx context.Context, id string, ext string, params *ListAthletePowerCurvesParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) ListAthleteRoutes ¶
func (*Client) ListCustomItems ¶
func (*Client) ListEvents ¶
func (c *Client) ListEvents(ctx context.Context, id string, format string, params *ListEventsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) ListFitnessModelEvents ¶
func (*Client) ListFolderSharedWith ¶
func (*Client) ListFolders ¶
func (*Client) ListMatchingActivities ¶
func (*Client) ListMessages ¶
func (c *Client) ListMessages(ctx context.Context, id int32, params *ListMessagesParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) ListPaceDistances ¶
func (*Client) ListPaceDistancesForSport ¶
func (*Client) ListSettings ¶
func (*Client) ListWellnessRecords ¶
func (c *Client) ListWellnessRecords(ctx context.Context, id string, ext string, params *ListWellnessRecordsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) ListWorkouts ¶
func (*Client) MarkEventAsDone ¶
func (*Client) ReplaceGear ¶
func (c *Client) ReplaceGear(ctx context.Context, id string, gearId string, body ReplaceGearJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) ReplaceGearWithBody ¶
func (*Client) SearchForActivities ¶
func (c *Client) SearchForActivities(ctx context.Context, id string, params *SearchForActivitiesParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) SearchForActivitiesFull ¶
func (c *Client) SearchForActivitiesFull(ctx context.Context, id string, params *SearchForActivitiesFullParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) SearchForIntervals ¶
func (c *Client) SearchForIntervals(ctx context.Context, id string, params *SearchForIntervalsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) SendActivityMessage ¶
func (c *Client) SendActivityMessage(ctx context.Context, id string, body SendActivityMessageJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) SendActivityMessageWithBody ¶
func (*Client) SendMessage ¶
func (c *Client) SendMessage(ctx context.Context, body SendMessageJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) SendMessageWithBody ¶
func (*Client) ShowWorkout ¶
func (*Client) SplitInterval ¶
func (c *Client) SplitInterval(ctx context.Context, id string, params *SplitIntervalParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) UpdateActivity ¶
func (c *Client) UpdateActivity(ctx context.Context, id string, body UpdateActivityJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) UpdateActivityStreams ¶
func (c *Client) UpdateActivityStreams(ctx context.Context, id string, body UpdateActivityStreamsJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) UpdateActivityStreamsWithBody ¶
func (*Client) UpdateActivityWithBody ¶
func (*Client) UpdateAthlete ¶
func (c *Client) UpdateAthlete(ctx context.Context, id string, body UpdateAthleteJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) UpdateAthletePlan ¶
func (c *Client) UpdateAthletePlan(ctx context.Context, id string, body UpdateAthletePlanJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) UpdateAthletePlanWithBody ¶
func (*Client) UpdateAthletePlans ¶
func (c *Client) UpdateAthletePlans(ctx context.Context, body UpdateAthletePlansJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) UpdateAthletePlansWithBody ¶
func (*Client) UpdateAthleteRoute ¶
func (c *Client) UpdateAthleteRoute(ctx context.Context, id string, routeId int64, body UpdateAthleteRouteJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) UpdateAthleteRouteWithBody ¶
func (*Client) UpdateAthleteWithBody ¶
func (*Client) UpdateCustomItem ¶
func (c *Client) UpdateCustomItem(ctx context.Context, id string, itemId int32, body UpdateCustomItemJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) UpdateCustomItemImage ¶
func (c *Client) UpdateCustomItemImage(ctx context.Context, id string, itemId int32, body UpdateCustomItemImageJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) UpdateCustomItemImageWithBody ¶
func (*Client) UpdateCustomItemIndexes ¶
func (c *Client) UpdateCustomItemIndexes(ctx context.Context, id string, body UpdateCustomItemIndexesJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) UpdateCustomItemIndexesWithBody ¶
func (*Client) UpdateCustomItemWithBody ¶
func (*Client) UpdateEvent ¶
func (c *Client) UpdateEvent(ctx context.Context, id string, eventId int32, body UpdateEventJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) UpdateEventWithBody ¶
func (*Client) UpdateEvents ¶
func (c *Client) UpdateEvents(ctx context.Context, id string, params *UpdateEventsParams, body UpdateEventsJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) UpdateEventsWithBody ¶
func (*Client) UpdateFolder ¶
func (c *Client) UpdateFolder(ctx context.Context, id string, folderId int32, body UpdateFolderJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) UpdateFolderSharedWith ¶
func (c *Client) UpdateFolderSharedWith(ctx context.Context, id string, folderId int32, body UpdateFolderSharedWithJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) UpdateFolderSharedWithWithBody ¶
func (*Client) UpdateFolderWithBody ¶
func (*Client) UpdateGear ¶
func (c *Client) UpdateGear(ctx context.Context, id string, gearId string, body UpdateGearJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) UpdateGearWithBody ¶
func (*Client) UpdateInterval ¶
func (c *Client) UpdateInterval(ctx context.Context, id string, intervalId int32, body UpdateIntervalJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) UpdateIntervalWithBody ¶
func (*Client) UpdateIntervals ¶
func (c *Client) UpdateIntervals(ctx context.Context, id string, params *UpdateIntervalsParams, body UpdateIntervalsJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) UpdateIntervalsWithBody ¶
func (*Client) UpdateLastSeenMessageId ¶
func (*Client) UpdatePlanWorkouts ¶
func (c *Client) UpdatePlanWorkouts(ctx context.Context, id string, folderId int32, params *UpdatePlanWorkoutsParams, body UpdatePlanWorkoutsJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) UpdatePlanWorkoutsWithBody ¶
func (*Client) UpdateReminder ¶
func (c *Client) UpdateReminder(ctx context.Context, id string, gearId string, reminderId int32, params *UpdateReminderParams, body UpdateReminderJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) UpdateReminderWithBody ¶
func (*Client) UpdateSettings ¶
func (c *Client) UpdateSettings(ctx context.Context, athleteId string, id string, params *UpdateSettingsParams, body UpdateSettingsJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) UpdateSettingsMulti ¶
func (c *Client) UpdateSettingsMulti(ctx context.Context, athleteId string, params *UpdateSettingsMultiParams, body UpdateSettingsMultiJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) UpdateSettingsMultiWithBody ¶
func (*Client) UpdateSettingsWithBody ¶
func (*Client) UpdateSharedEvent ¶
func (c *Client) UpdateSharedEvent(ctx context.Context, id int32, body UpdateSharedEventJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) UpdateSharedEventWithBody ¶
func (*Client) UpdateWeatherConfig ¶
func (c *Client) UpdateWeatherConfig(ctx context.Context, id string, body UpdateWeatherConfigJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) UpdateWeatherConfigWithBody ¶
func (*Client) UpdateWellness ¶
func (c *Client) UpdateWellness(ctx context.Context, id string, date string, body UpdateWellnessJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) UpdateWellness1 ¶
func (c *Client) UpdateWellness1(ctx context.Context, id string, body UpdateWellness1JSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) UpdateWellness1WithBody ¶
func (*Client) UpdateWellnessBulk ¶
func (c *Client) UpdateWellnessBulk(ctx context.Context, id string, body UpdateWellnessBulkJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) UpdateWellnessBulkWithBody ¶
func (*Client) UpdateWellnessWithBody ¶
func (*Client) UpdateWorkout ¶
func (c *Client) UpdateWorkout(ctx context.Context, id string, workoutId int32, body UpdateWorkoutJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) UpdateWorkoutWithBody ¶
func (*Client) UploadActivity ¶
func (c *Client) UploadActivity(ctx context.Context, id string, params *UploadActivityParams, body UploadActivityJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) UploadActivityStreamsCSV ¶
func (c *Client) UploadActivityStreamsCSV(ctx context.Context, id string, body UploadActivityStreamsCSVJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) UploadActivityStreamsCSVWithBody ¶
func (*Client) UploadActivityWithBody ¶
func (*Client) UploadWellness ¶
func (c *Client) UploadWellness(ctx context.Context, id string, params *UploadWellnessParams, body UploadWellnessJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) UploadWellnessWithBody ¶
type ClientInterface ¶
type ClientInterface interface {
// DeleteActivity request
DeleteActivity(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetActivity request
GetActivity(ctx context.Context, id string, params *GetActivityParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// UpdateActivityWithBody request with any body
UpdateActivityWithBody(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
UpdateActivity(ctx context.Context, id string, body UpdateActivityJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// FindBestEfforts request
FindBestEfforts(ctx context.Context, id string, params *FindBestEffortsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// DeleteIntervalsWithBody request with any body
DeleteIntervalsWithBody(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
DeleteIntervals(ctx context.Context, id string, body DeleteIntervalsJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// DownloadActivityFile request
DownloadActivityFile(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)
// DownloadActivityFitFile request
DownloadActivityFitFile(ctx context.Context, id string, params *DownloadActivityFitFileParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetGapHistogram request
GetGapHistogram(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)
// DownloadActivityGpxFile request
DownloadActivityGpxFile(ctx context.Context, id string, params *DownloadActivityGpxFileParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetActivityHRCurve request
GetActivityHRCurve(ctx context.Context, id string, ext string, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetHRHistogram request
GetHRHistogram(ctx context.Context, id string, params *GetHRHistogramParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetHRTrainingLoadModel request
GetHRTrainingLoadModel(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetIntervalStats request
GetIntervalStats(ctx context.Context, id string, params *GetIntervalStatsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetIntervals request
GetIntervals(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)
// UpdateIntervalsWithBody request with any body
UpdateIntervalsWithBody(ctx context.Context, id string, params *UpdateIntervalsParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
UpdateIntervals(ctx context.Context, id string, params *UpdateIntervalsParams, body UpdateIntervalsJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// UpdateIntervalWithBody request with any body
UpdateIntervalWithBody(ctx context.Context, id string, intervalId int32, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
UpdateInterval(ctx context.Context, id string, intervalId int32, body UpdateIntervalJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetActivityMap request
GetActivityMap(ctx context.Context, id string, params *GetActivityMapParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// ListActivityMessages request
ListActivityMessages(ctx context.Context, id string, params *ListActivityMessagesParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// SendActivityMessageWithBody request with any body
SendActivityMessageWithBody(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
SendActivityMessage(ctx context.Context, id string, body SendActivityMessageJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetActivityPaceCurve request
GetActivityPaceCurve(ctx context.Context, id string, ext string, params *GetActivityPaceCurveParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetPaceHistogram request
GetPaceHistogram(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)
// ListActivityPowerCurves1 request
ListActivityPowerCurves1(ctx context.Context, id string, ext string, params *ListActivityPowerCurves1Params, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetActivityPowerCurve request
GetActivityPowerCurve(ctx context.Context, id string, ext string, params *GetActivityPowerCurveParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetPowerHistogram request
GetPowerHistogram(ctx context.Context, id string, params *GetPowerHistogramParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetActivityPowerSpikeModel request
GetActivityPowerSpikeModel(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetPowerVsHR request
GetPowerVsHR(ctx context.Context, id string, ext string, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetActivitySegments request
GetActivitySegments(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)
// SplitInterval request
SplitInterval(ctx context.Context, id string, params *SplitIntervalParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// UpdateActivityStreamsWithBody request with any body
UpdateActivityStreamsWithBody(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
UpdateActivityStreams(ctx context.Context, id string, body UpdateActivityStreamsJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// UploadActivityStreamsCSVWithBody request with any body
UploadActivityStreamsCSVWithBody(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
UploadActivityStreamsCSV(ctx context.Context, id string, body UploadActivityStreamsCSVJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetActivityStreams request
GetActivityStreams(ctx context.Context, id string, ext string, params *GetActivityStreamsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetTimeAtHR request
GetTimeAtHR(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetActivityWeatherSummary request
GetActivityWeatherSummary(ctx context.Context, id string, params *GetActivityWeatherSummaryParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// UpdateAthletePlansWithBody request with any body
UpdateAthletePlansWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
UpdateAthletePlans(ctx context.Context, body UpdateAthletePlansJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetActivities request
GetActivities(ctx context.Context, athleteId string, ids []string, params *GetActivitiesParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// ListSettings request
ListSettings(ctx context.Context, athleteId string, reqEditors ...RequestEditorFn) (*http.Response, error)
// CreateSettingsWithBody request with any body
CreateSettingsWithBody(ctx context.Context, athleteId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
CreateSettings(ctx context.Context, athleteId string, body CreateSettingsJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// UpdateSettingsMultiWithBody request with any body
UpdateSettingsMultiWithBody(ctx context.Context, athleteId string, params *UpdateSettingsMultiParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
UpdateSettingsMulti(ctx context.Context, athleteId string, params *UpdateSettingsMultiParams, body UpdateSettingsMultiJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// DeleteSettings request
DeleteSettings(ctx context.Context, athleteId string, id int32, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetSettings1 request
GetSettings1(ctx context.Context, athleteId string, id string, reqEditors ...RequestEditorFn) (*http.Response, error)
// UpdateSettingsWithBody request with any body
UpdateSettingsWithBody(ctx context.Context, athleteId string, id string, params *UpdateSettingsParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
UpdateSettings(ctx context.Context, athleteId string, id string, params *UpdateSettingsParams, body UpdateSettingsJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// ApplyToActivities request
ApplyToActivities(ctx context.Context, athleteId string, id string, reqEditors ...RequestEditorFn) (*http.Response, error)
// ListMatchingActivities request
ListMatchingActivities(ctx context.Context, athleteId string, id string, reqEditors ...RequestEditorFn) (*http.Response, error)
// ListPaceDistancesForSport request
ListPaceDistancesForSport(ctx context.Context, athleteId string, id string, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetAthlete request
GetAthlete(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)
// UpdateAthleteWithBody request with any body
UpdateAthleteWithBody(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
UpdateAthlete(ctx context.Context, id string, body UpdateAthleteJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// ListActivities request
ListActivities(ctx context.Context, id string, params *ListActivitiesParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// UploadActivityWithBody request with any body
UploadActivityWithBody(ctx context.Context, id string, params *UploadActivityParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
UploadActivity(ctx context.Context, id string, params *UploadActivityParams, body UploadActivityJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// ListActivitiesAround request
ListActivitiesAround(ctx context.Context, id string, params *ListActivitiesAroundParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// DownloadActivitiesAsCSV request
DownloadActivitiesAsCSV(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)
// SearchForIntervals request
SearchForIntervals(ctx context.Context, id string, params *SearchForIntervalsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// CreateManualActivityWithBody request with any body
CreateManualActivityWithBody(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
CreateManualActivity(ctx context.Context, id string, body CreateManualActivityJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// CreateMultipleManualActivitiesWithBody request with any body
CreateMultipleManualActivitiesWithBody(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
CreateMultipleManualActivities(ctx context.Context, id string, body CreateMultipleManualActivitiesJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// SearchForActivities request
SearchForActivities(ctx context.Context, id string, params *SearchForActivitiesParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// SearchForActivitiesFull request
SearchForActivitiesFull(ctx context.Context, id string, params *SearchForActivitiesFullParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// ListActivityHRCurves request
ListActivityHRCurves(ctx context.Context, id string, ext string, params *ListActivityHRCurvesParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// ListActivityPaceCurves request
ListActivityPaceCurves(ctx context.Context, id string, ext string, params *ListActivityPaceCurvesParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// ListActivityPowerCurves request
ListActivityPowerCurves(ctx context.Context, id string, ext string, params *ListActivityPowerCurvesParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// ListTags2 request
ListTags2(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)
// ApplyCurrentPlanChanges request
ApplyCurrentPlanChanges(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetAthleteSummary request
GetAthleteSummary(ctx context.Context, id string, ext string, params *GetAthleteSummaryParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// ListChats request
ListChats(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)
// ListCustomItems request
ListCustomItems(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)
// CreateCustomItemWithBody request with any body
CreateCustomItemWithBody(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
CreateCustomItem(ctx context.Context, id string, body CreateCustomItemJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// UpdateCustomItemIndexesWithBody request with any body
UpdateCustomItemIndexesWithBody(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
UpdateCustomItemIndexes(ctx context.Context, id string, body UpdateCustomItemIndexesJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// DeleteCustomItem request
DeleteCustomItem(ctx context.Context, id string, itemId int32, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetCustomItem request
GetCustomItem(ctx context.Context, id string, itemId int32, reqEditors ...RequestEditorFn) (*http.Response, error)
// UpdateCustomItemWithBody request with any body
UpdateCustomItemWithBody(ctx context.Context, id string, itemId int32, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
UpdateCustomItem(ctx context.Context, id string, itemId int32, body UpdateCustomItemJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// UpdateCustomItemImageWithBody request with any body
UpdateCustomItemImageWithBody(ctx context.Context, id string, itemId int32, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
UpdateCustomItemImage(ctx context.Context, id string, itemId int32, body UpdateCustomItemImageJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// DownloadActivityFitFiles request
DownloadActivityFitFiles(ctx context.Context, id string, params *DownloadActivityFitFilesParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// DownloadWorkoutForAthleteWithBody request with any body
DownloadWorkoutForAthleteWithBody(ctx context.Context, id string, ext string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
DownloadWorkoutForAthlete(ctx context.Context, id string, ext string, body DownloadWorkoutForAthleteJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// DuplicateEventsWithBody request with any body
DuplicateEventsWithBody(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
DuplicateEvents(ctx context.Context, id string, body DuplicateEventsJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// DuplicateWorkoutsWithBody request with any body
DuplicateWorkoutsWithBody(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
DuplicateWorkouts(ctx context.Context, id string, body DuplicateWorkoutsJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// ListTags1 request
ListTags1(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)
// DeleteEvents request
DeleteEvents(ctx context.Context, id string, params *DeleteEventsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// CreateEventWithBody request with any body
CreateEventWithBody(ctx context.Context, id string, params *CreateEventParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
CreateEvent(ctx context.Context, id string, params *CreateEventParams, body CreateEventJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// UpdateEventsWithBody request with any body
UpdateEventsWithBody(ctx context.Context, id string, params *UpdateEventsParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
UpdateEvents(ctx context.Context, id string, params *UpdateEventsParams, body UpdateEventsJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// ApplyPlanWithBody request with any body
ApplyPlanWithBody(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
ApplyPlan(ctx context.Context, id string, body ApplyPlanJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// CreateMultipleEventsWithBody request with any body
CreateMultipleEventsWithBody(ctx context.Context, id string, params *CreateMultipleEventsParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
CreateMultipleEvents(ctx context.Context, id string, params *CreateMultipleEventsParams, body CreateMultipleEventsJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// DeleteEventsBulkWithBody request with any body
DeleteEventsBulkWithBody(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
DeleteEventsBulk(ctx context.Context, id string, body DeleteEventsBulkJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// DeleteEvent request
DeleteEvent(ctx context.Context, id string, eventId int32, params *DeleteEventParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// ShowEvent request
ShowEvent(ctx context.Context, id string, eventId int32, reqEditors ...RequestEditorFn) (*http.Response, error)
// UpdateEventWithBody request with any body
UpdateEventWithBody(ctx context.Context, id string, eventId int32, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
UpdateEvent(ctx context.Context, id string, eventId int32, body UpdateEventJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// DownloadWorkout1 request
DownloadWorkout1(ctx context.Context, id string, eventId int32, ext string, reqEditors ...RequestEditorFn) (*http.Response, error)
// MarkEventAsDone request
MarkEventAsDone(ctx context.Context, id string, eventId int32, reqEditors ...RequestEditorFn) (*http.Response, error)
// ListEvents request
ListEvents(ctx context.Context, id string, format string, params *ListEventsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// ListFitnessModelEvents request
ListFitnessModelEvents(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)
// ListFolders request
ListFolders(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)
// CreateFolderWithBody request with any body
CreateFolderWithBody(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
CreateFolder(ctx context.Context, id string, body CreateFolderJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// DeleteFolder request
DeleteFolder(ctx context.Context, id string, folderId int32, reqEditors ...RequestEditorFn) (*http.Response, error)
// UpdateFolderWithBody request with any body
UpdateFolderWithBody(ctx context.Context, id string, folderId int32, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
UpdateFolder(ctx context.Context, id string, folderId int32, body UpdateFolderJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// ImportWorkoutFileWithBody request with any body
ImportWorkoutFileWithBody(ctx context.Context, id string, folderId int32, params *ImportWorkoutFileParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
ImportWorkoutFile(ctx context.Context, id string, folderId int32, params *ImportWorkoutFileParams, body ImportWorkoutFileJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
ListFolderSharedWith(ctx context.Context, id string, folderId int32, reqEditors ...RequestEditorFn) (*http.Response, error)
UpdateFolderSharedWithWithBody(ctx context.Context, id string, folderId int32, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
// UpdatePlanWorkoutsWithBody request with any body
UpdatePlanWorkoutsWithBody(ctx context.Context, id string, folderId int32, params *UpdatePlanWorkoutsParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
UpdatePlanWorkouts(ctx context.Context, id string, folderId int32, params *UpdatePlanWorkoutsParams, body UpdatePlanWorkoutsJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// CreateGearWithBody request with any body
CreateGearWithBody(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
CreateGear(ctx context.Context, id string, body CreateGearJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// DeleteGear request
DeleteGear(ctx context.Context, id string, gearId string, reqEditors ...RequestEditorFn) (*http.Response, error)
// UpdateGearWithBody request with any body
UpdateGearWithBody(ctx context.Context, id string, gearId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
UpdateGear(ctx context.Context, id string, gearId string, body UpdateGearJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// CalcDistanceEtc request
CalcDistanceEtc(ctx context.Context, id string, gearId string, reqEditors ...RequestEditorFn) (*http.Response, error)
// CreateReminderWithBody request with any body
CreateReminderWithBody(ctx context.Context, id string, gearId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
CreateReminder(ctx context.Context, id string, gearId string, body CreateReminderJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// DeleteReminder request
DeleteReminder(ctx context.Context, id string, gearId string, reminderId int32, reqEditors ...RequestEditorFn) (*http.Response, error)
// UpdateReminderWithBody request with any body
UpdateReminderWithBody(ctx context.Context, id string, gearId string, reminderId int32, params *UpdateReminderParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
UpdateReminder(ctx context.Context, id string, gearId string, reminderId int32, params *UpdateReminderParams, body UpdateReminderJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// ReplaceGearWithBody request with any body
ReplaceGearWithBody(ctx context.Context, id string, gearId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
ReplaceGear(ctx context.Context, id string, gearId string, body ReplaceGearJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// ListGear request
ListGear(ctx context.Context, id string, ext string, reqEditors ...RequestEditorFn) (*http.Response, error)
// ListAthleteHRCurves request
ListAthleteHRCurves(ctx context.Context, id string, ext string, params *ListAthleteHRCurvesParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetAthleteMMPModel request
GetAthleteMMPModel(ctx context.Context, id string, params *GetAthleteMMPModelParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// ListAthletePaceCurves request
ListAthletePaceCurves(ctx context.Context, id string, ext string, params *ListAthletePaceCurvesParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// ListAthletePowerCurves request
ListAthletePowerCurves(ctx context.Context, id string, ext string, params *ListAthletePowerCurvesParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetPowerHRCurve request
GetPowerHRCurve(ctx context.Context, id string, params *GetPowerHRCurveParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetAthleteProfile request
GetAthleteProfile(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)
// ListAthleteRoutes request
ListAthleteRoutes(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetAthleteRoute request
GetAthleteRoute(ctx context.Context, id string, routeId int64, params *GetAthleteRouteParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// UpdateAthleteRouteWithBody request with any body
UpdateAthleteRouteWithBody(ctx context.Context, id string, routeId int64, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
UpdateAthleteRoute(ctx context.Context, id string, routeId int64, body UpdateAthleteRouteJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// CheckMerge request
CheckMerge(ctx context.Context, id string, routeId int64, otherId int64, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetSettings request
GetSettings(ctx context.Context, id string, deviceClass string, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetAthleteTrainingPlan request
GetAthleteTrainingPlan(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)
// UpdateAthletePlanWithBody request with any body
UpdateAthletePlanWithBody(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
UpdateAthletePlan(ctx context.Context, id string, body UpdateAthletePlanJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetWeatherConfig request
GetWeatherConfig(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)
// UpdateWeatherConfigWithBody request with any body
UpdateWeatherConfigWithBody(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
UpdateWeatherConfig(ctx context.Context, id string, body UpdateWeatherConfigJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetForecast request
GetForecast(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)
// UploadWellnessWithBody request with any body
UploadWellnessWithBody(ctx context.Context, id string, params *UploadWellnessParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
UploadWellness(ctx context.Context, id string, params *UploadWellnessParams, body UploadWellnessJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// UpdateWellness1WithBody request with any body
UpdateWellness1WithBody(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
UpdateWellness1(ctx context.Context, id string, body UpdateWellness1JSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// UpdateWellnessBulkWithBody request with any body
UpdateWellnessBulkWithBody(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
UpdateWellnessBulk(ctx context.Context, id string, body UpdateWellnessBulkJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetRecord request
GetRecord(ctx context.Context, id string, date string, reqEditors ...RequestEditorFn) (*http.Response, error)
// UpdateWellnessWithBody request with any body
UpdateWellnessWithBody(ctx context.Context, id string, date string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
UpdateWellness(ctx context.Context, id string, date string, body UpdateWellnessJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// ListWellnessRecords request
ListWellnessRecords(ctx context.Context, id string, ext string, params *ListWellnessRecordsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// ListTags request
ListTags(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)
// ListWorkouts request
ListWorkouts(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*http.Response, error)
// CreateWorkoutWithBody request with any body
CreateWorkoutWithBody(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
CreateWorkout(ctx context.Context, id string, body CreateWorkoutJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// DownloadWorkouts request
DownloadWorkouts(ctx context.Context, id string, params *DownloadWorkoutsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// CreateMultipleWorkoutsWithBody request with any body
CreateMultipleWorkoutsWithBody(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
CreateMultipleWorkouts(ctx context.Context, id string, body CreateMultipleWorkoutsJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// DeleteWorkout request
DeleteWorkout(ctx context.Context, id string, workoutId int32, params *DeleteWorkoutParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// ShowWorkout request
ShowWorkout(ctx context.Context, id string, workoutId int32, reqEditors ...RequestEditorFn) (*http.Response, error)
// UpdateWorkoutWithBody request with any body
UpdateWorkoutWithBody(ctx context.Context, id string, workoutId int32, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
UpdateWorkout(ctx context.Context, id string, workoutId int32, body UpdateWorkoutJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// SendMessageWithBody request with any body
SendMessageWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
SendMessage(ctx context.Context, body SendMessageJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// ShowChat request
ShowChat(ctx context.Context, id int32, reqEditors ...RequestEditorFn) (*http.Response, error)
// ListMessages request
ListMessages(ctx context.Context, id int32, params *ListMessagesParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// DeleteMessage request
DeleteMessage(ctx context.Context, id int32, msgId int64, reqEditors ...RequestEditorFn) (*http.Response, error)
// UpdateLastSeenMessageId request
UpdateLastSeenMessageId(ctx context.Context, id int32, msgId int64, reqEditors ...RequestEditorFn) (*http.Response, error)
// DisconnectApp request
DisconnectApp(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
// DownloadWorkoutWithBody request with any body
DownloadWorkoutWithBody(ctx context.Context, ext string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
DownloadWorkout(ctx context.Context, ext string, body DownloadWorkoutJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// ListPaceDistances request
ListPaceDistances(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
CreateSharedEventWithBody(ctx context.Context, params *CreateSharedEventParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
DeleteSharedEvent(ctx context.Context, id int32, reqEditors ...RequestEditorFn) (*http.Response, error)
GetSharedEvent(ctx context.Context, id int32, reqEditors ...RequestEditorFn) (*http.Response, error)
UpdateSharedEventWithBody(ctx context.Context, id int32, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
}
The interface specification for the client above.
type ClientOption ¶
ClientOption allows setting custom parameters during construction
func WithHTTPClient ¶
func WithHTTPClient(doer HttpRequestDoer) ClientOption
WithHTTPClient allows overriding the default Doer, which is automatically created using http.Client. This is useful for tests.
func WithRequestEditorFn ¶
func WithRequestEditorFn(fn RequestEditorFn) ClientOption
WithRequestEditorFn allows setting up a callback function, which will be called right before sending the request. This can be used to mutate the request.
type ClientWithResponses ¶
type ClientWithResponses struct {
ClientInterface
}
ClientWithResponses builds on ClientInterface to offer response payloads
func NewClientWithResponses ¶
func NewClientWithResponses(server string, opts ...ClientOption) (*ClientWithResponses, error)
NewClientWithResponses creates a new ClientWithResponses, which wraps Client with return type handling
func (*ClientWithResponses) ApplyCurrentPlanChangesWithResponse ¶
func (c *ClientWithResponses) ApplyCurrentPlanChangesWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*ApplyCurrentPlanChangesResp, error)
ApplyCurrentPlanChangesWithResponse request returning *ApplyCurrentPlanChangesResp
func (*ClientWithResponses) ApplyPlanWithBodyWithResponse ¶
func (c *ClientWithResponses) ApplyPlanWithBodyWithResponse(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ApplyPlanResp, error)
ApplyPlanWithBodyWithResponse request with arbitrary body returning *ApplyPlanResp
func (*ClientWithResponses) ApplyPlanWithResponse ¶
func (c *ClientWithResponses) ApplyPlanWithResponse(ctx context.Context, id string, body ApplyPlanJSONRequestBody, reqEditors ...RequestEditorFn) (*ApplyPlanResp, error)
func (*ClientWithResponses) ApplyToActivitiesWithResponse ¶
func (c *ClientWithResponses) ApplyToActivitiesWithResponse(ctx context.Context, athleteId string, id string, reqEditors ...RequestEditorFn) (*ApplyToActivitiesResp, error)
ApplyToActivitiesWithResponse request returning *ApplyToActivitiesResp
func (*ClientWithResponses) CalcDistanceEtcWithResponse ¶
func (c *ClientWithResponses) CalcDistanceEtcWithResponse(ctx context.Context, id string, gearId string, reqEditors ...RequestEditorFn) (*CalcDistanceEtcResp, error)
CalcDistanceEtcWithResponse request returning *CalcDistanceEtcResp
func (*ClientWithResponses) CheckMergeWithResponse ¶
func (c *ClientWithResponses) CheckMergeWithResponse(ctx context.Context, id string, routeId int64, otherId int64, reqEditors ...RequestEditorFn) (*CheckMergeResp, error)
CheckMergeWithResponse request returning *CheckMergeResp
func (*ClientWithResponses) CreateCustomItemWithBodyWithResponse ¶
func (c *ClientWithResponses) CreateCustomItemWithBodyWithResponse(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateCustomItemResp, error)
CreateCustomItemWithBodyWithResponse request with arbitrary body returning *CreateCustomItemResp
func (*ClientWithResponses) CreateCustomItemWithResponse ¶
func (c *ClientWithResponses) CreateCustomItemWithResponse(ctx context.Context, id string, body CreateCustomItemJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateCustomItemResp, error)
func (*ClientWithResponses) CreateEventWithBodyWithResponse ¶
func (c *ClientWithResponses) CreateEventWithBodyWithResponse(ctx context.Context, id string, params *CreateEventParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateEventResp, error)
CreateEventWithBodyWithResponse request with arbitrary body returning *CreateEventResp
func (*ClientWithResponses) CreateEventWithResponse ¶
func (c *ClientWithResponses) CreateEventWithResponse(ctx context.Context, id string, params *CreateEventParams, body CreateEventJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateEventResp, error)
func (*ClientWithResponses) CreateFolderWithBodyWithResponse ¶
func (c *ClientWithResponses) CreateFolderWithBodyWithResponse(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateFolderResp, error)
CreateFolderWithBodyWithResponse request with arbitrary body returning *CreateFolderResp
func (*ClientWithResponses) CreateFolderWithResponse ¶
func (c *ClientWithResponses) CreateFolderWithResponse(ctx context.Context, id string, body CreateFolderJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateFolderResp, error)
func (*ClientWithResponses) CreateGearWithBodyWithResponse ¶
func (c *ClientWithResponses) CreateGearWithBodyWithResponse(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateGearResp, error)
CreateGearWithBodyWithResponse request with arbitrary body returning *CreateGearResp
func (*ClientWithResponses) CreateGearWithResponse ¶
func (c *ClientWithResponses) CreateGearWithResponse(ctx context.Context, id string, body CreateGearJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateGearResp, error)
func (*ClientWithResponses) CreateManualActivityWithBodyWithResponse ¶
func (c *ClientWithResponses) CreateManualActivityWithBodyWithResponse(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateManualActivityResp, error)
CreateManualActivityWithBodyWithResponse request with arbitrary body returning *CreateManualActivityResp
func (*ClientWithResponses) CreateManualActivityWithResponse ¶
func (c *ClientWithResponses) CreateManualActivityWithResponse(ctx context.Context, id string, body CreateManualActivityJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateManualActivityResp, error)
func (*ClientWithResponses) CreateMultipleEventsWithBodyWithResponse ¶
func (c *ClientWithResponses) CreateMultipleEventsWithBodyWithResponse(ctx context.Context, id string, params *CreateMultipleEventsParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateMultipleEventsResp, error)
CreateMultipleEventsWithBodyWithResponse request with arbitrary body returning *CreateMultipleEventsResp
func (*ClientWithResponses) CreateMultipleEventsWithResponse ¶
func (c *ClientWithResponses) CreateMultipleEventsWithResponse(ctx context.Context, id string, params *CreateMultipleEventsParams, body CreateMultipleEventsJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateMultipleEventsResp, error)
func (*ClientWithResponses) CreateMultipleManualActivitiesWithBodyWithResponse ¶
func (c *ClientWithResponses) CreateMultipleManualActivitiesWithBodyWithResponse(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateMultipleManualActivitiesResp, error)
CreateMultipleManualActivitiesWithBodyWithResponse request with arbitrary body returning *CreateMultipleManualActivitiesResp
func (*ClientWithResponses) CreateMultipleManualActivitiesWithResponse ¶
func (c *ClientWithResponses) CreateMultipleManualActivitiesWithResponse(ctx context.Context, id string, body CreateMultipleManualActivitiesJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateMultipleManualActivitiesResp, error)
func (*ClientWithResponses) CreateMultipleWorkoutsWithBodyWithResponse ¶
func (c *ClientWithResponses) CreateMultipleWorkoutsWithBodyWithResponse(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateMultipleWorkoutsResp, error)
CreateMultipleWorkoutsWithBodyWithResponse request with arbitrary body returning *CreateMultipleWorkoutsResp
func (*ClientWithResponses) CreateMultipleWorkoutsWithResponse ¶
func (c *ClientWithResponses) CreateMultipleWorkoutsWithResponse(ctx context.Context, id string, body CreateMultipleWorkoutsJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateMultipleWorkoutsResp, error)
func (*ClientWithResponses) CreateReminderWithBodyWithResponse ¶
func (c *ClientWithResponses) CreateReminderWithBodyWithResponse(ctx context.Context, id string, gearId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateReminderResp, error)
CreateReminderWithBodyWithResponse request with arbitrary body returning *CreateReminderResp
func (*ClientWithResponses) CreateReminderWithResponse ¶
func (c *ClientWithResponses) CreateReminderWithResponse(ctx context.Context, id string, gearId string, body CreateReminderJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateReminderResp, error)
func (*ClientWithResponses) CreateSettingsWithBodyWithResponse ¶
func (c *ClientWithResponses) CreateSettingsWithBodyWithResponse(ctx context.Context, athleteId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateSettingsResp, error)
CreateSettingsWithBodyWithResponse request with arbitrary body returning *CreateSettingsResp
func (*ClientWithResponses) CreateSettingsWithResponse ¶
func (c *ClientWithResponses) CreateSettingsWithResponse(ctx context.Context, athleteId string, body CreateSettingsJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateSettingsResp, error)
func (*ClientWithResponses) CreateSharedEventWithBodyWithResponse ¶
func (c *ClientWithResponses) CreateSharedEventWithBodyWithResponse(ctx context.Context, params *CreateSharedEventParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateSharedEventResp, error)
CreateSharedEventWithBodyWithResponse request with arbitrary body returning *CreateSharedEventResp
func (*ClientWithResponses) CreateSharedEventWithResponse ¶
func (c *ClientWithResponses) CreateSharedEventWithResponse(ctx context.Context, params *CreateSharedEventParams, body CreateSharedEventJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateSharedEventResp, error)
func (*ClientWithResponses) CreateWorkoutWithBodyWithResponse ¶
func (c *ClientWithResponses) CreateWorkoutWithBodyWithResponse(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateWorkoutResp, error)
CreateWorkoutWithBodyWithResponse request with arbitrary body returning *CreateWorkoutResp
func (*ClientWithResponses) CreateWorkoutWithResponse ¶
func (c *ClientWithResponses) CreateWorkoutWithResponse(ctx context.Context, id string, body CreateWorkoutJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateWorkoutResp, error)
func (*ClientWithResponses) DeleteActivityWithResponse ¶
func (c *ClientWithResponses) DeleteActivityWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*DeleteActivityResp, error)
DeleteActivityWithResponse request returning *DeleteActivityResp
func (*ClientWithResponses) DeleteCustomItemWithResponse ¶
func (c *ClientWithResponses) DeleteCustomItemWithResponse(ctx context.Context, id string, itemId int32, reqEditors ...RequestEditorFn) (*DeleteCustomItemResp, error)
DeleteCustomItemWithResponse request returning *DeleteCustomItemResp
func (*ClientWithResponses) DeleteEventWithResponse ¶
func (c *ClientWithResponses) DeleteEventWithResponse(ctx context.Context, id string, eventId int32, params *DeleteEventParams, reqEditors ...RequestEditorFn) (*DeleteEventResp, error)
DeleteEventWithResponse request returning *DeleteEventResp
func (*ClientWithResponses) DeleteEventsBulkWithBodyWithResponse ¶
func (c *ClientWithResponses) DeleteEventsBulkWithBodyWithResponse(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DeleteEventsBulkResp, error)
DeleteEventsBulkWithBodyWithResponse request with arbitrary body returning *DeleteEventsBulkResp
func (*ClientWithResponses) DeleteEventsBulkWithResponse ¶
func (c *ClientWithResponses) DeleteEventsBulkWithResponse(ctx context.Context, id string, body DeleteEventsBulkJSONRequestBody, reqEditors ...RequestEditorFn) (*DeleteEventsBulkResp, error)
func (*ClientWithResponses) DeleteEventsWithResponse ¶
func (c *ClientWithResponses) DeleteEventsWithResponse(ctx context.Context, id string, params *DeleteEventsParams, reqEditors ...RequestEditorFn) (*DeleteEventsResp, error)
DeleteEventsWithResponse request returning *DeleteEventsResp
func (*ClientWithResponses) DeleteFolderWithResponse ¶
func (c *ClientWithResponses) DeleteFolderWithResponse(ctx context.Context, id string, folderId int32, reqEditors ...RequestEditorFn) (*DeleteFolderResp, error)
DeleteFolderWithResponse request returning *DeleteFolderResp
func (*ClientWithResponses) DeleteGearWithResponse ¶
func (c *ClientWithResponses) DeleteGearWithResponse(ctx context.Context, id string, gearId string, reqEditors ...RequestEditorFn) (*DeleteGearResp, error)
DeleteGearWithResponse request returning *DeleteGearResp
func (*ClientWithResponses) DeleteIntervalsWithBodyWithResponse ¶
func (c *ClientWithResponses) DeleteIntervalsWithBodyWithResponse(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DeleteIntervalsResp, error)
DeleteIntervalsWithBodyWithResponse request with arbitrary body returning *DeleteIntervalsResp
func (*ClientWithResponses) DeleteIntervalsWithResponse ¶
func (c *ClientWithResponses) DeleteIntervalsWithResponse(ctx context.Context, id string, body DeleteIntervalsJSONRequestBody, reqEditors ...RequestEditorFn) (*DeleteIntervalsResp, error)
func (*ClientWithResponses) DeleteMessageWithResponse ¶
func (c *ClientWithResponses) DeleteMessageWithResponse(ctx context.Context, id int32, msgId int64, reqEditors ...RequestEditorFn) (*DeleteMessageResp, error)
DeleteMessageWithResponse request returning *DeleteMessageResp
func (*ClientWithResponses) DeleteReminderWithResponse ¶
func (c *ClientWithResponses) DeleteReminderWithResponse(ctx context.Context, id string, gearId string, reminderId int32, reqEditors ...RequestEditorFn) (*DeleteReminderResp, error)
DeleteReminderWithResponse request returning *DeleteReminderResp
func (*ClientWithResponses) DeleteSettingsWithResponse ¶
func (c *ClientWithResponses) DeleteSettingsWithResponse(ctx context.Context, athleteId string, id int32, reqEditors ...RequestEditorFn) (*DeleteSettingsResp, error)
DeleteSettingsWithResponse request returning *DeleteSettingsResp
func (*ClientWithResponses) DeleteSharedEventWithResponse ¶
func (c *ClientWithResponses) DeleteSharedEventWithResponse(ctx context.Context, id int32, reqEditors ...RequestEditorFn) (*DeleteSharedEventResp, error)
DeleteSharedEventWithResponse request returning *DeleteSharedEventResp
func (*ClientWithResponses) DeleteWorkoutWithResponse ¶
func (c *ClientWithResponses) DeleteWorkoutWithResponse(ctx context.Context, id string, workoutId int32, params *DeleteWorkoutParams, reqEditors ...RequestEditorFn) (*DeleteWorkoutResp, error)
DeleteWorkoutWithResponse request returning *DeleteWorkoutResp
func (*ClientWithResponses) DisconnectAppWithResponse ¶
func (c *ClientWithResponses) DisconnectAppWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*DisconnectAppResp, error)
DisconnectAppWithResponse request returning *DisconnectAppResp
func (*ClientWithResponses) DownloadActivitiesAsCSVWithResponse ¶
func (c *ClientWithResponses) DownloadActivitiesAsCSVWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*DownloadActivitiesAsCSVResp, error)
DownloadActivitiesAsCSVWithResponse request returning *DownloadActivitiesAsCSVResp
func (*ClientWithResponses) DownloadActivityFileWithResponse ¶
func (c *ClientWithResponses) DownloadActivityFileWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*DownloadActivityFileResp, error)
DownloadActivityFileWithResponse request returning *DownloadActivityFileResp
func (*ClientWithResponses) DownloadActivityFitFileWithResponse ¶
func (c *ClientWithResponses) DownloadActivityFitFileWithResponse(ctx context.Context, id string, params *DownloadActivityFitFileParams, reqEditors ...RequestEditorFn) (*DownloadActivityFitFileResp, error)
DownloadActivityFitFileWithResponse request returning *DownloadActivityFitFileResp
func (*ClientWithResponses) DownloadActivityFitFilesWithResponse ¶
func (c *ClientWithResponses) DownloadActivityFitFilesWithResponse(ctx context.Context, id string, params *DownloadActivityFitFilesParams, reqEditors ...RequestEditorFn) (*DownloadActivityFitFilesResp, error)
DownloadActivityFitFilesWithResponse request returning *DownloadActivityFitFilesResp
func (*ClientWithResponses) DownloadActivityGpxFileWithResponse ¶
func (c *ClientWithResponses) DownloadActivityGpxFileWithResponse(ctx context.Context, id string, params *DownloadActivityGpxFileParams, reqEditors ...RequestEditorFn) (*DownloadActivityGpxFileResp, error)
DownloadActivityGpxFileWithResponse request returning *DownloadActivityGpxFileResp
func (*ClientWithResponses) DownloadWorkout1WithResponse ¶
func (c *ClientWithResponses) DownloadWorkout1WithResponse(ctx context.Context, id string, eventId int32, ext string, reqEditors ...RequestEditorFn) (*DownloadWorkout1Resp, error)
DownloadWorkout1WithResponse request returning *DownloadWorkout1Resp
func (*ClientWithResponses) DownloadWorkoutForAthleteWithBodyWithResponse ¶
func (c *ClientWithResponses) DownloadWorkoutForAthleteWithBodyWithResponse(ctx context.Context, id string, ext string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DownloadWorkoutForAthleteResp, error)
DownloadWorkoutForAthleteWithBodyWithResponse request with arbitrary body returning *DownloadWorkoutForAthleteResp
func (*ClientWithResponses) DownloadWorkoutForAthleteWithResponse ¶
func (c *ClientWithResponses) DownloadWorkoutForAthleteWithResponse(ctx context.Context, id string, ext string, body DownloadWorkoutForAthleteJSONRequestBody, reqEditors ...RequestEditorFn) (*DownloadWorkoutForAthleteResp, error)
func (*ClientWithResponses) DownloadWorkoutWithBodyWithResponse ¶
func (c *ClientWithResponses) DownloadWorkoutWithBodyWithResponse(ctx context.Context, ext string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DownloadWorkoutResp, error)
DownloadWorkoutWithBodyWithResponse request with arbitrary body returning *DownloadWorkoutResp
func (*ClientWithResponses) DownloadWorkoutWithResponse ¶
func (c *ClientWithResponses) DownloadWorkoutWithResponse(ctx context.Context, ext string, body DownloadWorkoutJSONRequestBody, reqEditors ...RequestEditorFn) (*DownloadWorkoutResp, error)
func (*ClientWithResponses) DownloadWorkoutsWithResponse ¶
func (c *ClientWithResponses) DownloadWorkoutsWithResponse(ctx context.Context, id string, params *DownloadWorkoutsParams, reqEditors ...RequestEditorFn) (*DownloadWorkoutsResp, error)
DownloadWorkoutsWithResponse request returning *DownloadWorkoutsResp
func (*ClientWithResponses) DuplicateEventsWithBodyWithResponse ¶
func (c *ClientWithResponses) DuplicateEventsWithBodyWithResponse(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DuplicateEventsResp, error)
DuplicateEventsWithBodyWithResponse request with arbitrary body returning *DuplicateEventsResp
func (*ClientWithResponses) DuplicateEventsWithResponse ¶
func (c *ClientWithResponses) DuplicateEventsWithResponse(ctx context.Context, id string, body DuplicateEventsJSONRequestBody, reqEditors ...RequestEditorFn) (*DuplicateEventsResp, error)
func (*ClientWithResponses) DuplicateWorkoutsWithBodyWithResponse ¶
func (c *ClientWithResponses) DuplicateWorkoutsWithBodyWithResponse(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DuplicateWorkoutsResp, error)
DuplicateWorkoutsWithBodyWithResponse request with arbitrary body returning *DuplicateWorkoutsResp
func (*ClientWithResponses) DuplicateWorkoutsWithResponse ¶
func (c *ClientWithResponses) DuplicateWorkoutsWithResponse(ctx context.Context, id string, body DuplicateWorkoutsJSONRequestBody, reqEditors ...RequestEditorFn) (*DuplicateWorkoutsResp, error)
func (*ClientWithResponses) FindBestEffortsWithResponse ¶
func (c *ClientWithResponses) FindBestEffortsWithResponse(ctx context.Context, id string, params *FindBestEffortsParams, reqEditors ...RequestEditorFn) (*FindBestEffortsResp, error)
FindBestEffortsWithResponse request returning *FindBestEffortsResp
func (*ClientWithResponses) GetActivitiesWithResponse ¶
func (c *ClientWithResponses) GetActivitiesWithResponse(ctx context.Context, athleteId string, ids []string, params *GetActivitiesParams, reqEditors ...RequestEditorFn) (*GetActivitiesResp, error)
GetActivitiesWithResponse request returning *GetActivitiesResp
func (*ClientWithResponses) GetActivityHRCurveWithResponse ¶
func (c *ClientWithResponses) GetActivityHRCurveWithResponse(ctx context.Context, id string, ext string, reqEditors ...RequestEditorFn) (*GetActivityHRCurveResp, error)
GetActivityHRCurveWithResponse request returning *GetActivityHRCurveResp
func (*ClientWithResponses) GetActivityMapWithResponse ¶
func (c *ClientWithResponses) GetActivityMapWithResponse(ctx context.Context, id string, params *GetActivityMapParams, reqEditors ...RequestEditorFn) (*GetActivityMapResp, error)
GetActivityMapWithResponse request returning *GetActivityMapResp
func (*ClientWithResponses) GetActivityPaceCurveWithResponse ¶
func (c *ClientWithResponses) GetActivityPaceCurveWithResponse(ctx context.Context, id string, ext string, params *GetActivityPaceCurveParams, reqEditors ...RequestEditorFn) (*GetActivityPaceCurveResp, error)
GetActivityPaceCurveWithResponse request returning *GetActivityPaceCurveResp
func (*ClientWithResponses) GetActivityPowerCurveWithResponse ¶
func (c *ClientWithResponses) GetActivityPowerCurveWithResponse(ctx context.Context, id string, ext string, params *GetActivityPowerCurveParams, reqEditors ...RequestEditorFn) (*GetActivityPowerCurveResp, error)
GetActivityPowerCurveWithResponse request returning *GetActivityPowerCurveResp
func (*ClientWithResponses) GetActivityPowerSpikeModelWithResponse ¶
func (c *ClientWithResponses) GetActivityPowerSpikeModelWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*GetActivityPowerSpikeModelResp, error)
GetActivityPowerSpikeModelWithResponse request returning *GetActivityPowerSpikeModelResp
func (*ClientWithResponses) GetActivitySegmentsWithResponse ¶
func (c *ClientWithResponses) GetActivitySegmentsWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*GetActivitySegmentsResp, error)
GetActivitySegmentsWithResponse request returning *GetActivitySegmentsResp
func (*ClientWithResponses) GetActivityStreamsWithResponse ¶
func (c *ClientWithResponses) GetActivityStreamsWithResponse(ctx context.Context, id string, ext string, params *GetActivityStreamsParams, reqEditors ...RequestEditorFn) (*GetActivityStreamsResp, error)
GetActivityStreamsWithResponse request returning *GetActivityStreamsResp
func (*ClientWithResponses) GetActivityWeatherSummaryWithResponse ¶
func (c *ClientWithResponses) GetActivityWeatherSummaryWithResponse(ctx context.Context, id string, params *GetActivityWeatherSummaryParams, reqEditors ...RequestEditorFn) (*GetActivityWeatherSummaryResp, error)
GetActivityWeatherSummaryWithResponse request returning *GetActivityWeatherSummaryResp
func (*ClientWithResponses) GetActivityWithResponse ¶
func (c *ClientWithResponses) GetActivityWithResponse(ctx context.Context, id string, params *GetActivityParams, reqEditors ...RequestEditorFn) (*GetActivityResp, error)
GetActivityWithResponse request returning *GetActivityResp
func (*ClientWithResponses) GetAthleteMMPModelWithResponse ¶
func (c *ClientWithResponses) GetAthleteMMPModelWithResponse(ctx context.Context, id string, params *GetAthleteMMPModelParams, reqEditors ...RequestEditorFn) (*GetAthleteMMPModelResp, error)
GetAthleteMMPModelWithResponse request returning *GetAthleteMMPModelResp
func (*ClientWithResponses) GetAthleteProfileWithResponse ¶
func (c *ClientWithResponses) GetAthleteProfileWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*GetAthleteProfileResp, error)
GetAthleteProfileWithResponse request returning *GetAthleteProfileResp
func (*ClientWithResponses) GetAthleteRouteWithResponse ¶
func (c *ClientWithResponses) GetAthleteRouteWithResponse(ctx context.Context, id string, routeId int64, params *GetAthleteRouteParams, reqEditors ...RequestEditorFn) (*GetAthleteRouteResp, error)
GetAthleteRouteWithResponse request returning *GetAthleteRouteResp
func (*ClientWithResponses) GetAthleteSummaryWithResponse ¶
func (c *ClientWithResponses) GetAthleteSummaryWithResponse(ctx context.Context, id string, ext string, params *GetAthleteSummaryParams, reqEditors ...RequestEditorFn) (*GetAthleteSummaryResp, error)
GetAthleteSummaryWithResponse request returning *GetAthleteSummaryResp
func (*ClientWithResponses) GetAthleteTrainingPlanWithResponse ¶
func (c *ClientWithResponses) GetAthleteTrainingPlanWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*GetAthleteTrainingPlanResp, error)
GetAthleteTrainingPlanWithResponse request returning *GetAthleteTrainingPlanResp
func (*ClientWithResponses) GetAthleteWithResponse ¶
func (c *ClientWithResponses) GetAthleteWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*GetAthleteResp, error)
GetAthleteWithResponse request returning *GetAthleteResp
func (*ClientWithResponses) GetCustomItemWithResponse ¶
func (c *ClientWithResponses) GetCustomItemWithResponse(ctx context.Context, id string, itemId int32, reqEditors ...RequestEditorFn) (*GetCustomItemResp, error)
GetCustomItemWithResponse request returning *GetCustomItemResp
func (*ClientWithResponses) GetForecastWithResponse ¶
func (c *ClientWithResponses) GetForecastWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*GetForecastResp, error)
GetForecastWithResponse request returning *GetForecastResp
func (*ClientWithResponses) GetGapHistogramWithResponse ¶
func (c *ClientWithResponses) GetGapHistogramWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*GetGapHistogramResp, error)
GetGapHistogramWithResponse request returning *GetGapHistogramResp
func (*ClientWithResponses) GetHRHistogramWithResponse ¶
func (c *ClientWithResponses) GetHRHistogramWithResponse(ctx context.Context, id string, params *GetHRHistogramParams, reqEditors ...RequestEditorFn) (*GetHRHistogramResp, error)
GetHRHistogramWithResponse request returning *GetHRHistogramResp
func (*ClientWithResponses) GetHRTrainingLoadModelWithResponse ¶
func (c *ClientWithResponses) GetHRTrainingLoadModelWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*GetHRTrainingLoadModelResp, error)
GetHRTrainingLoadModelWithResponse request returning *GetHRTrainingLoadModelResp
func (*ClientWithResponses) GetIntervalStatsWithResponse ¶
func (c *ClientWithResponses) GetIntervalStatsWithResponse(ctx context.Context, id string, params *GetIntervalStatsParams, reqEditors ...RequestEditorFn) (*GetIntervalStatsResp, error)
GetIntervalStatsWithResponse request returning *GetIntervalStatsResp
func (*ClientWithResponses) GetIntervalsWithResponse ¶
func (c *ClientWithResponses) GetIntervalsWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*GetIntervalsResp, error)
GetIntervalsWithResponse request returning *GetIntervalsResp
func (*ClientWithResponses) GetPaceHistogramWithResponse ¶
func (c *ClientWithResponses) GetPaceHistogramWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*GetPaceHistogramResp, error)
GetPaceHistogramWithResponse request returning *GetPaceHistogramResp
func (*ClientWithResponses) GetPowerHRCurveWithResponse ¶
func (c *ClientWithResponses) GetPowerHRCurveWithResponse(ctx context.Context, id string, params *GetPowerHRCurveParams, reqEditors ...RequestEditorFn) (*GetPowerHRCurveResp, error)
GetPowerHRCurveWithResponse request returning *GetPowerHRCurveResp
func (*ClientWithResponses) GetPowerHistogramWithResponse ¶
func (c *ClientWithResponses) GetPowerHistogramWithResponse(ctx context.Context, id string, params *GetPowerHistogramParams, reqEditors ...RequestEditorFn) (*GetPowerHistogramResp, error)
GetPowerHistogramWithResponse request returning *GetPowerHistogramResp
func (*ClientWithResponses) GetPowerVsHRWithResponse ¶
func (c *ClientWithResponses) GetPowerVsHRWithResponse(ctx context.Context, id string, ext string, reqEditors ...RequestEditorFn) (*GetPowerVsHRResp, error)
GetPowerVsHRWithResponse request returning *GetPowerVsHRResp
func (*ClientWithResponses) GetRecordWithResponse ¶
func (c *ClientWithResponses) GetRecordWithResponse(ctx context.Context, id string, date string, reqEditors ...RequestEditorFn) (*GetRecordResp, error)
GetRecordWithResponse request returning *GetRecordResp
func (*ClientWithResponses) GetSettings1WithResponse ¶
func (c *ClientWithResponses) GetSettings1WithResponse(ctx context.Context, athleteId string, id string, reqEditors ...RequestEditorFn) (*GetSettings1Resp, error)
GetSettings1WithResponse request returning *GetSettings1Resp
func (*ClientWithResponses) GetSettingsWithResponse ¶
func (c *ClientWithResponses) GetSettingsWithResponse(ctx context.Context, id string, deviceClass string, reqEditors ...RequestEditorFn) (*GetSettingsResp, error)
GetSettingsWithResponse request returning *GetSettingsResp
func (*ClientWithResponses) GetSharedEventWithResponse ¶
func (c *ClientWithResponses) GetSharedEventWithResponse(ctx context.Context, id int32, reqEditors ...RequestEditorFn) (*GetSharedEventResp, error)
GetSharedEventWithResponse request returning *GetSharedEventResp
func (*ClientWithResponses) GetTimeAtHRWithResponse ¶
func (c *ClientWithResponses) GetTimeAtHRWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*GetTimeAtHRResp, error)
GetTimeAtHRWithResponse request returning *GetTimeAtHRResp
func (*ClientWithResponses) GetWeatherConfigWithResponse ¶
func (c *ClientWithResponses) GetWeatherConfigWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*GetWeatherConfigResp, error)
GetWeatherConfigWithResponse request returning *GetWeatherConfigResp
func (*ClientWithResponses) ImportWorkoutFileWithBodyWithResponse ¶
func (c *ClientWithResponses) ImportWorkoutFileWithBodyWithResponse(ctx context.Context, id string, folderId int32, params *ImportWorkoutFileParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ImportWorkoutFileResp, error)
ImportWorkoutFileWithBodyWithResponse request with arbitrary body returning *ImportWorkoutFileResp
func (*ClientWithResponses) ImportWorkoutFileWithResponse ¶
func (c *ClientWithResponses) ImportWorkoutFileWithResponse(ctx context.Context, id string, folderId int32, params *ImportWorkoutFileParams, body ImportWorkoutFileJSONRequestBody, reqEditors ...RequestEditorFn) (*ImportWorkoutFileResp, error)
func (*ClientWithResponses) ListActivitiesAroundWithResponse ¶
func (c *ClientWithResponses) ListActivitiesAroundWithResponse(ctx context.Context, id string, params *ListActivitiesAroundParams, reqEditors ...RequestEditorFn) (*ListActivitiesAroundResp, error)
ListActivitiesAroundWithResponse request returning *ListActivitiesAroundResp
func (*ClientWithResponses) ListActivitiesWithResponse ¶
func (c *ClientWithResponses) ListActivitiesWithResponse(ctx context.Context, id string, params *ListActivitiesParams, reqEditors ...RequestEditorFn) (*ListActivitiesResp, error)
ListActivitiesWithResponse request returning *ListActivitiesResp
func (*ClientWithResponses) ListActivityHRCurvesWithResponse ¶
func (c *ClientWithResponses) ListActivityHRCurvesWithResponse(ctx context.Context, id string, ext string, params *ListActivityHRCurvesParams, reqEditors ...RequestEditorFn) (*ListActivityHRCurvesResp, error)
ListActivityHRCurvesWithResponse request returning *ListActivityHRCurvesResp
func (*ClientWithResponses) ListActivityMessagesWithResponse ¶
func (c *ClientWithResponses) ListActivityMessagesWithResponse(ctx context.Context, id string, params *ListActivityMessagesParams, reqEditors ...RequestEditorFn) (*ListActivityMessagesResp, error)
ListActivityMessagesWithResponse request returning *ListActivityMessagesResp
func (*ClientWithResponses) ListActivityPaceCurvesWithResponse ¶
func (c *ClientWithResponses) ListActivityPaceCurvesWithResponse(ctx context.Context, id string, ext string, params *ListActivityPaceCurvesParams, reqEditors ...RequestEditorFn) (*ListActivityPaceCurvesResp, error)
ListActivityPaceCurvesWithResponse request returning *ListActivityPaceCurvesResp
func (*ClientWithResponses) ListActivityPowerCurves1WithResponse ¶
func (c *ClientWithResponses) ListActivityPowerCurves1WithResponse(ctx context.Context, id string, ext string, params *ListActivityPowerCurves1Params, reqEditors ...RequestEditorFn) (*ListActivityPowerCurves1Resp, error)
ListActivityPowerCurves1WithResponse request returning *ListActivityPowerCurves1Resp
func (*ClientWithResponses) ListActivityPowerCurvesWithResponse ¶
func (c *ClientWithResponses) ListActivityPowerCurvesWithResponse(ctx context.Context, id string, ext string, params *ListActivityPowerCurvesParams, reqEditors ...RequestEditorFn) (*ListActivityPowerCurvesResp, error)
ListActivityPowerCurvesWithResponse request returning *ListActivityPowerCurvesResp
func (*ClientWithResponses) ListAthleteHRCurvesWithResponse ¶
func (c *ClientWithResponses) ListAthleteHRCurvesWithResponse(ctx context.Context, id string, ext string, params *ListAthleteHRCurvesParams, reqEditors ...RequestEditorFn) (*ListAthleteHRCurvesResp, error)
ListAthleteHRCurvesWithResponse request returning *ListAthleteHRCurvesResp
func (*ClientWithResponses) ListAthletePaceCurvesWithResponse ¶
func (c *ClientWithResponses) ListAthletePaceCurvesWithResponse(ctx context.Context, id string, ext string, params *ListAthletePaceCurvesParams, reqEditors ...RequestEditorFn) (*ListAthletePaceCurvesResp, error)
ListAthletePaceCurvesWithResponse request returning *ListAthletePaceCurvesResp
func (*ClientWithResponses) ListAthletePowerCurvesWithResponse ¶
func (c *ClientWithResponses) ListAthletePowerCurvesWithResponse(ctx context.Context, id string, ext string, params *ListAthletePowerCurvesParams, reqEditors ...RequestEditorFn) (*ListAthletePowerCurvesResp, error)
ListAthletePowerCurvesWithResponse request returning *ListAthletePowerCurvesResp
func (*ClientWithResponses) ListAthleteRoutesWithResponse ¶
func (c *ClientWithResponses) ListAthleteRoutesWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*ListAthleteRoutesResp, error)
ListAthleteRoutesWithResponse request returning *ListAthleteRoutesResp
func (*ClientWithResponses) ListChatsWithResponse ¶
func (c *ClientWithResponses) ListChatsWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*ListChatsResp, error)
ListChatsWithResponse request returning *ListChatsResp
func (*ClientWithResponses) ListCustomItemsWithResponse ¶
func (c *ClientWithResponses) ListCustomItemsWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*ListCustomItemsResp, error)
ListCustomItemsWithResponse request returning *ListCustomItemsResp
func (*ClientWithResponses) ListEventsWithResponse ¶
func (c *ClientWithResponses) ListEventsWithResponse(ctx context.Context, id string, format string, params *ListEventsParams, reqEditors ...RequestEditorFn) (*ListEventsResp, error)
ListEventsWithResponse request returning *ListEventsResp
func (*ClientWithResponses) ListFitnessModelEventsWithResponse ¶
func (c *ClientWithResponses) ListFitnessModelEventsWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*ListFitnessModelEventsResp, error)
ListFitnessModelEventsWithResponse request returning *ListFitnessModelEventsResp
func (*ClientWithResponses) ListFolderSharedWithWithResponse ¶
func (c *ClientWithResponses) ListFolderSharedWithWithResponse(ctx context.Context, id string, folderId int32, reqEditors ...RequestEditorFn) (*ListFolderSharedWithResp, error)
ListFolderSharedWithWithResponse request returning *ListFolderSharedWithResp
func (*ClientWithResponses) ListFoldersWithResponse ¶
func (c *ClientWithResponses) ListFoldersWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*ListFoldersResp, error)
ListFoldersWithResponse request returning *ListFoldersResp
func (*ClientWithResponses) ListGearWithResponse ¶
func (c *ClientWithResponses) ListGearWithResponse(ctx context.Context, id string, ext string, reqEditors ...RequestEditorFn) (*ListGearResp, error)
ListGearWithResponse request returning *ListGearResp
func (*ClientWithResponses) ListMatchingActivitiesWithResponse ¶
func (c *ClientWithResponses) ListMatchingActivitiesWithResponse(ctx context.Context, athleteId string, id string, reqEditors ...RequestEditorFn) (*ListMatchingActivitiesResp, error)
ListMatchingActivitiesWithResponse request returning *ListMatchingActivitiesResp
func (*ClientWithResponses) ListMessagesWithResponse ¶
func (c *ClientWithResponses) ListMessagesWithResponse(ctx context.Context, id int32, params *ListMessagesParams, reqEditors ...RequestEditorFn) (*ListMessagesResp, error)
ListMessagesWithResponse request returning *ListMessagesResp
func (*ClientWithResponses) ListPaceDistancesForSportWithResponse ¶
func (c *ClientWithResponses) ListPaceDistancesForSportWithResponse(ctx context.Context, athleteId string, id string, reqEditors ...RequestEditorFn) (*ListPaceDistancesForSportResp, error)
ListPaceDistancesForSportWithResponse request returning *ListPaceDistancesForSportResp
func (*ClientWithResponses) ListPaceDistancesWithResponse ¶
func (c *ClientWithResponses) ListPaceDistancesWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*ListPaceDistancesResp, error)
ListPaceDistancesWithResponse request returning *ListPaceDistancesResp
func (*ClientWithResponses) ListSettingsWithResponse ¶
func (c *ClientWithResponses) ListSettingsWithResponse(ctx context.Context, athleteId string, reqEditors ...RequestEditorFn) (*ListSettingsResp, error)
ListSettingsWithResponse request returning *ListSettingsResp
func (*ClientWithResponses) ListTags1WithResponse ¶
func (c *ClientWithResponses) ListTags1WithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*ListTags1Resp, error)
ListTags1WithResponse request returning *ListTags1Resp
func (*ClientWithResponses) ListTags2WithResponse ¶
func (c *ClientWithResponses) ListTags2WithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*ListTags2Resp, error)
ListTags2WithResponse request returning *ListTags2Resp
func (*ClientWithResponses) ListTagsWithResponse ¶
func (c *ClientWithResponses) ListTagsWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*ListTagsResp, error)
ListTagsWithResponse request returning *ListTagsResp
func (*ClientWithResponses) ListWellnessRecordsWithResponse ¶
func (c *ClientWithResponses) ListWellnessRecordsWithResponse(ctx context.Context, id string, ext string, params *ListWellnessRecordsParams, reqEditors ...RequestEditorFn) (*ListWellnessRecordsResp, error)
ListWellnessRecordsWithResponse request returning *ListWellnessRecordsResp
func (*ClientWithResponses) ListWorkoutsWithResponse ¶
func (c *ClientWithResponses) ListWorkoutsWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*ListWorkoutsResp, error)
ListWorkoutsWithResponse request returning *ListWorkoutsResp
func (*ClientWithResponses) MarkEventAsDoneWithResponse ¶
func (c *ClientWithResponses) MarkEventAsDoneWithResponse(ctx context.Context, id string, eventId int32, reqEditors ...RequestEditorFn) (*MarkEventAsDoneResp, error)
MarkEventAsDoneWithResponse request returning *MarkEventAsDoneResp
func (*ClientWithResponses) ReplaceGearWithBodyWithResponse ¶
func (c *ClientWithResponses) ReplaceGearWithBodyWithResponse(ctx context.Context, id string, gearId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ReplaceGearResp, error)
ReplaceGearWithBodyWithResponse request with arbitrary body returning *ReplaceGearResp
func (*ClientWithResponses) ReplaceGearWithResponse ¶
func (c *ClientWithResponses) ReplaceGearWithResponse(ctx context.Context, id string, gearId string, body ReplaceGearJSONRequestBody, reqEditors ...RequestEditorFn) (*ReplaceGearResp, error)
func (*ClientWithResponses) SearchForActivitiesFullWithResponse ¶
func (c *ClientWithResponses) SearchForActivitiesFullWithResponse(ctx context.Context, id string, params *SearchForActivitiesFullParams, reqEditors ...RequestEditorFn) (*SearchForActivitiesFullResp, error)
SearchForActivitiesFullWithResponse request returning *SearchForActivitiesFullResp
func (*ClientWithResponses) SearchForActivitiesWithResponse ¶
func (c *ClientWithResponses) SearchForActivitiesWithResponse(ctx context.Context, id string, params *SearchForActivitiesParams, reqEditors ...RequestEditorFn) (*SearchForActivitiesResp, error)
SearchForActivitiesWithResponse request returning *SearchForActivitiesResp
func (*ClientWithResponses) SearchForIntervalsWithResponse ¶
func (c *ClientWithResponses) SearchForIntervalsWithResponse(ctx context.Context, id string, params *SearchForIntervalsParams, reqEditors ...RequestEditorFn) (*SearchForIntervalsResp, error)
SearchForIntervalsWithResponse request returning *SearchForIntervalsResp
func (*ClientWithResponses) SendActivityMessageWithBodyWithResponse ¶
func (c *ClientWithResponses) SendActivityMessageWithBodyWithResponse(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*SendActivityMessageResp, error)
SendActivityMessageWithBodyWithResponse request with arbitrary body returning *SendActivityMessageResp
func (*ClientWithResponses) SendActivityMessageWithResponse ¶
func (c *ClientWithResponses) SendActivityMessageWithResponse(ctx context.Context, id string, body SendActivityMessageJSONRequestBody, reqEditors ...RequestEditorFn) (*SendActivityMessageResp, error)
func (*ClientWithResponses) SendMessageWithBodyWithResponse ¶
func (c *ClientWithResponses) SendMessageWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*SendMessageResp, error)
SendMessageWithBodyWithResponse request with arbitrary body returning *SendMessageResp
func (*ClientWithResponses) SendMessageWithResponse ¶
func (c *ClientWithResponses) SendMessageWithResponse(ctx context.Context, body SendMessageJSONRequestBody, reqEditors ...RequestEditorFn) (*SendMessageResp, error)
func (*ClientWithResponses) ShowChatWithResponse ¶
func (c *ClientWithResponses) ShowChatWithResponse(ctx context.Context, id int32, reqEditors ...RequestEditorFn) (*ShowChatResp, error)
ShowChatWithResponse request returning *ShowChatResp
func (*ClientWithResponses) ShowEventWithResponse ¶
func (c *ClientWithResponses) ShowEventWithResponse(ctx context.Context, id string, eventId int32, reqEditors ...RequestEditorFn) (*ShowEventResp, error)
ShowEventWithResponse request returning *ShowEventResp
func (*ClientWithResponses) ShowWorkoutWithResponse ¶
func (c *ClientWithResponses) ShowWorkoutWithResponse(ctx context.Context, id string, workoutId int32, reqEditors ...RequestEditorFn) (*ShowWorkoutResp, error)
ShowWorkoutWithResponse request returning *ShowWorkoutResp
func (*ClientWithResponses) SplitIntervalWithResponse ¶
func (c *ClientWithResponses) SplitIntervalWithResponse(ctx context.Context, id string, params *SplitIntervalParams, reqEditors ...RequestEditorFn) (*SplitIntervalResp, error)
SplitIntervalWithResponse request returning *SplitIntervalResp
func (*ClientWithResponses) UpdateActivityStreamsWithBodyWithResponse ¶
func (c *ClientWithResponses) UpdateActivityStreamsWithBodyWithResponse(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateActivityStreamsResp, error)
UpdateActivityStreamsWithBodyWithResponse request with arbitrary body returning *UpdateActivityStreamsResp
func (*ClientWithResponses) UpdateActivityStreamsWithResponse ¶
func (c *ClientWithResponses) UpdateActivityStreamsWithResponse(ctx context.Context, id string, body UpdateActivityStreamsJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateActivityStreamsResp, error)
func (*ClientWithResponses) UpdateActivityWithBodyWithResponse ¶
func (c *ClientWithResponses) UpdateActivityWithBodyWithResponse(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateActivityResp, error)
UpdateActivityWithBodyWithResponse request with arbitrary body returning *UpdateActivityResp
func (*ClientWithResponses) UpdateActivityWithResponse ¶
func (c *ClientWithResponses) UpdateActivityWithResponse(ctx context.Context, id string, body UpdateActivityJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateActivityResp, error)
func (*ClientWithResponses) UpdateAthletePlanWithBodyWithResponse ¶
func (c *ClientWithResponses) UpdateAthletePlanWithBodyWithResponse(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateAthletePlanResp, error)
UpdateAthletePlanWithBodyWithResponse request with arbitrary body returning *UpdateAthletePlanResp
func (*ClientWithResponses) UpdateAthletePlanWithResponse ¶
func (c *ClientWithResponses) UpdateAthletePlanWithResponse(ctx context.Context, id string, body UpdateAthletePlanJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateAthletePlanResp, error)
func (*ClientWithResponses) UpdateAthletePlansWithBodyWithResponse ¶
func (c *ClientWithResponses) UpdateAthletePlansWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateAthletePlansResp, error)
UpdateAthletePlansWithBodyWithResponse request with arbitrary body returning *UpdateAthletePlansResp
func (*ClientWithResponses) UpdateAthletePlansWithResponse ¶
func (c *ClientWithResponses) UpdateAthletePlansWithResponse(ctx context.Context, body UpdateAthletePlansJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateAthletePlansResp, error)
func (*ClientWithResponses) UpdateAthleteRouteWithBodyWithResponse ¶
func (c *ClientWithResponses) UpdateAthleteRouteWithBodyWithResponse(ctx context.Context, id string, routeId int64, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateAthleteRouteResp, error)
UpdateAthleteRouteWithBodyWithResponse request with arbitrary body returning *UpdateAthleteRouteResp
func (*ClientWithResponses) UpdateAthleteRouteWithResponse ¶
func (c *ClientWithResponses) UpdateAthleteRouteWithResponse(ctx context.Context, id string, routeId int64, body UpdateAthleteRouteJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateAthleteRouteResp, error)
func (*ClientWithResponses) UpdateAthleteWithBodyWithResponse ¶
func (c *ClientWithResponses) UpdateAthleteWithBodyWithResponse(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateAthleteResp, error)
UpdateAthleteWithBodyWithResponse request with arbitrary body returning *UpdateAthleteResp
func (*ClientWithResponses) UpdateAthleteWithResponse ¶
func (c *ClientWithResponses) UpdateAthleteWithResponse(ctx context.Context, id string, body UpdateAthleteJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateAthleteResp, error)
func (*ClientWithResponses) UpdateCustomItemImageWithBodyWithResponse ¶
func (c *ClientWithResponses) UpdateCustomItemImageWithBodyWithResponse(ctx context.Context, id string, itemId int32, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateCustomItemImageResp, error)
UpdateCustomItemImageWithBodyWithResponse request with arbitrary body returning *UpdateCustomItemImageResp
func (*ClientWithResponses) UpdateCustomItemImageWithResponse ¶
func (c *ClientWithResponses) UpdateCustomItemImageWithResponse(ctx context.Context, id string, itemId int32, body UpdateCustomItemImageJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateCustomItemImageResp, error)
func (*ClientWithResponses) UpdateCustomItemIndexesWithBodyWithResponse ¶
func (c *ClientWithResponses) UpdateCustomItemIndexesWithBodyWithResponse(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateCustomItemIndexesResp, error)
UpdateCustomItemIndexesWithBodyWithResponse request with arbitrary body returning *UpdateCustomItemIndexesResp
func (*ClientWithResponses) UpdateCustomItemIndexesWithResponse ¶
func (c *ClientWithResponses) UpdateCustomItemIndexesWithResponse(ctx context.Context, id string, body UpdateCustomItemIndexesJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateCustomItemIndexesResp, error)
func (*ClientWithResponses) UpdateCustomItemWithBodyWithResponse ¶
func (c *ClientWithResponses) UpdateCustomItemWithBodyWithResponse(ctx context.Context, id string, itemId int32, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateCustomItemResp, error)
UpdateCustomItemWithBodyWithResponse request with arbitrary body returning *UpdateCustomItemResp
func (*ClientWithResponses) UpdateCustomItemWithResponse ¶
func (c *ClientWithResponses) UpdateCustomItemWithResponse(ctx context.Context, id string, itemId int32, body UpdateCustomItemJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateCustomItemResp, error)
func (*ClientWithResponses) UpdateEventWithBodyWithResponse ¶
func (c *ClientWithResponses) UpdateEventWithBodyWithResponse(ctx context.Context, id string, eventId int32, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateEventResp, error)
UpdateEventWithBodyWithResponse request with arbitrary body returning *UpdateEventResp
func (*ClientWithResponses) UpdateEventWithResponse ¶
func (c *ClientWithResponses) UpdateEventWithResponse(ctx context.Context, id string, eventId int32, body UpdateEventJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateEventResp, error)
func (*ClientWithResponses) UpdateEventsWithBodyWithResponse ¶
func (c *ClientWithResponses) UpdateEventsWithBodyWithResponse(ctx context.Context, id string, params *UpdateEventsParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateEventsResp, error)
UpdateEventsWithBodyWithResponse request with arbitrary body returning *UpdateEventsResp
func (*ClientWithResponses) UpdateEventsWithResponse ¶
func (c *ClientWithResponses) UpdateEventsWithResponse(ctx context.Context, id string, params *UpdateEventsParams, body UpdateEventsJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateEventsResp, error)
func (*ClientWithResponses) UpdateFolderSharedWithWithBodyWithResponse ¶
func (c *ClientWithResponses) UpdateFolderSharedWithWithBodyWithResponse(ctx context.Context, id string, folderId int32, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateFolderSharedWithResp, error)
UpdateFolderSharedWithWithBodyWithResponse request with arbitrary body returning *UpdateFolderSharedWithResp
func (*ClientWithResponses) UpdateFolderSharedWithWithResponse ¶
func (c *ClientWithResponses) UpdateFolderSharedWithWithResponse(ctx context.Context, id string, folderId int32, body UpdateFolderSharedWithJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateFolderSharedWithResp, error)
func (*ClientWithResponses) UpdateFolderWithBodyWithResponse ¶
func (c *ClientWithResponses) UpdateFolderWithBodyWithResponse(ctx context.Context, id string, folderId int32, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateFolderResp, error)
UpdateFolderWithBodyWithResponse request with arbitrary body returning *UpdateFolderResp
func (*ClientWithResponses) UpdateFolderWithResponse ¶
func (c *ClientWithResponses) UpdateFolderWithResponse(ctx context.Context, id string, folderId int32, body UpdateFolderJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateFolderResp, error)
func (*ClientWithResponses) UpdateGearWithBodyWithResponse ¶
func (c *ClientWithResponses) UpdateGearWithBodyWithResponse(ctx context.Context, id string, gearId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateGearResp, error)
UpdateGearWithBodyWithResponse request with arbitrary body returning *UpdateGearResp
func (*ClientWithResponses) UpdateGearWithResponse ¶
func (c *ClientWithResponses) UpdateGearWithResponse(ctx context.Context, id string, gearId string, body UpdateGearJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateGearResp, error)
func (*ClientWithResponses) UpdateIntervalWithBodyWithResponse ¶
func (c *ClientWithResponses) UpdateIntervalWithBodyWithResponse(ctx context.Context, id string, intervalId int32, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateIntervalResp, error)
UpdateIntervalWithBodyWithResponse request with arbitrary body returning *UpdateIntervalResp
func (*ClientWithResponses) UpdateIntervalWithResponse ¶
func (c *ClientWithResponses) UpdateIntervalWithResponse(ctx context.Context, id string, intervalId int32, body UpdateIntervalJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateIntervalResp, error)
func (*ClientWithResponses) UpdateIntervalsWithBodyWithResponse ¶
func (c *ClientWithResponses) UpdateIntervalsWithBodyWithResponse(ctx context.Context, id string, params *UpdateIntervalsParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateIntervalsResp, error)
UpdateIntervalsWithBodyWithResponse request with arbitrary body returning *UpdateIntervalsResp
func (*ClientWithResponses) UpdateIntervalsWithResponse ¶
func (c *ClientWithResponses) UpdateIntervalsWithResponse(ctx context.Context, id string, params *UpdateIntervalsParams, body UpdateIntervalsJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateIntervalsResp, error)
func (*ClientWithResponses) UpdateLastSeenMessageIdWithResponse ¶
func (c *ClientWithResponses) UpdateLastSeenMessageIdWithResponse(ctx context.Context, id int32, msgId int64, reqEditors ...RequestEditorFn) (*UpdateLastSeenMessageIdResp, error)
UpdateLastSeenMessageIdWithResponse request returning *UpdateLastSeenMessageIdResp
func (*ClientWithResponses) UpdatePlanWorkoutsWithBodyWithResponse ¶
func (c *ClientWithResponses) UpdatePlanWorkoutsWithBodyWithResponse(ctx context.Context, id string, folderId int32, params *UpdatePlanWorkoutsParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdatePlanWorkoutsResp, error)
UpdatePlanWorkoutsWithBodyWithResponse request with arbitrary body returning *UpdatePlanWorkoutsResp
func (*ClientWithResponses) UpdatePlanWorkoutsWithResponse ¶
func (c *ClientWithResponses) UpdatePlanWorkoutsWithResponse(ctx context.Context, id string, folderId int32, params *UpdatePlanWorkoutsParams, body UpdatePlanWorkoutsJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdatePlanWorkoutsResp, error)
func (*ClientWithResponses) UpdateReminderWithBodyWithResponse ¶
func (c *ClientWithResponses) UpdateReminderWithBodyWithResponse(ctx context.Context, id string, gearId string, reminderId int32, params *UpdateReminderParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateReminderResp, error)
UpdateReminderWithBodyWithResponse request with arbitrary body returning *UpdateReminderResp
func (*ClientWithResponses) UpdateReminderWithResponse ¶
func (c *ClientWithResponses) UpdateReminderWithResponse(ctx context.Context, id string, gearId string, reminderId int32, params *UpdateReminderParams, body UpdateReminderJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateReminderResp, error)
func (*ClientWithResponses) UpdateSettingsMultiWithBodyWithResponse ¶
func (c *ClientWithResponses) UpdateSettingsMultiWithBodyWithResponse(ctx context.Context, athleteId string, params *UpdateSettingsMultiParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateSettingsMultiResp, error)
UpdateSettingsMultiWithBodyWithResponse request with arbitrary body returning *UpdateSettingsMultiResp
func (*ClientWithResponses) UpdateSettingsMultiWithResponse ¶
func (c *ClientWithResponses) UpdateSettingsMultiWithResponse(ctx context.Context, athleteId string, params *UpdateSettingsMultiParams, body UpdateSettingsMultiJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateSettingsMultiResp, error)
func (*ClientWithResponses) UpdateSettingsWithBodyWithResponse ¶
func (c *ClientWithResponses) UpdateSettingsWithBodyWithResponse(ctx context.Context, athleteId string, id string, params *UpdateSettingsParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateSettingsResp, error)
UpdateSettingsWithBodyWithResponse request with arbitrary body returning *UpdateSettingsResp
func (*ClientWithResponses) UpdateSettingsWithResponse ¶
func (c *ClientWithResponses) UpdateSettingsWithResponse(ctx context.Context, athleteId string, id string, params *UpdateSettingsParams, body UpdateSettingsJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateSettingsResp, error)
func (*ClientWithResponses) UpdateSharedEventWithBodyWithResponse ¶
func (c *ClientWithResponses) UpdateSharedEventWithBodyWithResponse(ctx context.Context, id int32, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateSharedEventResp, error)
UpdateSharedEventWithBodyWithResponse request with arbitrary body returning *UpdateSharedEventResp
func (*ClientWithResponses) UpdateSharedEventWithResponse ¶
func (c *ClientWithResponses) UpdateSharedEventWithResponse(ctx context.Context, id int32, body UpdateSharedEventJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateSharedEventResp, error)
func (*ClientWithResponses) UpdateWeatherConfigWithBodyWithResponse ¶
func (c *ClientWithResponses) UpdateWeatherConfigWithBodyWithResponse(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateWeatherConfigResp, error)
UpdateWeatherConfigWithBodyWithResponse request with arbitrary body returning *UpdateWeatherConfigResp
func (*ClientWithResponses) UpdateWeatherConfigWithResponse ¶
func (c *ClientWithResponses) UpdateWeatherConfigWithResponse(ctx context.Context, id string, body UpdateWeatherConfigJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateWeatherConfigResp, error)
func (*ClientWithResponses) UpdateWellness1WithBodyWithResponse ¶
func (c *ClientWithResponses) UpdateWellness1WithBodyWithResponse(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateWellness1Resp, error)
UpdateWellness1WithBodyWithResponse request with arbitrary body returning *UpdateWellness1Resp
func (*ClientWithResponses) UpdateWellness1WithResponse ¶
func (c *ClientWithResponses) UpdateWellness1WithResponse(ctx context.Context, id string, body UpdateWellness1JSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateWellness1Resp, error)
func (*ClientWithResponses) UpdateWellnessBulkWithBodyWithResponse ¶
func (c *ClientWithResponses) UpdateWellnessBulkWithBodyWithResponse(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateWellnessBulkResp, error)
UpdateWellnessBulkWithBodyWithResponse request with arbitrary body returning *UpdateWellnessBulkResp
func (*ClientWithResponses) UpdateWellnessBulkWithResponse ¶
func (c *ClientWithResponses) UpdateWellnessBulkWithResponse(ctx context.Context, id string, body UpdateWellnessBulkJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateWellnessBulkResp, error)
func (*ClientWithResponses) UpdateWellnessWithBodyWithResponse ¶
func (c *ClientWithResponses) UpdateWellnessWithBodyWithResponse(ctx context.Context, id string, date string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateWellnessResp, error)
UpdateWellnessWithBodyWithResponse request with arbitrary body returning *UpdateWellnessResp
func (*ClientWithResponses) UpdateWellnessWithResponse ¶
func (c *ClientWithResponses) UpdateWellnessWithResponse(ctx context.Context, id string, date string, body UpdateWellnessJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateWellnessResp, error)
func (*ClientWithResponses) UpdateWorkoutWithBodyWithResponse ¶
func (c *ClientWithResponses) UpdateWorkoutWithBodyWithResponse(ctx context.Context, id string, workoutId int32, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateWorkoutResp, error)
UpdateWorkoutWithBodyWithResponse request with arbitrary body returning *UpdateWorkoutResp
func (*ClientWithResponses) UpdateWorkoutWithResponse ¶
func (c *ClientWithResponses) UpdateWorkoutWithResponse(ctx context.Context, id string, workoutId int32, body UpdateWorkoutJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateWorkoutResp, error)
func (*ClientWithResponses) UploadActivityStreamsCSVWithBodyWithResponse ¶
func (c *ClientWithResponses) UploadActivityStreamsCSVWithBodyWithResponse(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UploadActivityStreamsCSVResp, error)
UploadActivityStreamsCSVWithBodyWithResponse request with arbitrary body returning *UploadActivityStreamsCSVResp
func (*ClientWithResponses) UploadActivityStreamsCSVWithResponse ¶
func (c *ClientWithResponses) UploadActivityStreamsCSVWithResponse(ctx context.Context, id string, body UploadActivityStreamsCSVJSONRequestBody, reqEditors ...RequestEditorFn) (*UploadActivityStreamsCSVResp, error)
func (*ClientWithResponses) UploadActivityWithBodyWithResponse ¶
func (c *ClientWithResponses) UploadActivityWithBodyWithResponse(ctx context.Context, id string, params *UploadActivityParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UploadActivityResp, error)
UploadActivityWithBodyWithResponse request with arbitrary body returning *UploadActivityResp
func (*ClientWithResponses) UploadActivityWithResponse ¶
func (c *ClientWithResponses) UploadActivityWithResponse(ctx context.Context, id string, params *UploadActivityParams, body UploadActivityJSONRequestBody, reqEditors ...RequestEditorFn) (*UploadActivityResp, error)
func (*ClientWithResponses) UploadWellnessWithBodyWithResponse ¶
func (c *ClientWithResponses) UploadWellnessWithBodyWithResponse(ctx context.Context, id string, params *UploadWellnessParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UploadWellnessResp, error)
UploadWellnessWithBodyWithResponse request with arbitrary body returning *UploadWellnessResp
func (*ClientWithResponses) UploadWellnessWithResponse ¶
func (c *ClientWithResponses) UploadWellnessWithResponse(ctx context.Context, id string, params *UploadWellnessParams, body UploadWellnessJSONRequestBody, reqEditors ...RequestEditorFn) (*UploadWellnessResp, error)
type ClientWithResponsesInterface ¶
type ClientWithResponsesInterface interface {
// DeleteActivityWithResponse request
DeleteActivityWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*DeleteActivityResp, error)
// GetActivityWithResponse request
GetActivityWithResponse(ctx context.Context, id string, params *GetActivityParams, reqEditors ...RequestEditorFn) (*GetActivityResp, error)
// UpdateActivityWithBodyWithResponse request with any body
UpdateActivityWithBodyWithResponse(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateActivityResp, error)
UpdateActivityWithResponse(ctx context.Context, id string, body UpdateActivityJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateActivityResp, error)
// FindBestEffortsWithResponse request
FindBestEffortsWithResponse(ctx context.Context, id string, params *FindBestEffortsParams, reqEditors ...RequestEditorFn) (*FindBestEffortsResp, error)
// DeleteIntervalsWithBodyWithResponse request with any body
DeleteIntervalsWithBodyWithResponse(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DeleteIntervalsResp, error)
DeleteIntervalsWithResponse(ctx context.Context, id string, body DeleteIntervalsJSONRequestBody, reqEditors ...RequestEditorFn) (*DeleteIntervalsResp, error)
// DownloadActivityFileWithResponse request
DownloadActivityFileWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*DownloadActivityFileResp, error)
// DownloadActivityFitFileWithResponse request
DownloadActivityFitFileWithResponse(ctx context.Context, id string, params *DownloadActivityFitFileParams, reqEditors ...RequestEditorFn) (*DownloadActivityFitFileResp, error)
// GetGapHistogramWithResponse request
GetGapHistogramWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*GetGapHistogramResp, error)
// DownloadActivityGpxFileWithResponse request
DownloadActivityGpxFileWithResponse(ctx context.Context, id string, params *DownloadActivityGpxFileParams, reqEditors ...RequestEditorFn) (*DownloadActivityGpxFileResp, error)
// GetActivityHRCurveWithResponse request
GetActivityHRCurveWithResponse(ctx context.Context, id string, ext string, reqEditors ...RequestEditorFn) (*GetActivityHRCurveResp, error)
// GetHRHistogramWithResponse request
GetHRHistogramWithResponse(ctx context.Context, id string, params *GetHRHistogramParams, reqEditors ...RequestEditorFn) (*GetHRHistogramResp, error)
// GetHRTrainingLoadModelWithResponse request
GetHRTrainingLoadModelWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*GetHRTrainingLoadModelResp, error)
// GetIntervalStatsWithResponse request
GetIntervalStatsWithResponse(ctx context.Context, id string, params *GetIntervalStatsParams, reqEditors ...RequestEditorFn) (*GetIntervalStatsResp, error)
// GetIntervalsWithResponse request
GetIntervalsWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*GetIntervalsResp, error)
// UpdateIntervalsWithBodyWithResponse request with any body
UpdateIntervalsWithBodyWithResponse(ctx context.Context, id string, params *UpdateIntervalsParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateIntervalsResp, error)
UpdateIntervalsWithResponse(ctx context.Context, id string, params *UpdateIntervalsParams, body UpdateIntervalsJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateIntervalsResp, error)
// UpdateIntervalWithBodyWithResponse request with any body
UpdateIntervalWithBodyWithResponse(ctx context.Context, id string, intervalId int32, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateIntervalResp, error)
UpdateIntervalWithResponse(ctx context.Context, id string, intervalId int32, body UpdateIntervalJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateIntervalResp, error)
// GetActivityMapWithResponse request
GetActivityMapWithResponse(ctx context.Context, id string, params *GetActivityMapParams, reqEditors ...RequestEditorFn) (*GetActivityMapResp, error)
// ListActivityMessagesWithResponse request
ListActivityMessagesWithResponse(ctx context.Context, id string, params *ListActivityMessagesParams, reqEditors ...RequestEditorFn) (*ListActivityMessagesResp, error)
// SendActivityMessageWithBodyWithResponse request with any body
SendActivityMessageWithBodyWithResponse(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*SendActivityMessageResp, error)
SendActivityMessageWithResponse(ctx context.Context, id string, body SendActivityMessageJSONRequestBody, reqEditors ...RequestEditorFn) (*SendActivityMessageResp, error)
// GetActivityPaceCurveWithResponse request
GetActivityPaceCurveWithResponse(ctx context.Context, id string, ext string, params *GetActivityPaceCurveParams, reqEditors ...RequestEditorFn) (*GetActivityPaceCurveResp, error)
// GetPaceHistogramWithResponse request
GetPaceHistogramWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*GetPaceHistogramResp, error)
// ListActivityPowerCurves1WithResponse request
ListActivityPowerCurves1WithResponse(ctx context.Context, id string, ext string, params *ListActivityPowerCurves1Params, reqEditors ...RequestEditorFn) (*ListActivityPowerCurves1Resp, error)
// GetActivityPowerCurveWithResponse request
GetActivityPowerCurveWithResponse(ctx context.Context, id string, ext string, params *GetActivityPowerCurveParams, reqEditors ...RequestEditorFn) (*GetActivityPowerCurveResp, error)
// GetPowerHistogramWithResponse request
GetPowerHistogramWithResponse(ctx context.Context, id string, params *GetPowerHistogramParams, reqEditors ...RequestEditorFn) (*GetPowerHistogramResp, error)
// GetActivityPowerSpikeModelWithResponse request
GetActivityPowerSpikeModelWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*GetActivityPowerSpikeModelResp, error)
// GetPowerVsHRWithResponse request
GetPowerVsHRWithResponse(ctx context.Context, id string, ext string, reqEditors ...RequestEditorFn) (*GetPowerVsHRResp, error)
// GetActivitySegmentsWithResponse request
GetActivitySegmentsWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*GetActivitySegmentsResp, error)
// SplitIntervalWithResponse request
SplitIntervalWithResponse(ctx context.Context, id string, params *SplitIntervalParams, reqEditors ...RequestEditorFn) (*SplitIntervalResp, error)
// UpdateActivityStreamsWithBodyWithResponse request with any body
UpdateActivityStreamsWithBodyWithResponse(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateActivityStreamsResp, error)
UpdateActivityStreamsWithResponse(ctx context.Context, id string, body UpdateActivityStreamsJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateActivityStreamsResp, error)
// UploadActivityStreamsCSVWithBodyWithResponse request with any body
UploadActivityStreamsCSVWithBodyWithResponse(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UploadActivityStreamsCSVResp, error)
UploadActivityStreamsCSVWithResponse(ctx context.Context, id string, body UploadActivityStreamsCSVJSONRequestBody, reqEditors ...RequestEditorFn) (*UploadActivityStreamsCSVResp, error)
// GetActivityStreamsWithResponse request
GetActivityStreamsWithResponse(ctx context.Context, id string, ext string, params *GetActivityStreamsParams, reqEditors ...RequestEditorFn) (*GetActivityStreamsResp, error)
// GetTimeAtHRWithResponse request
GetTimeAtHRWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*GetTimeAtHRResp, error)
// GetActivityWeatherSummaryWithResponse request
GetActivityWeatherSummaryWithResponse(ctx context.Context, id string, params *GetActivityWeatherSummaryParams, reqEditors ...RequestEditorFn) (*GetActivityWeatherSummaryResp, error)
// UpdateAthletePlansWithBodyWithResponse request with any body
UpdateAthletePlansWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateAthletePlansResp, error)
UpdateAthletePlansWithResponse(ctx context.Context, body UpdateAthletePlansJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateAthletePlansResp, error)
// GetActivitiesWithResponse request
GetActivitiesWithResponse(ctx context.Context, athleteId string, ids []string, params *GetActivitiesParams, reqEditors ...RequestEditorFn) (*GetActivitiesResp, error)
// ListSettingsWithResponse request
ListSettingsWithResponse(ctx context.Context, athleteId string, reqEditors ...RequestEditorFn) (*ListSettingsResp, error)
// CreateSettingsWithBodyWithResponse request with any body
CreateSettingsWithBodyWithResponse(ctx context.Context, athleteId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateSettingsResp, error)
CreateSettingsWithResponse(ctx context.Context, athleteId string, body CreateSettingsJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateSettingsResp, error)
// UpdateSettingsMultiWithBodyWithResponse request with any body
UpdateSettingsMultiWithBodyWithResponse(ctx context.Context, athleteId string, params *UpdateSettingsMultiParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateSettingsMultiResp, error)
UpdateSettingsMultiWithResponse(ctx context.Context, athleteId string, params *UpdateSettingsMultiParams, body UpdateSettingsMultiJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateSettingsMultiResp, error)
// DeleteSettingsWithResponse request
DeleteSettingsWithResponse(ctx context.Context, athleteId string, id int32, reqEditors ...RequestEditorFn) (*DeleteSettingsResp, error)
// GetSettings1WithResponse request
GetSettings1WithResponse(ctx context.Context, athleteId string, id string, reqEditors ...RequestEditorFn) (*GetSettings1Resp, error)
// UpdateSettingsWithBodyWithResponse request with any body
UpdateSettingsWithBodyWithResponse(ctx context.Context, athleteId string, id string, params *UpdateSettingsParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateSettingsResp, error)
UpdateSettingsWithResponse(ctx context.Context, athleteId string, id string, params *UpdateSettingsParams, body UpdateSettingsJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateSettingsResp, error)
// ApplyToActivitiesWithResponse request
ApplyToActivitiesWithResponse(ctx context.Context, athleteId string, id string, reqEditors ...RequestEditorFn) (*ApplyToActivitiesResp, error)
// ListMatchingActivitiesWithResponse request
ListMatchingActivitiesWithResponse(ctx context.Context, athleteId string, id string, reqEditors ...RequestEditorFn) (*ListMatchingActivitiesResp, error)
// ListPaceDistancesForSportWithResponse request
ListPaceDistancesForSportWithResponse(ctx context.Context, athleteId string, id string, reqEditors ...RequestEditorFn) (*ListPaceDistancesForSportResp, error)
// GetAthleteWithResponse request
GetAthleteWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*GetAthleteResp, error)
// UpdateAthleteWithBodyWithResponse request with any body
UpdateAthleteWithBodyWithResponse(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateAthleteResp, error)
UpdateAthleteWithResponse(ctx context.Context, id string, body UpdateAthleteJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateAthleteResp, error)
// ListActivitiesWithResponse request
ListActivitiesWithResponse(ctx context.Context, id string, params *ListActivitiesParams, reqEditors ...RequestEditorFn) (*ListActivitiesResp, error)
// UploadActivityWithBodyWithResponse request with any body
UploadActivityWithBodyWithResponse(ctx context.Context, id string, params *UploadActivityParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UploadActivityResp, error)
UploadActivityWithResponse(ctx context.Context, id string, params *UploadActivityParams, body UploadActivityJSONRequestBody, reqEditors ...RequestEditorFn) (*UploadActivityResp, error)
// ListActivitiesAroundWithResponse request
ListActivitiesAroundWithResponse(ctx context.Context, id string, params *ListActivitiesAroundParams, reqEditors ...RequestEditorFn) (*ListActivitiesAroundResp, error)
// DownloadActivitiesAsCSVWithResponse request
DownloadActivitiesAsCSVWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*DownloadActivitiesAsCSVResp, error)
// SearchForIntervalsWithResponse request
SearchForIntervalsWithResponse(ctx context.Context, id string, params *SearchForIntervalsParams, reqEditors ...RequestEditorFn) (*SearchForIntervalsResp, error)
// CreateManualActivityWithBodyWithResponse request with any body
CreateManualActivityWithBodyWithResponse(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateManualActivityResp, error)
CreateManualActivityWithResponse(ctx context.Context, id string, body CreateManualActivityJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateManualActivityResp, error)
// CreateMultipleManualActivitiesWithBodyWithResponse request with any body
CreateMultipleManualActivitiesWithBodyWithResponse(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateMultipleManualActivitiesResp, error)
CreateMultipleManualActivitiesWithResponse(ctx context.Context, id string, body CreateMultipleManualActivitiesJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateMultipleManualActivitiesResp, error)
// SearchForActivitiesWithResponse request
SearchForActivitiesWithResponse(ctx context.Context, id string, params *SearchForActivitiesParams, reqEditors ...RequestEditorFn) (*SearchForActivitiesResp, error)
// SearchForActivitiesFullWithResponse request
SearchForActivitiesFullWithResponse(ctx context.Context, id string, params *SearchForActivitiesFullParams, reqEditors ...RequestEditorFn) (*SearchForActivitiesFullResp, error)
// ListActivityHRCurvesWithResponse request
ListActivityHRCurvesWithResponse(ctx context.Context, id string, ext string, params *ListActivityHRCurvesParams, reqEditors ...RequestEditorFn) (*ListActivityHRCurvesResp, error)
// ListActivityPaceCurvesWithResponse request
ListActivityPaceCurvesWithResponse(ctx context.Context, id string, ext string, params *ListActivityPaceCurvesParams, reqEditors ...RequestEditorFn) (*ListActivityPaceCurvesResp, error)
// ListActivityPowerCurvesWithResponse request
ListActivityPowerCurvesWithResponse(ctx context.Context, id string, ext string, params *ListActivityPowerCurvesParams, reqEditors ...RequestEditorFn) (*ListActivityPowerCurvesResp, error)
// ListTags2WithResponse request
ListTags2WithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*ListTags2Resp, error)
// ApplyCurrentPlanChangesWithResponse request
ApplyCurrentPlanChangesWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*ApplyCurrentPlanChangesResp, error)
// GetAthleteSummaryWithResponse request
GetAthleteSummaryWithResponse(ctx context.Context, id string, ext string, params *GetAthleteSummaryParams, reqEditors ...RequestEditorFn) (*GetAthleteSummaryResp, error)
// ListChatsWithResponse request
ListChatsWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*ListChatsResp, error)
// ListCustomItemsWithResponse request
ListCustomItemsWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*ListCustomItemsResp, error)
// CreateCustomItemWithBodyWithResponse request with any body
CreateCustomItemWithBodyWithResponse(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateCustomItemResp, error)
CreateCustomItemWithResponse(ctx context.Context, id string, body CreateCustomItemJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateCustomItemResp, error)
// UpdateCustomItemIndexesWithBodyWithResponse request with any body
UpdateCustomItemIndexesWithBodyWithResponse(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateCustomItemIndexesResp, error)
UpdateCustomItemIndexesWithResponse(ctx context.Context, id string, body UpdateCustomItemIndexesJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateCustomItemIndexesResp, error)
// DeleteCustomItemWithResponse request
DeleteCustomItemWithResponse(ctx context.Context, id string, itemId int32, reqEditors ...RequestEditorFn) (*DeleteCustomItemResp, error)
// GetCustomItemWithResponse request
GetCustomItemWithResponse(ctx context.Context, id string, itemId int32, reqEditors ...RequestEditorFn) (*GetCustomItemResp, error)
// UpdateCustomItemWithBodyWithResponse request with any body
UpdateCustomItemWithBodyWithResponse(ctx context.Context, id string, itemId int32, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateCustomItemResp, error)
UpdateCustomItemWithResponse(ctx context.Context, id string, itemId int32, body UpdateCustomItemJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateCustomItemResp, error)
// UpdateCustomItemImageWithBodyWithResponse request with any body
UpdateCustomItemImageWithBodyWithResponse(ctx context.Context, id string, itemId int32, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateCustomItemImageResp, error)
UpdateCustomItemImageWithResponse(ctx context.Context, id string, itemId int32, body UpdateCustomItemImageJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateCustomItemImageResp, error)
// DownloadActivityFitFilesWithResponse request
DownloadActivityFitFilesWithResponse(ctx context.Context, id string, params *DownloadActivityFitFilesParams, reqEditors ...RequestEditorFn) (*DownloadActivityFitFilesResp, error)
// DownloadWorkoutForAthleteWithBodyWithResponse request with any body
DownloadWorkoutForAthleteWithBodyWithResponse(ctx context.Context, id string, ext string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DownloadWorkoutForAthleteResp, error)
DownloadWorkoutForAthleteWithResponse(ctx context.Context, id string, ext string, body DownloadWorkoutForAthleteJSONRequestBody, reqEditors ...RequestEditorFn) (*DownloadWorkoutForAthleteResp, error)
// DuplicateEventsWithBodyWithResponse request with any body
DuplicateEventsWithBodyWithResponse(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DuplicateEventsResp, error)
DuplicateEventsWithResponse(ctx context.Context, id string, body DuplicateEventsJSONRequestBody, reqEditors ...RequestEditorFn) (*DuplicateEventsResp, error)
// DuplicateWorkoutsWithBodyWithResponse request with any body
DuplicateWorkoutsWithBodyWithResponse(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DuplicateWorkoutsResp, error)
DuplicateWorkoutsWithResponse(ctx context.Context, id string, body DuplicateWorkoutsJSONRequestBody, reqEditors ...RequestEditorFn) (*DuplicateWorkoutsResp, error)
// ListTags1WithResponse request
ListTags1WithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*ListTags1Resp, error)
// DeleteEventsWithResponse request
DeleteEventsWithResponse(ctx context.Context, id string, params *DeleteEventsParams, reqEditors ...RequestEditorFn) (*DeleteEventsResp, error)
// CreateEventWithBodyWithResponse request with any body
CreateEventWithBodyWithResponse(ctx context.Context, id string, params *CreateEventParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateEventResp, error)
CreateEventWithResponse(ctx context.Context, id string, params *CreateEventParams, body CreateEventJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateEventResp, error)
// UpdateEventsWithBodyWithResponse request with any body
UpdateEventsWithBodyWithResponse(ctx context.Context, id string, params *UpdateEventsParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateEventsResp, error)
UpdateEventsWithResponse(ctx context.Context, id string, params *UpdateEventsParams, body UpdateEventsJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateEventsResp, error)
// ApplyPlanWithBodyWithResponse request with any body
ApplyPlanWithBodyWithResponse(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ApplyPlanResp, error)
ApplyPlanWithResponse(ctx context.Context, id string, body ApplyPlanJSONRequestBody, reqEditors ...RequestEditorFn) (*ApplyPlanResp, error)
// CreateMultipleEventsWithBodyWithResponse request with any body
CreateMultipleEventsWithBodyWithResponse(ctx context.Context, id string, params *CreateMultipleEventsParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateMultipleEventsResp, error)
CreateMultipleEventsWithResponse(ctx context.Context, id string, params *CreateMultipleEventsParams, body CreateMultipleEventsJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateMultipleEventsResp, error)
// DeleteEventsBulkWithBodyWithResponse request with any body
DeleteEventsBulkWithBodyWithResponse(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DeleteEventsBulkResp, error)
DeleteEventsBulkWithResponse(ctx context.Context, id string, body DeleteEventsBulkJSONRequestBody, reqEditors ...RequestEditorFn) (*DeleteEventsBulkResp, error)
// DeleteEventWithResponse request
DeleteEventWithResponse(ctx context.Context, id string, eventId int32, params *DeleteEventParams, reqEditors ...RequestEditorFn) (*DeleteEventResp, error)
// ShowEventWithResponse request
ShowEventWithResponse(ctx context.Context, id string, eventId int32, reqEditors ...RequestEditorFn) (*ShowEventResp, error)
// UpdateEventWithBodyWithResponse request with any body
UpdateEventWithBodyWithResponse(ctx context.Context, id string, eventId int32, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateEventResp, error)
UpdateEventWithResponse(ctx context.Context, id string, eventId int32, body UpdateEventJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateEventResp, error)
// DownloadWorkout1WithResponse request
DownloadWorkout1WithResponse(ctx context.Context, id string, eventId int32, ext string, reqEditors ...RequestEditorFn) (*DownloadWorkout1Resp, error)
// MarkEventAsDoneWithResponse request
MarkEventAsDoneWithResponse(ctx context.Context, id string, eventId int32, reqEditors ...RequestEditorFn) (*MarkEventAsDoneResp, error)
// ListEventsWithResponse request
ListEventsWithResponse(ctx context.Context, id string, format string, params *ListEventsParams, reqEditors ...RequestEditorFn) (*ListEventsResp, error)
// ListFitnessModelEventsWithResponse request
ListFitnessModelEventsWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*ListFitnessModelEventsResp, error)
// ListFoldersWithResponse request
ListFoldersWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*ListFoldersResp, error)
// CreateFolderWithBodyWithResponse request with any body
CreateFolderWithBodyWithResponse(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateFolderResp, error)
CreateFolderWithResponse(ctx context.Context, id string, body CreateFolderJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateFolderResp, error)
// DeleteFolderWithResponse request
DeleteFolderWithResponse(ctx context.Context, id string, folderId int32, reqEditors ...RequestEditorFn) (*DeleteFolderResp, error)
// UpdateFolderWithBodyWithResponse request with any body
UpdateFolderWithBodyWithResponse(ctx context.Context, id string, folderId int32, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateFolderResp, error)
UpdateFolderWithResponse(ctx context.Context, id string, folderId int32, body UpdateFolderJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateFolderResp, error)
// ImportWorkoutFileWithBodyWithResponse request with any body
ImportWorkoutFileWithBodyWithResponse(ctx context.Context, id string, folderId int32, params *ImportWorkoutFileParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ImportWorkoutFileResp, error)
ImportWorkoutFileWithResponse(ctx context.Context, id string, folderId int32, params *ImportWorkoutFileParams, body ImportWorkoutFileJSONRequestBody, reqEditors ...RequestEditorFn) (*ImportWorkoutFileResp, error)
ListFolderSharedWithWithResponse(ctx context.Context, id string, folderId int32, reqEditors ...RequestEditorFn) (*ListFolderSharedWithResp, error)
UpdateFolderSharedWithWithBodyWithResponse(ctx context.Context, id string, folderId int32, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateFolderSharedWithResp, error)
// UpdatePlanWorkoutsWithBodyWithResponse request with any body
UpdatePlanWorkoutsWithBodyWithResponse(ctx context.Context, id string, folderId int32, params *UpdatePlanWorkoutsParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdatePlanWorkoutsResp, error)
UpdatePlanWorkoutsWithResponse(ctx context.Context, id string, folderId int32, params *UpdatePlanWorkoutsParams, body UpdatePlanWorkoutsJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdatePlanWorkoutsResp, error)
// CreateGearWithBodyWithResponse request with any body
CreateGearWithBodyWithResponse(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateGearResp, error)
CreateGearWithResponse(ctx context.Context, id string, body CreateGearJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateGearResp, error)
// DeleteGearWithResponse request
DeleteGearWithResponse(ctx context.Context, id string, gearId string, reqEditors ...RequestEditorFn) (*DeleteGearResp, error)
// UpdateGearWithBodyWithResponse request with any body
UpdateGearWithBodyWithResponse(ctx context.Context, id string, gearId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateGearResp, error)
UpdateGearWithResponse(ctx context.Context, id string, gearId string, body UpdateGearJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateGearResp, error)
// CalcDistanceEtcWithResponse request
CalcDistanceEtcWithResponse(ctx context.Context, id string, gearId string, reqEditors ...RequestEditorFn) (*CalcDistanceEtcResp, error)
// CreateReminderWithBodyWithResponse request with any body
CreateReminderWithBodyWithResponse(ctx context.Context, id string, gearId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateReminderResp, error)
CreateReminderWithResponse(ctx context.Context, id string, gearId string, body CreateReminderJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateReminderResp, error)
// DeleteReminderWithResponse request
DeleteReminderWithResponse(ctx context.Context, id string, gearId string, reminderId int32, reqEditors ...RequestEditorFn) (*DeleteReminderResp, error)
// UpdateReminderWithBodyWithResponse request with any body
UpdateReminderWithBodyWithResponse(ctx context.Context, id string, gearId string, reminderId int32, params *UpdateReminderParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateReminderResp, error)
UpdateReminderWithResponse(ctx context.Context, id string, gearId string, reminderId int32, params *UpdateReminderParams, body UpdateReminderJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateReminderResp, error)
// ReplaceGearWithBodyWithResponse request with any body
ReplaceGearWithBodyWithResponse(ctx context.Context, id string, gearId string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*ReplaceGearResp, error)
ReplaceGearWithResponse(ctx context.Context, id string, gearId string, body ReplaceGearJSONRequestBody, reqEditors ...RequestEditorFn) (*ReplaceGearResp, error)
// ListGearWithResponse request
ListGearWithResponse(ctx context.Context, id string, ext string, reqEditors ...RequestEditorFn) (*ListGearResp, error)
// ListAthleteHRCurvesWithResponse request
ListAthleteHRCurvesWithResponse(ctx context.Context, id string, ext string, params *ListAthleteHRCurvesParams, reqEditors ...RequestEditorFn) (*ListAthleteHRCurvesResp, error)
// GetAthleteMMPModelWithResponse request
GetAthleteMMPModelWithResponse(ctx context.Context, id string, params *GetAthleteMMPModelParams, reqEditors ...RequestEditorFn) (*GetAthleteMMPModelResp, error)
// ListAthletePaceCurvesWithResponse request
ListAthletePaceCurvesWithResponse(ctx context.Context, id string, ext string, params *ListAthletePaceCurvesParams, reqEditors ...RequestEditorFn) (*ListAthletePaceCurvesResp, error)
// ListAthletePowerCurvesWithResponse request
ListAthletePowerCurvesWithResponse(ctx context.Context, id string, ext string, params *ListAthletePowerCurvesParams, reqEditors ...RequestEditorFn) (*ListAthletePowerCurvesResp, error)
// GetPowerHRCurveWithResponse request
GetPowerHRCurveWithResponse(ctx context.Context, id string, params *GetPowerHRCurveParams, reqEditors ...RequestEditorFn) (*GetPowerHRCurveResp, error)
// GetAthleteProfileWithResponse request
GetAthleteProfileWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*GetAthleteProfileResp, error)
// ListAthleteRoutesWithResponse request
ListAthleteRoutesWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*ListAthleteRoutesResp, error)
// GetAthleteRouteWithResponse request
GetAthleteRouteWithResponse(ctx context.Context, id string, routeId int64, params *GetAthleteRouteParams, reqEditors ...RequestEditorFn) (*GetAthleteRouteResp, error)
// UpdateAthleteRouteWithBodyWithResponse request with any body
UpdateAthleteRouteWithBodyWithResponse(ctx context.Context, id string, routeId int64, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateAthleteRouteResp, error)
UpdateAthleteRouteWithResponse(ctx context.Context, id string, routeId int64, body UpdateAthleteRouteJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateAthleteRouteResp, error)
// CheckMergeWithResponse request
CheckMergeWithResponse(ctx context.Context, id string, routeId int64, otherId int64, reqEditors ...RequestEditorFn) (*CheckMergeResp, error)
// GetSettingsWithResponse request
GetSettingsWithResponse(ctx context.Context, id string, deviceClass string, reqEditors ...RequestEditorFn) (*GetSettingsResp, error)
// GetAthleteTrainingPlanWithResponse request
GetAthleteTrainingPlanWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*GetAthleteTrainingPlanResp, error)
// UpdateAthletePlanWithBodyWithResponse request with any body
UpdateAthletePlanWithBodyWithResponse(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateAthletePlanResp, error)
UpdateAthletePlanWithResponse(ctx context.Context, id string, body UpdateAthletePlanJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateAthletePlanResp, error)
// GetWeatherConfigWithResponse request
GetWeatherConfigWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*GetWeatherConfigResp, error)
// UpdateWeatherConfigWithBodyWithResponse request with any body
UpdateWeatherConfigWithBodyWithResponse(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateWeatherConfigResp, error)
UpdateWeatherConfigWithResponse(ctx context.Context, id string, body UpdateWeatherConfigJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateWeatherConfigResp, error)
// GetForecastWithResponse request
GetForecastWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*GetForecastResp, error)
// UploadWellnessWithBodyWithResponse request with any body
UploadWellnessWithBodyWithResponse(ctx context.Context, id string, params *UploadWellnessParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UploadWellnessResp, error)
UploadWellnessWithResponse(ctx context.Context, id string, params *UploadWellnessParams, body UploadWellnessJSONRequestBody, reqEditors ...RequestEditorFn) (*UploadWellnessResp, error)
// UpdateWellness1WithBodyWithResponse request with any body
UpdateWellness1WithBodyWithResponse(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateWellness1Resp, error)
UpdateWellness1WithResponse(ctx context.Context, id string, body UpdateWellness1JSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateWellness1Resp, error)
// UpdateWellnessBulkWithBodyWithResponse request with any body
UpdateWellnessBulkWithBodyWithResponse(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateWellnessBulkResp, error)
UpdateWellnessBulkWithResponse(ctx context.Context, id string, body UpdateWellnessBulkJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateWellnessBulkResp, error)
// GetRecordWithResponse request
GetRecordWithResponse(ctx context.Context, id string, date string, reqEditors ...RequestEditorFn) (*GetRecordResp, error)
// UpdateWellnessWithBodyWithResponse request with any body
UpdateWellnessWithBodyWithResponse(ctx context.Context, id string, date string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateWellnessResp, error)
UpdateWellnessWithResponse(ctx context.Context, id string, date string, body UpdateWellnessJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateWellnessResp, error)
// ListWellnessRecordsWithResponse request
ListWellnessRecordsWithResponse(ctx context.Context, id string, ext string, params *ListWellnessRecordsParams, reqEditors ...RequestEditorFn) (*ListWellnessRecordsResp, error)
// ListTagsWithResponse request
ListTagsWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*ListTagsResp, error)
// ListWorkoutsWithResponse request
ListWorkoutsWithResponse(ctx context.Context, id string, reqEditors ...RequestEditorFn) (*ListWorkoutsResp, error)
// CreateWorkoutWithBodyWithResponse request with any body
CreateWorkoutWithBodyWithResponse(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateWorkoutResp, error)
CreateWorkoutWithResponse(ctx context.Context, id string, body CreateWorkoutJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateWorkoutResp, error)
// DownloadWorkoutsWithResponse request
DownloadWorkoutsWithResponse(ctx context.Context, id string, params *DownloadWorkoutsParams, reqEditors ...RequestEditorFn) (*DownloadWorkoutsResp, error)
// CreateMultipleWorkoutsWithBodyWithResponse request with any body
CreateMultipleWorkoutsWithBodyWithResponse(ctx context.Context, id string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateMultipleWorkoutsResp, error)
CreateMultipleWorkoutsWithResponse(ctx context.Context, id string, body CreateMultipleWorkoutsJSONRequestBody, reqEditors ...RequestEditorFn) (*CreateMultipleWorkoutsResp, error)
// DeleteWorkoutWithResponse request
DeleteWorkoutWithResponse(ctx context.Context, id string, workoutId int32, params *DeleteWorkoutParams, reqEditors ...RequestEditorFn) (*DeleteWorkoutResp, error)
// ShowWorkoutWithResponse request
ShowWorkoutWithResponse(ctx context.Context, id string, workoutId int32, reqEditors ...RequestEditorFn) (*ShowWorkoutResp, error)
// UpdateWorkoutWithBodyWithResponse request with any body
UpdateWorkoutWithBodyWithResponse(ctx context.Context, id string, workoutId int32, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateWorkoutResp, error)
UpdateWorkoutWithResponse(ctx context.Context, id string, workoutId int32, body UpdateWorkoutJSONRequestBody, reqEditors ...RequestEditorFn) (*UpdateWorkoutResp, error)
// SendMessageWithBodyWithResponse request with any body
SendMessageWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*SendMessageResp, error)
SendMessageWithResponse(ctx context.Context, body SendMessageJSONRequestBody, reqEditors ...RequestEditorFn) (*SendMessageResp, error)
// ShowChatWithResponse request
ShowChatWithResponse(ctx context.Context, id int32, reqEditors ...RequestEditorFn) (*ShowChatResp, error)
// ListMessagesWithResponse request
ListMessagesWithResponse(ctx context.Context, id int32, params *ListMessagesParams, reqEditors ...RequestEditorFn) (*ListMessagesResp, error)
// DeleteMessageWithResponse request
DeleteMessageWithResponse(ctx context.Context, id int32, msgId int64, reqEditors ...RequestEditorFn) (*DeleteMessageResp, error)
// UpdateLastSeenMessageIdWithResponse request
UpdateLastSeenMessageIdWithResponse(ctx context.Context, id int32, msgId int64, reqEditors ...RequestEditorFn) (*UpdateLastSeenMessageIdResp, error)
// DisconnectAppWithResponse request
DisconnectAppWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*DisconnectAppResp, error)
// DownloadWorkoutWithBodyWithResponse request with any body
DownloadWorkoutWithBodyWithResponse(ctx context.Context, ext string, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*DownloadWorkoutResp, error)
DownloadWorkoutWithResponse(ctx context.Context, ext string, body DownloadWorkoutJSONRequestBody, reqEditors ...RequestEditorFn) (*DownloadWorkoutResp, error)
// ListPaceDistancesWithResponse request
ListPaceDistancesWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*ListPaceDistancesResp, error)
CreateSharedEventWithBodyWithResponse(ctx context.Context, params *CreateSharedEventParams, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*CreateSharedEventResp, error)
DeleteSharedEventWithResponse(ctx context.Context, id int32, reqEditors ...RequestEditorFn) (*DeleteSharedEventResp, error)
GetSharedEventWithResponse(ctx context.Context, id int32, reqEditors ...RequestEditorFn) (*GetSharedEventResp, error)
UpdateSharedEventWithBodyWithResponse(ctx context.Context, id int32, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*UpdateSharedEventResp, error)
}
ClientWithResponsesInterface is the interface specification for the client with responses above.
type Closest ¶
type Closest struct {
P1Index *int32 `json:"p1_index,omitempty"`
P2Index *int32 `json:"p2_index,omitempty"`
P3Index *int32 `json:"p3_index,omitempty"`
StartSecs *int32 `json:"start_secs,omitempty"`
}
Closest defines model for Closest.
type CreateCustomItemJSONRequestBody ¶
type CreateCustomItemJSONRequestBody = CustomItem
CreateCustomItemJSONRequestBody defines body for CreateCustomItem for application/json ContentType.
type CreateCustomItemResp ¶
func ParseCreateCustomItemResp ¶
func ParseCreateCustomItemResp(rsp *http.Response) (*CreateCustomItemResp, error)
ParseCreateCustomItemResp parses an HTTP response from a CreateCustomItemWithResponse call
func (CreateCustomItemResp) Status ¶
func (r CreateCustomItemResp) Status() string
Status returns HTTPResponse.Status
func (CreateCustomItemResp) StatusCode ¶
func (r CreateCustomItemResp) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type CreateEventJSONRequestBody ¶
type CreateEventJSONRequestBody = EventEx
CreateEventJSONRequestBody defines body for CreateEvent for application/json ContentType.
type CreateEventParams ¶
type CreateEventParams struct {
// UpsertOnUid Update event with matching uid instead of creating a new one
UpsertOnUid bool `form:"upsertOnUid" json:"upsertOnUid"`
}
CreateEventParams defines parameters for CreateEvent.
type CreateEventResp ¶
func ParseCreateEventResp ¶
func ParseCreateEventResp(rsp *http.Response) (*CreateEventResp, error)
ParseCreateEventResp parses an HTTP response from a CreateEventWithResponse call
func (CreateEventResp) Status ¶
func (r CreateEventResp) Status() string
Status returns HTTPResponse.Status
func (CreateEventResp) StatusCode ¶
func (r CreateEventResp) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type CreateFolderDTO ¶
type CreateFolderDTO struct {
ActivityTypes *[]CreateFolderDTOActivityTypes `json:"activity_types,omitempty"`
AthleteId *string `json:"athlete_id,omitempty"`
AutoRolloutDay *int32 `json:"auto_rollout_day,omitempty"`
Blurb *string `json:"blurb,omitempty"`
CanEdit *bool `json:"canEdit,omitempty"`
Children *[]Workout `json:"children,omitempty"`
CopyFolderId *int32 `json:"copy_folder_id,omitempty"`
Description *string `json:"description,omitempty"`
DurationWeeks *int32 `json:"duration_weeks,omitempty"`
HoursPerWeekMax *int32 `json:"hours_per_week_max,omitempty"`
HoursPerWeekMin *int32 `json:"hours_per_week_min,omitempty"`
Id *int32 `json:"id,omitempty"`
Name *string `json:"name,omitempty"`
NumWorkouts *int32 `json:"num_workouts,omitempty"`
Owner *AthleteSearchResult `json:"owner,omitempty"`
ReadOnlyWorkouts *bool `json:"read_only_workouts,omitempty"`
RolloutWeeks *int32 `json:"rollout_weeks,omitempty"`
StartDateLocal *string `json:"start_date_local,omitempty"`
StartingAtl *int32 `json:"starting_atl,omitempty"`
StartingCtl *int32 `json:"starting_ctl,omitempty"`
Type *CreateFolderDTOType `json:"type,omitempty"`
Visibility *CreateFolderDTOVisibility `json:"visibility,omitempty"`
WorkoutTargets *[]CreateFolderDTOWorkoutTargets `json:"workout_targets,omitempty"`
}
CreateFolderDTO defines model for CreateFolderDTO.
type CreateFolderDTOActivityTypes ¶
type CreateFolderDTOActivityTypes string
CreateFolderDTOActivityTypes defines model for CreateFolderDTO.ActivityTypes.
const ( CreateFolderDTOActivityTypesAlpineSki CreateFolderDTOActivityTypes = "AlpineSki" CreateFolderDTOActivityTypesBackcountrySki CreateFolderDTOActivityTypes = "BackcountrySki" CreateFolderDTOActivityTypesBadminton CreateFolderDTOActivityTypes = "Badminton" CreateFolderDTOActivityTypesCanoeing CreateFolderDTOActivityTypes = "Canoeing" CreateFolderDTOActivityTypesCrossfit CreateFolderDTOActivityTypes = "Crossfit" CreateFolderDTOActivityTypesEBikeRide CreateFolderDTOActivityTypes = "EBikeRide" CreateFolderDTOActivityTypesEMountainBikeRide CreateFolderDTOActivityTypes = "EMountainBikeRide" CreateFolderDTOActivityTypesElliptical CreateFolderDTOActivityTypes = "Elliptical" CreateFolderDTOActivityTypesGolf CreateFolderDTOActivityTypes = "Golf" CreateFolderDTOActivityTypesGravelRide CreateFolderDTOActivityTypes = "GravelRide" CreateFolderDTOActivityTypesHandcycle CreateFolderDTOActivityTypes = "Handcycle" CreateFolderDTOActivityTypesHighIntensityIntervalTraining CreateFolderDTOActivityTypes = "HighIntensityIntervalTraining" CreateFolderDTOActivityTypesHike CreateFolderDTOActivityTypes = "Hike" CreateFolderDTOActivityTypesHockey CreateFolderDTOActivityTypes = "Hockey" CreateFolderDTOActivityTypesIceSkate CreateFolderDTOActivityTypes = "IceSkate" CreateFolderDTOActivityTypesInlineSkate CreateFolderDTOActivityTypes = "InlineSkate" CreateFolderDTOActivityTypesKayaking CreateFolderDTOActivityTypes = "Kayaking" CreateFolderDTOActivityTypesKitesurf CreateFolderDTOActivityTypes = "Kitesurf" CreateFolderDTOActivityTypesMountainBikeRide CreateFolderDTOActivityTypes = "MountainBikeRide" CreateFolderDTOActivityTypesNordicSki CreateFolderDTOActivityTypes = "NordicSki" CreateFolderDTOActivityTypesOpenWaterSwim CreateFolderDTOActivityTypes = "OpenWaterSwim" CreateFolderDTOActivityTypesOther CreateFolderDTOActivityTypes = "Other" CreateFolderDTOActivityTypesPadel CreateFolderDTOActivityTypes = "Padel" CreateFolderDTOActivityTypesPickleball CreateFolderDTOActivityTypes = "Pickleball" CreateFolderDTOActivityTypesPilates CreateFolderDTOActivityTypes = "Pilates" CreateFolderDTOActivityTypesRacquetball CreateFolderDTOActivityTypes = "Racquetball" CreateFolderDTOActivityTypesRide CreateFolderDTOActivityTypes = "Ride" CreateFolderDTOActivityTypesRockClimbing CreateFolderDTOActivityTypes = "RockClimbing" CreateFolderDTOActivityTypesRollerSki CreateFolderDTOActivityTypes = "RollerSki" CreateFolderDTOActivityTypesRowing CreateFolderDTOActivityTypes = "Rowing" CreateFolderDTOActivityTypesRugby CreateFolderDTOActivityTypes = "Rugby" CreateFolderDTOActivityTypesRun CreateFolderDTOActivityTypes = "Run" CreateFolderDTOActivityTypesSail CreateFolderDTOActivityTypes = "Sail" CreateFolderDTOActivityTypesSkateboard CreateFolderDTOActivityTypes = "Skateboard" CreateFolderDTOActivityTypesSnowboard CreateFolderDTOActivityTypes = "Snowboard" CreateFolderDTOActivityTypesSnowshoe CreateFolderDTOActivityTypes = "Snowshoe" CreateFolderDTOActivityTypesSoccer CreateFolderDTOActivityTypes = "Soccer" CreateFolderDTOActivityTypesSquash CreateFolderDTOActivityTypes = "Squash" CreateFolderDTOActivityTypesStairStepper CreateFolderDTOActivityTypes = "StairStepper" CreateFolderDTOActivityTypesStandUpPaddling CreateFolderDTOActivityTypes = "StandUpPaddling" CreateFolderDTOActivityTypesSurfing CreateFolderDTOActivityTypes = "Surfing" CreateFolderDTOActivityTypesSwim CreateFolderDTOActivityTypes = "Swim" CreateFolderDTOActivityTypesTableTennis CreateFolderDTOActivityTypes = "TableTennis" CreateFolderDTOActivityTypesTennis CreateFolderDTOActivityTypes = "Tennis" CreateFolderDTOActivityTypesTrackRide CreateFolderDTOActivityTypes = "TrackRide" CreateFolderDTOActivityTypesTrailRun CreateFolderDTOActivityTypes = "TrailRun" CreateFolderDTOActivityTypesTransition CreateFolderDTOActivityTypes = "Transition" CreateFolderDTOActivityTypesVelomobile CreateFolderDTOActivityTypes = "Velomobile" CreateFolderDTOActivityTypesVirtualRide CreateFolderDTOActivityTypes = "VirtualRide" CreateFolderDTOActivityTypesVirtualRow CreateFolderDTOActivityTypes = "VirtualRow" CreateFolderDTOActivityTypesVirtualRun CreateFolderDTOActivityTypes = "VirtualRun" CreateFolderDTOActivityTypesVirtualSki CreateFolderDTOActivityTypes = "VirtualSki" CreateFolderDTOActivityTypesWalk CreateFolderDTOActivityTypes = "Walk" CreateFolderDTOActivityTypesWaterSport CreateFolderDTOActivityTypes = "WaterSport" CreateFolderDTOActivityTypesWeightTraining CreateFolderDTOActivityTypes = "WeightTraining" CreateFolderDTOActivityTypesWheelchair CreateFolderDTOActivityTypes = "Wheelchair" CreateFolderDTOActivityTypesWindsurf CreateFolderDTOActivityTypes = "Windsurf" CreateFolderDTOActivityTypesWorkout CreateFolderDTOActivityTypes = "Workout" CreateFolderDTOActivityTypesYoga CreateFolderDTOActivityTypes = "Yoga" )
Defines values for CreateFolderDTOActivityTypes.
type CreateFolderDTOType ¶
type CreateFolderDTOType string
CreateFolderDTOType defines model for CreateFolderDTO.Type.
const ( CreateFolderDTOTypeFOLDER CreateFolderDTOType = "FOLDER" CreateFolderDTOTypePLAN CreateFolderDTOType = "PLAN" )
Defines values for CreateFolderDTOType.
type CreateFolderDTOVisibility ¶
type CreateFolderDTOVisibility string
CreateFolderDTOVisibility defines model for CreateFolderDTO.Visibility.
const ( CreateFolderDTOVisibilityPRIVATE CreateFolderDTOVisibility = "PRIVATE" CreateFolderDTOVisibilityPUBLIC CreateFolderDTOVisibility = "PUBLIC" )
Defines values for CreateFolderDTOVisibility.
type CreateFolderDTOWorkoutTargets ¶
type CreateFolderDTOWorkoutTargets string
CreateFolderDTOWorkoutTargets defines model for CreateFolderDTO.WorkoutTargets.
const ( CreateFolderDTOWorkoutTargetsAUTO CreateFolderDTOWorkoutTargets = "AUTO" CreateFolderDTOWorkoutTargetsHR CreateFolderDTOWorkoutTargets = "HR" CreateFolderDTOWorkoutTargetsPACE CreateFolderDTOWorkoutTargets = "PACE" CreateFolderDTOWorkoutTargetsPOWER CreateFolderDTOWorkoutTargets = "POWER" )
Defines values for CreateFolderDTOWorkoutTargets.
type CreateFolderJSONRequestBody ¶
type CreateFolderJSONRequestBody = CreateFolderDTO
CreateFolderJSONRequestBody defines body for CreateFolder for application/json ContentType.
type CreateFolderResp ¶
func ParseCreateFolderResp ¶
func ParseCreateFolderResp(rsp *http.Response) (*CreateFolderResp, error)
ParseCreateFolderResp parses an HTTP response from a CreateFolderWithResponse call
func (CreateFolderResp) Status ¶
func (r CreateFolderResp) Status() string
Status returns HTTPResponse.Status
func (CreateFolderResp) StatusCode ¶
func (r CreateFolderResp) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type CreateGearJSONRequestBody ¶
type CreateGearJSONRequestBody = Gear
CreateGearJSONRequestBody defines body for CreateGear for application/json ContentType.
type CreateGearResp ¶
func ParseCreateGearResp ¶
func ParseCreateGearResp(rsp *http.Response) (*CreateGearResp, error)
ParseCreateGearResp parses an HTTP response from a CreateGearWithResponse call
func (CreateGearResp) Status ¶
func (r CreateGearResp) Status() string
Status returns HTTPResponse.Status
func (CreateGearResp) StatusCode ¶
func (r CreateGearResp) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type CreateManualActivityJSONRequestBody ¶
type CreateManualActivityJSONRequestBody = Activity
CreateManualActivityJSONRequestBody defines body for CreateManualActivity for application/json ContentType.
type CreateManualActivityResp ¶
func ParseCreateManualActivityResp ¶
func ParseCreateManualActivityResp(rsp *http.Response) (*CreateManualActivityResp, error)
ParseCreateManualActivityResp parses an HTTP response from a CreateManualActivityWithResponse call
func (CreateManualActivityResp) Status ¶
func (r CreateManualActivityResp) Status() string
Status returns HTTPResponse.Status
func (CreateManualActivityResp) StatusCode ¶
func (r CreateManualActivityResp) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type CreateMultipleEventsJSONBody ¶
type CreateMultipleEventsJSONBody = []EventEx
CreateMultipleEventsJSONBody defines parameters for CreateMultipleEvents.
type CreateMultipleEventsJSONRequestBody ¶
type CreateMultipleEventsJSONRequestBody = CreateMultipleEventsJSONBody
CreateMultipleEventsJSONRequestBody defines body for CreateMultipleEvents for application/json ContentType.
type CreateMultipleEventsParams ¶
type CreateMultipleEventsParams struct {
// Upsert Update events with matching external_id and created by the same OAuth application instead of creating new ones
Upsert *bool `form:"upsert,omitempty" json:"upsert,omitempty"`
// UpsertOnUid Update events with matching uid instead of creating new ones, ignored if upsert=true. For Events with category=TARGET existing matching targets for the date and type are updated
UpsertOnUid bool `form:"upsertOnUid" json:"upsertOnUid"`
// UpdatePlanApplied Give all events created or updated the same new plan_applied date (now)
UpdatePlanApplied bool `form:"updatePlanApplied" json:"updatePlanApplied"`
}
CreateMultipleEventsParams defines parameters for CreateMultipleEvents.
type CreateMultipleEventsResp ¶
func ParseCreateMultipleEventsResp ¶
func ParseCreateMultipleEventsResp(rsp *http.Response) (*CreateMultipleEventsResp, error)
ParseCreateMultipleEventsResp parses an HTTP response from a CreateMultipleEventsWithResponse call
func (CreateMultipleEventsResp) Status ¶
func (r CreateMultipleEventsResp) Status() string
Status returns HTTPResponse.Status
func (CreateMultipleEventsResp) StatusCode ¶
func (r CreateMultipleEventsResp) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type CreateMultipleManualActivitiesJSONBody ¶
type CreateMultipleManualActivitiesJSONBody = []Activity
CreateMultipleManualActivitiesJSONBody defines parameters for CreateMultipleManualActivities.
type CreateMultipleManualActivitiesJSONRequestBody ¶
type CreateMultipleManualActivitiesJSONRequestBody = CreateMultipleManualActivitiesJSONBody
CreateMultipleManualActivitiesJSONRequestBody defines body for CreateMultipleManualActivities for application/json ContentType.
type CreateMultipleManualActivitiesResp ¶
func ParseCreateMultipleManualActivitiesResp ¶
func ParseCreateMultipleManualActivitiesResp(rsp *http.Response) (*CreateMultipleManualActivitiesResp, error)
ParseCreateMultipleManualActivitiesResp parses an HTTP response from a CreateMultipleManualActivitiesWithResponse call
func (CreateMultipleManualActivitiesResp) Status ¶
func (r CreateMultipleManualActivitiesResp) Status() string
Status returns HTTPResponse.Status
func (CreateMultipleManualActivitiesResp) StatusCode ¶
func (r CreateMultipleManualActivitiesResp) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type CreateMultipleWorkoutsJSONBody ¶
type CreateMultipleWorkoutsJSONBody = []WorkoutEx
CreateMultipleWorkoutsJSONBody defines parameters for CreateMultipleWorkouts.
type CreateMultipleWorkoutsJSONRequestBody ¶
type CreateMultipleWorkoutsJSONRequestBody = CreateMultipleWorkoutsJSONBody
CreateMultipleWorkoutsJSONRequestBody defines body for CreateMultipleWorkouts for application/json ContentType.
type CreateMultipleWorkoutsResp ¶
func ParseCreateMultipleWorkoutsResp ¶
func ParseCreateMultipleWorkoutsResp(rsp *http.Response) (*CreateMultipleWorkoutsResp, error)
ParseCreateMultipleWorkoutsResp parses an HTTP response from a CreateMultipleWorkoutsWithResponse call
func (CreateMultipleWorkoutsResp) Status ¶
func (r CreateMultipleWorkoutsResp) Status() string
Status returns HTTPResponse.Status
func (CreateMultipleWorkoutsResp) StatusCode ¶
func (r CreateMultipleWorkoutsResp) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type CreateReminderJSONRequestBody ¶
type CreateReminderJSONRequestBody = GearReminder
CreateReminderJSONRequestBody defines body for CreateReminder for application/json ContentType.
type CreateReminderResp ¶
func ParseCreateReminderResp ¶
func ParseCreateReminderResp(rsp *http.Response) (*CreateReminderResp, error)
ParseCreateReminderResp parses an HTTP response from a CreateReminderWithResponse call
func (CreateReminderResp) Status ¶
func (r CreateReminderResp) Status() string
Status returns HTTPResponse.Status
func (CreateReminderResp) StatusCode ¶
func (r CreateReminderResp) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type CreateSettingsJSONRequestBody ¶
type CreateSettingsJSONRequestBody = SportSettings
CreateSettingsJSONRequestBody defines body for CreateSettings for application/json ContentType.
type CreateSettingsResp ¶
func ParseCreateSettingsResp ¶
func ParseCreateSettingsResp(rsp *http.Response) (*CreateSettingsResp, error)
ParseCreateSettingsResp parses an HTTP response from a CreateSettingsWithResponse call
func (CreateSettingsResp) Status ¶
func (r CreateSettingsResp) Status() string
Status returns HTTPResponse.Status
func (CreateSettingsResp) StatusCode ¶
func (r CreateSettingsResp) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type CreateSharedEventJSONRequestBody ¶
type CreateSharedEventJSONRequestBody = SharedEvent
CreateSharedEventJSONRequestBody defines body for CreateSharedEvent for application/json ContentType.
type CreateSharedEventParams ¶
type CreateSharedEventParams struct {
}
CreateSharedEventParams defines parameters for CreateSharedEvent.
type CreateSharedEventResp ¶
type CreateSharedEventResp struct {
}
func ParseCreateSharedEventResp ¶
func ParseCreateSharedEventResp(rsp *http.Response) (*CreateSharedEventResp, error)
ParseCreateSharedEventResp parses an HTTP response from a CreateSharedEventWithResponse call
func (CreateSharedEventResp) Status ¶
func (r CreateSharedEventResp) Status() string
Status returns HTTPResponse.Status
func (CreateSharedEventResp) StatusCode ¶
func (r CreateSharedEventResp) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type CreateWorkoutJSONRequestBody ¶
type CreateWorkoutJSONRequestBody = WorkoutEx
CreateWorkoutJSONRequestBody defines body for CreateWorkout for application/json ContentType.
type CreateWorkoutResp ¶
func ParseCreateWorkoutResp ¶
func ParseCreateWorkoutResp(rsp *http.Response) (*CreateWorkoutResp, error)
ParseCreateWorkoutResp parses an HTTP response from a CreateWorkoutWithResponse call
func (CreateWorkoutResp) Status ¶
func (r CreateWorkoutResp) Status() string
Status returns HTTPResponse.Status
func (CreateWorkoutResp) StatusCode ¶
func (r CreateWorkoutResp) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type Curve ¶
type Curve struct {
Coefficients *[]float64 `json:"coefficients,omitempty"`
Id *string `json:"id,omitempty"`
R2 *float64 `json:"r2,omitempty"`
}
Curve defines model for Curve.
type CustomItem ¶
type CustomItem struct {
AthleteId *string `json:"athlete_id,omitempty"`
Content *map[string]map[string]interface{} `json:"content,omitempty"`
Description *string `json:"description,omitempty"`
FromAthlete *AthleteSearchResult `json:"from_athlete,omitempty"`
FromId *int32 `json:"from_id,omitempty"`
HiddenById *string `json:"hidden_by_id,omitempty"`
HideScript *bool `json:"hide_script,omitempty"`
Id *int32 `json:"id,omitempty"`
Image *string `json:"image,omitempty"`
Index *int32 `json:"index,omitempty"`
Name *string `json:"name,omitempty"`
Type *CustomItemType `json:"type,omitempty"`
Updated *time.Time `json:"updated,omitempty"`
UsageCount *int32 `json:"usage_count,omitempty"`
Visibility *CustomItemVisibility `json:"visibility,omitempty"`
}
CustomItem defines model for CustomItem.
type CustomItemType ¶
type CustomItemType string
CustomItemType defines model for CustomItem.Type.
const ( CustomItemTypeACTIVITYCHART CustomItemType = "ACTIVITY_CHART" CustomItemTypeACTIVITYFIELD CustomItemType = "ACTIVITY_FIELD" CustomItemTypeACTIVITYHEATMAP CustomItemType = "ACTIVITY_HEATMAP" CustomItemTypeACTIVITYHISTOGRAM CustomItemType = "ACTIVITY_HISTOGRAM" CustomItemTypeACTIVITYMAP CustomItemType = "ACTIVITY_MAP" CustomItemTypeACTIVITYPANEL CustomItemType = "ACTIVITY_PANEL" CustomItemTypeACTIVITYSTREAM CustomItemType = "ACTIVITY_STREAM" CustomItemTypeFITNESSCHART CustomItemType = "FITNESS_CHART" CustomItemTypeFITNESSTABLE CustomItemType = "FITNESS_TABLE" CustomItemTypeINPUTFIELD CustomItemType = "INPUT_FIELD" CustomItemTypeINTERVALFIELD CustomItemType = "INTERVAL_FIELD" CustomItemTypeTRACECHART CustomItemType = "TRACE_CHART" CustomItemTypeZONES CustomItemType = "ZONES" )
Defines values for CustomItemType.
type CustomItemVisibility ¶
type CustomItemVisibility string
CustomItemVisibility defines model for CustomItem.Visibility.
const ( CustomItemVisibilityFOLLOWERS CustomItemVisibility = "FOLLOWERS" CustomItemVisibilityPRIVATE CustomItemVisibility = "PRIVATE" CustomItemVisibilityPUBLIC CustomItemVisibility = "PUBLIC" )
Defines values for CustomItemVisibility.
type DataCurve ¶
type DataCurve struct {
ActivityId *[]string `json:"activity_id,omitempty"`
AfterKj *int32 `json:"after_kj,omitempty"`
Days *int32 `json:"days,omitempty"`
Distance *[]float32 `json:"distance,omitempty"`
EndDateLocal *string `json:"end_date_local,omitempty"`
EndIndex *[]int32 `json:"end_index,omitempty"`
FilterLabel *string `json:"filter_label,omitempty"`
Filters *[]ActivityFilter `json:"filters,omitempty"`
Id *string `json:"id,omitempty"`
Label *string `json:"label,omitempty"`
MovingTime *int32 `json:"moving_time,omitempty"`
Percentile *float32 `json:"percentile,omitempty"`
Secs *[]int32 `json:"secs,omitempty"`
StartDateLocal *string `json:"start_date_local,omitempty"`
StartIndex *[]int32 `json:"start_index,omitempty"`
SubmaxActivityId *[][]string `json:"submax_activity_id,omitempty"`
SubmaxValues *[][]int32 `json:"submax_values,omitempty"`
TrainingLoad *int32 `json:"training_load,omitempty"`
Values *[]int32 `json:"values,omitempty"`
Weight *float32 `json:"weight,omitempty"`
}
DataCurve defines model for DataCurve.
type DataCurvePt ¶
type DataCurvePt struct {
EndIndex *int32 `json:"end_index,omitempty"`
Secs *int32 `json:"secs,omitempty"`
StartIndex *int32 `json:"start_index,omitempty"`
Value *int32 `json:"value,omitempty"`
}
DataCurvePt defines model for DataCurvePt.
type DataCurveSetHRCurve ¶
type DataCurveSetHRCurve struct {
Activities *map[string]Activity `json:"activities,omitempty"`
List *[]DataCurve `json:"list,omitempty"`
}
DataCurveSetHRCurve defines model for DataCurveSetHRCurve.
type DataCurveSetPaceCurve ¶
type DataCurveSetPaceCurve struct {
Activities *map[string]Activity `json:"activities,omitempty"`
List *[]DataCurve `json:"list,omitempty"`
}
DataCurveSetPaceCurve defines model for DataCurveSetPaceCurve.
type DataCurveSetPowerCurve ¶
type DataCurveSetPowerCurve struct {
Activities *map[string]Activity `json:"activities,omitempty"`
List *[]DataCurve `json:"list,omitempty"`
}
DataCurveSetPowerCurve defines model for DataCurveSetPowerCurve.
type DeleteActivityResp ¶
func ParseDeleteActivityResp ¶
func ParseDeleteActivityResp(rsp *http.Response) (*DeleteActivityResp, error)
ParseDeleteActivityResp parses an HTTP response from a DeleteActivityWithResponse call
func (DeleteActivityResp) Status ¶
func (r DeleteActivityResp) Status() string
Status returns HTTPResponse.Status
func (DeleteActivityResp) StatusCode ¶
func (r DeleteActivityResp) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type DeleteCustomItemResp ¶
func ParseDeleteCustomItemResp ¶
func ParseDeleteCustomItemResp(rsp *http.Response) (*DeleteCustomItemResp, error)
ParseDeleteCustomItemResp parses an HTTP response from a DeleteCustomItemWithResponse call
func (DeleteCustomItemResp) Status ¶
func (r DeleteCustomItemResp) Status() string
Status returns HTTPResponse.Status
func (DeleteCustomItemResp) StatusCode ¶
func (r DeleteCustomItemResp) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type DeleteEventParams ¶
type DeleteEventParams struct {
// Others If true then other events added at the same time are also deleted
Others *bool `form:"others,omitempty" json:"others,omitempty"`
// NotBefore Do not delete other events on the calendar before this local date (ISO-8601)
NotBefore *string `form:"notBefore,omitempty" json:"notBefore,omitempty"`
}
DeleteEventParams defines parameters for DeleteEvent.
type DeleteEventResp ¶
func ParseDeleteEventResp ¶
func ParseDeleteEventResp(rsp *http.Response) (*DeleteEventResp, error)
ParseDeleteEventResp parses an HTTP response from a DeleteEventWithResponse call
func (DeleteEventResp) Status ¶
func (r DeleteEventResp) Status() string
Status returns HTTPResponse.Status
func (DeleteEventResp) StatusCode ¶
func (r DeleteEventResp) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type DeleteEventsBulkJSONBody ¶
type DeleteEventsBulkJSONBody = []DoomedEvent
DeleteEventsBulkJSONBody defines parameters for DeleteEventsBulk.
type DeleteEventsBulkJSONRequestBody ¶
type DeleteEventsBulkJSONRequestBody = DeleteEventsBulkJSONBody
DeleteEventsBulkJSONRequestBody defines body for DeleteEventsBulk for application/json ContentType.
type DeleteEventsBulkResp ¶
func ParseDeleteEventsBulkResp ¶
func ParseDeleteEventsBulkResp(rsp *http.Response) (*DeleteEventsBulkResp, error)
ParseDeleteEventsBulkResp parses an HTTP response from a DeleteEventsBulkWithResponse call
func (DeleteEventsBulkResp) Status ¶
func (r DeleteEventsBulkResp) Status() string
Status returns HTTPResponse.Status
func (DeleteEventsBulkResp) StatusCode ¶
func (r DeleteEventsBulkResp) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type DeleteEventsParams ¶
type DeleteEventsParams struct {
// Oldest Local date (ISO-8601) of oldest event to delete
Oldest string `form:"oldest" json:"oldest"`
// Newest Local date (ISO-8601) of newest event to delete (inclusive, default is all future events)
Newest *string `form:"newest,omitempty" json:"newest,omitempty"`
// CreatedById If provided only events created by this athlete (created_by_id field) are deleted
CreatedById *string `form:"createdById,omitempty" json:"createdById,omitempty"`
// Category Comma separated list of event categories to delete (e.g. WORKOUT)
Category []string `form:"category" json:"category"`
}
DeleteEventsParams defines parameters for DeleteEvents.
type DeleteEventsResp ¶
func ParseDeleteEventsResp ¶
func ParseDeleteEventsResp(rsp *http.Response) (*DeleteEventsResp, error)
ParseDeleteEventsResp parses an HTTP response from a DeleteEventsWithResponse call
func (DeleteEventsResp) Status ¶
func (r DeleteEventsResp) Status() string
Status returns HTTPResponse.Status
func (DeleteEventsResp) StatusCode ¶
func (r DeleteEventsResp) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type DeleteEventsResponse ¶
type DeleteEventsResponse struct {
EventsDeleted *int32 `json:"eventsDeleted,omitempty"`
}
DeleteEventsResponse defines model for DeleteEventsResponse.
type DeleteFolderResp ¶
func ParseDeleteFolderResp ¶
func ParseDeleteFolderResp(rsp *http.Response) (*DeleteFolderResp, error)
ParseDeleteFolderResp parses an HTTP response from a DeleteFolderWithResponse call
func (DeleteFolderResp) Status ¶
func (r DeleteFolderResp) Status() string
Status returns HTTPResponse.Status
func (DeleteFolderResp) StatusCode ¶
func (r DeleteFolderResp) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type DeleteGearResp ¶
func ParseDeleteGearResp ¶
func ParseDeleteGearResp(rsp *http.Response) (*DeleteGearResp, error)
ParseDeleteGearResp parses an HTTP response from a DeleteGearWithResponse call
func (DeleteGearResp) Status ¶
func (r DeleteGearResp) Status() string
Status returns HTTPResponse.Status
func (DeleteGearResp) StatusCode ¶
func (r DeleteGearResp) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type DeleteIntervalsJSONBody ¶
type DeleteIntervalsJSONBody = []Interval
DeleteIntervalsJSONBody defines parameters for DeleteIntervals.
type DeleteIntervalsJSONRequestBody ¶
type DeleteIntervalsJSONRequestBody = DeleteIntervalsJSONBody
DeleteIntervalsJSONRequestBody defines body for DeleteIntervals for application/json ContentType.
type DeleteIntervalsResp ¶
func ParseDeleteIntervalsResp ¶
func ParseDeleteIntervalsResp(rsp *http.Response) (*DeleteIntervalsResp, error)
ParseDeleteIntervalsResp parses an HTTP response from a DeleteIntervalsWithResponse call
func (DeleteIntervalsResp) Status ¶
func (r DeleteIntervalsResp) Status() string
Status returns HTTPResponse.Status
func (DeleteIntervalsResp) StatusCode ¶
func (r DeleteIntervalsResp) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type DeleteMessageResp ¶
func ParseDeleteMessageResp ¶
func ParseDeleteMessageResp(rsp *http.Response) (*DeleteMessageResp, error)
ParseDeleteMessageResp parses an HTTP response from a DeleteMessageWithResponse call
func (DeleteMessageResp) Status ¶
func (r DeleteMessageResp) Status() string
Status returns HTTPResponse.Status
func (DeleteMessageResp) StatusCode ¶
func (r DeleteMessageResp) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type DeleteReminderResp ¶
func ParseDeleteReminderResp ¶
func ParseDeleteReminderResp(rsp *http.Response) (*DeleteReminderResp, error)
ParseDeleteReminderResp parses an HTTP response from a DeleteReminderWithResponse call
func (DeleteReminderResp) Status ¶
func (r DeleteReminderResp) Status() string
Status returns HTTPResponse.Status
func (DeleteReminderResp) StatusCode ¶
func (r DeleteReminderResp) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type DeleteSettingsResp ¶
func ParseDeleteSettingsResp ¶
func ParseDeleteSettingsResp(rsp *http.Response) (*DeleteSettingsResp, error)
ParseDeleteSettingsResp parses an HTTP response from a DeleteSettingsWithResponse call
func (DeleteSettingsResp) Status ¶
func (r DeleteSettingsResp) Status() string
Status returns HTTPResponse.Status
func (DeleteSettingsResp) StatusCode ¶
func (r DeleteSettingsResp) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type DeleteSharedEventResp ¶
type DeleteSharedEventResp struct {
}
func ParseDeleteSharedEventResp ¶
func ParseDeleteSharedEventResp(rsp *http.Response) (*DeleteSharedEventResp, error)
ParseDeleteSharedEventResp parses an HTTP response from a DeleteSharedEventWithResponse call
func (DeleteSharedEventResp) Status ¶
func (r DeleteSharedEventResp) Status() string
Status returns HTTPResponse.Status
func (DeleteSharedEventResp) StatusCode ¶
func (r DeleteSharedEventResp) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type DeleteWorkoutParams ¶
type DeleteWorkoutParams struct {
Others *bool `form:"others,omitempty" json:"others,omitempty"`
}
DeleteWorkoutParams defines parameters for DeleteWorkout.
type DeleteWorkoutResp ¶
func ParseDeleteWorkoutResp ¶
func ParseDeleteWorkoutResp(rsp *http.Response) (*DeleteWorkoutResp, error)
ParseDeleteWorkoutResp parses an HTTP response from a DeleteWorkoutWithResponse call
func (DeleteWorkoutResp) Status ¶
func (r DeleteWorkoutResp) Status() string
Status returns HTTPResponse.Status
func (DeleteWorkoutResp) StatusCode ¶
func (r DeleteWorkoutResp) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type DisconnectAppResp ¶
func ParseDisconnectAppResp ¶
func ParseDisconnectAppResp(rsp *http.Response) (*DisconnectAppResp, error)
ParseDisconnectAppResp parses an HTTP response from a DisconnectAppWithResponse call
func (DisconnectAppResp) Status ¶
func (r DisconnectAppResp) Status() string
Status returns HTTPResponse.Status
func (DisconnectAppResp) StatusCode ¶
func (r DisconnectAppResp) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type Display ¶
type Display struct {
Color *string `json:"color,omitempty"`
Color2 *string `json:"color2,omitempty"`
ColorScheme *string `json:"colorScheme,omitempty"`
HighIntensity *int32 `json:"highIntensity,omitempty"`
HighLoad *int32 `json:"highLoad,omitempty"`
IgnoreWorkoutColors *bool `json:"ignoreWorkoutColors,omitempty"`
LowIntensity *int32 `json:"lowIntensity,omitempty"`
LowLoad *int32 `json:"lowLoad,omitempty"`
PreciseDistance *bool `json:"preciseDistance,omitempty"`
ShowAverageHR *bool `json:"showAverageHR,omitempty"`
ShowAveragePower *bool `json:"showAveragePower,omitempty"`
ShowDescription *bool `json:"showDescription,omitempty"`
ShowFeel *bool `json:"showFeel,omitempty"`
ShowGAP *bool `json:"showGAP,omitempty"`
ShowIntensity *bool `json:"showIntensity,omitempty"`
ShowIntervals *bool `json:"showIntervals,omitempty"`
ShowLoad *bool `json:"showLoad,omitempty"`
ShowName *bool `json:"showName,omitempty"`
ShowNormalizedWatts *bool `json:"showNormalizedWatts,omitempty"`
ShowPace *bool `json:"showPace,omitempty"`
ShowPairedWorkoutChart *bool `json:"showPairedWorkoutChart,omitempty"`
ShowRPE *bool `json:"showRPE,omitempty"`
ShowSkylineChart *bool `json:"showSkylineChart,omitempty"`
ShowStartTime *bool `json:"showStartTime,omitempty"`
ShowWeightLifted *bool `json:"showWeightLifted,omitempty"`
ShowWork *bool `json:"showWork,omitempty"`
ShowWorkAboveFTP *bool `json:"showWorkAboveFTP,omitempty"`
ShrinkCommute *bool `json:"shrinkCommute,omitempty"`
ShrinkCooldown *bool `json:"shrinkCooldown,omitempty"`
ShrinkWarmup *bool `json:"shrinkWarmup,omitempty"`
UsePairedWorkoutColor *bool `json:"usePairedWorkoutColor,omitempty"`
}
Display defines model for Display.
type DoomedEvent ¶
type DoomedEvent struct {
ExternalId *string `json:"external_id,omitempty"`
Id *int32 `json:"id,omitempty"`
}
DoomedEvent defines model for DoomedEvent.
type DownloadActivitiesAsCSVResp ¶
func ParseDownloadActivitiesAsCSVResp ¶
func ParseDownloadActivitiesAsCSVResp(rsp *http.Response) (*DownloadActivitiesAsCSVResp, error)
ParseDownloadActivitiesAsCSVResp parses an HTTP response from a DownloadActivitiesAsCSVWithResponse call
func (DownloadActivitiesAsCSVResp) Status ¶
func (r DownloadActivitiesAsCSVResp) Status() string
Status returns HTTPResponse.Status
func (DownloadActivitiesAsCSVResp) StatusCode ¶
func (r DownloadActivitiesAsCSVResp) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type DownloadActivityFileResp ¶
func ParseDownloadActivityFileResp ¶
func ParseDownloadActivityFileResp(rsp *http.Response) (*DownloadActivityFileResp, error)
ParseDownloadActivityFileResp parses an HTTP response from a DownloadActivityFileWithResponse call
func (DownloadActivityFileResp) Status ¶
func (r DownloadActivityFileResp) Status() string
Status returns HTTPResponse.Status
func (DownloadActivityFileResp) StatusCode ¶
func (r DownloadActivityFileResp) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type DownloadActivityFitFileParams ¶
type DownloadActivityFitFileParams struct {
// Power Include power data
Power *bool `form:"power,omitempty" json:"power,omitempty"`
// Hr Include heart rate data
Hr *bool `form:"hr,omitempty" json:"hr,omitempty"`
}
DownloadActivityFitFileParams defines parameters for DownloadActivityFitFile.
type DownloadActivityFitFileResp ¶
func ParseDownloadActivityFitFileResp ¶
func ParseDownloadActivityFitFileResp(rsp *http.Response) (*DownloadActivityFitFileResp, error)
ParseDownloadActivityFitFileResp parses an HTTP response from a DownloadActivityFitFileWithResponse call
func (DownloadActivityFitFileResp) Status ¶
func (r DownloadActivityFitFileResp) Status() string
Status returns HTTPResponse.Status
func (DownloadActivityFitFileResp) StatusCode ¶
func (r DownloadActivityFitFileResp) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type DownloadActivityFitFilesParams ¶
type DownloadActivityFitFilesParams struct {
// Power Include power data
Power *bool `form:"power,omitempty" json:"power,omitempty"`
// Hr Include heart rate data
Hr *bool `form:"hr,omitempty" json:"hr,omitempty"`
// Ids Activity id's to download
Ids []string `form:"ids" json:"ids"`
}
DownloadActivityFitFilesParams defines parameters for DownloadActivityFitFiles.
type DownloadActivityFitFilesResp ¶
func ParseDownloadActivityFitFilesResp ¶
func ParseDownloadActivityFitFilesResp(rsp *http.Response) (*DownloadActivityFitFilesResp, error)
ParseDownloadActivityFitFilesResp parses an HTTP response from a DownloadActivityFitFilesWithResponse call
func (DownloadActivityFitFilesResp) Status ¶
func (r DownloadActivityFitFilesResp) Status() string
Status returns HTTPResponse.Status
func (DownloadActivityFitFilesResp) StatusCode ¶
func (r DownloadActivityFitFilesResp) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type DownloadActivityGpxFileParams ¶
type DownloadActivityGpxFileParams struct {
// Power Include power data
Power *bool `form:"power,omitempty" json:"power,omitempty"`
// Hr Include heart rate data
Hr *bool `form:"hr,omitempty" json:"hr,omitempty"`
}
DownloadActivityGpxFileParams defines parameters for DownloadActivityGpxFile.
type DownloadActivityGpxFileResp ¶
func ParseDownloadActivityGpxFileResp ¶
func ParseDownloadActivityGpxFileResp(rsp *http.Response) (*DownloadActivityGpxFileResp, error)
ParseDownloadActivityGpxFileResp parses an HTTP response from a DownloadActivityGpxFileWithResponse call
func (DownloadActivityGpxFileResp) Status ¶
func (r DownloadActivityGpxFileResp) Status() string
Status returns HTTPResponse.Status
func (DownloadActivityGpxFileResp) StatusCode ¶
func (r DownloadActivityGpxFileResp) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type DownloadWorkout1Resp ¶
func ParseDownloadWorkout1Resp ¶
func ParseDownloadWorkout1Resp(rsp *http.Response) (*DownloadWorkout1Resp, error)
ParseDownloadWorkout1Resp parses an HTTP response from a DownloadWorkout1WithResponse call
func (DownloadWorkout1Resp) Status ¶
func (r DownloadWorkout1Resp) Status() string
Status returns HTTPResponse.Status
func (DownloadWorkout1Resp) StatusCode ¶
func (r DownloadWorkout1Resp) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type DownloadWorkoutForAthleteJSONRequestBody ¶
type DownloadWorkoutForAthleteJSONRequestBody = Workout
DownloadWorkoutForAthleteJSONRequestBody defines body for DownloadWorkoutForAthlete for application/json ContentType.
type DownloadWorkoutForAthleteResp ¶
func ParseDownloadWorkoutForAthleteResp ¶
func ParseDownloadWorkoutForAthleteResp(rsp *http.Response) (*DownloadWorkoutForAthleteResp, error)
ParseDownloadWorkoutForAthleteResp parses an HTTP response from a DownloadWorkoutForAthleteWithResponse call
func (DownloadWorkoutForAthleteResp) Status ¶
func (r DownloadWorkoutForAthleteResp) Status() string
Status returns HTTPResponse.Status
func (DownloadWorkoutForAthleteResp) StatusCode ¶
func (r DownloadWorkoutForAthleteResp) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type DownloadWorkoutJSONRequestBody ¶
type DownloadWorkoutJSONRequestBody = Workout
DownloadWorkoutJSONRequestBody defines body for DownloadWorkout for application/json ContentType.
type DownloadWorkoutResp ¶
func ParseDownloadWorkoutResp ¶
func ParseDownloadWorkoutResp(rsp *http.Response) (*DownloadWorkoutResp, error)
ParseDownloadWorkoutResp parses an HTTP response from a DownloadWorkoutWithResponse call
func (DownloadWorkoutResp) Status ¶
func (r DownloadWorkoutResp) Status() string
Status returns HTTPResponse.Status
func (DownloadWorkoutResp) StatusCode ¶
func (r DownloadWorkoutResp) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type DownloadWorkoutsParams ¶
type DownloadWorkoutsParams struct {
// Ext Format: zwo, mrc, erg or fit
Ext string `form:"ext" json:"ext"`
// Oldest Local date (ISO-8601) of oldest workout
Oldest string `form:"oldest" json:"oldest"`
// Newest Local date (ISO-8601) of newest workout (inclusive)
Newest string `form:"newest" json:"newest"`
PowerRange *float64 `form:"powerRange,omitempty" json:"powerRange,omitempty"`
HrRange *float64 `form:"hrRange,omitempty" json:"hrRange,omitempty"`
PaceRange *float64 `form:"paceRange,omitempty" json:"paceRange,omitempty"`
Locale *string `form:"locale,omitempty" json:"locale,omitempty"`
}
DownloadWorkoutsParams defines parameters for DownloadWorkouts.
type DownloadWorkoutsResp ¶
func ParseDownloadWorkoutsResp ¶
func ParseDownloadWorkoutsResp(rsp *http.Response) (*DownloadWorkoutsResp, error)
ParseDownloadWorkoutsResp parses an HTTP response from a DownloadWorkoutsWithResponse call
func (DownloadWorkoutsResp) Status ¶
func (r DownloadWorkoutsResp) Status() string
Status returns HTTPResponse.Status
func (DownloadWorkoutsResp) StatusCode ¶
func (r DownloadWorkoutsResp) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type DuplicateEventsDTO ¶
type DuplicateEventsDTO struct {
EventIds *[]int32 `json:"eventIds,omitempty"`
NumCopies *int32 `json:"numCopies,omitempty"`
WeeksBetween *int32 `json:"weeksBetween,omitempty"`
}
DuplicateEventsDTO defines model for DuplicateEventsDTO.
type DuplicateEventsJSONRequestBody ¶
type DuplicateEventsJSONRequestBody = DuplicateEventsDTO
DuplicateEventsJSONRequestBody defines body for DuplicateEvents for application/json ContentType.
type DuplicateEventsResp ¶
func ParseDuplicateEventsResp ¶
func ParseDuplicateEventsResp(rsp *http.Response) (*DuplicateEventsResp, error)
ParseDuplicateEventsResp parses an HTTP response from a DuplicateEventsWithResponse call
func (DuplicateEventsResp) Status ¶
func (r DuplicateEventsResp) Status() string
Status returns HTTPResponse.Status
func (DuplicateEventsResp) StatusCode ¶
func (r DuplicateEventsResp) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type DuplicateWorkoutsDTO ¶
type DuplicateWorkoutsDTO struct {
NumCopies *int32 `json:"numCopies,omitempty"`
WeeksBetween *int32 `json:"weeksBetween,omitempty"`
WorkoutIds *[]int32 `json:"workoutIds,omitempty"`
}
DuplicateWorkoutsDTO defines model for DuplicateWorkoutsDTO.
type DuplicateWorkoutsJSONRequestBody ¶
type DuplicateWorkoutsJSONRequestBody = DuplicateWorkoutsDTO
DuplicateWorkoutsJSONRequestBody defines body for DuplicateWorkouts for application/json ContentType.
type DuplicateWorkoutsResp ¶
func ParseDuplicateWorkoutsResp ¶
func ParseDuplicateWorkoutsResp(rsp *http.Response) (*DuplicateWorkoutsResp, error)
ParseDuplicateWorkoutsResp parses an HTTP response from a DuplicateWorkoutsWithResponse call
func (DuplicateWorkoutsResp) Status ¶
func (r DuplicateWorkoutsResp) Status() string
Status returns HTTPResponse.Status
func (DuplicateWorkoutsResp) StatusCode ¶
func (r DuplicateWorkoutsResp) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type Effort ¶
type Effort struct {
Average *float32 `json:"average,omitempty"`
Distance *float32 `json:"distance,omitempty"`
Duration *int32 `json:"duration,omitempty"`
EndIndex *int32 `json:"end_index,omitempty"`
StartIndex *int32 `json:"start_index,omitempty"`
}
Effort defines model for Effort.
type Event ¶
type Event struct {
AthleteCannotEdit *bool `json:"athlete_cannot_edit,omitempty"`
AthleteId *string `json:"athlete_id,omitempty"`
AtlDays *int32 `json:"atl_days,omitempty"`
Attachments *[]Attachment `json:"attachments,omitempty"`
CalendarId *int32 `json:"calendar_id,omitempty"`
CanTrainSports *[]EventCanTrainSports `json:"can_train_sports,omitempty"`
CarbsPerHour *int32 `json:"carbs_per_hour,omitempty"`
CarbsUsed *int32 `json:"carbs_used,omitempty"`
Category *EventCategory `json:"category,omitempty"`
Color *string `json:"color,omitempty"`
CreatedById *string `json:"created_by_id,omitempty"`
CtlDays *int32 `json:"ctl_days,omitempty"`
Description *string `json:"description,omitempty"`
Distance *float32 `json:"distance,omitempty"`
DistanceTarget *float32 `json:"distance_target,omitempty"`
EndDateLocal *string `json:"end_date_local,omitempty"`
Entered *bool `json:"entered,omitempty"`
ExternalId *string `json:"external_id,omitempty"`
ForWeek *bool `json:"for_week,omitempty"`
HideFromAthlete *bool `json:"hide_from_athlete,omitempty"`
IcuAtl *float32 `json:"icu_atl,omitempty"`
IcuCtl *float32 `json:"icu_ctl,omitempty"`
IcuFtp *int32 `json:"icu_ftp,omitempty"`
IcuIntensity *float32 `json:"icu_intensity,omitempty"`
IcuTrainingLoad *int32 `json:"icu_training_load,omitempty"`
Id *int32 `json:"id,omitempty"`
Indoor *bool `json:"indoor,omitempty"`
Joules *int32 `json:"joules,omitempty"`
JoulesAboveFtp *int32 `json:"joules_above_ftp,omitempty"`
LoadTarget *int32 `json:"load_target,omitempty"`
MaxTrainingTime *int32 `json:"max_training_time,omitempty"`
MovingTime *int32 `json:"moving_time,omitempty"`
Name *string `json:"name,omitempty"`
NotOnFitnessChart *bool `json:"not_on_fitness_chart,omitempty"`
OauthClientId *int32 `json:"oauth_client_id,omitempty"`
PMax *int32 `json:"p_max,omitempty"`
PlanApplied *time.Time `json:"plan_applied,omitempty"`
PlanAthleteId *string `json:"plan_athlete_id,omitempty"`
PlanFolderId *int32 `json:"plan_folder_id,omitempty"`
PlanWorkoutId *int32 `json:"plan_workout_id,omitempty"`
PushErrors *[]PushError `json:"push_errors,omitempty"`
ShowAsNote *bool `json:"show_as_note,omitempty"`
ShowOnCtlLine *bool `json:"show_on_ctl_line,omitempty"`
SsCp *float32 `json:"ss_cp,omitempty"`
SsPMax *float32 `json:"ss_p_max,omitempty"`
SsWPrime *float32 `json:"ss_w_prime,omitempty"`
StartDateLocal *string `json:"start_date_local,omitempty"`
StrainScore *float32 `json:"strain_score,omitempty"`
StructureReadOnly *bool `json:"structure_read_only,omitempty"`
SubType *EventSubType `json:"sub_type,omitempty"`
Tags *[]string `json:"tags,omitempty"`
Target *EventTarget `json:"target,omitempty"`
TimeTarget *int32 `json:"time_target,omitempty"`
TrainingAvailability *EventTrainingAvailability `json:"training_availability,omitempty"`
Type *string `json:"type,omitempty"`
Uid *string `json:"uid,omitempty"`
Updated *time.Time `json:"updated,omitempty"`
WPrime *int32 `json:"w_prime,omitempty"`
WorkoutDoc *map[string]map[string]interface{} `json:"workout_doc,omitempty"`
}
Event defines model for Event.
type EventCanTrainSports ¶
type EventCanTrainSports string
EventCanTrainSports defines model for Event.CanTrainSports.
const ( EventCanTrainSportsAlpineSki EventCanTrainSports = "AlpineSki" EventCanTrainSportsBackcountrySki EventCanTrainSports = "BackcountrySki" EventCanTrainSportsBadminton EventCanTrainSports = "Badminton" EventCanTrainSportsCanoeing EventCanTrainSports = "Canoeing" EventCanTrainSportsCrossfit EventCanTrainSports = "Crossfit" EventCanTrainSportsEBikeRide EventCanTrainSports = "EBikeRide" EventCanTrainSportsEMountainBikeRide EventCanTrainSports = "EMountainBikeRide" EventCanTrainSportsElliptical EventCanTrainSports = "Elliptical" EventCanTrainSportsGolf EventCanTrainSports = "Golf" EventCanTrainSportsGravelRide EventCanTrainSports = "GravelRide" EventCanTrainSportsHandcycle EventCanTrainSports = "Handcycle" EventCanTrainSportsHighIntensityIntervalTraining EventCanTrainSports = "HighIntensityIntervalTraining" EventCanTrainSportsHike EventCanTrainSports = "Hike" EventCanTrainSportsHockey EventCanTrainSports = "Hockey" EventCanTrainSportsIceSkate EventCanTrainSports = "IceSkate" EventCanTrainSportsInlineSkate EventCanTrainSports = "InlineSkate" EventCanTrainSportsKayaking EventCanTrainSports = "Kayaking" EventCanTrainSportsKitesurf EventCanTrainSports = "Kitesurf" EventCanTrainSportsMountainBikeRide EventCanTrainSports = "MountainBikeRide" EventCanTrainSportsNordicSki EventCanTrainSports = "NordicSki" EventCanTrainSportsOpenWaterSwim EventCanTrainSports = "OpenWaterSwim" EventCanTrainSportsOther EventCanTrainSports = "Other" EventCanTrainSportsPadel EventCanTrainSports = "Padel" EventCanTrainSportsPickleball EventCanTrainSports = "Pickleball" EventCanTrainSportsPilates EventCanTrainSports = "Pilates" EventCanTrainSportsRacquetball EventCanTrainSports = "Racquetball" EventCanTrainSportsRide EventCanTrainSports = "Ride" EventCanTrainSportsRockClimbing EventCanTrainSports = "RockClimbing" EventCanTrainSportsRollerSki EventCanTrainSports = "RollerSki" EventCanTrainSportsRowing EventCanTrainSports = "Rowing" EventCanTrainSportsRugby EventCanTrainSports = "Rugby" EventCanTrainSportsRun EventCanTrainSports = "Run" EventCanTrainSportsSail EventCanTrainSports = "Sail" EventCanTrainSportsSkateboard EventCanTrainSports = "Skateboard" EventCanTrainSportsSnowboard EventCanTrainSports = "Snowboard" EventCanTrainSportsSnowshoe EventCanTrainSports = "Snowshoe" EventCanTrainSportsSoccer EventCanTrainSports = "Soccer" EventCanTrainSportsSquash EventCanTrainSports = "Squash" EventCanTrainSportsStairStepper EventCanTrainSports = "StairStepper" EventCanTrainSportsStandUpPaddling EventCanTrainSports = "StandUpPaddling" EventCanTrainSportsSurfing EventCanTrainSports = "Surfing" EventCanTrainSportsSwim EventCanTrainSports = "Swim" EventCanTrainSportsTableTennis EventCanTrainSports = "TableTennis" EventCanTrainSportsTennis EventCanTrainSports = "Tennis" EventCanTrainSportsTrackRide EventCanTrainSports = "TrackRide" EventCanTrainSportsTrailRun EventCanTrainSports = "TrailRun" EventCanTrainSportsTransition EventCanTrainSports = "Transition" EventCanTrainSportsVelomobile EventCanTrainSports = "Velomobile" EventCanTrainSportsVirtualRide EventCanTrainSports = "VirtualRide" EventCanTrainSportsVirtualRow EventCanTrainSports = "VirtualRow" EventCanTrainSportsVirtualRun EventCanTrainSports = "VirtualRun" EventCanTrainSportsVirtualSki EventCanTrainSports = "VirtualSki" EventCanTrainSportsWalk EventCanTrainSports = "Walk" EventCanTrainSportsWaterSport EventCanTrainSports = "WaterSport" EventCanTrainSportsWeightTraining EventCanTrainSports = "WeightTraining" EventCanTrainSportsWheelchair EventCanTrainSports = "Wheelchair" EventCanTrainSportsWindsurf EventCanTrainSports = "Windsurf" EventCanTrainSportsWorkout EventCanTrainSports = "Workout" EventCanTrainSportsYoga EventCanTrainSports = "Yoga" )
Defines values for EventCanTrainSports.
type EventCategory ¶
type EventCategory string
EventCategory defines model for Event.Category.
const ( EventCategoryFITNESSDAYS EventCategory = "FITNESS_DAYS" EventCategoryHOLIDAY EventCategory = "HOLIDAY" EventCategoryINJURED EventCategory = "INJURED" EventCategoryNOTE EventCategory = "NOTE" EventCategoryPLAN EventCategory = "PLAN" EventCategoryRACEA EventCategory = "RACE_A" EventCategoryRACEB EventCategory = "RACE_B" EventCategoryRACEC EventCategory = "RACE_C" EventCategorySEASONSTART EventCategory = "SEASON_START" EventCategorySETEFTP EventCategory = "SET_EFTP" EventCategorySETFITNESS EventCategory = "SET_FITNESS" EventCategorySICK EventCategory = "SICK" EventCategoryTARGET EventCategory = "TARGET" EventCategoryWORKOUT EventCategory = "WORKOUT" )
Defines values for EventCategory.
type EventEx ¶
type EventEx struct {
AthleteCannotEdit *bool `json:"athlete_cannot_edit,omitempty"`
AthleteId *string `json:"athlete_id,omitempty"`
AtlDays *int32 `json:"atl_days,omitempty"`
Attachments *[]Attachment `json:"attachments,omitempty"`
CalendarId *int32 `json:"calendar_id,omitempty"`
CanTrainSports *[]EventExCanTrainSports `json:"can_train_sports,omitempty"`
CarbsPerHour *int32 `json:"carbs_per_hour,omitempty"`
CarbsUsed *int32 `json:"carbs_used,omitempty"`
Category *EventExCategory `json:"category,omitempty"`
Color *string `json:"color,omitempty"`
CreatedById *string `json:"created_by_id,omitempty"`
CtlDays *int32 `json:"ctl_days,omitempty"`
Description *string `json:"description,omitempty"`
Distance *float32 `json:"distance,omitempty"`
DistanceTarget *float32 `json:"distance_target,omitempty"`
EndDateLocal *string `json:"end_date_local,omitempty"`
Entered *bool `json:"entered,omitempty"`
ExternalId *string `json:"external_id,omitempty"`
FileContents *string `json:"file_contents,omitempty"`
FileContentsBase64 *string `json:"file_contents_base64,omitempty"`
Filename *string `json:"filename,omitempty"`
ForWeek *bool `json:"for_week,omitempty"`
HideFromAthlete *bool `json:"hide_from_athlete,omitempty"`
IcuAtl *float32 `json:"icu_atl,omitempty"`
IcuCtl *float32 `json:"icu_ctl,omitempty"`
IcuFtp *int32 `json:"icu_ftp,omitempty"`
IcuIntensity *float32 `json:"icu_intensity,omitempty"`
IcuTrainingLoad *int32 `json:"icu_training_load,omitempty"`
Id *int32 `json:"id,omitempty"`
Indoor *bool `json:"indoor,omitempty"`
Joules *int32 `json:"joules,omitempty"`
JoulesAboveFtp *int32 `json:"joules_above_ftp,omitempty"`
LoadTarget *int32 `json:"load_target,omitempty"`
MaxTrainingTime *int32 `json:"max_training_time,omitempty"`
MovingTime *int32 `json:"moving_time,omitempty"`
Name *string `json:"name,omitempty"`
NotOnFitnessChart *bool `json:"not_on_fitness_chart,omitempty"`
OauthClientId *int32 `json:"oauth_client_id,omitempty"`
PMax *int32 `json:"p_max,omitempty"`
PlanApplied *time.Time `json:"plan_applied,omitempty"`
PlanAthleteId *string `json:"plan_athlete_id,omitempty"`
PlanFolderId *int32 `json:"plan_folder_id,omitempty"`
PlanWorkoutId *int32 `json:"plan_workout_id,omitempty"`
PushErrors *[]PushError `json:"push_errors,omitempty"`
ShowAsNote *bool `json:"show_as_note,omitempty"`
ShowOnCtlLine *bool `json:"show_on_ctl_line,omitempty"`
SsCp *float32 `json:"ss_cp,omitempty"`
SsPMax *float32 `json:"ss_p_max,omitempty"`
SsWPrime *float32 `json:"ss_w_prime,omitempty"`
StartDateLocal *string `json:"start_date_local,omitempty"`
StrainScore *float32 `json:"strain_score,omitempty"`
StructureReadOnly *bool `json:"structure_read_only,omitempty"`
SubType *EventExSubType `json:"sub_type,omitempty"`
Tags *[]string `json:"tags,omitempty"`
Target *EventExTarget `json:"target,omitempty"`
TimeTarget *int32 `json:"time_target,omitempty"`
TrainingAvailability *EventExTrainingAvailability `json:"training_availability,omitempty"`
Type *string `json:"type,omitempty"`
Uid *string `json:"uid,omitempty"`
Updated *time.Time `json:"updated,omitempty"`
WPrime *int32 `json:"w_prime,omitempty"`
Workout *Workout `json:"workout,omitempty"`
WorkoutDoc *map[string]map[string]interface{} `json:"workout_doc,omitempty"`
}
EventEx defines model for EventEx.
type EventExCanTrainSports ¶
type EventExCanTrainSports string
EventExCanTrainSports defines model for EventEx.CanTrainSports.
const ( EventExCanTrainSportsAlpineSki EventExCanTrainSports = "AlpineSki" EventExCanTrainSportsBackcountrySki EventExCanTrainSports = "BackcountrySki" EventExCanTrainSportsBadminton EventExCanTrainSports = "Badminton" EventExCanTrainSportsCanoeing EventExCanTrainSports = "Canoeing" EventExCanTrainSportsCrossfit EventExCanTrainSports = "Crossfit" EventExCanTrainSportsEBikeRide EventExCanTrainSports = "EBikeRide" EventExCanTrainSportsEMountainBikeRide EventExCanTrainSports = "EMountainBikeRide" EventExCanTrainSportsElliptical EventExCanTrainSports = "Elliptical" EventExCanTrainSportsGolf EventExCanTrainSports = "Golf" EventExCanTrainSportsGravelRide EventExCanTrainSports = "GravelRide" EventExCanTrainSportsHandcycle EventExCanTrainSports = "Handcycle" EventExCanTrainSportsHighIntensityIntervalTraining EventExCanTrainSports = "HighIntensityIntervalTraining" EventExCanTrainSportsHike EventExCanTrainSports = "Hike" EventExCanTrainSportsHockey EventExCanTrainSports = "Hockey" EventExCanTrainSportsIceSkate EventExCanTrainSports = "IceSkate" EventExCanTrainSportsInlineSkate EventExCanTrainSports = "InlineSkate" EventExCanTrainSportsKayaking EventExCanTrainSports = "Kayaking" EventExCanTrainSportsKitesurf EventExCanTrainSports = "Kitesurf" EventExCanTrainSportsMountainBikeRide EventExCanTrainSports = "MountainBikeRide" EventExCanTrainSportsNordicSki EventExCanTrainSports = "NordicSki" EventExCanTrainSportsOpenWaterSwim EventExCanTrainSports = "OpenWaterSwim" EventExCanTrainSportsOther EventExCanTrainSports = "Other" EventExCanTrainSportsPadel EventExCanTrainSports = "Padel" EventExCanTrainSportsPickleball EventExCanTrainSports = "Pickleball" EventExCanTrainSportsPilates EventExCanTrainSports = "Pilates" EventExCanTrainSportsRacquetball EventExCanTrainSports = "Racquetball" EventExCanTrainSportsRide EventExCanTrainSports = "Ride" EventExCanTrainSportsRockClimbing EventExCanTrainSports = "RockClimbing" EventExCanTrainSportsRollerSki EventExCanTrainSports = "RollerSki" EventExCanTrainSportsRowing EventExCanTrainSports = "Rowing" EventExCanTrainSportsRugby EventExCanTrainSports = "Rugby" EventExCanTrainSportsRun EventExCanTrainSports = "Run" EventExCanTrainSportsSail EventExCanTrainSports = "Sail" EventExCanTrainSportsSkateboard EventExCanTrainSports = "Skateboard" EventExCanTrainSportsSnowboard EventExCanTrainSports = "Snowboard" EventExCanTrainSportsSnowshoe EventExCanTrainSports = "Snowshoe" EventExCanTrainSportsSoccer EventExCanTrainSports = "Soccer" EventExCanTrainSportsSquash EventExCanTrainSports = "Squash" EventExCanTrainSportsStairStepper EventExCanTrainSports = "StairStepper" EventExCanTrainSportsStandUpPaddling EventExCanTrainSports = "StandUpPaddling" EventExCanTrainSportsSurfing EventExCanTrainSports = "Surfing" EventExCanTrainSportsSwim EventExCanTrainSports = "Swim" EventExCanTrainSportsTableTennis EventExCanTrainSports = "TableTennis" EventExCanTrainSportsTennis EventExCanTrainSports = "Tennis" EventExCanTrainSportsTrackRide EventExCanTrainSports = "TrackRide" EventExCanTrainSportsTrailRun EventExCanTrainSports = "TrailRun" EventExCanTrainSportsTransition EventExCanTrainSports = "Transition" EventExCanTrainSportsVelomobile EventExCanTrainSports = "Velomobile" EventExCanTrainSportsVirtualRide EventExCanTrainSports = "VirtualRide" EventExCanTrainSportsVirtualRow EventExCanTrainSports = "VirtualRow" EventExCanTrainSportsVirtualRun EventExCanTrainSports = "VirtualRun" EventExCanTrainSportsVirtualSki EventExCanTrainSports = "VirtualSki" EventExCanTrainSportsWalk EventExCanTrainSports = "Walk" EventExCanTrainSportsWaterSport EventExCanTrainSports = "WaterSport" EventExCanTrainSportsWeightTraining EventExCanTrainSports = "WeightTraining" EventExCanTrainSportsWheelchair EventExCanTrainSports = "Wheelchair" EventExCanTrainSportsWindsurf EventExCanTrainSports = "Windsurf" EventExCanTrainSportsWorkout EventExCanTrainSports = "Workout" EventExCanTrainSportsYoga EventExCanTrainSports = "Yoga" )
Defines values for EventExCanTrainSports.
type EventExCategory ¶
type EventExCategory string
EventExCategory defines model for EventEx.Category.
const ( EventExCategoryFITNESSDAYS EventExCategory = "FITNESS_DAYS" EventExCategoryHOLIDAY EventExCategory = "HOLIDAY" EventExCategoryINJURED EventExCategory = "INJURED" EventExCategoryNOTE EventExCategory = "NOTE" EventExCategoryPLAN EventExCategory = "PLAN" EventExCategoryRACEA EventExCategory = "RACE_A" EventExCategoryRACEB EventExCategory = "RACE_B" EventExCategoryRACEC EventExCategory = "RACE_C" EventExCategorySEASONSTART EventExCategory = "SEASON_START" EventExCategorySETEFTP EventExCategory = "SET_EFTP" EventExCategorySETFITNESS EventExCategory = "SET_FITNESS" EventExCategorySICK EventExCategory = "SICK" EventExCategoryTARGET EventExCategory = "TARGET" EventExCategoryWORKOUT EventExCategory = "WORKOUT" )
Defines values for EventExCategory.
type EventExSubType ¶
type EventExSubType string
EventExSubType defines model for EventEx.SubType.
const ( EventExSubTypeCOMMUTE EventExSubType = "COMMUTE" EventExSubTypeCOOLDOWN EventExSubType = "COOLDOWN" EventExSubTypeNONE EventExSubType = "NONE" EventExSubTypeRACE EventExSubType = "RACE" EventExSubTypeWARMUP EventExSubType = "WARMUP" )
Defines values for EventExSubType.
type EventExTarget ¶
type EventExTarget string
EventExTarget defines model for EventEx.Target.
const ( EventExTargetAUTO EventExTarget = "AUTO" EventExTargetHR EventExTarget = "HR" EventExTargetPACE EventExTarget = "PACE" EventExTargetPOWER EventExTarget = "POWER" )
Defines values for EventExTarget.
type EventExTrainingAvailability ¶
type EventExTrainingAvailability string
EventExTrainingAvailability defines model for EventEx.TrainingAvailability.
const ( LIMITED EventExTrainingAvailability = "LIMITED" NORMAL EventExTrainingAvailability = "NORMAL" UNAVAILABLE EventExTrainingAvailability = "UNAVAILABLE" )
Defines values for EventExTrainingAvailability.
type EventSubType ¶
type EventSubType string
EventSubType defines model for Event.SubType.
const ( EventSubTypeCOMMUTE EventSubType = "COMMUTE" EventSubTypeCOOLDOWN EventSubType = "COOLDOWN" EventSubTypeNONE EventSubType = "NONE" EventSubTypeRACE EventSubType = "RACE" EventSubTypeWARMUP EventSubType = "WARMUP" )
Defines values for EventSubType.
type EventTarget ¶
type EventTarget string
EventTarget defines model for Event.Target.
const ( EventTargetAUTO EventTarget = "AUTO" EventTargetHR EventTarget = "HR" EventTargetPACE EventTarget = "PACE" EventTargetPOWER EventTarget = "POWER" )
Defines values for EventTarget.
type EventTrainingAvailability ¶
type EventTrainingAvailability string
EventTrainingAvailability defines model for Event.TrainingAvailability.
const ( EventTrainingAvailabilityLIMITED EventTrainingAvailability = "LIMITED" EventTrainingAvailabilityNORMAL EventTrainingAvailability = "NORMAL" EventTrainingAvailabilityUNAVAILABLE EventTrainingAvailability = "UNAVAILABLE" )
Defines values for EventTrainingAvailability.
type FindBestEffortsParams ¶
type FindBestEffortsParams struct {
// Stream Stream to search
Stream string `form:"stream" json:"stream"`
// Duration Duration of each effort in seconds
Duration *int32 `form:"duration,omitempty" json:"duration,omitempty"`
// Distance Distance of each effort in meters
Distance *float32 `form:"distance,omitempty" json:"distance,omitempty"`
// Count Number of efforts to return
Count *int32 `form:"count,omitempty" json:"count,omitempty"`
// MinValue Minimum average value for each interval, intervals will expand if specified
MinValue *float32 `form:"minValue,omitempty" json:"minValue,omitempty"`
// ExcludeIntervals If true portions of the stream that are included in work intervals are not considered
ExcludeIntervals *bool `form:"excludeIntervals,omitempty" json:"excludeIntervals,omitempty"`
// StartIndex First point in stream to consider
StartIndex *int32 `form:"startIndex,omitempty" json:"startIndex,omitempty"`
// EndIndex Last point in stream to consider (exclusive, default is whole stream)
EndIndex *int32 `form:"endIndex,omitempty" json:"endIndex,omitempty"`
}
FindBestEffortsParams defines parameters for FindBestEfforts.
type FindBestEffortsResp ¶
func ParseFindBestEffortsResp ¶
func ParseFindBestEffortsResp(rsp *http.Response) (*FindBestEffortsResp, error)
ParseFindBestEffortsResp parses an HTTP response from a FindBestEffortsWithResponse call
func (FindBestEffortsResp) Status ¶
func (r FindBestEffortsResp) Status() string
Status returns HTTPResponse.Status
func (FindBestEffortsResp) StatusCode ¶
func (r FindBestEffortsResp) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type Folder ¶
type Folder struct {
ActivityTypes *[]FolderActivityTypes `json:"activity_types,omitempty"`
AthleteId *string `json:"athlete_id,omitempty"`
AutoRolloutDay *int32 `json:"auto_rollout_day,omitempty"`
Blurb *string `json:"blurb,omitempty"`
CanEdit *bool `json:"canEdit,omitempty"`
Children *[]Workout `json:"children,omitempty"`
Description *string `json:"description,omitempty"`
DurationWeeks *int32 `json:"duration_weeks,omitempty"`
HoursPerWeekMax *int32 `json:"hours_per_week_max,omitempty"`
HoursPerWeekMin *int32 `json:"hours_per_week_min,omitempty"`
Id *int32 `json:"id,omitempty"`
Name *string `json:"name,omitempty"`
NumWorkouts *int32 `json:"num_workouts,omitempty"`
Owner *AthleteSearchResult `json:"owner,omitempty"`
ReadOnlyWorkouts *bool `json:"read_only_workouts,omitempty"`
RolloutWeeks *int32 `json:"rollout_weeks,omitempty"`
StartDateLocal *string `json:"start_date_local,omitempty"`
StartingAtl *int32 `json:"starting_atl,omitempty"`
StartingCtl *int32 `json:"starting_ctl,omitempty"`
Type *FolderType `json:"type,omitempty"`
Visibility *FolderVisibility `json:"visibility,omitempty"`
WorkoutTargets *[]FolderWorkoutTargets `json:"workout_targets,omitempty"`
}
Folder defines model for Folder.
type FolderActivityTypes ¶
type FolderActivityTypes string
FolderActivityTypes defines model for Folder.ActivityTypes.
const ( FolderActivityTypesAlpineSki FolderActivityTypes = "AlpineSki" FolderActivityTypesBackcountrySki FolderActivityTypes = "BackcountrySki" FolderActivityTypesBadminton FolderActivityTypes = "Badminton" FolderActivityTypesCanoeing FolderActivityTypes = "Canoeing" FolderActivityTypesCrossfit FolderActivityTypes = "Crossfit" FolderActivityTypesEBikeRide FolderActivityTypes = "EBikeRide" FolderActivityTypesEMountainBikeRide FolderActivityTypes = "EMountainBikeRide" FolderActivityTypesElliptical FolderActivityTypes = "Elliptical" FolderActivityTypesGolf FolderActivityTypes = "Golf" FolderActivityTypesGravelRide FolderActivityTypes = "GravelRide" FolderActivityTypesHandcycle FolderActivityTypes = "Handcycle" FolderActivityTypesHighIntensityIntervalTraining FolderActivityTypes = "HighIntensityIntervalTraining" FolderActivityTypesHike FolderActivityTypes = "Hike" FolderActivityTypesHockey FolderActivityTypes = "Hockey" FolderActivityTypesIceSkate FolderActivityTypes = "IceSkate" FolderActivityTypesInlineSkate FolderActivityTypes = "InlineSkate" FolderActivityTypesKayaking FolderActivityTypes = "Kayaking" FolderActivityTypesKitesurf FolderActivityTypes = "Kitesurf" FolderActivityTypesMountainBikeRide FolderActivityTypes = "MountainBikeRide" FolderActivityTypesNordicSki FolderActivityTypes = "NordicSki" FolderActivityTypesOpenWaterSwim FolderActivityTypes = "OpenWaterSwim" FolderActivityTypesOther FolderActivityTypes = "Other" FolderActivityTypesPadel FolderActivityTypes = "Padel" FolderActivityTypesPickleball FolderActivityTypes = "Pickleball" FolderActivityTypesPilates FolderActivityTypes = "Pilates" FolderActivityTypesRacquetball FolderActivityTypes = "Racquetball" FolderActivityTypesRide FolderActivityTypes = "Ride" FolderActivityTypesRockClimbing FolderActivityTypes = "RockClimbing" FolderActivityTypesRollerSki FolderActivityTypes = "RollerSki" FolderActivityTypesRowing FolderActivityTypes = "Rowing" FolderActivityTypesRugby FolderActivityTypes = "Rugby" FolderActivityTypesRun FolderActivityTypes = "Run" FolderActivityTypesSail FolderActivityTypes = "Sail" FolderActivityTypesSkateboard FolderActivityTypes = "Skateboard" FolderActivityTypesSnowboard FolderActivityTypes = "Snowboard" FolderActivityTypesSnowshoe FolderActivityTypes = "Snowshoe" FolderActivityTypesSoccer FolderActivityTypes = "Soccer" FolderActivityTypesSquash FolderActivityTypes = "Squash" FolderActivityTypesStairStepper FolderActivityTypes = "StairStepper" FolderActivityTypesStandUpPaddling FolderActivityTypes = "StandUpPaddling" FolderActivityTypesSurfing FolderActivityTypes = "Surfing" FolderActivityTypesSwim FolderActivityTypes = "Swim" FolderActivityTypesTableTennis FolderActivityTypes = "TableTennis" FolderActivityTypesTennis FolderActivityTypes = "Tennis" FolderActivityTypesTrackRide FolderActivityTypes = "TrackRide" FolderActivityTypesTrailRun FolderActivityTypes = "TrailRun" FolderActivityTypesTransition FolderActivityTypes = "Transition" FolderActivityTypesVelomobile FolderActivityTypes = "Velomobile" FolderActivityTypesVirtualRide FolderActivityTypes = "VirtualRide" FolderActivityTypesVirtualRow FolderActivityTypes = "VirtualRow" FolderActivityTypesVirtualRun FolderActivityTypes = "VirtualRun" FolderActivityTypesVirtualSki FolderActivityTypes = "VirtualSki" FolderActivityTypesWalk FolderActivityTypes = "Walk" FolderActivityTypesWaterSport FolderActivityTypes = "WaterSport" FolderActivityTypesWeightTraining FolderActivityTypes = "WeightTraining" FolderActivityTypesWheelchair FolderActivityTypes = "Wheelchair" FolderActivityTypesWindsurf FolderActivityTypes = "Windsurf" FolderActivityTypesWorkout FolderActivityTypes = "Workout" FolderActivityTypesYoga FolderActivityTypes = "Yoga" )
Defines values for FolderActivityTypes.
type FolderType ¶
type FolderType string
FolderType defines model for Folder.Type.
const ( FolderTypeFOLDER FolderType = "FOLDER" FolderTypePLAN FolderType = "PLAN" )
Defines values for FolderType.
type FolderVisibility ¶
type FolderVisibility string
FolderVisibility defines model for Folder.Visibility.
const ( FolderVisibilityPRIVATE FolderVisibility = "PRIVATE" FolderVisibilityPUBLIC FolderVisibility = "PUBLIC" )
Defines values for FolderVisibility.
type FolderWorkoutTargets ¶
type FolderWorkoutTargets string
FolderWorkoutTargets defines model for Folder.WorkoutTargets.
const ( FolderWorkoutTargetsAUTO FolderWorkoutTargets = "AUTO" FolderWorkoutTargetsHR FolderWorkoutTargets = "HR" FolderWorkoutTargetsPACE FolderWorkoutTargets = "PACE" FolderWorkoutTargetsPOWER FolderWorkoutTargets = "POWER" )
Defines values for FolderWorkoutTargets.
type Forecast ¶
type Forecast struct {
Enabled *bool `json:"enabled,omitempty"`
Id *int32 `json:"id,omitempty"`
Label *string `json:"label,omitempty"`
Lat *float32 `json:"lat,omitempty"`
Location *string `json:"location,omitempty"`
Lon *float32 `json:"lon,omitempty"`
Provider *ForecastProvider `json:"provider,omitempty"`
}
Forecast defines model for Forecast.
type ForecastProvider ¶
type ForecastProvider string
ForecastProvider defines model for Forecast.Provider.
const (
OPENWEATHER ForecastProvider = "OPEN_WEATHER"
)
Defines values for ForecastProvider.
type Gear ¶
type Gear struct {
Activities *int32 `json:"activities,omitempty"`
ActivityFilters *[]ActivityFilter `json:"activity_filters,omitempty"`
AthleteId *string `json:"athlete_id,omitempty"`
Component *bool `json:"component,omitempty"`
ComponentIds *[]string `json:"component_ids,omitempty"`
Distance *float32 `json:"distance,omitempty"`
Id *string `json:"id,omitempty"`
Name *string `json:"name,omitempty"`
Notes *string `json:"notes,omitempty"`
Purchased *string `json:"purchased,omitempty"`
Reminders *[]GearReminder `json:"reminders,omitempty"`
Retired *string `json:"retired,omitempty"`
Time *float32 `json:"time,omitempty"`
Type *GearType `json:"type,omitempty"`
UseElapsedTime *bool `json:"use_elapsed_time,omitempty"`
}
Gear defines model for Gear.
type GearReminder ¶
type GearReminder struct {
Activities *int32 `json:"activities,omitempty"`
ActivitiesUsed *int32 `json:"activities_used,omitempty"`
Days *int32 `json:"days,omitempty"`
DaysUsed *int32 `json:"days_used,omitempty"`
Distance *float32 `json:"distance,omitempty"`
DistanceUsed *float32 `json:"distance_used,omitempty"`
GearId *string `json:"gear_id,omitempty"`
Id *int32 `json:"id,omitempty"`
LastReset *time.Time `json:"last_reset,omitempty"`
Name *string `json:"name,omitempty"`
PercentUsed *float32 `json:"percent_used,omitempty"`
SnoozedUntil *time.Time `json:"snoozed_until,omitempty"`
StartingActivities *int32 `json:"starting_activities,omitempty"`
StartingDistance *float32 `json:"starting_distance,omitempty"`
StartingTime *float32 `json:"starting_time,omitempty"`
Time *float32 `json:"time,omitempty"`
TimeUsed *float32 `json:"time_used,omitempty"`
}
GearReminder defines model for GearReminder.
type GearStats ¶
type GearStats struct {
Activities *int32 `json:"activities,omitempty"`
Distance *float32 `json:"distance,omitempty"`
ElapsedTime *float32 `json:"elapsed_time,omitempty"`
MovingTime *float32 `json:"moving_time,omitempty"`
}
GearStats defines model for GearStats.
type GearType ¶
type GearType string
GearType defines model for Gear.Type.
const ( GearTypeAccessories GearType = "Accessories" GearTypeApparel GearType = "Apparel" GearTypeAxel GearType = "Axel" GearTypeBattery GearType = "Battery" GearTypeBike GearType = "Bike" GearTypeBoard GearType = "Board" GearTypeBoat GearType = "Boat" GearTypeBottomBracket GearType = "BottomBracket" GearTypeBrake GearType = "Brake" GearTypeBrakePads GearType = "BrakePads" GearTypeCable GearType = "Cable" GearTypeCassette GearType = "Cassette" GearTypeChain GearType = "Chain" GearTypeChainrings GearType = "Chainrings" GearTypeCleats GearType = "Cleats" GearTypeComputer GearType = "Computer" GearTypeCrankset GearType = "Crankset" GearTypeCyclingShoes GearType = "CyclingShoes" GearTypeDerailleur GearType = "Derailleur" GearTypeDrivetrain GearType = "Drivetrain" GearTypeEquipment GearType = "Equipment" GearTypeFork GearType = "Fork" GearTypeFrame GearType = "Frame" GearTypeHandlebar GearType = "Handlebar" GearTypeHeadset GearType = "Headset" GearTypeHub GearType = "Hub" GearTypeLever GearType = "Lever" GearTypeLight GearType = "Light" GearTypePaddle GearType = "Paddle" GearTypePedals GearType = "Pedals" GearTypePowerMeter GearType = "PowerMeter" GearTypeRotor GearType = "Rotor" GearTypeRowingMachine GearType = "RowingMachine" GearTypeSaddle GearType = "Saddle" GearTypeSeatpost GearType = "Seatpost" GearTypeShock GearType = "Shock" GearTypeShoes GearType = "Shoes" GearTypeSkis GearType = "Skis" GearTypeSnowboard GearType = "Snowboard" GearTypeStem GearType = "Stem" GearTypeTrainer GearType = "Trainer" GearTypeTube GearType = "Tube" GearTypeTyre GearType = "Tyre" GearTypeWetsuit GearType = "Wetsuit" GearTypeWheel GearType = "Wheel" GearTypeWheelset GearType = "Wheelset" )
Defines values for GearType.
type GetActivitiesParams ¶
type GetActivitiesParams struct {
// Intervals Include interval data (icu_intervals and icu_groups fields)
Intervals *bool `form:"intervals,omitempty" json:"intervals,omitempty"`
}
GetActivitiesParams defines parameters for GetActivities.
type GetActivitiesResp ¶
func ParseGetActivitiesResp ¶
func ParseGetActivitiesResp(rsp *http.Response) (*GetActivitiesResp, error)
ParseGetActivitiesResp parses an HTTP response from a GetActivitiesWithResponse call
func (GetActivitiesResp) Status ¶
func (r GetActivitiesResp) Status() string
Status returns HTTPResponse.Status
func (GetActivitiesResp) StatusCode ¶
func (r GetActivitiesResp) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetActivityHRCurveResp ¶
func ParseGetActivityHRCurveResp ¶
func ParseGetActivityHRCurveResp(rsp *http.Response) (*GetActivityHRCurveResp, error)
ParseGetActivityHRCurveResp parses an HTTP response from a GetActivityHRCurveWithResponse call
func (GetActivityHRCurveResp) Status ¶
func (r GetActivityHRCurveResp) Status() string
Status returns HTTPResponse.Status
func (GetActivityHRCurveResp) StatusCode ¶
func (r GetActivityHRCurveResp) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetActivityMapParams ¶
type GetActivityMapParams struct {
// Bounds Optional comma separated bounding box (left, top, right, bottom) to limit points returned
Bounds *[]float32 `form:"bounds,omitempty" json:"bounds,omitempty"`
// BoundsOnly Only return the map bounds, not the latlngs
BoundsOnly *bool `form:"boundsOnly,omitempty" json:"boundsOnly,omitempty"`
// Weather Include weather points if available
Weather *bool `form:"weather,omitempty" json:"weather,omitempty"`
}
GetActivityMapParams defines parameters for GetActivityMap.
type GetActivityMapResp ¶
func ParseGetActivityMapResp ¶
func ParseGetActivityMapResp(rsp *http.Response) (*GetActivityMapResp, error)
ParseGetActivityMapResp parses an HTTP response from a GetActivityMapWithResponse call
func (GetActivityMapResp) Status ¶
func (r GetActivityMapResp) Status() string
Status returns HTTPResponse.Status
func (GetActivityMapResp) StatusCode ¶
func (r GetActivityMapResp) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetActivityPaceCurveParams ¶
type GetActivityPaceCurveParams struct {
Gap *bool `form:"gap,omitempty" json:"gap,omitempty"`
}
GetActivityPaceCurveParams defines parameters for GetActivityPaceCurve.
type GetActivityPaceCurveResp ¶
func ParseGetActivityPaceCurveResp ¶
func ParseGetActivityPaceCurveResp(rsp *http.Response) (*GetActivityPaceCurveResp, error)
ParseGetActivityPaceCurveResp parses an HTTP response from a GetActivityPaceCurveWithResponse call
func (GetActivityPaceCurveResp) Status ¶
func (r GetActivityPaceCurveResp) Status() string
Status returns HTTPResponse.Status
func (GetActivityPaceCurveResp) StatusCode ¶
func (r GetActivityPaceCurveResp) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetActivityParams ¶
type GetActivityParams struct {
// Intervals Include interval data
Intervals *bool `form:"intervals,omitempty" json:"intervals,omitempty"`
}
GetActivityParams defines parameters for GetActivity.
type GetActivityPowerCurveParams ¶
type GetActivityPowerCurveParams struct {
// Fatigue Use kj0 or kj1 to get one of the athlete's predefined fatigued power curves
Fatigue *string `form:"fatigue,omitempty" json:"fatigue,omitempty"`
}
GetActivityPowerCurveParams defines parameters for GetActivityPowerCurve.
type GetActivityPowerCurveResp ¶
func ParseGetActivityPowerCurveResp ¶
func ParseGetActivityPowerCurveResp(rsp *http.Response) (*GetActivityPowerCurveResp, error)
ParseGetActivityPowerCurveResp parses an HTTP response from a GetActivityPowerCurveWithResponse call
func (GetActivityPowerCurveResp) Status ¶
func (r GetActivityPowerCurveResp) Status() string
Status returns HTTPResponse.Status
func (GetActivityPowerCurveResp) StatusCode ¶
func (r GetActivityPowerCurveResp) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetActivityPowerSpikeModelResp ¶
func ParseGetActivityPowerSpikeModelResp ¶
func ParseGetActivityPowerSpikeModelResp(rsp *http.Response) (*GetActivityPowerSpikeModelResp, error)
ParseGetActivityPowerSpikeModelResp parses an HTTP response from a GetActivityPowerSpikeModelWithResponse call
func (GetActivityPowerSpikeModelResp) Status ¶
func (r GetActivityPowerSpikeModelResp) Status() string
Status returns HTTPResponse.Status
func (GetActivityPowerSpikeModelResp) StatusCode ¶
func (r GetActivityPowerSpikeModelResp) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetActivityResp ¶
func ParseGetActivityResp ¶
func ParseGetActivityResp(rsp *http.Response) (*GetActivityResp, error)
ParseGetActivityResp parses an HTTP response from a GetActivityWithResponse call
func (GetActivityResp) Status ¶
func (r GetActivityResp) Status() string
Status returns HTTPResponse.Status
func (GetActivityResp) StatusCode ¶
func (r GetActivityResp) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetActivitySegmentsResp ¶
func ParseGetActivitySegmentsResp ¶
func ParseGetActivitySegmentsResp(rsp *http.Response) (*GetActivitySegmentsResp, error)
ParseGetActivitySegmentsResp parses an HTTP response from a GetActivitySegmentsWithResponse call
func (GetActivitySegmentsResp) Status ¶
func (r GetActivitySegmentsResp) Status() string
Status returns HTTPResponse.Status
func (GetActivitySegmentsResp) StatusCode ¶
func (r GetActivitySegmentsResp) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetActivityStreamsParams ¶
type GetActivityStreamsParams struct {
// Types Streams required
Types *[]string `form:"types,omitempty" json:"types,omitempty"`
// IncludeDefaults Include default streams in addition to any specified in types
IncludeDefaults *bool `form:"includeDefaults,omitempty" json:"includeDefaults,omitempty"`
}
GetActivityStreamsParams defines parameters for GetActivityStreams.
type GetActivityStreamsResp ¶
func ParseGetActivityStreamsResp ¶
func ParseGetActivityStreamsResp(rsp *http.Response) (*GetActivityStreamsResp, error)
ParseGetActivityStreamsResp parses an HTTP response from a GetActivityStreamsWithResponse call
func (GetActivityStreamsResp) Status ¶
func (r GetActivityStreamsResp) Status() string
Status returns HTTPResponse.Status
func (GetActivityStreamsResp) StatusCode ¶
func (r GetActivityStreamsResp) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetActivityWeatherSummaryParams ¶
type GetActivityWeatherSummaryParams struct {
// StartIndex Optional index of first point in activity to use
StartIndex *int32 `form:"start_index,omitempty" json:"start_index,omitempty"`
// EndIndex Optional index of last point in activity to use (exclusive)
EndIndex *int32 `form:"end_index,omitempty" json:"end_index,omitempty"`
}
GetActivityWeatherSummaryParams defines parameters for GetActivityWeatherSummary.
type GetActivityWeatherSummaryResp ¶
func ParseGetActivityWeatherSummaryResp ¶
func ParseGetActivityWeatherSummaryResp(rsp *http.Response) (*GetActivityWeatherSummaryResp, error)
ParseGetActivityWeatherSummaryResp parses an HTTP response from a GetActivityWeatherSummaryWithResponse call
func (GetActivityWeatherSummaryResp) Status ¶
func (r GetActivityWeatherSummaryResp) Status() string
Status returns HTTPResponse.Status
func (GetActivityWeatherSummaryResp) StatusCode ¶
func (r GetActivityWeatherSummaryResp) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetAthleteMMPModelParams ¶
type GetAthleteMMPModelParams struct {
Type GetAthleteMMPModelParamsType `form:"type" json:"type"`
}
GetAthleteMMPModelParams defines parameters for GetAthleteMMPModel.
type GetAthleteMMPModelParamsType ¶
type GetAthleteMMPModelParamsType string
GetAthleteMMPModelParamsType defines parameters for GetAthleteMMPModel.
const ( GetAthleteMMPModelParamsTypeAlpineSki GetAthleteMMPModelParamsType = "AlpineSki" GetAthleteMMPModelParamsTypeBackcountrySki GetAthleteMMPModelParamsType = "BackcountrySki" GetAthleteMMPModelParamsTypeBadminton GetAthleteMMPModelParamsType = "Badminton" GetAthleteMMPModelParamsTypeCanoeing GetAthleteMMPModelParamsType = "Canoeing" GetAthleteMMPModelParamsTypeCrossfit GetAthleteMMPModelParamsType = "Crossfit" GetAthleteMMPModelParamsTypeEBikeRide GetAthleteMMPModelParamsType = "EBikeRide" GetAthleteMMPModelParamsTypeEMountainBikeRide GetAthleteMMPModelParamsType = "EMountainBikeRide" GetAthleteMMPModelParamsTypeElliptical GetAthleteMMPModelParamsType = "Elliptical" GetAthleteMMPModelParamsTypeGolf GetAthleteMMPModelParamsType = "Golf" GetAthleteMMPModelParamsTypeGravelRide GetAthleteMMPModelParamsType = "GravelRide" GetAthleteMMPModelParamsTypeHandcycle GetAthleteMMPModelParamsType = "Handcycle" GetAthleteMMPModelParamsTypeHighIntensityIntervalTraining GetAthleteMMPModelParamsType = "HighIntensityIntervalTraining" GetAthleteMMPModelParamsTypeHike GetAthleteMMPModelParamsType = "Hike" GetAthleteMMPModelParamsTypeHockey GetAthleteMMPModelParamsType = "Hockey" GetAthleteMMPModelParamsTypeIceSkate GetAthleteMMPModelParamsType = "IceSkate" GetAthleteMMPModelParamsTypeInlineSkate GetAthleteMMPModelParamsType = "InlineSkate" GetAthleteMMPModelParamsTypeKayaking GetAthleteMMPModelParamsType = "Kayaking" GetAthleteMMPModelParamsTypeKitesurf GetAthleteMMPModelParamsType = "Kitesurf" GetAthleteMMPModelParamsTypeMountainBikeRide GetAthleteMMPModelParamsType = "MountainBikeRide" GetAthleteMMPModelParamsTypeNordicSki GetAthleteMMPModelParamsType = "NordicSki" GetAthleteMMPModelParamsTypeOpenWaterSwim GetAthleteMMPModelParamsType = "OpenWaterSwim" GetAthleteMMPModelParamsTypeOther GetAthleteMMPModelParamsType = "Other" GetAthleteMMPModelParamsTypePadel GetAthleteMMPModelParamsType = "Padel" GetAthleteMMPModelParamsTypePickleball GetAthleteMMPModelParamsType = "Pickleball" GetAthleteMMPModelParamsTypePilates GetAthleteMMPModelParamsType = "Pilates" GetAthleteMMPModelParamsTypeRacquetball GetAthleteMMPModelParamsType = "Racquetball" GetAthleteMMPModelParamsTypeRide GetAthleteMMPModelParamsType = "Ride" GetAthleteMMPModelParamsTypeRockClimbing GetAthleteMMPModelParamsType = "RockClimbing" GetAthleteMMPModelParamsTypeRollerSki GetAthleteMMPModelParamsType = "RollerSki" GetAthleteMMPModelParamsTypeRowing GetAthleteMMPModelParamsType = "Rowing" GetAthleteMMPModelParamsTypeRugby GetAthleteMMPModelParamsType = "Rugby" GetAthleteMMPModelParamsTypeRun GetAthleteMMPModelParamsType = "Run" GetAthleteMMPModelParamsTypeSail GetAthleteMMPModelParamsType = "Sail" GetAthleteMMPModelParamsTypeSkateboard GetAthleteMMPModelParamsType = "Skateboard" GetAthleteMMPModelParamsTypeSnowboard GetAthleteMMPModelParamsType = "Snowboard" GetAthleteMMPModelParamsTypeSnowshoe GetAthleteMMPModelParamsType = "Snowshoe" GetAthleteMMPModelParamsTypeSoccer GetAthleteMMPModelParamsType = "Soccer" GetAthleteMMPModelParamsTypeSquash GetAthleteMMPModelParamsType = "Squash" GetAthleteMMPModelParamsTypeStairStepper GetAthleteMMPModelParamsType = "StairStepper" GetAthleteMMPModelParamsTypeStandUpPaddling GetAthleteMMPModelParamsType = "StandUpPaddling" GetAthleteMMPModelParamsTypeSurfing GetAthleteMMPModelParamsType = "Surfing" GetAthleteMMPModelParamsTypeSwim GetAthleteMMPModelParamsType = "Swim" GetAthleteMMPModelParamsTypeTableTennis GetAthleteMMPModelParamsType = "TableTennis" GetAthleteMMPModelParamsTypeTennis GetAthleteMMPModelParamsType = "Tennis" GetAthleteMMPModelParamsTypeTrackRide GetAthleteMMPModelParamsType = "TrackRide" GetAthleteMMPModelParamsTypeTrailRun GetAthleteMMPModelParamsType = "TrailRun" GetAthleteMMPModelParamsTypeTransition GetAthleteMMPModelParamsType = "Transition" GetAthleteMMPModelParamsTypeVelomobile GetAthleteMMPModelParamsType = "Velomobile" GetAthleteMMPModelParamsTypeVirtualRide GetAthleteMMPModelParamsType = "VirtualRide" GetAthleteMMPModelParamsTypeVirtualRow GetAthleteMMPModelParamsType = "VirtualRow" GetAthleteMMPModelParamsTypeVirtualRun GetAthleteMMPModelParamsType = "VirtualRun" GetAthleteMMPModelParamsTypeVirtualSki GetAthleteMMPModelParamsType = "VirtualSki" GetAthleteMMPModelParamsTypeWalk GetAthleteMMPModelParamsType = "Walk" GetAthleteMMPModelParamsTypeWaterSport GetAthleteMMPModelParamsType = "WaterSport" GetAthleteMMPModelParamsTypeWeightTraining GetAthleteMMPModelParamsType = "WeightTraining" GetAthleteMMPModelParamsTypeWheelchair GetAthleteMMPModelParamsType = "Wheelchair" GetAthleteMMPModelParamsTypeWindsurf GetAthleteMMPModelParamsType = "Windsurf" GetAthleteMMPModelParamsTypeWorkout GetAthleteMMPModelParamsType = "Workout" GetAthleteMMPModelParamsTypeYoga GetAthleteMMPModelParamsType = "Yoga" )
Defines values for GetAthleteMMPModelParamsType.
type GetAthleteMMPModelResp ¶
func ParseGetAthleteMMPModelResp ¶
func ParseGetAthleteMMPModelResp(rsp *http.Response) (*GetAthleteMMPModelResp, error)
ParseGetAthleteMMPModelResp parses an HTTP response from a GetAthleteMMPModelWithResponse call
func (GetAthleteMMPModelResp) Status ¶
func (r GetAthleteMMPModelResp) Status() string
Status returns HTTPResponse.Status
func (GetAthleteMMPModelResp) StatusCode ¶
func (r GetAthleteMMPModelResp) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetAthleteProfileResp ¶
func ParseGetAthleteProfileResp ¶
func ParseGetAthleteProfileResp(rsp *http.Response) (*GetAthleteProfileResp, error)
ParseGetAthleteProfileResp parses an HTTP response from a GetAthleteProfileWithResponse call
func (GetAthleteProfileResp) Status ¶
func (r GetAthleteProfileResp) Status() string
Status returns HTTPResponse.Status
func (GetAthleteProfileResp) StatusCode ¶
func (r GetAthleteProfileResp) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetAthleteResp ¶
func ParseGetAthleteResp ¶
func ParseGetAthleteResp(rsp *http.Response) (*GetAthleteResp, error)
ParseGetAthleteResp parses an HTTP response from a GetAthleteWithResponse call
func (GetAthleteResp) Status ¶
func (r GetAthleteResp) Status() string
Status returns HTTPResponse.Status
func (GetAthleteResp) StatusCode ¶
func (r GetAthleteResp) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetAthleteRouteParams ¶
type GetAthleteRouteParams struct {
// IncludePath Include latlngs for the route GPS path
IncludePath *bool `form:"includePath,omitempty" json:"includePath,omitempty"`
}
GetAthleteRouteParams defines parameters for GetAthleteRoute.
type GetAthleteRouteResp ¶
func ParseGetAthleteRouteResp ¶
func ParseGetAthleteRouteResp(rsp *http.Response) (*GetAthleteRouteResp, error)
ParseGetAthleteRouteResp parses an HTTP response from a GetAthleteRouteWithResponse call
func (GetAthleteRouteResp) Status ¶
func (r GetAthleteRouteResp) Status() string
Status returns HTTPResponse.Status
func (GetAthleteRouteResp) StatusCode ¶
func (r GetAthleteRouteResp) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetAthleteSummaryParams ¶
type GetAthleteSummaryParams struct {
// Start Local date and optional time (ISO-8601) for oldest data to return, default is 6 days ago
Start *string `form:"start,omitempty" json:"start,omitempty"`
// End Local date and optional time (ISO-8601) for newest data to return, default is today
End *string `form:"end,omitempty" json:"end,omitempty"`
// Tags Optional list of athlete tags, only athletes with one of these tags are returned
Tags *[]string `form:"tags,omitempty" json:"tags,omitempty"`
}
GetAthleteSummaryParams defines parameters for GetAthleteSummary.
type GetAthleteSummaryResp ¶
func ParseGetAthleteSummaryResp ¶
func ParseGetAthleteSummaryResp(rsp *http.Response) (*GetAthleteSummaryResp, error)
ParseGetAthleteSummaryResp parses an HTTP response from a GetAthleteSummaryWithResponse call
func (GetAthleteSummaryResp) Status ¶
func (r GetAthleteSummaryResp) Status() string
Status returns HTTPResponse.Status
func (GetAthleteSummaryResp) StatusCode ¶
func (r GetAthleteSummaryResp) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetAthleteTrainingPlanResp ¶
func ParseGetAthleteTrainingPlanResp ¶
func ParseGetAthleteTrainingPlanResp(rsp *http.Response) (*GetAthleteTrainingPlanResp, error)
ParseGetAthleteTrainingPlanResp parses an HTTP response from a GetAthleteTrainingPlanWithResponse call
func (GetAthleteTrainingPlanResp) Status ¶
func (r GetAthleteTrainingPlanResp) Status() string
Status returns HTTPResponse.Status
func (GetAthleteTrainingPlanResp) StatusCode ¶
func (r GetAthleteTrainingPlanResp) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetCustomItemResp ¶
func ParseGetCustomItemResp ¶
func ParseGetCustomItemResp(rsp *http.Response) (*GetCustomItemResp, error)
ParseGetCustomItemResp parses an HTTP response from a GetCustomItemWithResponse call
func (GetCustomItemResp) Status ¶
func (r GetCustomItemResp) Status() string
Status returns HTTPResponse.Status
func (GetCustomItemResp) StatusCode ¶
func (r GetCustomItemResp) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetForecastResp ¶
func ParseGetForecastResp ¶
func ParseGetForecastResp(rsp *http.Response) (*GetForecastResp, error)
ParseGetForecastResp parses an HTTP response from a GetForecastWithResponse call
func (GetForecastResp) Status ¶
func (r GetForecastResp) Status() string
Status returns HTTPResponse.Status
func (GetForecastResp) StatusCode ¶
func (r GetForecastResp) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetGapHistogramResp ¶
func ParseGetGapHistogramResp ¶
func ParseGetGapHistogramResp(rsp *http.Response) (*GetGapHistogramResp, error)
ParseGetGapHistogramResp parses an HTTP response from a GetGapHistogramWithResponse call
func (GetGapHistogramResp) Status ¶
func (r GetGapHistogramResp) Status() string
Status returns HTTPResponse.Status
func (GetGapHistogramResp) StatusCode ¶
func (r GetGapHistogramResp) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetHRHistogramParams ¶
type GetHRHistogramParams struct {
// BucketSize Beats per bucket (default 5)
BucketSize *int32 `form:"bucketSize,omitempty" json:"bucketSize,omitempty"`
}
GetHRHistogramParams defines parameters for GetHRHistogram.
type GetHRHistogramResp ¶
func ParseGetHRHistogramResp ¶
func ParseGetHRHistogramResp(rsp *http.Response) (*GetHRHistogramResp, error)
ParseGetHRHistogramResp parses an HTTP response from a GetHRHistogramWithResponse call
func (GetHRHistogramResp) Status ¶
func (r GetHRHistogramResp) Status() string
Status returns HTTPResponse.Status
func (GetHRHistogramResp) StatusCode ¶
func (r GetHRHistogramResp) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetHRTrainingLoadModelResp ¶
func ParseGetHRTrainingLoadModelResp ¶
func ParseGetHRTrainingLoadModelResp(rsp *http.Response) (*GetHRTrainingLoadModelResp, error)
ParseGetHRTrainingLoadModelResp parses an HTTP response from a GetHRTrainingLoadModelWithResponse call
func (GetHRTrainingLoadModelResp) Status ¶
func (r GetHRTrainingLoadModelResp) Status() string
Status returns HTTPResponse.Status
func (GetHRTrainingLoadModelResp) StatusCode ¶
func (r GetHRTrainingLoadModelResp) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetIntervalStatsParams ¶
type GetIntervalStatsParams struct {
StartIndex int32 `form:"start_index" json:"start_index"`
EndIndex int32 `form:"end_index" json:"end_index"`
}
GetIntervalStatsParams defines parameters for GetIntervalStats.
type GetIntervalStatsResp ¶
func ParseGetIntervalStatsResp ¶
func ParseGetIntervalStatsResp(rsp *http.Response) (*GetIntervalStatsResp, error)
ParseGetIntervalStatsResp parses an HTTP response from a GetIntervalStatsWithResponse call
func (GetIntervalStatsResp) Status ¶
func (r GetIntervalStatsResp) Status() string
Status returns HTTPResponse.Status
func (GetIntervalStatsResp) StatusCode ¶
func (r GetIntervalStatsResp) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetIntervalsResp ¶
func ParseGetIntervalsResp ¶
func ParseGetIntervalsResp(rsp *http.Response) (*GetIntervalsResp, error)
ParseGetIntervalsResp parses an HTTP response from a GetIntervalsWithResponse call
func (GetIntervalsResp) Status ¶
func (r GetIntervalsResp) Status() string
Status returns HTTPResponse.Status
func (GetIntervalsResp) StatusCode ¶
func (r GetIntervalsResp) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetPaceHistogramResp ¶
func ParseGetPaceHistogramResp ¶
func ParseGetPaceHistogramResp(rsp *http.Response) (*GetPaceHistogramResp, error)
ParseGetPaceHistogramResp parses an HTTP response from a GetPaceHistogramWithResponse call
func (GetPaceHistogramResp) Status ¶
func (r GetPaceHistogramResp) Status() string
Status returns HTTPResponse.Status
func (GetPaceHistogramResp) StatusCode ¶
func (r GetPaceHistogramResp) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetPowerHRCurveParams ¶
type GetPowerHRCurveParams struct {
// Start Starting local date (ISO-8601)
Start string `form:"start" json:"start"`
// End Ending local date (ISO-8601), inclusive
End string `form:"end" json:"end"`
}
GetPowerHRCurveParams defines parameters for GetPowerHRCurve.
type GetPowerHRCurveResp ¶
func ParseGetPowerHRCurveResp ¶
func ParseGetPowerHRCurveResp(rsp *http.Response) (*GetPowerHRCurveResp, error)
ParseGetPowerHRCurveResp parses an HTTP response from a GetPowerHRCurveWithResponse call
func (GetPowerHRCurveResp) Status ¶
func (r GetPowerHRCurveResp) Status() string
Status returns HTTPResponse.Status
func (GetPowerHRCurveResp) StatusCode ¶
func (r GetPowerHRCurveResp) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetPowerHistogramParams ¶
type GetPowerHistogramParams struct {
// BucketSize Watts per bucket (default 25)
BucketSize *int32 `form:"bucketSize,omitempty" json:"bucketSize,omitempty"`
}
GetPowerHistogramParams defines parameters for GetPowerHistogram.
type GetPowerHistogramResp ¶
func ParseGetPowerHistogramResp ¶
func ParseGetPowerHistogramResp(rsp *http.Response) (*GetPowerHistogramResp, error)
ParseGetPowerHistogramResp parses an HTTP response from a GetPowerHistogramWithResponse call
func (GetPowerHistogramResp) Status ¶
func (r GetPowerHistogramResp) Status() string
Status returns HTTPResponse.Status
func (GetPowerHistogramResp) StatusCode ¶
func (r GetPowerHistogramResp) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetPowerVsHRResp ¶
func ParseGetPowerVsHRResp ¶
func ParseGetPowerVsHRResp(rsp *http.Response) (*GetPowerVsHRResp, error)
ParseGetPowerVsHRResp parses an HTTP response from a GetPowerVsHRWithResponse call
func (GetPowerVsHRResp) Status ¶
func (r GetPowerVsHRResp) Status() string
Status returns HTTPResponse.Status
func (GetPowerVsHRResp) StatusCode ¶
func (r GetPowerVsHRResp) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetRecordResp ¶
func ParseGetRecordResp ¶
func ParseGetRecordResp(rsp *http.Response) (*GetRecordResp, error)
ParseGetRecordResp parses an HTTP response from a GetRecordWithResponse call
func (GetRecordResp) Status ¶
func (r GetRecordResp) Status() string
Status returns HTTPResponse.Status
func (GetRecordResp) StatusCode ¶
func (r GetRecordResp) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetSettings1Resp ¶
func ParseGetSettings1Resp ¶
func ParseGetSettings1Resp(rsp *http.Response) (*GetSettings1Resp, error)
ParseGetSettings1Resp parses an HTTP response from a GetSettings1WithResponse call
func (GetSettings1Resp) Status ¶
func (r GetSettings1Resp) Status() string
Status returns HTTPResponse.Status
func (GetSettings1Resp) StatusCode ¶
func (r GetSettings1Resp) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetSettingsResp ¶
func ParseGetSettingsResp ¶
func ParseGetSettingsResp(rsp *http.Response) (*GetSettingsResp, error)
ParseGetSettingsResp parses an HTTP response from a GetSettingsWithResponse call
func (GetSettingsResp) Status ¶
func (r GetSettingsResp) Status() string
Status returns HTTPResponse.Status
func (GetSettingsResp) StatusCode ¶
func (r GetSettingsResp) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetSharedEventResp ¶
type GetSharedEventResp struct {
}
func ParseGetSharedEventResp ¶
func ParseGetSharedEventResp(rsp *http.Response) (*GetSharedEventResp, error)
ParseGetSharedEventResp parses an HTTP response from a GetSharedEventWithResponse call
func (GetSharedEventResp) Status ¶
func (r GetSharedEventResp) Status() string
Status returns HTTPResponse.Status
func (GetSharedEventResp) StatusCode ¶
func (r GetSharedEventResp) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetTimeAtHRResp ¶
func ParseGetTimeAtHRResp ¶
func ParseGetTimeAtHRResp(rsp *http.Response) (*GetTimeAtHRResp, error)
ParseGetTimeAtHRResp parses an HTTP response from a GetTimeAtHRWithResponse call
func (GetTimeAtHRResp) Status ¶
func (r GetTimeAtHRResp) Status() string
Status returns HTTPResponse.Status
func (GetTimeAtHRResp) StatusCode ¶
func (r GetTimeAtHRResp) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetWeatherConfigResp ¶
func ParseGetWeatherConfigResp ¶
func ParseGetWeatherConfigResp(rsp *http.Response) (*GetWeatherConfigResp, error)
ParseGetWeatherConfigResp parses an HTTP response from a GetWeatherConfigWithResponse call
func (GetWeatherConfigResp) Status ¶
func (r GetWeatherConfigResp) Status() string
Status returns HTTPResponse.Status
func (GetWeatherConfigResp) StatusCode ¶
func (r GetWeatherConfigResp) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type HRCurve ¶
type HRCurve struct {
ActivityId *[]string `json:"activity_id,omitempty"`
Days *int32 `json:"days,omitempty"`
EndDateLocal *string `json:"end_date_local,omitempty"`
EndIndex *[]int32 `json:"end_index,omitempty"`
FilterLabel *string `json:"filter_label,omitempty"`
Filters *[]ActivityFilter `json:"filters,omitempty"`
Id *string `json:"id,omitempty"`
Label *string `json:"label,omitempty"`
MovingTime *int32 `json:"moving_time,omitempty"`
Percentile *float32 `json:"percentile,omitempty"`
Secs *[]int32 `json:"secs,omitempty"`
StartDateLocal *string `json:"start_date_local,omitempty"`
StartIndex *[]int32 `json:"start_index,omitempty"`
SubmaxActivityId *[][]string `json:"submax_activity_id,omitempty"`
SubmaxValues *[][]int32 `json:"submax_values,omitempty"`
TrainingLoad *int32 `json:"training_load,omitempty"`
Values *[]int32 `json:"values,omitempty"`
Weight *float32 `json:"weight,omitempty"`
}
HRCurve defines model for HRCurve.
type HRLoadModel ¶
type HRLoadModel struct {
IcuTrainingLoad *int32 `json:"icu_training_load,omitempty"`
TrainingDataCount *int32 `json:"trainingDataCount,omitempty"`
Type *HRLoadModelType `json:"type,omitempty"`
}
HRLoadModel defines model for HRLoadModel.
type HRLoadModelType ¶
type HRLoadModelType string
HRLoadModelType defines model for HRLoadModel.Type.
const ( HRLoadModelTypeAVGHR HRLoadModelType = "AVG_HR" HRLoadModelTypeHRSS HRLoadModelType = "HRSS" HRLoadModelTypeHRZONES HRLoadModelType = "HR_ZONES" )
Defines values for HRLoadModelType.
type HRRecovery ¶
type HRRecovery struct {
AverageWatts *int32 `json:"average_watts,omitempty"`
EndBpm *int32 `json:"end_bpm,omitempty"`
EndIndex *int32 `json:"end_index,omitempty"`
EndTime *int32 `json:"end_time,omitempty"`
Hrr *int32 `json:"hrr,omitempty"`
StartBpm *int32 `json:"start_bpm,omitempty"`
StartIndex *int32 `json:"start_index,omitempty"`
StartTime *int32 `json:"start_time,omitempty"`
}
HRRecovery defines model for HRRecovery.
type Hidden ¶
type Hidden struct {
UnderscoreNote *string `json:"_note,omitempty"`
IcuAthleteId *string `json:"icu_athlete_id,omitempty"`
Id *string `json:"id,omitempty"`
Source *HiddenSource `json:"source,omitempty"`
StartDateLocal *string `json:"start_date_local,omitempty"`
}
Hidden defines model for Hidden.
type HiddenSource ¶
type HiddenSource string
HiddenSource defines model for Hidden.Source.
const ( HiddenSourceCONCEPT2 HiddenSource = "CONCEPT2" HiddenSourceCOROS HiddenSource = "COROS" HiddenSourceDROPBOX HiddenSource = "DROPBOX" HiddenSourceGARMINCONNECT HiddenSource = "GARMIN_CONNECT" HiddenSourceHUAWEI HiddenSource = "HUAWEI" HiddenSourceMANUAL HiddenSource = "MANUAL" HiddenSourceOAUTHCLIENT HiddenSource = "OAUTH_CLIENT" HiddenSourcePOLAR HiddenSource = "POLAR" HiddenSourceSTRAVA HiddenSource = "STRAVA" HiddenSourceSUUNTO HiddenSource = "SUUNTO" HiddenSourceUPLOAD HiddenSource = "UPLOAD" HiddenSourceWAHOO HiddenSource = "WAHOO" HiddenSourceZEPP HiddenSource = "ZEPP" HiddenSourceZWIFT HiddenSource = "ZWIFT" )
Defines values for HiddenSource.
type HttpRequestDoer ¶
Doer performs HTTP requests.
The standard http.Client implements this interface.
type IcuAchievement ¶
type IcuAchievement struct {
Distance *float32 `json:"distance,omitempty"`
Id *string `json:"id,omitempty"`
Message *string `json:"message,omitempty"`
Pace *float32 `json:"pace,omitempty"`
Point *DataCurvePt `json:"point,omitempty"`
Secs *int32 `json:"secs,omitempty"`
Type *IcuAchievementType `json:"type,omitempty"`
Value *int32 `json:"value,omitempty"`
Watts *int32 `json:"watts,omitempty"`
}
IcuAchievement defines model for IcuAchievement.
type IcuAchievementType ¶
type IcuAchievementType string
IcuAchievementType defines model for IcuAchievement.Type.
const ( BESTPACE IcuAchievementType = "BEST_PACE" BESTPOWER IcuAchievementType = "BEST_POWER" FTPUP IcuAchievementType = "FTP_UP" LTHRUP IcuAchievementType = "LTHR_UP" )
Defines values for IcuAchievementType.
type IcuSegment ¶
type IcuSegment struct {
EndIndex *int32 `json:"end_index,omitempty"`
Id *int64 `json:"id,omitempty"`
Name *string `json:"name,omitempty"`
SegmentId *int64 `json:"segment_id,omitempty"`
Starred *bool `json:"starred,omitempty"`
StartIndex *int32 `json:"start_index,omitempty"`
}
IcuSegment defines model for IcuSegment.
type Ignore ¶
type Ignore struct {
EndIndex *int32 `json:"end_index,omitempty"`
Hr *bool `json:"hr,omitempty"`
Pace *bool `json:"pace,omitempty"`
Power *bool `json:"power,omitempty"`
StartIndex *int32 `json:"start_index,omitempty"`
}
Ignore defines model for Ignore.
type ImportWorkoutFileJSONBody ¶
type ImportWorkoutFileJSONBody struct {
File openapi_types.File `json:"file"`
}
ImportWorkoutFileJSONBody defines parameters for ImportWorkoutFile.
type ImportWorkoutFileJSONRequestBody ¶
type ImportWorkoutFileJSONRequestBody ImportWorkoutFileJSONBody
ImportWorkoutFileJSONRequestBody defines body for ImportWorkoutFile for application/json ContentType.
type ImportWorkoutFileParams ¶
type ImportWorkoutFileParams struct {
AthleteId *string `form:"athleteId,omitempty" json:"athleteId,omitempty"`
Type ImportWorkoutFileParamsType `form:"type" json:"type"`
}
ImportWorkoutFileParams defines parameters for ImportWorkoutFile.
type ImportWorkoutFileParamsType ¶
type ImportWorkoutFileParamsType string
ImportWorkoutFileParamsType defines parameters for ImportWorkoutFile.
const ( ImportWorkoutFileParamsTypeAlpineSki ImportWorkoutFileParamsType = "AlpineSki" ImportWorkoutFileParamsTypeBackcountrySki ImportWorkoutFileParamsType = "BackcountrySki" ImportWorkoutFileParamsTypeBadminton ImportWorkoutFileParamsType = "Badminton" ImportWorkoutFileParamsTypeCanoeing ImportWorkoutFileParamsType = "Canoeing" ImportWorkoutFileParamsTypeCrossfit ImportWorkoutFileParamsType = "Crossfit" ImportWorkoutFileParamsTypeEBikeRide ImportWorkoutFileParamsType = "EBikeRide" ImportWorkoutFileParamsTypeEMountainBikeRide ImportWorkoutFileParamsType = "EMountainBikeRide" ImportWorkoutFileParamsTypeElliptical ImportWorkoutFileParamsType = "Elliptical" ImportWorkoutFileParamsTypeGolf ImportWorkoutFileParamsType = "Golf" ImportWorkoutFileParamsTypeGravelRide ImportWorkoutFileParamsType = "GravelRide" ImportWorkoutFileParamsTypeHandcycle ImportWorkoutFileParamsType = "Handcycle" ImportWorkoutFileParamsTypeHighIntensityIntervalTraining ImportWorkoutFileParamsType = "HighIntensityIntervalTraining" ImportWorkoutFileParamsTypeHike ImportWorkoutFileParamsType = "Hike" ImportWorkoutFileParamsTypeHockey ImportWorkoutFileParamsType = "Hockey" ImportWorkoutFileParamsTypeIceSkate ImportWorkoutFileParamsType = "IceSkate" ImportWorkoutFileParamsTypeInlineSkate ImportWorkoutFileParamsType = "InlineSkate" ImportWorkoutFileParamsTypeKayaking ImportWorkoutFileParamsType = "Kayaking" ImportWorkoutFileParamsTypeKitesurf ImportWorkoutFileParamsType = "Kitesurf" ImportWorkoutFileParamsTypeMountainBikeRide ImportWorkoutFileParamsType = "MountainBikeRide" ImportWorkoutFileParamsTypeNordicSki ImportWorkoutFileParamsType = "NordicSki" ImportWorkoutFileParamsTypeOpenWaterSwim ImportWorkoutFileParamsType = "OpenWaterSwim" ImportWorkoutFileParamsTypeOther ImportWorkoutFileParamsType = "Other" ImportWorkoutFileParamsTypePadel ImportWorkoutFileParamsType = "Padel" ImportWorkoutFileParamsTypePickleball ImportWorkoutFileParamsType = "Pickleball" ImportWorkoutFileParamsTypePilates ImportWorkoutFileParamsType = "Pilates" ImportWorkoutFileParamsTypeRacquetball ImportWorkoutFileParamsType = "Racquetball" ImportWorkoutFileParamsTypeRide ImportWorkoutFileParamsType = "Ride" ImportWorkoutFileParamsTypeRockClimbing ImportWorkoutFileParamsType = "RockClimbing" ImportWorkoutFileParamsTypeRollerSki ImportWorkoutFileParamsType = "RollerSki" ImportWorkoutFileParamsTypeRowing ImportWorkoutFileParamsType = "Rowing" ImportWorkoutFileParamsTypeRugby ImportWorkoutFileParamsType = "Rugby" ImportWorkoutFileParamsTypeRun ImportWorkoutFileParamsType = "Run" ImportWorkoutFileParamsTypeSail ImportWorkoutFileParamsType = "Sail" ImportWorkoutFileParamsTypeSkateboard ImportWorkoutFileParamsType = "Skateboard" ImportWorkoutFileParamsTypeSnowboard ImportWorkoutFileParamsType = "Snowboard" ImportWorkoutFileParamsTypeSnowshoe ImportWorkoutFileParamsType = "Snowshoe" ImportWorkoutFileParamsTypeSoccer ImportWorkoutFileParamsType = "Soccer" ImportWorkoutFileParamsTypeSquash ImportWorkoutFileParamsType = "Squash" ImportWorkoutFileParamsTypeStairStepper ImportWorkoutFileParamsType = "StairStepper" ImportWorkoutFileParamsTypeStandUpPaddling ImportWorkoutFileParamsType = "StandUpPaddling" ImportWorkoutFileParamsTypeSurfing ImportWorkoutFileParamsType = "Surfing" ImportWorkoutFileParamsTypeSwim ImportWorkoutFileParamsType = "Swim" ImportWorkoutFileParamsTypeTableTennis ImportWorkoutFileParamsType = "TableTennis" ImportWorkoutFileParamsTypeTennis ImportWorkoutFileParamsType = "Tennis" ImportWorkoutFileParamsTypeTrackRide ImportWorkoutFileParamsType = "TrackRide" ImportWorkoutFileParamsTypeTrailRun ImportWorkoutFileParamsType = "TrailRun" ImportWorkoutFileParamsTypeTransition ImportWorkoutFileParamsType = "Transition" ImportWorkoutFileParamsTypeVelomobile ImportWorkoutFileParamsType = "Velomobile" ImportWorkoutFileParamsTypeVirtualRide ImportWorkoutFileParamsType = "VirtualRide" ImportWorkoutFileParamsTypeVirtualRow ImportWorkoutFileParamsType = "VirtualRow" ImportWorkoutFileParamsTypeVirtualRun ImportWorkoutFileParamsType = "VirtualRun" ImportWorkoutFileParamsTypeVirtualSki ImportWorkoutFileParamsType = "VirtualSki" ImportWorkoutFileParamsTypeWalk ImportWorkoutFileParamsType = "Walk" ImportWorkoutFileParamsTypeWaterSport ImportWorkoutFileParamsType = "WaterSport" ImportWorkoutFileParamsTypeWeightTraining ImportWorkoutFileParamsType = "WeightTraining" ImportWorkoutFileParamsTypeWheelchair ImportWorkoutFileParamsType = "Wheelchair" ImportWorkoutFileParamsTypeWindsurf ImportWorkoutFileParamsType = "Windsurf" ImportWorkoutFileParamsTypeWorkout ImportWorkoutFileParamsType = "Workout" ImportWorkoutFileParamsTypeYoga ImportWorkoutFileParamsType = "Yoga" )
Defines values for ImportWorkoutFileParamsType.
type ImportWorkoutFileResp ¶
func ParseImportWorkoutFileResp ¶
func ParseImportWorkoutFileResp(rsp *http.Response) (*ImportWorkoutFileResp, error)
ParseImportWorkoutFileResp parses an HTTP response from a ImportWorkoutFileWithResponse call
func (ImportWorkoutFileResp) Status ¶
func (r ImportWorkoutFileResp) Status() string
Status returns HTTPResponse.Status
func (ImportWorkoutFileResp) StatusCode ¶
func (r ImportWorkoutFileResp) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type Interval ¶
type Interval struct {
AverageCadence *float32 `json:"average_cadence,omitempty"`
AverageDfaA1 *float32 `json:"average_dfa_a1,omitempty"`
AverageEpoc *float32 `json:"average_epoc,omitempty"`
AverageFeelsLike *float32 `json:"average_feels_like,omitempty"`
AverageGradient *float32 `json:"average_gradient,omitempty"`
AverageHeartrate *int32 `json:"average_heartrate,omitempty"`
AverageLactate *float32 `json:"average_lactate,omitempty"`
AverageRespiration *float32 `json:"average_respiration,omitempty"`
AverageSmo2 *float32 `json:"average_smo2,omitempty"`
AverageSmo22 *float32 `json:"average_smo2_2,omitempty"`
AverageSpeed *float32 `json:"average_speed,omitempty"`
AverageStride *float32 `json:"average_stride,omitempty"`
AverageTemp *float32 `json:"average_temp,omitempty"`
AverageThb *float32 `json:"average_thb,omitempty"`
AverageThb2 *float32 `json:"average_thb_2,omitempty"`
AverageTidalVolume *float32 `json:"average_tidal_volume,omitempty"`
AverageTidalVolumeMin *float32 `json:"average_tidal_volume_min,omitempty"`
AverageTorque *float32 `json:"average_torque,omitempty"`
AverageWatts *int32 `json:"average_watts,omitempty"`
AverageWattsAlt *int32 `json:"average_watts_alt,omitempty"`
AverageWattsAltAcc *int32 `json:"average_watts_alt_acc,omitempty"`
AverageWattsKg *float32 `json:"average_watts_kg,omitempty"`
AverageWeatherTemp *float32 `json:"average_weather_temp,omitempty"`
AverageWindGust *float32 `json:"average_wind_gust,omitempty"`
AverageWindSpeed *float32 `json:"average_wind_speed,omitempty"`
AverageYaw *float32 `json:"average_yaw,omitempty"`
AvgLrBalance *float32 `json:"avg_lr_balance,omitempty"`
Decoupling *float32 `json:"decoupling,omitempty"`
Distance *float32 `json:"distance,omitempty"`
ElapsedTime *int32 `json:"elapsed_time,omitempty"`
EndIndex *int32 `json:"end_index,omitempty"`
EndTime *int32 `json:"end_time,omitempty"`
Gap *float32 `json:"gap,omitempty"`
GroupId *string `json:"group_id,omitempty"`
HeadwindPercent *float32 `json:"headwind_percent,omitempty"`
Id *int32 `json:"id,omitempty"`
Intensity *int32 `json:"intensity,omitempty"`
Joules *int32 `json:"joules,omitempty"`
JoulesAboveFtp *int32 `json:"joules_above_ftp,omitempty"`
Label *string `json:"label,omitempty"`
MaxAltitude *float32 `json:"max_altitude,omitempty"`
MaxCadence *int32 `json:"max_cadence,omitempty"`
MaxHeartrate *int32 `json:"max_heartrate,omitempty"`
MaxLactate *float32 `json:"max_lactate,omitempty"`
MaxSpeed *float32 `json:"max_speed,omitempty"`
MaxTorque *float32 `json:"max_torque,omitempty"`
MaxWatts *int32 `json:"max_watts,omitempty"`
MaxWattsKg *float32 `json:"max_watts_kg,omitempty"`
MinAltitude *float32 `json:"min_altitude,omitempty"`
MinCadence *int32 `json:"min_cadence,omitempty"`
MinHeartrate *int32 `json:"min_heartrate,omitempty"`
MinLactate *float32 `json:"min_lactate,omitempty"`
MinSpeed *float32 `json:"min_speed,omitempty"`
MinTorque *float32 `json:"min_torque,omitempty"`
MinWatts *int32 `json:"min_watts,omitempty"`
MovingTime *int32 `json:"moving_time,omitempty"`
PrevailingWindDeg *int32 `json:"prevailing_wind_deg,omitempty"`
SegmentEffortIds *[]int64 `json:"segment_effort_ids,omitempty"`
SsCp *float32 `json:"ss_cp,omitempty"`
SsPMax *float32 `json:"ss_p_max,omitempty"`
SsWPrime *float32 `json:"ss_w_prime,omitempty"`
StartIndex *int32 `json:"start_index,omitempty"`
StartTime *int32 `json:"start_time,omitempty"`
StrainScore *float32 `json:"strain_score,omitempty"`
TailwindPercent *float32 `json:"tailwind_percent,omitempty"`
TotalElevationGain *float32 `json:"total_elevation_gain,omitempty"`
TrainingLoad *float32 `json:"training_load,omitempty"`
Type *IntervalType `json:"type,omitempty"`
W5sVariability *float32 `json:"w5s_variability,omitempty"`
WbalEnd *int32 `json:"wbal_end,omitempty"`
WbalStart *int32 `json:"wbal_start,omitempty"`
WeightedAverageWatts *int32 `json:"weighted_average_watts,omitempty"`
Zone *int32 `json:"zone,omitempty"`
ZoneMaxWatts *int32 `json:"zone_max_watts,omitempty"`
ZoneMinWatts *int32 `json:"zone_min_watts,omitempty"`
}
Interval defines model for Interval.
type IntervalGroup ¶
type IntervalGroup struct {
AverageCadence *float32 `json:"average_cadence,omitempty"`
AverageDfaA1 *float32 `json:"average_dfa_a1,omitempty"`
AverageEpoc *float32 `json:"average_epoc,omitempty"`
AverageFeelsLike *float32 `json:"average_feels_like,omitempty"`
AverageGradient *float32 `json:"average_gradient,omitempty"`
AverageHeartrate *int32 `json:"average_heartrate,omitempty"`
AverageLactate *float32 `json:"average_lactate,omitempty"`
AverageRespiration *float32 `json:"average_respiration,omitempty"`
AverageSmo2 *float32 `json:"average_smo2,omitempty"`
AverageSmo22 *float32 `json:"average_smo2_2,omitempty"`
AverageSpeed *float32 `json:"average_speed,omitempty"`
AverageStride *float32 `json:"average_stride,omitempty"`
AverageTemp *float32 `json:"average_temp,omitempty"`
AverageThb *float32 `json:"average_thb,omitempty"`
AverageThb2 *float32 `json:"average_thb_2,omitempty"`
AverageTidalVolume *float32 `json:"average_tidal_volume,omitempty"`
AverageTidalVolumeMin *float32 `json:"average_tidal_volume_min,omitempty"`
AverageTorque *float32 `json:"average_torque,omitempty"`
AverageWatts *int32 `json:"average_watts,omitempty"`
AverageWattsAlt *int32 `json:"average_watts_alt,omitempty"`
AverageWattsAltAcc *int32 `json:"average_watts_alt_acc,omitempty"`
AverageWattsKg *float32 `json:"average_watts_kg,omitempty"`
AverageWeatherTemp *float32 `json:"average_weather_temp,omitempty"`
AverageWindGust *float32 `json:"average_wind_gust,omitempty"`
AverageWindSpeed *float32 `json:"average_wind_speed,omitempty"`
AverageYaw *float32 `json:"average_yaw,omitempty"`
AvgLrBalance *float32 `json:"avg_lr_balance,omitempty"`
Count *int32 `json:"count,omitempty"`
Decoupling *float32 `json:"decoupling,omitempty"`
Distance *float32 `json:"distance,omitempty"`
ElapsedTime *int32 `json:"elapsed_time,omitempty"`
Gap *float32 `json:"gap,omitempty"`
HeadwindPercent *float32 `json:"headwind_percent,omitempty"`
Id *string `json:"id,omitempty"`
Intensity *int32 `json:"intensity,omitempty"`
Joules *int32 `json:"joules,omitempty"`
JoulesAboveFtp *int32 `json:"joules_above_ftp,omitempty"`
MaxAltitude *float32 `json:"max_altitude,omitempty"`
MaxCadence *int32 `json:"max_cadence,omitempty"`
MaxHeartrate *int32 `json:"max_heartrate,omitempty"`
MaxLactate *float32 `json:"max_lactate,omitempty"`
MaxSpeed *float32 `json:"max_speed,omitempty"`
MaxTorque *float32 `json:"max_torque,omitempty"`
MaxWatts *int32 `json:"max_watts,omitempty"`
MaxWattsKg *float32 `json:"max_watts_kg,omitempty"`
MinAltitude *float32 `json:"min_altitude,omitempty"`
MinCadence *int32 `json:"min_cadence,omitempty"`
MinHeartrate *int32 `json:"min_heartrate,omitempty"`
MinLactate *float32 `json:"min_lactate,omitempty"`
MinSpeed *float32 `json:"min_speed,omitempty"`
MinTorque *float32 `json:"min_torque,omitempty"`
MinWatts *int32 `json:"min_watts,omitempty"`
MovingTime *int32 `json:"moving_time,omitempty"`
PrevailingWindDeg *int32 `json:"prevailing_wind_deg,omitempty"`
SsCp *float32 `json:"ss_cp,omitempty"`
SsPMax *float32 `json:"ss_p_max,omitempty"`
SsWPrime *float32 `json:"ss_w_prime,omitempty"`
StartIndex *int32 `json:"start_index,omitempty"`
StrainScore *float32 `json:"strain_score,omitempty"`
TailwindPercent *float32 `json:"tailwind_percent,omitempty"`
TotalElevationGain *float32 `json:"total_elevation_gain,omitempty"`
TrainingLoad *float32 `json:"training_load,omitempty"`
W5sVariability *float32 `json:"w5s_variability,omitempty"`
WbalEnd *int32 `json:"wbal_end,omitempty"`
WbalStart *int32 `json:"wbal_start,omitempty"`
WeightedAverageWatts *int32 `json:"weighted_average_watts,omitempty"`
Zone *int32 `json:"zone,omitempty"`
ZoneMaxWatts *int32 `json:"zone_max_watts,omitempty"`
ZoneMinWatts *int32 `json:"zone_min_watts,omitempty"`
}
IntervalGroup defines model for IntervalGroup.
type IntervalType ¶
type IntervalType string
IntervalType defines model for Interval.Type.
const ( RECOVERY IntervalType = "RECOVERY" WORK IntervalType = "WORK" )
Defines values for IntervalType.
type IntervalsDTO ¶
type IntervalsDTO struct {
Analyzed *time.Time `json:"analyzed,omitempty"`
IcuGroups *[]IntervalGroup `json:"icu_groups,omitempty"`
IcuIntervals *[]Interval `json:"icu_intervals,omitempty"`
Id *string `json:"id,omitempty"`
}
IntervalsDTO defines model for IntervalsDTO.
type ListActivitiesAroundParams ¶
type ListActivitiesAroundParams struct {
// ActivityId The activity at the center (not returned in the data set)
ActivityId string `form:"activity_id" json:"activity_id"`
// RouteId Only return activities on this route (activityId must have this route_id)
RouteId *int64 `form:"route_id,omitempty" json:"route_id,omitempty"`
// Limit Return at most this many activities (default 30)
Limit *int32 `form:"limit,omitempty" json:"limit,omitempty"`
}
ListActivitiesAroundParams defines parameters for ListActivitiesAround.
type ListActivitiesAroundResp ¶
func ParseListActivitiesAroundResp ¶
func ParseListActivitiesAroundResp(rsp *http.Response) (*ListActivitiesAroundResp, error)
ParseListActivitiesAroundResp parses an HTTP response from a ListActivitiesAroundWithResponse call
func (ListActivitiesAroundResp) Status ¶
func (r ListActivitiesAroundResp) Status() string
Status returns HTTPResponse.Status
func (ListActivitiesAroundResp) StatusCode ¶
func (r ListActivitiesAroundResp) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ListActivitiesParams ¶
type ListActivitiesParams struct {
// Oldest Local ISO-8601 date or date and time e.g. 2019-07-22T16:18:49 or 2019-07-22
Oldest string `form:"oldest" json:"oldest"`
// Newest Local ISO-8601 date or date and time, defaults to now
Newest *string `form:"newest,omitempty" json:"newest,omitempty"`
// RouteId Only return activities on this route
RouteId *int64 `form:"route_id,omitempty" json:"route_id,omitempty"`
// Limit Return at most this many activities
Limit *int32 `form:"limit,omitempty" json:"limit,omitempty"`
// Fields Comma separated list of field names to include in the returned objects (default is all), also excludes null values
Fields *[]string `form:"fields,omitempty" json:"fields,omitempty"`
}
ListActivitiesParams defines parameters for ListActivities.
type ListActivitiesResp ¶
func ParseListActivitiesResp ¶
func ParseListActivitiesResp(rsp *http.Response) (*ListActivitiesResp, error)
ParseListActivitiesResp parses an HTTP response from a ListActivitiesWithResponse call
func (ListActivitiesResp) Status ¶
func (r ListActivitiesResp) Status() string
Status returns HTTPResponse.Status
func (ListActivitiesResp) StatusCode ¶
func (r ListActivitiesResp) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ListActivityHRCurvesParams ¶
type ListActivityHRCurvesParams struct {
// Oldest Local ISO-8601 date or date and time e.g. 2019-07-22T16:18:49 or 2019-07-22
Oldest string `form:"oldest" json:"oldest"`
// Newest Local ISO-8601 date or date and time (inclusive)
Newest string `form:"newest" json:"newest"`
// Filters Only return activities matching all the filters in this list
Filters *[]ActivityFilter `form:"filters,omitempty" json:"filters,omitempty"`
// Secs Optional durations to return (default is all, in seconds comma separated)
Secs *[]int32 `form:"secs,omitempty" json:"secs,omitempty"`
// Type The sport (Ride, Run etc.). If filters is not provided or is blank or does not contain a type filter then activities for the types of the sport matching this parameter are included
Type *ListActivityHRCurvesParamsType `form:"type,omitempty" json:"type,omitempty"`
}
ListActivityHRCurvesParams defines parameters for ListActivityHRCurves.
type ListActivityHRCurvesParamsType ¶
type ListActivityHRCurvesParamsType string
ListActivityHRCurvesParamsType defines parameters for ListActivityHRCurves.
const ( ListActivityHRCurvesParamsTypeAlpineSki ListActivityHRCurvesParamsType = "AlpineSki" ListActivityHRCurvesParamsTypeBackcountrySki ListActivityHRCurvesParamsType = "BackcountrySki" ListActivityHRCurvesParamsTypeBadminton ListActivityHRCurvesParamsType = "Badminton" ListActivityHRCurvesParamsTypeCanoeing ListActivityHRCurvesParamsType = "Canoeing" ListActivityHRCurvesParamsTypeCrossfit ListActivityHRCurvesParamsType = "Crossfit" ListActivityHRCurvesParamsTypeEBikeRide ListActivityHRCurvesParamsType = "EBikeRide" ListActivityHRCurvesParamsTypeEMountainBikeRide ListActivityHRCurvesParamsType = "EMountainBikeRide" ListActivityHRCurvesParamsTypeElliptical ListActivityHRCurvesParamsType = "Elliptical" ListActivityHRCurvesParamsTypeGolf ListActivityHRCurvesParamsType = "Golf" ListActivityHRCurvesParamsTypeGravelRide ListActivityHRCurvesParamsType = "GravelRide" ListActivityHRCurvesParamsTypeHandcycle ListActivityHRCurvesParamsType = "Handcycle" ListActivityHRCurvesParamsTypeHighIntensityIntervalTraining ListActivityHRCurvesParamsType = "HighIntensityIntervalTraining" ListActivityHRCurvesParamsTypeHike ListActivityHRCurvesParamsType = "Hike" ListActivityHRCurvesParamsTypeHockey ListActivityHRCurvesParamsType = "Hockey" ListActivityHRCurvesParamsTypeIceSkate ListActivityHRCurvesParamsType = "IceSkate" ListActivityHRCurvesParamsTypeInlineSkate ListActivityHRCurvesParamsType = "InlineSkate" ListActivityHRCurvesParamsTypeKayaking ListActivityHRCurvesParamsType = "Kayaking" ListActivityHRCurvesParamsTypeKitesurf ListActivityHRCurvesParamsType = "Kitesurf" ListActivityHRCurvesParamsTypeMountainBikeRide ListActivityHRCurvesParamsType = "MountainBikeRide" ListActivityHRCurvesParamsTypeNordicSki ListActivityHRCurvesParamsType = "NordicSki" ListActivityHRCurvesParamsTypeOpenWaterSwim ListActivityHRCurvesParamsType = "OpenWaterSwim" ListActivityHRCurvesParamsTypeOther ListActivityHRCurvesParamsType = "Other" ListActivityHRCurvesParamsTypePadel ListActivityHRCurvesParamsType = "Padel" ListActivityHRCurvesParamsTypePickleball ListActivityHRCurvesParamsType = "Pickleball" ListActivityHRCurvesParamsTypePilates ListActivityHRCurvesParamsType = "Pilates" ListActivityHRCurvesParamsTypeRacquetball ListActivityHRCurvesParamsType = "Racquetball" ListActivityHRCurvesParamsTypeRide ListActivityHRCurvesParamsType = "Ride" ListActivityHRCurvesParamsTypeRockClimbing ListActivityHRCurvesParamsType = "RockClimbing" ListActivityHRCurvesParamsTypeRollerSki ListActivityHRCurvesParamsType = "RollerSki" ListActivityHRCurvesParamsTypeRowing ListActivityHRCurvesParamsType = "Rowing" ListActivityHRCurvesParamsTypeRugby ListActivityHRCurvesParamsType = "Rugby" ListActivityHRCurvesParamsTypeRun ListActivityHRCurvesParamsType = "Run" ListActivityHRCurvesParamsTypeSail ListActivityHRCurvesParamsType = "Sail" ListActivityHRCurvesParamsTypeSkateboard ListActivityHRCurvesParamsType = "Skateboard" ListActivityHRCurvesParamsTypeSnowboard ListActivityHRCurvesParamsType = "Snowboard" ListActivityHRCurvesParamsTypeSnowshoe ListActivityHRCurvesParamsType = "Snowshoe" ListActivityHRCurvesParamsTypeSoccer ListActivityHRCurvesParamsType = "Soccer" ListActivityHRCurvesParamsTypeSquash ListActivityHRCurvesParamsType = "Squash" ListActivityHRCurvesParamsTypeStairStepper ListActivityHRCurvesParamsType = "StairStepper" ListActivityHRCurvesParamsTypeStandUpPaddling ListActivityHRCurvesParamsType = "StandUpPaddling" ListActivityHRCurvesParamsTypeSurfing ListActivityHRCurvesParamsType = "Surfing" ListActivityHRCurvesParamsTypeSwim ListActivityHRCurvesParamsType = "Swim" ListActivityHRCurvesParamsTypeTableTennis ListActivityHRCurvesParamsType = "TableTennis" ListActivityHRCurvesParamsTypeTennis ListActivityHRCurvesParamsType = "Tennis" ListActivityHRCurvesParamsTypeTrackRide ListActivityHRCurvesParamsType = "TrackRide" ListActivityHRCurvesParamsTypeTrailRun ListActivityHRCurvesParamsType = "TrailRun" ListActivityHRCurvesParamsTypeTransition ListActivityHRCurvesParamsType = "Transition" ListActivityHRCurvesParamsTypeVelomobile ListActivityHRCurvesParamsType = "Velomobile" ListActivityHRCurvesParamsTypeVirtualRide ListActivityHRCurvesParamsType = "VirtualRide" ListActivityHRCurvesParamsTypeVirtualRow ListActivityHRCurvesParamsType = "VirtualRow" ListActivityHRCurvesParamsTypeVirtualRun ListActivityHRCurvesParamsType = "VirtualRun" ListActivityHRCurvesParamsTypeVirtualSki ListActivityHRCurvesParamsType = "VirtualSki" ListActivityHRCurvesParamsTypeWalk ListActivityHRCurvesParamsType = "Walk" ListActivityHRCurvesParamsTypeWaterSport ListActivityHRCurvesParamsType = "WaterSport" ListActivityHRCurvesParamsTypeWeightTraining ListActivityHRCurvesParamsType = "WeightTraining" ListActivityHRCurvesParamsTypeWheelchair ListActivityHRCurvesParamsType = "Wheelchair" ListActivityHRCurvesParamsTypeWindsurf ListActivityHRCurvesParamsType = "Windsurf" ListActivityHRCurvesParamsTypeWorkout ListActivityHRCurvesParamsType = "Workout" ListActivityHRCurvesParamsTypeYoga ListActivityHRCurvesParamsType = "Yoga" )
Defines values for ListActivityHRCurvesParamsType.
type ListActivityHRCurvesResp ¶
func ParseListActivityHRCurvesResp ¶
func ParseListActivityHRCurvesResp(rsp *http.Response) (*ListActivityHRCurvesResp, error)
ParseListActivityHRCurvesResp parses an HTTP response from a ListActivityHRCurvesWithResponse call
func (ListActivityHRCurvesResp) Status ¶
func (r ListActivityHRCurvesResp) Status() string
Status returns HTTPResponse.Status
func (ListActivityHRCurvesResp) StatusCode ¶
func (r ListActivityHRCurvesResp) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ListActivityMessagesParams ¶
type ListActivityMessagesParams struct {
SinceId *int64 `form:"sinceId,omitempty" json:"sinceId,omitempty"`
Limit *int32 `form:"limit,omitempty" json:"limit,omitempty"`
}
ListActivityMessagesParams defines parameters for ListActivityMessages.
type ListActivityMessagesResp ¶
func ParseListActivityMessagesResp ¶
func ParseListActivityMessagesResp(rsp *http.Response) (*ListActivityMessagesResp, error)
ParseListActivityMessagesResp parses an HTTP response from a ListActivityMessagesWithResponse call
func (ListActivityMessagesResp) Status ¶
func (r ListActivityMessagesResp) Status() string
Status returns HTTPResponse.Status
func (ListActivityMessagesResp) StatusCode ¶
func (r ListActivityMessagesResp) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ListActivityPaceCurvesParams ¶
type ListActivityPaceCurvesParams struct {
// Oldest Local ISO-8601 date or date and time e.g. 2019-07-22T16:18:49 or 2019-07-22
Oldest string `form:"oldest" json:"oldest"`
// Newest Local ISO-8601 date or date and time (inclusive)
Newest string `form:"newest" json:"newest"`
// Type The sport (Ride, Run etc.). If filters is not provided or is blank or does not contain a type filter then activities for the types of the sport matching this parameter are included
Type *ListActivityPaceCurvesParamsType `form:"type,omitempty" json:"type,omitempty"`
// Filters Only return activities matching all the filters in this list
Filters *[]ActivityFilter `form:"filters,omitempty" json:"filters,omitempty"`
// Distances Distances required (in meters, comma separated)
Distances *[]float32 `form:"distances,omitempty" json:"distances,omitempty"`
// Gap Return gradient adjusted pace curves
Gap *bool `form:"gap,omitempty" json:"gap,omitempty"`
}
ListActivityPaceCurvesParams defines parameters for ListActivityPaceCurves.
type ListActivityPaceCurvesParamsType ¶
type ListActivityPaceCurvesParamsType string
ListActivityPaceCurvesParamsType defines parameters for ListActivityPaceCurves.
const ( ListActivityPaceCurvesParamsTypeAlpineSki ListActivityPaceCurvesParamsType = "AlpineSki" ListActivityPaceCurvesParamsTypeBackcountrySki ListActivityPaceCurvesParamsType = "BackcountrySki" ListActivityPaceCurvesParamsTypeBadminton ListActivityPaceCurvesParamsType = "Badminton" ListActivityPaceCurvesParamsTypeCanoeing ListActivityPaceCurvesParamsType = "Canoeing" ListActivityPaceCurvesParamsTypeCrossfit ListActivityPaceCurvesParamsType = "Crossfit" ListActivityPaceCurvesParamsTypeEBikeRide ListActivityPaceCurvesParamsType = "EBikeRide" ListActivityPaceCurvesParamsTypeEMountainBikeRide ListActivityPaceCurvesParamsType = "EMountainBikeRide" ListActivityPaceCurvesParamsTypeElliptical ListActivityPaceCurvesParamsType = "Elliptical" ListActivityPaceCurvesParamsTypeGolf ListActivityPaceCurvesParamsType = "Golf" ListActivityPaceCurvesParamsTypeGravelRide ListActivityPaceCurvesParamsType = "GravelRide" ListActivityPaceCurvesParamsTypeHandcycle ListActivityPaceCurvesParamsType = "Handcycle" ListActivityPaceCurvesParamsTypeHighIntensityIntervalTraining ListActivityPaceCurvesParamsType = "HighIntensityIntervalTraining" ListActivityPaceCurvesParamsTypeHike ListActivityPaceCurvesParamsType = "Hike" ListActivityPaceCurvesParamsTypeHockey ListActivityPaceCurvesParamsType = "Hockey" ListActivityPaceCurvesParamsTypeIceSkate ListActivityPaceCurvesParamsType = "IceSkate" ListActivityPaceCurvesParamsTypeInlineSkate ListActivityPaceCurvesParamsType = "InlineSkate" ListActivityPaceCurvesParamsTypeKayaking ListActivityPaceCurvesParamsType = "Kayaking" ListActivityPaceCurvesParamsTypeKitesurf ListActivityPaceCurvesParamsType = "Kitesurf" ListActivityPaceCurvesParamsTypeMountainBikeRide ListActivityPaceCurvesParamsType = "MountainBikeRide" ListActivityPaceCurvesParamsTypeNordicSki ListActivityPaceCurvesParamsType = "NordicSki" ListActivityPaceCurvesParamsTypeOpenWaterSwim ListActivityPaceCurvesParamsType = "OpenWaterSwim" ListActivityPaceCurvesParamsTypeOther ListActivityPaceCurvesParamsType = "Other" ListActivityPaceCurvesParamsTypePadel ListActivityPaceCurvesParamsType = "Padel" ListActivityPaceCurvesParamsTypePickleball ListActivityPaceCurvesParamsType = "Pickleball" ListActivityPaceCurvesParamsTypePilates ListActivityPaceCurvesParamsType = "Pilates" ListActivityPaceCurvesParamsTypeRacquetball ListActivityPaceCurvesParamsType = "Racquetball" ListActivityPaceCurvesParamsTypeRide ListActivityPaceCurvesParamsType = "Ride" ListActivityPaceCurvesParamsTypeRockClimbing ListActivityPaceCurvesParamsType = "RockClimbing" ListActivityPaceCurvesParamsTypeRollerSki ListActivityPaceCurvesParamsType = "RollerSki" ListActivityPaceCurvesParamsTypeRowing ListActivityPaceCurvesParamsType = "Rowing" ListActivityPaceCurvesParamsTypeRugby ListActivityPaceCurvesParamsType = "Rugby" ListActivityPaceCurvesParamsTypeRun ListActivityPaceCurvesParamsType = "Run" ListActivityPaceCurvesParamsTypeSail ListActivityPaceCurvesParamsType = "Sail" ListActivityPaceCurvesParamsTypeSkateboard ListActivityPaceCurvesParamsType = "Skateboard" ListActivityPaceCurvesParamsTypeSnowboard ListActivityPaceCurvesParamsType = "Snowboard" ListActivityPaceCurvesParamsTypeSnowshoe ListActivityPaceCurvesParamsType = "Snowshoe" ListActivityPaceCurvesParamsTypeSoccer ListActivityPaceCurvesParamsType = "Soccer" ListActivityPaceCurvesParamsTypeSquash ListActivityPaceCurvesParamsType = "Squash" ListActivityPaceCurvesParamsTypeStairStepper ListActivityPaceCurvesParamsType = "StairStepper" ListActivityPaceCurvesParamsTypeStandUpPaddling ListActivityPaceCurvesParamsType = "StandUpPaddling" ListActivityPaceCurvesParamsTypeSurfing ListActivityPaceCurvesParamsType = "Surfing" ListActivityPaceCurvesParamsTypeSwim ListActivityPaceCurvesParamsType = "Swim" ListActivityPaceCurvesParamsTypeTableTennis ListActivityPaceCurvesParamsType = "TableTennis" ListActivityPaceCurvesParamsTypeTennis ListActivityPaceCurvesParamsType = "Tennis" ListActivityPaceCurvesParamsTypeTrackRide ListActivityPaceCurvesParamsType = "TrackRide" ListActivityPaceCurvesParamsTypeTrailRun ListActivityPaceCurvesParamsType = "TrailRun" ListActivityPaceCurvesParamsTypeTransition ListActivityPaceCurvesParamsType = "Transition" ListActivityPaceCurvesParamsTypeVelomobile ListActivityPaceCurvesParamsType = "Velomobile" ListActivityPaceCurvesParamsTypeVirtualRide ListActivityPaceCurvesParamsType = "VirtualRide" ListActivityPaceCurvesParamsTypeVirtualRow ListActivityPaceCurvesParamsType = "VirtualRow" ListActivityPaceCurvesParamsTypeVirtualRun ListActivityPaceCurvesParamsType = "VirtualRun" ListActivityPaceCurvesParamsTypeVirtualSki ListActivityPaceCurvesParamsType = "VirtualSki" ListActivityPaceCurvesParamsTypeWalk ListActivityPaceCurvesParamsType = "Walk" ListActivityPaceCurvesParamsTypeWaterSport ListActivityPaceCurvesParamsType = "WaterSport" ListActivityPaceCurvesParamsTypeWeightTraining ListActivityPaceCurvesParamsType = "WeightTraining" ListActivityPaceCurvesParamsTypeWheelchair ListActivityPaceCurvesParamsType = "Wheelchair" ListActivityPaceCurvesParamsTypeWindsurf ListActivityPaceCurvesParamsType = "Windsurf" ListActivityPaceCurvesParamsTypeWorkout ListActivityPaceCurvesParamsType = "Workout" ListActivityPaceCurvesParamsTypeYoga ListActivityPaceCurvesParamsType = "Yoga" )
Defines values for ListActivityPaceCurvesParamsType.
type ListActivityPaceCurvesResp ¶
func ParseListActivityPaceCurvesResp ¶
func ParseListActivityPaceCurvesResp(rsp *http.Response) (*ListActivityPaceCurvesResp, error)
ParseListActivityPaceCurvesResp parses an HTTP response from a ListActivityPaceCurvesWithResponse call
func (ListActivityPaceCurvesResp) Status ¶
func (r ListActivityPaceCurvesResp) Status() string
Status returns HTTPResponse.Status
func (ListActivityPaceCurvesResp) StatusCode ¶
func (r ListActivityPaceCurvesResp) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ListActivityPowerCurves1Params ¶
type ListActivityPowerCurves1Params struct {
// Types Comma separated list of streams required (default is watts)
Types *[]string `form:"types,omitempty" json:"types,omitempty"`
// Fatigue Comma separated list of normal, kj0 or kj1 to return normal and/or fatigued curves
Fatigue *[]string `form:"fatigue,omitempty" json:"fatigue,omitempty"`
}
ListActivityPowerCurves1Params defines parameters for ListActivityPowerCurves1.
type ListActivityPowerCurves1Resp ¶
func ParseListActivityPowerCurves1Resp ¶
func ParseListActivityPowerCurves1Resp(rsp *http.Response) (*ListActivityPowerCurves1Resp, error)
ParseListActivityPowerCurves1Resp parses an HTTP response from a ListActivityPowerCurves1WithResponse call
func (ListActivityPowerCurves1Resp) Status ¶
func (r ListActivityPowerCurves1Resp) Status() string
Status returns HTTPResponse.Status
func (ListActivityPowerCurves1Resp) StatusCode ¶
func (r ListActivityPowerCurves1Resp) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ListActivityPowerCurvesParams ¶
type ListActivityPowerCurvesParams struct {
// Oldest Local ISO-8601 date or date and time e.g. 2019-07-22T16:18:49 or 2019-07-22
Oldest string `form:"oldest" json:"oldest"`
// Newest Local ISO-8601 date or date and time (inclusive)
Newest string `form:"newest" json:"newest"`
// Filters Only return activities matching all the filters in this list
Filters *[]ActivityFilter `form:"filters,omitempty" json:"filters,omitempty"`
// Secs Optional durations to return (default is all, in seconds comma separated)
Secs *[]int32 `form:"secs,omitempty" json:"secs,omitempty"`
// Type The sport (Ride, Run etc.). If filters is not provided or is blank or does not contain a type filter then activities for the types of the sport matching this parameter are included. Required if fatigue is used
Type *ListActivityPowerCurvesParamsType `form:"type,omitempty" json:"type,omitempty"`
// Fatigue Use kj0 or kj1 to get one of the athlete's predefined fatigued power curves
Fatigue *string `form:"fatigue,omitempty" json:"fatigue,omitempty"`
}
ListActivityPowerCurvesParams defines parameters for ListActivityPowerCurves.
type ListActivityPowerCurvesParamsType ¶
type ListActivityPowerCurvesParamsType string
ListActivityPowerCurvesParamsType defines parameters for ListActivityPowerCurves.
const ( ListActivityPowerCurvesParamsTypeAlpineSki ListActivityPowerCurvesParamsType = "AlpineSki" ListActivityPowerCurvesParamsTypeBackcountrySki ListActivityPowerCurvesParamsType = "BackcountrySki" ListActivityPowerCurvesParamsTypeBadminton ListActivityPowerCurvesParamsType = "Badminton" ListActivityPowerCurvesParamsTypeCanoeing ListActivityPowerCurvesParamsType = "Canoeing" ListActivityPowerCurvesParamsTypeCrossfit ListActivityPowerCurvesParamsType = "Crossfit" ListActivityPowerCurvesParamsTypeEBikeRide ListActivityPowerCurvesParamsType = "EBikeRide" ListActivityPowerCurvesParamsTypeEMountainBikeRide ListActivityPowerCurvesParamsType = "EMountainBikeRide" ListActivityPowerCurvesParamsTypeElliptical ListActivityPowerCurvesParamsType = "Elliptical" ListActivityPowerCurvesParamsTypeGolf ListActivityPowerCurvesParamsType = "Golf" ListActivityPowerCurvesParamsTypeGravelRide ListActivityPowerCurvesParamsType = "GravelRide" ListActivityPowerCurvesParamsTypeHandcycle ListActivityPowerCurvesParamsType = "Handcycle" ListActivityPowerCurvesParamsTypeHighIntensityIntervalTraining ListActivityPowerCurvesParamsType = "HighIntensityIntervalTraining" ListActivityPowerCurvesParamsTypeHike ListActivityPowerCurvesParamsType = "Hike" ListActivityPowerCurvesParamsTypeHockey ListActivityPowerCurvesParamsType = "Hockey" ListActivityPowerCurvesParamsTypeIceSkate ListActivityPowerCurvesParamsType = "IceSkate" ListActivityPowerCurvesParamsTypeInlineSkate ListActivityPowerCurvesParamsType = "InlineSkate" ListActivityPowerCurvesParamsTypeKayaking ListActivityPowerCurvesParamsType = "Kayaking" ListActivityPowerCurvesParamsTypeKitesurf ListActivityPowerCurvesParamsType = "Kitesurf" ListActivityPowerCurvesParamsTypeMountainBikeRide ListActivityPowerCurvesParamsType = "MountainBikeRide" ListActivityPowerCurvesParamsTypeNordicSki ListActivityPowerCurvesParamsType = "NordicSki" ListActivityPowerCurvesParamsTypeOpenWaterSwim ListActivityPowerCurvesParamsType = "OpenWaterSwim" ListActivityPowerCurvesParamsTypeOther ListActivityPowerCurvesParamsType = "Other" ListActivityPowerCurvesParamsTypePadel ListActivityPowerCurvesParamsType = "Padel" ListActivityPowerCurvesParamsTypePickleball ListActivityPowerCurvesParamsType = "Pickleball" ListActivityPowerCurvesParamsTypePilates ListActivityPowerCurvesParamsType = "Pilates" ListActivityPowerCurvesParamsTypeRacquetball ListActivityPowerCurvesParamsType = "Racquetball" ListActivityPowerCurvesParamsTypeRide ListActivityPowerCurvesParamsType = "Ride" ListActivityPowerCurvesParamsTypeRockClimbing ListActivityPowerCurvesParamsType = "RockClimbing" ListActivityPowerCurvesParamsTypeRollerSki ListActivityPowerCurvesParamsType = "RollerSki" ListActivityPowerCurvesParamsTypeRowing ListActivityPowerCurvesParamsType = "Rowing" ListActivityPowerCurvesParamsTypeRugby ListActivityPowerCurvesParamsType = "Rugby" ListActivityPowerCurvesParamsTypeRun ListActivityPowerCurvesParamsType = "Run" ListActivityPowerCurvesParamsTypeSail ListActivityPowerCurvesParamsType = "Sail" ListActivityPowerCurvesParamsTypeSkateboard ListActivityPowerCurvesParamsType = "Skateboard" ListActivityPowerCurvesParamsTypeSnowboard ListActivityPowerCurvesParamsType = "Snowboard" ListActivityPowerCurvesParamsTypeSnowshoe ListActivityPowerCurvesParamsType = "Snowshoe" ListActivityPowerCurvesParamsTypeSoccer ListActivityPowerCurvesParamsType = "Soccer" ListActivityPowerCurvesParamsTypeSquash ListActivityPowerCurvesParamsType = "Squash" ListActivityPowerCurvesParamsTypeStairStepper ListActivityPowerCurvesParamsType = "StairStepper" ListActivityPowerCurvesParamsTypeStandUpPaddling ListActivityPowerCurvesParamsType = "StandUpPaddling" ListActivityPowerCurvesParamsTypeSurfing ListActivityPowerCurvesParamsType = "Surfing" ListActivityPowerCurvesParamsTypeSwim ListActivityPowerCurvesParamsType = "Swim" ListActivityPowerCurvesParamsTypeTableTennis ListActivityPowerCurvesParamsType = "TableTennis" ListActivityPowerCurvesParamsTypeTennis ListActivityPowerCurvesParamsType = "Tennis" ListActivityPowerCurvesParamsTypeTrackRide ListActivityPowerCurvesParamsType = "TrackRide" ListActivityPowerCurvesParamsTypeTrailRun ListActivityPowerCurvesParamsType = "TrailRun" ListActivityPowerCurvesParamsTypeTransition ListActivityPowerCurvesParamsType = "Transition" ListActivityPowerCurvesParamsTypeVelomobile ListActivityPowerCurvesParamsType = "Velomobile" ListActivityPowerCurvesParamsTypeVirtualRide ListActivityPowerCurvesParamsType = "VirtualRide" ListActivityPowerCurvesParamsTypeVirtualRow ListActivityPowerCurvesParamsType = "VirtualRow" ListActivityPowerCurvesParamsTypeVirtualRun ListActivityPowerCurvesParamsType = "VirtualRun" ListActivityPowerCurvesParamsTypeVirtualSki ListActivityPowerCurvesParamsType = "VirtualSki" ListActivityPowerCurvesParamsTypeWalk ListActivityPowerCurvesParamsType = "Walk" ListActivityPowerCurvesParamsTypeWaterSport ListActivityPowerCurvesParamsType = "WaterSport" ListActivityPowerCurvesParamsTypeWeightTraining ListActivityPowerCurvesParamsType = "WeightTraining" ListActivityPowerCurvesParamsTypeWheelchair ListActivityPowerCurvesParamsType = "Wheelchair" ListActivityPowerCurvesParamsTypeWindsurf ListActivityPowerCurvesParamsType = "Windsurf" ListActivityPowerCurvesParamsTypeWorkout ListActivityPowerCurvesParamsType = "Workout" ListActivityPowerCurvesParamsTypeYoga ListActivityPowerCurvesParamsType = "Yoga" )
Defines values for ListActivityPowerCurvesParamsType.
type ListActivityPowerCurvesResp ¶
func ParseListActivityPowerCurvesResp ¶
func ParseListActivityPowerCurvesResp(rsp *http.Response) (*ListActivityPowerCurvesResp, error)
ParseListActivityPowerCurvesResp parses an HTTP response from a ListActivityPowerCurvesWithResponse call
func (ListActivityPowerCurvesResp) Status ¶
func (r ListActivityPowerCurvesResp) Status() string
Status returns HTTPResponse.Status
func (ListActivityPowerCurvesResp) StatusCode ¶
func (r ListActivityPowerCurvesResp) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ListAthleteHRCurvesParams ¶
type ListAthleteHRCurvesParams struct {
Newest *string `form:"newest,omitempty" json:"newest,omitempty"`
// Curves Comma separated list of curves to return (default last year)
Curves *[]string `form:"curves,omitempty" json:"curves,omitempty"`
// Type The sport (Ride, Run etc.). If filters is not provided or is blank or does not contain a type filter then activities for the types of the sport matching this parameter are included
Type *ListAthleteHRCurvesParamsType `form:"type,omitempty" json:"type,omitempty"`
SubMaxEfforts *int32 `form:"subMaxEfforts,omitempty" json:"subMaxEfforts,omitempty"`
// Now Current local date (ISO-8601)
Now *string `form:"now,omitempty" json:"now,omitempty"`
// Filters Only consider activities matching all the filters in this list
Filters *[]ActivityFilter `form:"filters,omitempty" json:"filters,omitempty"`
// F1 If set each curve is returned with these filters applied to compare curves
F1 []ActivityFilter `form:"f1" json:"f1"`
// F2 If set each curve is returned with these filters applied to compare curves
F2 []ActivityFilter `form:"f2" json:"f2"`
// F3 If set each curve is returned with these filters applied to compare curves
F3 []ActivityFilter `form:"f3" json:"f3"`
}
ListAthleteHRCurvesParams defines parameters for ListAthleteHRCurves.
type ListAthleteHRCurvesParamsType ¶
type ListAthleteHRCurvesParamsType string
ListAthleteHRCurvesParamsType defines parameters for ListAthleteHRCurves.
const ( ListAthleteHRCurvesParamsTypeAlpineSki ListAthleteHRCurvesParamsType = "AlpineSki" ListAthleteHRCurvesParamsTypeBackcountrySki ListAthleteHRCurvesParamsType = "BackcountrySki" ListAthleteHRCurvesParamsTypeBadminton ListAthleteHRCurvesParamsType = "Badminton" ListAthleteHRCurvesParamsTypeCanoeing ListAthleteHRCurvesParamsType = "Canoeing" ListAthleteHRCurvesParamsTypeCrossfit ListAthleteHRCurvesParamsType = "Crossfit" ListAthleteHRCurvesParamsTypeEBikeRide ListAthleteHRCurvesParamsType = "EBikeRide" ListAthleteHRCurvesParamsTypeEMountainBikeRide ListAthleteHRCurvesParamsType = "EMountainBikeRide" ListAthleteHRCurvesParamsTypeElliptical ListAthleteHRCurvesParamsType = "Elliptical" ListAthleteHRCurvesParamsTypeGolf ListAthleteHRCurvesParamsType = "Golf" ListAthleteHRCurvesParamsTypeGravelRide ListAthleteHRCurvesParamsType = "GravelRide" ListAthleteHRCurvesParamsTypeHandcycle ListAthleteHRCurvesParamsType = "Handcycle" ListAthleteHRCurvesParamsTypeHighIntensityIntervalTraining ListAthleteHRCurvesParamsType = "HighIntensityIntervalTraining" ListAthleteHRCurvesParamsTypeHike ListAthleteHRCurvesParamsType = "Hike" ListAthleteHRCurvesParamsTypeHockey ListAthleteHRCurvesParamsType = "Hockey" ListAthleteHRCurvesParamsTypeIceSkate ListAthleteHRCurvesParamsType = "IceSkate" ListAthleteHRCurvesParamsTypeInlineSkate ListAthleteHRCurvesParamsType = "InlineSkate" ListAthleteHRCurvesParamsTypeKayaking ListAthleteHRCurvesParamsType = "Kayaking" ListAthleteHRCurvesParamsTypeKitesurf ListAthleteHRCurvesParamsType = "Kitesurf" ListAthleteHRCurvesParamsTypeMountainBikeRide ListAthleteHRCurvesParamsType = "MountainBikeRide" ListAthleteHRCurvesParamsTypeNordicSki ListAthleteHRCurvesParamsType = "NordicSki" ListAthleteHRCurvesParamsTypeOpenWaterSwim ListAthleteHRCurvesParamsType = "OpenWaterSwim" ListAthleteHRCurvesParamsTypeOther ListAthleteHRCurvesParamsType = "Other" ListAthleteHRCurvesParamsTypePadel ListAthleteHRCurvesParamsType = "Padel" ListAthleteHRCurvesParamsTypePickleball ListAthleteHRCurvesParamsType = "Pickleball" ListAthleteHRCurvesParamsTypePilates ListAthleteHRCurvesParamsType = "Pilates" ListAthleteHRCurvesParamsTypeRacquetball ListAthleteHRCurvesParamsType = "Racquetball" ListAthleteHRCurvesParamsTypeRide ListAthleteHRCurvesParamsType = "Ride" ListAthleteHRCurvesParamsTypeRockClimbing ListAthleteHRCurvesParamsType = "RockClimbing" ListAthleteHRCurvesParamsTypeRollerSki ListAthleteHRCurvesParamsType = "RollerSki" ListAthleteHRCurvesParamsTypeRowing ListAthleteHRCurvesParamsType = "Rowing" ListAthleteHRCurvesParamsTypeRugby ListAthleteHRCurvesParamsType = "Rugby" ListAthleteHRCurvesParamsTypeRun ListAthleteHRCurvesParamsType = "Run" ListAthleteHRCurvesParamsTypeSail ListAthleteHRCurvesParamsType = "Sail" ListAthleteHRCurvesParamsTypeSkateboard ListAthleteHRCurvesParamsType = "Skateboard" ListAthleteHRCurvesParamsTypeSnowboard ListAthleteHRCurvesParamsType = "Snowboard" ListAthleteHRCurvesParamsTypeSnowshoe ListAthleteHRCurvesParamsType = "Snowshoe" ListAthleteHRCurvesParamsTypeSoccer ListAthleteHRCurvesParamsType = "Soccer" ListAthleteHRCurvesParamsTypeSquash ListAthleteHRCurvesParamsType = "Squash" ListAthleteHRCurvesParamsTypeStairStepper ListAthleteHRCurvesParamsType = "StairStepper" ListAthleteHRCurvesParamsTypeStandUpPaddling ListAthleteHRCurvesParamsType = "StandUpPaddling" ListAthleteHRCurvesParamsTypeSurfing ListAthleteHRCurvesParamsType = "Surfing" ListAthleteHRCurvesParamsTypeSwim ListAthleteHRCurvesParamsType = "Swim" ListAthleteHRCurvesParamsTypeTableTennis ListAthleteHRCurvesParamsType = "TableTennis" ListAthleteHRCurvesParamsTypeTennis ListAthleteHRCurvesParamsType = "Tennis" ListAthleteHRCurvesParamsTypeTrackRide ListAthleteHRCurvesParamsType = "TrackRide" ListAthleteHRCurvesParamsTypeTrailRun ListAthleteHRCurvesParamsType = "TrailRun" ListAthleteHRCurvesParamsTypeTransition ListAthleteHRCurvesParamsType = "Transition" ListAthleteHRCurvesParamsTypeVelomobile ListAthleteHRCurvesParamsType = "Velomobile" ListAthleteHRCurvesParamsTypeVirtualRide ListAthleteHRCurvesParamsType = "VirtualRide" ListAthleteHRCurvesParamsTypeVirtualRow ListAthleteHRCurvesParamsType = "VirtualRow" ListAthleteHRCurvesParamsTypeVirtualRun ListAthleteHRCurvesParamsType = "VirtualRun" ListAthleteHRCurvesParamsTypeVirtualSki ListAthleteHRCurvesParamsType = "VirtualSki" ListAthleteHRCurvesParamsTypeWalk ListAthleteHRCurvesParamsType = "Walk" ListAthleteHRCurvesParamsTypeWaterSport ListAthleteHRCurvesParamsType = "WaterSport" ListAthleteHRCurvesParamsTypeWeightTraining ListAthleteHRCurvesParamsType = "WeightTraining" ListAthleteHRCurvesParamsTypeWheelchair ListAthleteHRCurvesParamsType = "Wheelchair" ListAthleteHRCurvesParamsTypeWindsurf ListAthleteHRCurvesParamsType = "Windsurf" ListAthleteHRCurvesParamsTypeWorkout ListAthleteHRCurvesParamsType = "Workout" ListAthleteHRCurvesParamsTypeYoga ListAthleteHRCurvesParamsType = "Yoga" )
Defines values for ListAthleteHRCurvesParamsType.
type ListAthleteHRCurvesResp ¶
func ParseListAthleteHRCurvesResp ¶
func ParseListAthleteHRCurvesResp(rsp *http.Response) (*ListAthleteHRCurvesResp, error)
ParseListAthleteHRCurvesResp parses an HTTP response from a ListAthleteHRCurvesWithResponse call
func (ListAthleteHRCurvesResp) Status ¶
func (r ListAthleteHRCurvesResp) Status() string
Status returns HTTPResponse.Status
func (ListAthleteHRCurvesResp) StatusCode ¶
func (r ListAthleteHRCurvesResp) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ListAthletePaceCurvesParams ¶
type ListAthletePaceCurvesParams struct {
Newest *string `form:"newest,omitempty" json:"newest,omitempty"`
// Curves Comma separated list of curves to return (default last year)
Curves *[]string `form:"curves,omitempty" json:"curves,omitempty"`
// Type The sport (Ride, Run etc.). If filters is not provided or is blank or does not contain a type filter then activities for the types of the sport matching this parameter are included
Type *ListAthletePaceCurvesParamsType `form:"type,omitempty" json:"type,omitempty"`
IncludeRanks *bool `form:"includeRanks,omitempty" json:"includeRanks,omitempty"`
SubMaxEfforts *int32 `form:"subMaxEfforts,omitempty" json:"subMaxEfforts,omitempty"`
// Now Current local date (ISO-8601)
Now *string `form:"now,omitempty" json:"now,omitempty"`
// Gap Return gradient adjusted pace curves
Gap *bool `form:"gap,omitempty" json:"gap,omitempty"`
PmType *ListAthletePaceCurvesParamsPmType `form:"pmType,omitempty" json:"pmType,omitempty"`
// Filters Only consider activities matching all the filters in this list
Filters *[]ActivityFilter `form:"filters,omitempty" json:"filters,omitempty"`
// F1 If set each curve is returned with these filters applied to compare curves
F1 []ActivityFilter `form:"f1" json:"f1"`
// F2 If set each curve is returned with these filters applied to compare curves
F2 []ActivityFilter `form:"f2" json:"f2"`
// F3 If set each curve is returned with these filters applied to compare curves
F3 []ActivityFilter `form:"f3" json:"f3"`
}
ListAthletePaceCurvesParams defines parameters for ListAthletePaceCurves.
type ListAthletePaceCurvesParamsPmType ¶
type ListAthletePaceCurvesParamsPmType string
ListAthletePaceCurvesParamsPmType defines parameters for ListAthletePaceCurves.
const (
ListAthletePaceCurvesParamsPmTypeCS ListAthletePaceCurvesParamsPmType = "CS"
)
Defines values for ListAthletePaceCurvesParamsPmType.
type ListAthletePaceCurvesParamsType ¶
type ListAthletePaceCurvesParamsType string
ListAthletePaceCurvesParamsType defines parameters for ListAthletePaceCurves.
const ( ListAthletePaceCurvesParamsTypeAlpineSki ListAthletePaceCurvesParamsType = "AlpineSki" ListAthletePaceCurvesParamsTypeBackcountrySki ListAthletePaceCurvesParamsType = "BackcountrySki" ListAthletePaceCurvesParamsTypeBadminton ListAthletePaceCurvesParamsType = "Badminton" ListAthletePaceCurvesParamsTypeCanoeing ListAthletePaceCurvesParamsType = "Canoeing" ListAthletePaceCurvesParamsTypeCrossfit ListAthletePaceCurvesParamsType = "Crossfit" ListAthletePaceCurvesParamsTypeEBikeRide ListAthletePaceCurvesParamsType = "EBikeRide" ListAthletePaceCurvesParamsTypeEMountainBikeRide ListAthletePaceCurvesParamsType = "EMountainBikeRide" ListAthletePaceCurvesParamsTypeElliptical ListAthletePaceCurvesParamsType = "Elliptical" ListAthletePaceCurvesParamsTypeGolf ListAthletePaceCurvesParamsType = "Golf" ListAthletePaceCurvesParamsTypeGravelRide ListAthletePaceCurvesParamsType = "GravelRide" ListAthletePaceCurvesParamsTypeHandcycle ListAthletePaceCurvesParamsType = "Handcycle" ListAthletePaceCurvesParamsTypeHighIntensityIntervalTraining ListAthletePaceCurvesParamsType = "HighIntensityIntervalTraining" ListAthletePaceCurvesParamsTypeHike ListAthletePaceCurvesParamsType = "Hike" ListAthletePaceCurvesParamsTypeHockey ListAthletePaceCurvesParamsType = "Hockey" ListAthletePaceCurvesParamsTypeIceSkate ListAthletePaceCurvesParamsType = "IceSkate" ListAthletePaceCurvesParamsTypeInlineSkate ListAthletePaceCurvesParamsType = "InlineSkate" ListAthletePaceCurvesParamsTypeKayaking ListAthletePaceCurvesParamsType = "Kayaking" ListAthletePaceCurvesParamsTypeKitesurf ListAthletePaceCurvesParamsType = "Kitesurf" ListAthletePaceCurvesParamsTypeMountainBikeRide ListAthletePaceCurvesParamsType = "MountainBikeRide" ListAthletePaceCurvesParamsTypeNordicSki ListAthletePaceCurvesParamsType = "NordicSki" ListAthletePaceCurvesParamsTypeOpenWaterSwim ListAthletePaceCurvesParamsType = "OpenWaterSwim" ListAthletePaceCurvesParamsTypeOther ListAthletePaceCurvesParamsType = "Other" ListAthletePaceCurvesParamsTypePadel ListAthletePaceCurvesParamsType = "Padel" ListAthletePaceCurvesParamsTypePickleball ListAthletePaceCurvesParamsType = "Pickleball" ListAthletePaceCurvesParamsTypePilates ListAthletePaceCurvesParamsType = "Pilates" ListAthletePaceCurvesParamsTypeRacquetball ListAthletePaceCurvesParamsType = "Racquetball" ListAthletePaceCurvesParamsTypeRide ListAthletePaceCurvesParamsType = "Ride" ListAthletePaceCurvesParamsTypeRockClimbing ListAthletePaceCurvesParamsType = "RockClimbing" ListAthletePaceCurvesParamsTypeRollerSki ListAthletePaceCurvesParamsType = "RollerSki" ListAthletePaceCurvesParamsTypeRowing ListAthletePaceCurvesParamsType = "Rowing" ListAthletePaceCurvesParamsTypeRugby ListAthletePaceCurvesParamsType = "Rugby" ListAthletePaceCurvesParamsTypeRun ListAthletePaceCurvesParamsType = "Run" ListAthletePaceCurvesParamsTypeSail ListAthletePaceCurvesParamsType = "Sail" ListAthletePaceCurvesParamsTypeSkateboard ListAthletePaceCurvesParamsType = "Skateboard" ListAthletePaceCurvesParamsTypeSnowboard ListAthletePaceCurvesParamsType = "Snowboard" ListAthletePaceCurvesParamsTypeSnowshoe ListAthletePaceCurvesParamsType = "Snowshoe" ListAthletePaceCurvesParamsTypeSoccer ListAthletePaceCurvesParamsType = "Soccer" ListAthletePaceCurvesParamsTypeSquash ListAthletePaceCurvesParamsType = "Squash" ListAthletePaceCurvesParamsTypeStairStepper ListAthletePaceCurvesParamsType = "StairStepper" ListAthletePaceCurvesParamsTypeStandUpPaddling ListAthletePaceCurvesParamsType = "StandUpPaddling" ListAthletePaceCurvesParamsTypeSurfing ListAthletePaceCurvesParamsType = "Surfing" ListAthletePaceCurvesParamsTypeSwim ListAthletePaceCurvesParamsType = "Swim" ListAthletePaceCurvesParamsTypeTableTennis ListAthletePaceCurvesParamsType = "TableTennis" ListAthletePaceCurvesParamsTypeTennis ListAthletePaceCurvesParamsType = "Tennis" ListAthletePaceCurvesParamsTypeTrackRide ListAthletePaceCurvesParamsType = "TrackRide" ListAthletePaceCurvesParamsTypeTrailRun ListAthletePaceCurvesParamsType = "TrailRun" ListAthletePaceCurvesParamsTypeTransition ListAthletePaceCurvesParamsType = "Transition" ListAthletePaceCurvesParamsTypeVelomobile ListAthletePaceCurvesParamsType = "Velomobile" ListAthletePaceCurvesParamsTypeVirtualRide ListAthletePaceCurvesParamsType = "VirtualRide" ListAthletePaceCurvesParamsTypeVirtualRow ListAthletePaceCurvesParamsType = "VirtualRow" ListAthletePaceCurvesParamsTypeVirtualRun ListAthletePaceCurvesParamsType = "VirtualRun" ListAthletePaceCurvesParamsTypeVirtualSki ListAthletePaceCurvesParamsType = "VirtualSki" ListAthletePaceCurvesParamsTypeWalk ListAthletePaceCurvesParamsType = "Walk" ListAthletePaceCurvesParamsTypeWaterSport ListAthletePaceCurvesParamsType = "WaterSport" ListAthletePaceCurvesParamsTypeWeightTraining ListAthletePaceCurvesParamsType = "WeightTraining" ListAthletePaceCurvesParamsTypeWheelchair ListAthletePaceCurvesParamsType = "Wheelchair" ListAthletePaceCurvesParamsTypeWindsurf ListAthletePaceCurvesParamsType = "Windsurf" ListAthletePaceCurvesParamsTypeWorkout ListAthletePaceCurvesParamsType = "Workout" ListAthletePaceCurvesParamsTypeYoga ListAthletePaceCurvesParamsType = "Yoga" )
Defines values for ListAthletePaceCurvesParamsType.
type ListAthletePaceCurvesResp ¶
func ParseListAthletePaceCurvesResp ¶
func ParseListAthletePaceCurvesResp(rsp *http.Response) (*ListAthletePaceCurvesResp, error)
ParseListAthletePaceCurvesResp parses an HTTP response from a ListAthletePaceCurvesWithResponse call
func (ListAthletePaceCurvesResp) Status ¶
func (r ListAthletePaceCurvesResp) Status() string
Status returns HTTPResponse.Status
func (ListAthletePaceCurvesResp) StatusCode ¶
func (r ListAthletePaceCurvesResp) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ListAthletePowerCurvesParams ¶
type ListAthletePowerCurvesParams struct {
Newest *string `form:"newest,omitempty" json:"newest,omitempty"`
// Curves Comma separated list of curves to return (default last year)
Curves *[]string `form:"curves,omitempty" json:"curves,omitempty"`
// Type The sport (Ride, Run etc.). If filters is not provided or is blank or does not contain a type filter then activities for the types of the sport matching this parameter are included
Type ListAthletePowerCurvesParamsType `form:"type" json:"type"`
IncludeRanks *bool `form:"includeRanks,omitempty" json:"includeRanks,omitempty"`
SubMaxEfforts *int32 `form:"subMaxEfforts,omitempty" json:"subMaxEfforts,omitempty"`
// Now Current local date (ISO-8601)
Now *string `form:"now,omitempty" json:"now,omitempty"`
PmType *ListAthletePowerCurvesParamsPmType `form:"pmType,omitempty" json:"pmType,omitempty"`
// Filters Only consider activities matching all the filters in this list
Filters *[]ActivityFilter `form:"filters,omitempty" json:"filters,omitempty"`
// F1 If set each curve is returned with these filters applied to compare curves
F1 []ActivityFilter `form:"f1" json:"f1"`
// F2 If set each curve is returned with these filters applied to compare curves
F2 []ActivityFilter `form:"f2" json:"f2"`
// F3 If set each curve is returned with these filters applied to compare curves
F3 []ActivityFilter `form:"f3" json:"f3"`
}
ListAthletePowerCurvesParams defines parameters for ListAthletePowerCurves.
type ListAthletePowerCurvesParamsPmType ¶
type ListAthletePowerCurvesParamsPmType string
ListAthletePowerCurvesParamsPmType defines parameters for ListAthletePowerCurves.
const ( ListAthletePowerCurvesParamsPmTypeECP ListAthletePowerCurvesParamsPmType = "ECP" ListAthletePowerCurvesParamsPmTypeFFTCURVES ListAthletePowerCurvesParamsPmType = "FFT_CURVES" ListAthletePowerCurvesParamsPmTypeMORTON3P ListAthletePowerCurvesParamsPmType = "MORTON_3P" ListAthletePowerCurvesParamsPmTypeMS2P ListAthletePowerCurvesParamsPmType = "MS_2P" )
Defines values for ListAthletePowerCurvesParamsPmType.
type ListAthletePowerCurvesParamsType ¶
type ListAthletePowerCurvesParamsType string
ListAthletePowerCurvesParamsType defines parameters for ListAthletePowerCurves.
const ( ListAthletePowerCurvesParamsTypeAlpineSki ListAthletePowerCurvesParamsType = "AlpineSki" ListAthletePowerCurvesParamsTypeBackcountrySki ListAthletePowerCurvesParamsType = "BackcountrySki" ListAthletePowerCurvesParamsTypeBadminton ListAthletePowerCurvesParamsType = "Badminton" ListAthletePowerCurvesParamsTypeCanoeing ListAthletePowerCurvesParamsType = "Canoeing" ListAthletePowerCurvesParamsTypeCrossfit ListAthletePowerCurvesParamsType = "Crossfit" ListAthletePowerCurvesParamsTypeEBikeRide ListAthletePowerCurvesParamsType = "EBikeRide" ListAthletePowerCurvesParamsTypeEMountainBikeRide ListAthletePowerCurvesParamsType = "EMountainBikeRide" ListAthletePowerCurvesParamsTypeElliptical ListAthletePowerCurvesParamsType = "Elliptical" ListAthletePowerCurvesParamsTypeGolf ListAthletePowerCurvesParamsType = "Golf" ListAthletePowerCurvesParamsTypeGravelRide ListAthletePowerCurvesParamsType = "GravelRide" ListAthletePowerCurvesParamsTypeHandcycle ListAthletePowerCurvesParamsType = "Handcycle" ListAthletePowerCurvesParamsTypeHighIntensityIntervalTraining ListAthletePowerCurvesParamsType = "HighIntensityIntervalTraining" ListAthletePowerCurvesParamsTypeHike ListAthletePowerCurvesParamsType = "Hike" ListAthletePowerCurvesParamsTypeHockey ListAthletePowerCurvesParamsType = "Hockey" ListAthletePowerCurvesParamsTypeIceSkate ListAthletePowerCurvesParamsType = "IceSkate" ListAthletePowerCurvesParamsTypeInlineSkate ListAthletePowerCurvesParamsType = "InlineSkate" ListAthletePowerCurvesParamsTypeKayaking ListAthletePowerCurvesParamsType = "Kayaking" ListAthletePowerCurvesParamsTypeKitesurf ListAthletePowerCurvesParamsType = "Kitesurf" ListAthletePowerCurvesParamsTypeMountainBikeRide ListAthletePowerCurvesParamsType = "MountainBikeRide" ListAthletePowerCurvesParamsTypeNordicSki ListAthletePowerCurvesParamsType = "NordicSki" ListAthletePowerCurvesParamsTypeOpenWaterSwim ListAthletePowerCurvesParamsType = "OpenWaterSwim" ListAthletePowerCurvesParamsTypeOther ListAthletePowerCurvesParamsType = "Other" ListAthletePowerCurvesParamsTypePadel ListAthletePowerCurvesParamsType = "Padel" ListAthletePowerCurvesParamsTypePickleball ListAthletePowerCurvesParamsType = "Pickleball" ListAthletePowerCurvesParamsTypePilates ListAthletePowerCurvesParamsType = "Pilates" ListAthletePowerCurvesParamsTypeRacquetball ListAthletePowerCurvesParamsType = "Racquetball" ListAthletePowerCurvesParamsTypeRide ListAthletePowerCurvesParamsType = "Ride" ListAthletePowerCurvesParamsTypeRockClimbing ListAthletePowerCurvesParamsType = "RockClimbing" ListAthletePowerCurvesParamsTypeRollerSki ListAthletePowerCurvesParamsType = "RollerSki" ListAthletePowerCurvesParamsTypeRowing ListAthletePowerCurvesParamsType = "Rowing" ListAthletePowerCurvesParamsTypeRugby ListAthletePowerCurvesParamsType = "Rugby" ListAthletePowerCurvesParamsTypeRun ListAthletePowerCurvesParamsType = "Run" ListAthletePowerCurvesParamsTypeSail ListAthletePowerCurvesParamsType = "Sail" ListAthletePowerCurvesParamsTypeSkateboard ListAthletePowerCurvesParamsType = "Skateboard" ListAthletePowerCurvesParamsTypeSnowboard ListAthletePowerCurvesParamsType = "Snowboard" ListAthletePowerCurvesParamsTypeSnowshoe ListAthletePowerCurvesParamsType = "Snowshoe" ListAthletePowerCurvesParamsTypeSoccer ListAthletePowerCurvesParamsType = "Soccer" ListAthletePowerCurvesParamsTypeSquash ListAthletePowerCurvesParamsType = "Squash" ListAthletePowerCurvesParamsTypeStairStepper ListAthletePowerCurvesParamsType = "StairStepper" ListAthletePowerCurvesParamsTypeStandUpPaddling ListAthletePowerCurvesParamsType = "StandUpPaddling" ListAthletePowerCurvesParamsTypeSurfing ListAthletePowerCurvesParamsType = "Surfing" ListAthletePowerCurvesParamsTypeSwim ListAthletePowerCurvesParamsType = "Swim" ListAthletePowerCurvesParamsTypeTableTennis ListAthletePowerCurvesParamsType = "TableTennis" ListAthletePowerCurvesParamsTypeTennis ListAthletePowerCurvesParamsType = "Tennis" ListAthletePowerCurvesParamsTypeTrackRide ListAthletePowerCurvesParamsType = "TrackRide" ListAthletePowerCurvesParamsTypeTrailRun ListAthletePowerCurvesParamsType = "TrailRun" ListAthletePowerCurvesParamsTypeTransition ListAthletePowerCurvesParamsType = "Transition" ListAthletePowerCurvesParamsTypeVelomobile ListAthletePowerCurvesParamsType = "Velomobile" ListAthletePowerCurvesParamsTypeVirtualRide ListAthletePowerCurvesParamsType = "VirtualRide" ListAthletePowerCurvesParamsTypeVirtualRow ListAthletePowerCurvesParamsType = "VirtualRow" ListAthletePowerCurvesParamsTypeVirtualRun ListAthletePowerCurvesParamsType = "VirtualRun" ListAthletePowerCurvesParamsTypeVirtualSki ListAthletePowerCurvesParamsType = "VirtualSki" ListAthletePowerCurvesParamsTypeWalk ListAthletePowerCurvesParamsType = "Walk" ListAthletePowerCurvesParamsTypeWaterSport ListAthletePowerCurvesParamsType = "WaterSport" ListAthletePowerCurvesParamsTypeWeightTraining ListAthletePowerCurvesParamsType = "WeightTraining" ListAthletePowerCurvesParamsTypeWheelchair ListAthletePowerCurvesParamsType = "Wheelchair" ListAthletePowerCurvesParamsTypeWindsurf ListAthletePowerCurvesParamsType = "Windsurf" ListAthletePowerCurvesParamsTypeWorkout ListAthletePowerCurvesParamsType = "Workout" ListAthletePowerCurvesParamsTypeYoga ListAthletePowerCurvesParamsType = "Yoga" )
Defines values for ListAthletePowerCurvesParamsType.
type ListAthletePowerCurvesResp ¶
func ParseListAthletePowerCurvesResp ¶
func ParseListAthletePowerCurvesResp(rsp *http.Response) (*ListAthletePowerCurvesResp, error)
ParseListAthletePowerCurvesResp parses an HTTP response from a ListAthletePowerCurvesWithResponse call
func (ListAthletePowerCurvesResp) Status ¶
func (r ListAthletePowerCurvesResp) Status() string
Status returns HTTPResponse.Status
func (ListAthletePowerCurvesResp) StatusCode ¶
func (r ListAthletePowerCurvesResp) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ListAthleteRoutesResp ¶
func ParseListAthleteRoutesResp ¶
func ParseListAthleteRoutesResp(rsp *http.Response) (*ListAthleteRoutesResp, error)
ParseListAthleteRoutesResp parses an HTTP response from a ListAthleteRoutesWithResponse call
func (ListAthleteRoutesResp) Status ¶
func (r ListAthleteRoutesResp) Status() string
Status returns HTTPResponse.Status
func (ListAthleteRoutesResp) StatusCode ¶
func (r ListAthleteRoutesResp) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ListChatsResp ¶
func ParseListChatsResp ¶
func ParseListChatsResp(rsp *http.Response) (*ListChatsResp, error)
ParseListChatsResp parses an HTTP response from a ListChatsWithResponse call
func (ListChatsResp) Status ¶
func (r ListChatsResp) Status() string
Status returns HTTPResponse.Status
func (ListChatsResp) StatusCode ¶
func (r ListChatsResp) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ListCustomItemsResp ¶
func ParseListCustomItemsResp ¶
func ParseListCustomItemsResp(rsp *http.Response) (*ListCustomItemsResp, error)
ParseListCustomItemsResp parses an HTTP response from a ListCustomItemsWithResponse call
func (ListCustomItemsResp) Status ¶
func (r ListCustomItemsResp) Status() string
Status returns HTTPResponse.Status
func (ListCustomItemsResp) StatusCode ¶
func (r ListCustomItemsResp) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ListEventsParams ¶
type ListEventsParams struct {
// Oldest Local date (ISO-8601) for oldest event to return, default is today in the athletes timezone
Oldest *string `form:"oldest,omitempty" json:"oldest,omitempty"`
// Newest Local date (ISO-8601) for newest event to return (inclusive), default is oldest plus 6 days
Newest *string `form:"newest,omitempty" json:"newest,omitempty"`
// Category Comma separated list of categories to filter for (e.g. WORKOUT,NOTES)
Category *[]string `form:"category,omitempty" json:"category,omitempty"`
// Limit Max number of events to return (default is all events)
Limit *int32 `form:"limit,omitempty" json:"limit,omitempty"`
CalendarId *int32 `form:"calendar_id,omitempty" json:"calendar_id,omitempty"`
// Ext Convert workouts to this format (zwo, mrc, erg or fit) and add workout_filename and workout_file_base64 to workout object
Ext *string `form:"ext,omitempty" json:"ext,omitempty"`
// PowerRange Percentage used to convert fixed power targets into a range for outdoor workouts only (default is 2.5 or whatever is configured in the Garmin box in /settings)
PowerRange *float64 `form:"powerRange,omitempty" json:"powerRange,omitempty"`
// HrRange Percentage used to convert fixed HR targets into a range (default is 1.5 or whatever is configured in the Garmin box in /settings)
HrRange *float64 `form:"hrRange,omitempty" json:"hrRange,omitempty"`
// PaceRange Percentage used to convert fixed pace targets into a range (default is 2.5 or whatever is configured in the Garmin box in /settings)
PaceRange *float64 `form:"paceRange,omitempty" json:"paceRange,omitempty"`
// Locale Locale (en, es, de etc.) to use for workouts with steps in multiple languages
Locale *string `form:"locale,omitempty" json:"locale,omitempty"`
// Resolve Resolve power, heart rate and pace targets to watts, bpm and m/s respectively
Resolve *bool `form:"resolve,omitempty" json:"resolve,omitempty"`
}
ListEventsParams defines parameters for ListEvents.
type ListEventsResp ¶
func ParseListEventsResp ¶
func ParseListEventsResp(rsp *http.Response) (*ListEventsResp, error)
ParseListEventsResp parses an HTTP response from a ListEventsWithResponse call
func (ListEventsResp) Status ¶
func (r ListEventsResp) Status() string
Status returns HTTPResponse.Status
func (ListEventsResp) StatusCode ¶
func (r ListEventsResp) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ListFitnessModelEventsResp ¶
func ParseListFitnessModelEventsResp ¶
func ParseListFitnessModelEventsResp(rsp *http.Response) (*ListFitnessModelEventsResp, error)
ParseListFitnessModelEventsResp parses an HTTP response from a ListFitnessModelEventsWithResponse call
func (ListFitnessModelEventsResp) Status ¶
func (r ListFitnessModelEventsResp) Status() string
Status returns HTTPResponse.Status
func (ListFitnessModelEventsResp) StatusCode ¶
func (r ListFitnessModelEventsResp) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ListFolderSharedWithResp ¶
type ListFolderSharedWithResp struct {
}
func ParseListFolderSharedWithResp ¶
func ParseListFolderSharedWithResp(rsp *http.Response) (*ListFolderSharedWithResp, error)
ParseListFolderSharedWithResp parses an HTTP response from a ListFolderSharedWithWithResponse call
func (ListFolderSharedWithResp) Status ¶
func (r ListFolderSharedWithResp) Status() string
Status returns HTTPResponse.Status
func (ListFolderSharedWithResp) StatusCode ¶
func (r ListFolderSharedWithResp) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ListFoldersResp ¶
func ParseListFoldersResp ¶
func ParseListFoldersResp(rsp *http.Response) (*ListFoldersResp, error)
ParseListFoldersResp parses an HTTP response from a ListFoldersWithResponse call
func (ListFoldersResp) Status ¶
func (r ListFoldersResp) Status() string
Status returns HTTPResponse.Status
func (ListFoldersResp) StatusCode ¶
func (r ListFoldersResp) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ListGearResp ¶
func ParseListGearResp ¶
func ParseListGearResp(rsp *http.Response) (*ListGearResp, error)
ParseListGearResp parses an HTTP response from a ListGearWithResponse call
func (ListGearResp) Status ¶
func (r ListGearResp) Status() string
Status returns HTTPResponse.Status
func (ListGearResp) StatusCode ¶
func (r ListGearResp) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ListMatchingActivitiesResp ¶
func ParseListMatchingActivitiesResp ¶
func ParseListMatchingActivitiesResp(rsp *http.Response) (*ListMatchingActivitiesResp, error)
ParseListMatchingActivitiesResp parses an HTTP response from a ListMatchingActivitiesWithResponse call
func (ListMatchingActivitiesResp) Status ¶
func (r ListMatchingActivitiesResp) Status() string
Status returns HTTPResponse.Status
func (ListMatchingActivitiesResp) StatusCode ¶
func (r ListMatchingActivitiesResp) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ListMessagesParams ¶
type ListMessagesParams struct {
// BeforeId Only return messages older than this one
BeforeId *int64 `form:"beforeId,omitempty" json:"beforeId,omitempty"`
// Limit Return up to this many messages (default 30, max 100)
Limit *int32 `form:"limit,omitempty" json:"limit,omitempty"`
}
ListMessagesParams defines parameters for ListMessages.
type ListMessagesResp ¶
func ParseListMessagesResp ¶
func ParseListMessagesResp(rsp *http.Response) (*ListMessagesResp, error)
ParseListMessagesResp parses an HTTP response from a ListMessagesWithResponse call
func (ListMessagesResp) Status ¶
func (r ListMessagesResp) Status() string
Status returns HTTPResponse.Status
func (ListMessagesResp) StatusCode ¶
func (r ListMessagesResp) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ListPaceDistancesForSportResp ¶
func ParseListPaceDistancesForSportResp ¶
func ParseListPaceDistancesForSportResp(rsp *http.Response) (*ListPaceDistancesForSportResp, error)
ParseListPaceDistancesForSportResp parses an HTTP response from a ListPaceDistancesForSportWithResponse call
func (ListPaceDistancesForSportResp) Status ¶
func (r ListPaceDistancesForSportResp) Status() string
Status returns HTTPResponse.Status
func (ListPaceDistancesForSportResp) StatusCode ¶
func (r ListPaceDistancesForSportResp) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ListPaceDistancesResp ¶
func ParseListPaceDistancesResp ¶
func ParseListPaceDistancesResp(rsp *http.Response) (*ListPaceDistancesResp, error)
ParseListPaceDistancesResp parses an HTTP response from a ListPaceDistancesWithResponse call
func (ListPaceDistancesResp) Status ¶
func (r ListPaceDistancesResp) Status() string
Status returns HTTPResponse.Status
func (ListPaceDistancesResp) StatusCode ¶
func (r ListPaceDistancesResp) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ListSettingsResp ¶
func ParseListSettingsResp ¶
func ParseListSettingsResp(rsp *http.Response) (*ListSettingsResp, error)
ParseListSettingsResp parses an HTTP response from a ListSettingsWithResponse call
func (ListSettingsResp) Status ¶
func (r ListSettingsResp) Status() string
Status returns HTTPResponse.Status
func (ListSettingsResp) StatusCode ¶
func (r ListSettingsResp) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ListTags1Resp ¶
func ParseListTags1Resp ¶
func ParseListTags1Resp(rsp *http.Response) (*ListTags1Resp, error)
ParseListTags1Resp parses an HTTP response from a ListTags1WithResponse call
func (ListTags1Resp) Status ¶
func (r ListTags1Resp) Status() string
Status returns HTTPResponse.Status
func (ListTags1Resp) StatusCode ¶
func (r ListTags1Resp) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ListTags2Resp ¶
func ParseListTags2Resp ¶
func ParseListTags2Resp(rsp *http.Response) (*ListTags2Resp, error)
ParseListTags2Resp parses an HTTP response from a ListTags2WithResponse call
func (ListTags2Resp) Status ¶
func (r ListTags2Resp) Status() string
Status returns HTTPResponse.Status
func (ListTags2Resp) StatusCode ¶
func (r ListTags2Resp) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ListTagsResp ¶
func ParseListTagsResp ¶
func ParseListTagsResp(rsp *http.Response) (*ListTagsResp, error)
ParseListTagsResp parses an HTTP response from a ListTagsWithResponse call
func (ListTagsResp) Status ¶
func (r ListTagsResp) Status() string
Status returns HTTPResponse.Status
func (ListTagsResp) StatusCode ¶
func (r ListTagsResp) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ListWellnessRecordsParams ¶
type ListWellnessRecordsParams struct {
// Oldest Local date of oldest record (ISO-8601)
Oldest *string `form:"oldest,omitempty" json:"oldest,omitempty"`
// Newest Local date of newest record (ISO-8601), inclusive
Newest *string `form:"newest,omitempty" json:"newest,omitempty"`
// Cols Comma separated list of column names to include in CSV (default is all)
Cols *[]string `form:"cols,omitempty" json:"cols,omitempty"`
// Fields Comma separated list of field names to include in the returned objects (default is all), also excludes null values
Fields *[]string `form:"fields,omitempty" json:"fields,omitempty"`
}
ListWellnessRecordsParams defines parameters for ListWellnessRecords.
type ListWellnessRecordsResp ¶
func ParseListWellnessRecordsResp ¶
func ParseListWellnessRecordsResp(rsp *http.Response) (*ListWellnessRecordsResp, error)
ParseListWellnessRecordsResp parses an HTTP response from a ListWellnessRecordsWithResponse call
func (ListWellnessRecordsResp) Status ¶
func (r ListWellnessRecordsResp) Status() string
Status returns HTTPResponse.Status
func (ListWellnessRecordsResp) StatusCode ¶
func (r ListWellnessRecordsResp) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ListWorkoutsResp ¶
func ParseListWorkoutsResp ¶
func ParseListWorkoutsResp(rsp *http.Response) (*ListWorkoutsResp, error)
ParseListWorkoutsResp parses an HTTP response from a ListWorkoutsWithResponse call
func (ListWorkoutsResp) Status ¶
func (r ListWorkoutsResp) Status() string
Status returns HTTPResponse.Status
func (ListWorkoutsResp) StatusCode ¶
func (r ListWorkoutsResp) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type MapData ¶
type MapData struct {
Bounds *[][]float32 `json:"bounds,omitempty"`
Latlngs *[][]float32 `json:"latlngs,omitempty"`
Route *AthleteRoute `json:"route,omitempty"`
Weather *ActivityWeather `json:"weather,omitempty"`
}
MapData defines model for MapData.
type MarkEventAsDoneResp ¶
func ParseMarkEventAsDoneResp ¶
func ParseMarkEventAsDoneResp(rsp *http.Response) (*MarkEventAsDoneResp, error)
ParseMarkEventAsDoneResp parses an HTTP response from a MarkEventAsDoneWithResponse call
func (MarkEventAsDoneResp) Status ¶
func (r MarkEventAsDoneResp) Status() string
Status returns HTTPResponse.Status
func (MarkEventAsDoneResp) StatusCode ¶
func (r MarkEventAsDoneResp) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type Message ¶
type Message struct {
AcceptCoachingGroupId *int32 `json:"accept_coaching_group_id,omitempty"`
Activity *Activity `json:"activity,omitempty"`
ActivityId *string `json:"activity_id,omitempty"`
Answer *string `json:"answer,omitempty"`
AthleteId *string `json:"athlete_id,omitempty"`
AttachmentMimeType *string `json:"attachment_mime_type,omitempty"`
AttachmentUrl *string `json:"attachment_url,omitempty"`
Content *string `json:"content,omitempty"`
Created *time.Time `json:"created,omitempty"`
Deleted *time.Time `json:"deleted,omitempty"`
DeletedById *string `json:"deleted_by_id,omitempty"`
EndIndex *int32 `json:"end_index,omitempty"`
Id *int64 `json:"id,omitempty"`
JoinGroupId *int32 `json:"join_group_id,omitempty"`
Name *string `json:"name,omitempty"`
Seen *bool `json:"seen,omitempty"`
StartIndex *int32 `json:"start_index,omitempty"`
Type *MessageType `json:"type,omitempty"`
}
Message defines model for Message.
type MessageType ¶
type MessageType string
MessageType defines model for Message.Type.
const ( MessageTypeACCEPTCOACHINGGROUP MessageType = "ACCEPT_COACHING_GROUP" MessageTypeACTIVITY MessageType = "ACTIVITY" MessageTypeCOACHMEREQ MessageType = "COACH_ME_REQ" MessageTypeCOACHREQ MessageType = "COACH_REQ" MessageTypeFOLLOWREQ MessageType = "FOLLOW_REQ" MessageTypeJOINREQ MessageType = "JOIN_REQ" MessageTypeNOTE MessageType = "NOTE" MessageTypeTEXT MessageType = "TEXT" )
Defines values for MessageType.
type NewActivityMsg ¶
type NewActivityMsg struct {
Content *string `json:"content,omitempty"`
}
NewActivityMsg defines model for NewActivityMsg.
type NewCustomItem ¶
type NewCustomItem struct {
AthleteId *string `json:"athlete_id,omitempty"`
Content *map[string]map[string]interface{} `json:"content,omitempty"`
Description *string `json:"description,omitempty"`
FromAthlete *AthleteSearchResult `json:"from_athlete,omitempty"`
FromId *int32 `json:"from_id,omitempty"`
HiddenById *string `json:"hidden_by_id,omitempty"`
HideScript *bool `json:"hide_script,omitempty"`
Id *int32 `json:"id,omitempty"`
Image *string `json:"image,omitempty"`
Index *int32 `json:"index,omitempty"`
Name *string `json:"name,omitempty"`
RequiredItemsCreated *[]NewCustomItem `json:"required_items_created,omitempty"`
Type *NewCustomItemType `json:"type,omitempty"`
Updated *time.Time `json:"updated,omitempty"`
UsageCount *int32 `json:"usage_count,omitempty"`
Visibility *NewCustomItemVisibility `json:"visibility,omitempty"`
}
NewCustomItem defines model for NewCustomItem.
type NewCustomItemType ¶
type NewCustomItemType string
NewCustomItemType defines model for NewCustomItem.Type.
const ( NewCustomItemTypeACTIVITYCHART NewCustomItemType = "ACTIVITY_CHART" NewCustomItemTypeACTIVITYFIELD NewCustomItemType = "ACTIVITY_FIELD" NewCustomItemTypeACTIVITYHEATMAP NewCustomItemType = "ACTIVITY_HEATMAP" NewCustomItemTypeACTIVITYHISTOGRAM NewCustomItemType = "ACTIVITY_HISTOGRAM" NewCustomItemTypeACTIVITYMAP NewCustomItemType = "ACTIVITY_MAP" NewCustomItemTypeACTIVITYPANEL NewCustomItemType = "ACTIVITY_PANEL" NewCustomItemTypeACTIVITYSTREAM NewCustomItemType = "ACTIVITY_STREAM" NewCustomItemTypeFITNESSCHART NewCustomItemType = "FITNESS_CHART" NewCustomItemTypeFITNESSTABLE NewCustomItemType = "FITNESS_TABLE" NewCustomItemTypeINPUTFIELD NewCustomItemType = "INPUT_FIELD" NewCustomItemTypeINTERVALFIELD NewCustomItemType = "INTERVAL_FIELD" NewCustomItemTypeTRACECHART NewCustomItemType = "TRACE_CHART" NewCustomItemTypeZONES NewCustomItemType = "ZONES" )
Defines values for NewCustomItemType.
type NewCustomItemVisibility ¶
type NewCustomItemVisibility string
NewCustomItemVisibility defines model for NewCustomItem.Visibility.
const ( NewCustomItemVisibilityFOLLOWERS NewCustomItemVisibility = "FOLLOWERS" NewCustomItemVisibilityPRIVATE NewCustomItemVisibility = "PRIVATE" NewCustomItemVisibilityPUBLIC NewCustomItemVisibility = "PUBLIC" )
Defines values for NewCustomItemVisibility.
type NewMessage ¶
type NewMessage struct {
AcceptCoachingGroupId *int32 `json:"accept_coaching_group_id,omitempty"`
Activity *Activity `json:"activity,omitempty"`
ActivityId *string `json:"activity_id,omitempty"`
Answer *string `json:"answer,omitempty"`
AskACoach *bool `json:"askACoach,omitempty"`
AthleteId *string `json:"athlete_id,omitempty"`
AttachmentId *string `json:"attachment_id,omitempty"`
AttachmentMimeType *string `json:"attachment_mime_type,omitempty"`
AttachmentUrl *string `json:"attachment_url,omitempty"`
ChatId *int32 `json:"chat_id,omitempty"`
Content *string `json:"content,omitempty"`
Created *time.Time `json:"created,omitempty"`
Deleted *time.Time `json:"deleted,omitempty"`
DeletedById *string `json:"deleted_by_id,omitempty"`
EndIndex *int32 `json:"end_index,omitempty"`
Id *int64 `json:"id,omitempty"`
JoinGroupId *int32 `json:"join_group_id,omitempty"`
Name *string `json:"name,omitempty"`
Seen *bool `json:"seen,omitempty"`
StartIndex *int32 `json:"start_index,omitempty"`
ToActivityId *string `json:"to_activity_id,omitempty"`
ToAthleteId *string `json:"to_athlete_id,omitempty"`
Type *NewMessageType `json:"type,omitempty"`
}
NewMessage defines model for NewMessage.
type NewMessageType ¶
type NewMessageType string
NewMessageType defines model for NewMessage.Type.
const ( NewMessageTypeACCEPTCOACHINGGROUP NewMessageType = "ACCEPT_COACHING_GROUP" NewMessageTypeACTIVITY NewMessageType = "ACTIVITY" NewMessageTypeCOACHMEREQ NewMessageType = "COACH_ME_REQ" NewMessageTypeCOACHREQ NewMessageType = "COACH_REQ" NewMessageTypeFOLLOWREQ NewMessageType = "FOLLOW_REQ" NewMessageTypeJOINREQ NewMessageType = "JOIN_REQ" NewMessageTypeNOTE NewMessageType = "NOTE" NewMessageTypeTEXT NewMessageType = "TEXT" )
Defines values for NewMessageType.
type PaceCurve ¶
type PaceCurve struct {
ActivityId *[]string `json:"activity_id,omitempty"`
Days *int32 `json:"days,omitempty"`
Distance *[]float32 `json:"distance,omitempty"`
EndDateLocal *string `json:"end_date_local,omitempty"`
EndIndex *[]int32 `json:"end_index,omitempty"`
FilterLabel *string `json:"filter_label,omitempty"`
Filters *[]ActivityFilter `json:"filters,omitempty"`
Id *string `json:"id,omitempty"`
Label *string `json:"label,omitempty"`
MovingTime *int32 `json:"moving_time,omitempty"`
PaceModels *[]PaceModel `json:"paceModels,omitempty"`
Percentile *float32 `json:"percentile,omitempty"`
StartDateLocal *string `json:"start_date_local,omitempty"`
StartIndex *[]int32 `json:"start_index,omitempty"`
SubmaxActivityId *[][]string `json:"submax_activity_id,omitempty"`
SubmaxValues *[][]int32 `json:"submax_values,omitempty"`
TrainingLoad *int32 `json:"training_load,omitempty"`
Type *PaceCurveType `json:"type,omitempty"`
Values *[]int32 `json:"values,omitempty"`
Weight *float32 `json:"weight,omitempty"`
}
PaceCurve defines model for PaceCurve.
type PaceCurveType ¶
type PaceCurveType string
PaceCurveType defines model for PaceCurve.Type.
const ( PaceCurveTypeGAP PaceCurveType = "GAP" PaceCurveTypeHR PaceCurveType = "HR" PaceCurveTypePACE PaceCurveType = "PACE" PaceCurveTypePOWER PaceCurveType = "POWER" )
Defines values for PaceCurveType.
type PaceDistancesDTO ¶
type PaceDistancesDTO struct {
Defaults *[]float32 `json:"defaults,omitempty"`
Distances *[]float32 `json:"distances,omitempty"`
}
PaceDistancesDTO defines model for PaceDistancesDTO.
type PaceModel ¶
type PaceModel struct {
CriticalSpeed *float32 `json:"criticalSpeed,omitempty"`
DPrime *float32 `json:"dPrime,omitempty"`
InputPointIndexes *[]int32 `json:"inputPointIndexes,omitempty"`
R2 *float32 `json:"r2,omitempty"`
Type *PaceModelType `json:"type,omitempty"`
}
PaceModel defines model for PaceModel.
type PaceModelType ¶
type PaceModelType string
PaceModelType defines model for PaceModel.Type.
const (
PaceModelTypeCS PaceModelType = "CS"
)
Defines values for PaceModelType.
type Plot ¶
type Plot struct {
CumulativeSecs *[]int32 `json:"cumulative_secs,omitempty"`
MaxBpm *int32 `json:"max_bpm,omitempty"`
MinBpm *int32 `json:"min_bpm,omitempty"`
Secs *[]int32 `json:"secs,omitempty"`
}
Plot defines model for Plot.
type Pos ¶
type Pos struct {
Height *string `json:"height,omitempty"`
Id *string `json:"id,omitempty"`
Width *string `json:"width,omitempty"`
}
Pos defines model for Pos.
type PowerCurve ¶
type PowerCurve struct {
ActivityId *[]string `json:"activity_id,omitempty"`
AfterKj *int32 `json:"after_kj,omitempty"`
CompoundScore5m *float32 `json:"compound_score_5m,omitempty"`
Days *int32 `json:"days,omitempty"`
EndDateLocal *string `json:"end_date_local,omitempty"`
EndIndex *[]int32 `json:"end_index,omitempty"`
FilterLabel *string `json:"filter_label,omitempty"`
Filters *[]ActivityFilter `json:"filters,omitempty"`
Id *string `json:"id,omitempty"`
Label *string `json:"label,omitempty"`
MapPlot *Plot `json:"mapPlot,omitempty"`
MovingTime *int32 `json:"moving_time,omitempty"`
Percentile *float32 `json:"percentile,omitempty"`
PowerModels *[]PowerModel `json:"powerModels,omitempty"`
Ranks *map[string]Rank `json:"ranks,omitempty"`
Secs *[]int32 `json:"secs,omitempty"`
StartDateLocal *string `json:"start_date_local,omitempty"`
StartIndex *[]int32 `json:"start_index,omitempty"`
StreamName *string `json:"stream_name,omitempty"`
StreamType *string `json:"stream_type,omitempty"`
SubmaxActivityId *[][]string `json:"submax_activity_id,omitempty"`
SubmaxValues *[][]int32 `json:"submax_values,omitempty"`
SubmaxWattsPerKg *[][]float32 `json:"submax_watts_per_kg,omitempty"`
SubmaxWkgActivityId *[][]string `json:"submax_wkg_activity_id,omitempty"`
TrainingLoad *int32 `json:"training_load,omitempty"`
Values *[]int32 `json:"values,omitempty"`
Vo2max5m *float32 `json:"vo2max_5m,omitempty"`
Watts *[]int32 `json:"watts,omitempty"`
WattsPerKg *[]float32 `json:"watts_per_kg,omitempty"`
Weight *float32 `json:"weight,omitempty"`
WkgActivityId *[]string `json:"wkg_activity_id,omitempty"`
}
PowerCurve defines model for PowerCurve.
type PowerHRCurve ¶
type PowerHRCurve struct {
AthleteId *string `json:"athleteId,omitempty"`
Bpm *[]int32 `json:"bpm,omitempty"`
BucketSize *int32 `json:"bucketSize,omitempty"`
Cadence *[]int32 `json:"cadence,omitempty"`
End *string `json:"end,omitempty"`
Ftp *int32 `json:"ftp,omitempty"`
Lthr *int32 `json:"lthr,omitempty"`
MaxWatts *int32 `json:"maxWatts,omitempty"`
MaxHr *int32 `json:"max_hr,omitempty"`
MinWatts *int32 `json:"minWatts,omitempty"`
Minutes *[]int32 `json:"minutes,omitempty"`
Start *string `json:"start,omitempty"`
}
PowerHRCurve defines model for PowerHRCurve.
type PowerModel ¶
type PowerModel struct {
CriticalPower *int32 `json:"criticalPower,omitempty"`
Ftp *int32 `json:"ftp,omitempty"`
InputPointIndexes *[]int32 `json:"inputPointIndexes,omitempty"`
PMax *int32 `json:"pMax,omitempty"`
Type *PowerModelType `json:"type,omitempty"`
WPrime *int32 `json:"wPrime,omitempty"`
}
PowerModel defines model for PowerModel.
type PowerModelType ¶
type PowerModelType string
PowerModelType defines model for PowerModel.Type.
const ( PowerModelTypeECP PowerModelType = "ECP" PowerModelTypeFFTCURVES PowerModelType = "FFT_CURVES" PowerModelTypeMORTON3P PowerModelType = "MORTON_3P" PowerModelTypeMS2P PowerModelType = "MS_2P" )
Defines values for PowerModelType.
type PowerVsHRPlot ¶
type PowerVsHRPlot struct {
AvgCadenceZ2 *int32 `json:"avgCadenceZ2,omitempty"`
BucketSize *int32 `json:"bucketSize,omitempty"`
Cooldown *int32 `json:"cooldown,omitempty"`
Curves *[]Curve `json:"curves,omitempty"`
Decoupling *float32 `json:"decoupling,omitempty"`
ElapsedTime *int32 `json:"elapsedTime,omitempty"`
End *int32 `json:"end,omitempty"`
HrLag *int32 `json:"hrLag,omitempty"`
HrZ2BucketCount *int32 `json:"hrZ2BucketCount,omitempty"`
MedianCadenceZ2 *int32 `json:"medianCadenceZ2,omitempty"`
Mid *int32 `json:"mid,omitempty"`
PowerHr *float32 `json:"powerHr,omitempty"`
PowerHrFirst *float32 `json:"powerHrFirst,omitempty"`
PowerHrSecond *float32 `json:"powerHrSecond,omitempty"`
PowerHrZ2 *float32 `json:"powerHrZ2,omitempty"`
RatioCoefficients *[]float64 `json:"ratioCoefficients,omitempty"`
Series *[]Bucket `json:"series,omitempty"`
Start *int32 `json:"start,omitempty"`
Warmup *int32 `json:"warmup,omitempty"`
}
PowerVsHRPlot defines model for PowerVsHRPlot.
type PushError ¶
type PushError struct {
Date *time.Time `json:"date,omitempty"`
Message *string `json:"message,omitempty"`
Service *string `json:"service,omitempty"`
}
PushError defines model for PushError.
type Rank ¶
type Rank struct {
Position *map[string]float32 `json:"position,omitempty"`
Watts *map[string]float32 `json:"watts,omitempty"`
}
Rank defines model for Rank.
type ReplaceGearJSONRequestBody ¶
type ReplaceGearJSONRequestBody = Gear
ReplaceGearJSONRequestBody defines body for ReplaceGear for application/json ContentType.
type ReplaceGearResp ¶
func ParseReplaceGearResp ¶
func ParseReplaceGearResp(rsp *http.Response) (*ReplaceGearResp, error)
ParseReplaceGearResp parses an HTTP response from a ReplaceGearWithResponse call
func (ReplaceGearResp) Status ¶
func (r ReplaceGearResp) Status() string
Status returns HTTPResponse.Status
func (ReplaceGearResp) StatusCode ¶
func (r ReplaceGearResp) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type RequestEditorFn ¶
RequestEditorFn is the function signature for the RequestEditor callback function
type RouteSimilarity ¶
type RouteSimilarity struct {
Bounds *[][]float32 `json:"bounds,omitempty"`
Other *AthleteRoute `json:"other,omitempty"`
OtherActivityCount *int32 `json:"other_activity_count,omitempty"`
OtherDistance *float32 `json:"other_distance,omitempty"`
Route *AthleteRoute `json:"route,omitempty"`
RouteActivityCount *int32 `json:"route_activity_count,omitempty"`
RouteDistance *float32 `json:"route_distance,omitempty"`
Similarity *float32 `json:"similarity,omitempty"`
}
RouteSimilarity defines model for RouteSimilarity.
type SearchForActivitiesFullParams ¶
type SearchForActivitiesFullParams struct {
// Q Search query, case insensitive name search or exact tag search if it starts with #
Q string `form:"q" json:"q"`
Limit *int32 `form:"limit,omitempty" json:"limit,omitempty"`
}
SearchForActivitiesFullParams defines parameters for SearchForActivitiesFull.
type SearchForActivitiesFullResp ¶
func ParseSearchForActivitiesFullResp ¶
func ParseSearchForActivitiesFullResp(rsp *http.Response) (*SearchForActivitiesFullResp, error)
ParseSearchForActivitiesFullResp parses an HTTP response from a SearchForActivitiesFullWithResponse call
func (SearchForActivitiesFullResp) Status ¶
func (r SearchForActivitiesFullResp) Status() string
Status returns HTTPResponse.Status
func (SearchForActivitiesFullResp) StatusCode ¶
func (r SearchForActivitiesFullResp) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type SearchForActivitiesParams ¶
type SearchForActivitiesParams struct {
// Q Search query, case insensitive name search or exact tag search if it starts with #
Q string `form:"q" json:"q"`
Limit *int32 `form:"limit,omitempty" json:"limit,omitempty"`
}
SearchForActivitiesParams defines parameters for SearchForActivities.
type SearchForActivitiesResp ¶
func ParseSearchForActivitiesResp ¶
func ParseSearchForActivitiesResp(rsp *http.Response) (*SearchForActivitiesResp, error)
ParseSearchForActivitiesResp parses an HTTP response from a SearchForActivitiesWithResponse call
func (SearchForActivitiesResp) Status ¶
func (r SearchForActivitiesResp) Status() string
Status returns HTTPResponse.Status
func (SearchForActivitiesResp) StatusCode ¶
func (r SearchForActivitiesResp) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type SearchForIntervalsParams ¶
type SearchForIntervalsParams struct {
// MinSecs Min time in seconds
MinSecs int32 `form:"minSecs" json:"minSecs"`
// MaxSecs Max time in seconds
MaxSecs int32 `form:"maxSecs" json:"maxSecs"`
// MinIntensity Min intensity percentage
MinIntensity int32 `form:"minIntensity" json:"minIntensity"`
// MaxIntensity Max intensity percentage
MaxIntensity int32 `form:"maxIntensity" json:"maxIntensity"`
// Type Interval type
Type *SearchForIntervalsParamsType `form:"type,omitempty" json:"type,omitempty"`
// MinReps Min number of intervals that need to match
MinReps *int32 `form:"minReps,omitempty" json:"minReps,omitempty"`
// MaxReps Max number of intervals that need to match
MaxReps *int32 `form:"maxReps,omitempty" json:"maxReps,omitempty"`
// Limit Max results to return
Limit *int32 `form:"limit,omitempty" json:"limit,omitempty"`
}
SearchForIntervalsParams defines parameters for SearchForIntervals.
type SearchForIntervalsParamsType ¶
type SearchForIntervalsParamsType string
SearchForIntervalsParamsType defines parameters for SearchForIntervals.
const ( SearchForIntervalsParamsTypeAUTO SearchForIntervalsParamsType = "AUTO" SearchForIntervalsParamsTypeHR SearchForIntervalsParamsType = "HR" SearchForIntervalsParamsTypePACE SearchForIntervalsParamsType = "PACE" SearchForIntervalsParamsTypePOWER SearchForIntervalsParamsType = "POWER" )
Defines values for SearchForIntervalsParamsType.
type SearchForIntervalsResp ¶
func ParseSearchForIntervalsResp ¶
func ParseSearchForIntervalsResp(rsp *http.Response) (*SearchForIntervalsResp, error)
ParseSearchForIntervalsResp parses an HTTP response from a SearchForIntervalsWithResponse call
func (SearchForIntervalsResp) Status ¶
func (r SearchForIntervalsResp) Status() string
Status returns HTTPResponse.Status
func (SearchForIntervalsResp) StatusCode ¶
func (r SearchForIntervalsResp) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type SendActivityMessageJSONRequestBody ¶
type SendActivityMessageJSONRequestBody = NewActivityMsg
SendActivityMessageJSONRequestBody defines body for SendActivityMessage for application/json ContentType.
type SendActivityMessageResp ¶
func ParseSendActivityMessageResp ¶
func ParseSendActivityMessageResp(rsp *http.Response) (*SendActivityMessageResp, error)
ParseSendActivityMessageResp parses an HTTP response from a SendActivityMessageWithResponse call
func (SendActivityMessageResp) Status ¶
func (r SendActivityMessageResp) Status() string
Status returns HTTPResponse.Status
func (SendActivityMessageResp) StatusCode ¶
func (r SendActivityMessageResp) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type SendMessageJSONRequestBody ¶
type SendMessageJSONRequestBody = NewMessage
SendMessageJSONRequestBody defines body for SendMessage for application/json ContentType.
type SendMessageResp ¶
func ParseSendMessageResp ¶
func ParseSendMessageResp(rsp *http.Response) (*SendMessageResp, error)
ParseSendMessageResp parses an HTTP response from a SendMessageWithResponse call
func (SendMessageResp) Status ¶
func (r SendMessageResp) Status() string
Status returns HTTPResponse.Status
func (SendMessageResp) StatusCode ¶
func (r SendMessageResp) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type SendResponse ¶
type SendResponse struct {
Id *int64 `json:"id,omitempty"`
Message *Message `json:"message,omitempty"`
NewChat *Chat `json:"new_chat,omitempty"`
}
SendResponse defines model for SendResponse.
type Settings ¶
type Settings struct {
AtlFactor *float64 `json:"atlFactor,omitempty"`
CtlFactor *float64 `json:"ctlFactor,omitempty"`
Type *SettingsType `json:"type,omitempty"`
}
Settings defines model for Settings.
type SettingsType ¶
type SettingsType string
SettingsType defines model for Settings.Type.
const ( SettingsTypeAlpineSki SettingsType = "AlpineSki" SettingsTypeBackcountrySki SettingsType = "BackcountrySki" SettingsTypeBadminton SettingsType = "Badminton" SettingsTypeCanoeing SettingsType = "Canoeing" SettingsTypeCrossfit SettingsType = "Crossfit" SettingsTypeEBikeRide SettingsType = "EBikeRide" SettingsTypeEMountainBikeRide SettingsType = "EMountainBikeRide" SettingsTypeElliptical SettingsType = "Elliptical" SettingsTypeGolf SettingsType = "Golf" SettingsTypeGravelRide SettingsType = "GravelRide" SettingsTypeHandcycle SettingsType = "Handcycle" SettingsTypeHighIntensityIntervalTraining SettingsType = "HighIntensityIntervalTraining" SettingsTypeHike SettingsType = "Hike" SettingsTypeHockey SettingsType = "Hockey" SettingsTypeIceSkate SettingsType = "IceSkate" SettingsTypeInlineSkate SettingsType = "InlineSkate" SettingsTypeKayaking SettingsType = "Kayaking" SettingsTypeKitesurf SettingsType = "Kitesurf" SettingsTypeMountainBikeRide SettingsType = "MountainBikeRide" SettingsTypeNordicSki SettingsType = "NordicSki" SettingsTypeOpenWaterSwim SettingsType = "OpenWaterSwim" SettingsTypeOther SettingsType = "Other" SettingsTypePadel SettingsType = "Padel" SettingsTypePickleball SettingsType = "Pickleball" SettingsTypePilates SettingsType = "Pilates" SettingsTypeRacquetball SettingsType = "Racquetball" SettingsTypeRide SettingsType = "Ride" SettingsTypeRockClimbing SettingsType = "RockClimbing" SettingsTypeRollerSki SettingsType = "RollerSki" SettingsTypeRowing SettingsType = "Rowing" SettingsTypeRugby SettingsType = "Rugby" SettingsTypeRun SettingsType = "Run" SettingsTypeSail SettingsType = "Sail" SettingsTypeSkateboard SettingsType = "Skateboard" SettingsTypeSnowboard SettingsType = "Snowboard" SettingsTypeSnowshoe SettingsType = "Snowshoe" SettingsTypeSoccer SettingsType = "Soccer" SettingsTypeSquash SettingsType = "Squash" SettingsTypeStairStepper SettingsType = "StairStepper" SettingsTypeStandUpPaddling SettingsType = "StandUpPaddling" SettingsTypeSurfing SettingsType = "Surfing" SettingsTypeSwim SettingsType = "Swim" SettingsTypeTableTennis SettingsType = "TableTennis" SettingsTypeTennis SettingsType = "Tennis" SettingsTypeTrackRide SettingsType = "TrackRide" SettingsTypeTrailRun SettingsType = "TrailRun" SettingsTypeTransition SettingsType = "Transition" SettingsTypeVelomobile SettingsType = "Velomobile" SettingsTypeVirtualRide SettingsType = "VirtualRide" SettingsTypeVirtualRow SettingsType = "VirtualRow" SettingsTypeVirtualRun SettingsType = "VirtualRun" SettingsTypeVirtualSki SettingsType = "VirtualSki" SettingsTypeWalk SettingsType = "Walk" SettingsTypeWaterSport SettingsType = "WaterSport" SettingsTypeWeightTraining SettingsType = "WeightTraining" SettingsTypeWheelchair SettingsType = "Wheelchair" SettingsTypeWindsurf SettingsType = "Windsurf" SettingsTypeWorkout SettingsType = "Workout" SettingsTypeYoga SettingsType = "Yoga" )
Defines values for SettingsType.
type SharedEventCategory ¶
type SharedEventCategory string
SharedEventCategory defines model for SharedEvent.Category.
const ( )
Defines values for SharedEventCategory.
type SharedEventTypes ¶
type SharedEventTypes string
SharedEventTypes defines model for SharedEvent.Types.
const ( )
Defines values for SharedEventTypes.
type SharedEventVisibility ¶
type SharedEventVisibility string
SharedEventVisibility defines model for SharedEvent.Visibility.
const ( )
Defines values for SharedEventVisibility.
type ShowChatResp ¶
func ParseShowChatResp ¶
func ParseShowChatResp(rsp *http.Response) (*ShowChatResp, error)
ParseShowChatResp parses an HTTP response from a ShowChatWithResponse call
func (ShowChatResp) Status ¶
func (r ShowChatResp) Status() string
Status returns HTTPResponse.Status
func (ShowChatResp) StatusCode ¶
func (r ShowChatResp) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ShowEventResp ¶
func ParseShowEventResp ¶
func ParseShowEventResp(rsp *http.Response) (*ShowEventResp, error)
ParseShowEventResp parses an HTTP response from a ShowEventWithResponse call
func (ShowEventResp) Status ¶
func (r ShowEventResp) Status() string
Status returns HTTPResponse.Status
func (ShowEventResp) StatusCode ¶
func (r ShowEventResp) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type ShowWorkoutResp ¶
func ParseShowWorkoutResp ¶
func ParseShowWorkoutResp(rsp *http.Response) (*ShowWorkoutResp, error)
ParseShowWorkoutResp parses an HTTP response from a ShowWorkoutWithResponse call
func (ShowWorkoutResp) Status ¶
func (r ShowWorkoutResp) Status() string
Status returns HTTPResponse.Status
func (ShowWorkoutResp) StatusCode ¶
func (r ShowWorkoutResp) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type SplitIntervalParams ¶
type SplitIntervalParams struct {
// SplitAt Index to split interval at
SplitAt int32 `form:"splitAt" json:"splitAt"`
}
SplitIntervalParams defines parameters for SplitInterval.
type SplitIntervalResp ¶
func ParseSplitIntervalResp ¶
func ParseSplitIntervalResp(rsp *http.Response) (*SplitIntervalResp, error)
ParseSplitIntervalResp parses an HTTP response from a SplitIntervalWithResponse call
func (SplitIntervalResp) Status ¶
func (r SplitIntervalResp) Status() string
Status returns HTTPResponse.Status
func (SplitIntervalResp) StatusCode ¶
func (r SplitIntervalResp) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type SportInfo ¶
type SportInfo struct {
Eftp *float32 `json:"eftp,omitempty"`
PMax *float32 `json:"pMax,omitempty"`
Type *SportInfoType `json:"type,omitempty"`
WPrime *float32 `json:"wPrime,omitempty"`
}
SportInfo defines model for SportInfo.
type SportInfoType ¶
type SportInfoType string
SportInfoType defines model for SportInfo.Type.
const ( SportInfoTypeAlpineSki SportInfoType = "AlpineSki" SportInfoTypeBackcountrySki SportInfoType = "BackcountrySki" SportInfoTypeBadminton SportInfoType = "Badminton" SportInfoTypeCanoeing SportInfoType = "Canoeing" SportInfoTypeCrossfit SportInfoType = "Crossfit" SportInfoTypeEBikeRide SportInfoType = "EBikeRide" SportInfoTypeEMountainBikeRide SportInfoType = "EMountainBikeRide" SportInfoTypeElliptical SportInfoType = "Elliptical" SportInfoTypeGolf SportInfoType = "Golf" SportInfoTypeGravelRide SportInfoType = "GravelRide" SportInfoTypeHandcycle SportInfoType = "Handcycle" SportInfoTypeHighIntensityIntervalTraining SportInfoType = "HighIntensityIntervalTraining" SportInfoTypeHike SportInfoType = "Hike" SportInfoTypeHockey SportInfoType = "Hockey" SportInfoTypeIceSkate SportInfoType = "IceSkate" SportInfoTypeInlineSkate SportInfoType = "InlineSkate" SportInfoTypeKayaking SportInfoType = "Kayaking" SportInfoTypeKitesurf SportInfoType = "Kitesurf" SportInfoTypeMountainBikeRide SportInfoType = "MountainBikeRide" SportInfoTypeNordicSki SportInfoType = "NordicSki" SportInfoTypeOpenWaterSwim SportInfoType = "OpenWaterSwim" SportInfoTypeOther SportInfoType = "Other" SportInfoTypePadel SportInfoType = "Padel" SportInfoTypePickleball SportInfoType = "Pickleball" SportInfoTypePilates SportInfoType = "Pilates" SportInfoTypeRacquetball SportInfoType = "Racquetball" SportInfoTypeRide SportInfoType = "Ride" SportInfoTypeRockClimbing SportInfoType = "RockClimbing" SportInfoTypeRollerSki SportInfoType = "RollerSki" SportInfoTypeRowing SportInfoType = "Rowing" SportInfoTypeRugby SportInfoType = "Rugby" SportInfoTypeRun SportInfoType = "Run" SportInfoTypeSail SportInfoType = "Sail" SportInfoTypeSkateboard SportInfoType = "Skateboard" SportInfoTypeSnowboard SportInfoType = "Snowboard" SportInfoTypeSnowshoe SportInfoType = "Snowshoe" SportInfoTypeSoccer SportInfoType = "Soccer" SportInfoTypeSquash SportInfoType = "Squash" SportInfoTypeStairStepper SportInfoType = "StairStepper" SportInfoTypeStandUpPaddling SportInfoType = "StandUpPaddling" SportInfoTypeSurfing SportInfoType = "Surfing" SportInfoTypeSwim SportInfoType = "Swim" SportInfoTypeTableTennis SportInfoType = "TableTennis" SportInfoTypeTennis SportInfoType = "Tennis" SportInfoTypeTrackRide SportInfoType = "TrackRide" SportInfoTypeTrailRun SportInfoType = "TrailRun" SportInfoTypeTransition SportInfoType = "Transition" SportInfoTypeVelomobile SportInfoType = "Velomobile" SportInfoTypeVirtualRide SportInfoType = "VirtualRide" SportInfoTypeVirtualRow SportInfoType = "VirtualRow" SportInfoTypeVirtualRun SportInfoType = "VirtualRun" SportInfoTypeVirtualSki SportInfoType = "VirtualSki" SportInfoTypeWalk SportInfoType = "Walk" SportInfoTypeWaterSport SportInfoType = "WaterSport" SportInfoTypeWeightTraining SportInfoType = "WeightTraining" SportInfoTypeWheelchair SportInfoType = "Wheelchair" SportInfoTypeWindsurf SportInfoType = "Windsurf" SportInfoTypeWorkout SportInfoType = "Workout" SportInfoTypeYoga SportInfoType = "Yoga" )
Defines values for SportInfoType.
type SportSettings ¶
type SportSettings struct {
ActivityCharts *ActivityCharts `json:"activity_charts,omitempty"`
ActivityFieldIds *[]int32 `json:"activity_field_ids,omitempty"`
AfterKj0 *int32 `json:"after_kj0,omitempty"`
AfterKj1 *int32 `json:"after_kj1,omitempty"`
AthleteId *string `json:"athlete_id,omitempty"`
BestEffortDistances *[]float32 `json:"best_effort_distances,omitempty"`
CalendarTileActivityPanelId *int32 `json:"calendar_tile_activity_panel_id,omitempty"`
CooldownTime *int32 `json:"cooldown_time,omitempty"`
Created *time.Time `json:"created,omitempty"`
CustomFieldIds *[]int32 `json:"custom_field_ids,omitempty"`
CustomFieldValues *map[string]map[string]interface{} `json:"custom_field_values,omitempty"`
CustomZonesIds *[]int32 `json:"custom_zones_ids,omitempty"`
DefaultGearId *string `json:"default_gear_id,omitempty"`
DefaultIndoorGearId *string `json:"default_indoor_gear_id,omitempty"`
DefaultWorkoutTime *string `json:"default_workout_time,omitempty"`
Display *Display `json:"display,omitempty"`
ElevationCorrection *SportSettingsElevationCorrection `json:"elevation_correction,omitempty"`
ExtractWorkouts *bool `json:"extract_workouts,omitempty"`
Ftp *int32 `json:"ftp,omitempty"`
FtpEstMinSecs *int32 `json:"ftp_est_min_secs,omitempty"`
GapModel *SportSettingsGapModel `json:"gap_model,omitempty"`
HrLoadType *SportSettingsHrLoadType `json:"hr_load_type,omitempty"`
HrZoneNames *[]string `json:"hr_zone_names,omitempty"`
HrZones *[]int32 `json:"hr_zones,omitempty"`
HrrcMinPercent *float32 `json:"hrrc_min_percent,omitempty"`
Id *int32 `json:"id,omitempty"`
IgnoreVelocity *bool `json:"ignore_velocity,omitempty"`
IndoorFtp *int32 `json:"indoor_ftp,omitempty"`
IntervalDisplay *SportSettingsIntervalDisplay `json:"interval_display,omitempty"`
IseFTPSupported *bool `json:"iseFTPSupported,omitempty"`
KeepAllLapsForPowerIntervals *bool `json:"keep_all_laps_for_power_intervals,omitempty"`
LoadOrder *SportSettingsLoadOrder `json:"load_order,omitempty"`
Lthr *int32 `json:"lthr,omitempty"`
MaxHr *int32 `json:"max_hr,omitempty"`
MmpModel *PowerModel `json:"mmp_model,omitempty"`
Other *bool `json:"other,omitempty"`
PMax *int32 `json:"p_max,omitempty"`
PaceCurveStart *float32 `json:"pace_curve_start,omitempty"`
PaceLoadType *SportSettingsPaceLoadType `json:"pace_load_type,omitempty"`
PaceUnits *SportSettingsPaceUnits `json:"pace_units,omitempty"`
PaceZoneNames *[]string `json:"pace_zone_names,omitempty"`
PaceZones *[]float32 `json:"pace_zones,omitempty"`
PowerField *string `json:"power_field,omitempty"`
PowerIntervalsStartLocked *bool `json:"power_intervals_start_locked,omitempty"`
PowerSpikeThreshold *int32 `json:"power_spike_threshold,omitempty"`
PowerZoneNames *[]string `json:"power_zone_names,omitempty"`
PowerZones *[]int32 `json:"power_zones,omitempty"`
ShowPauses *int32 `json:"show_pauses,omitempty"`
SweetSpotMax *int32 `json:"sweet_spot_max,omitempty"`
SweetSpotMin *int32 `json:"sweet_spot_min,omitempty"`
ThresholdPace *float32 `json:"threshold_pace,omitempty"`
TizOrder *SportSettingsTizOrder `json:"tiz_order,omitempty"`
Types *[]SportSettingsTypes `json:"types,omitempty"`
UpdateActivityNameFromWorkout *bool `json:"update_activity_name_from_workout,omitempty"`
Updated *time.Time `json:"updated,omitempty"`
UseDistanceForIntervals *bool `json:"use_distance_for_intervals,omitempty"`
UseGapZoneTimes *bool `json:"use_gap_zone_times,omitempty"`
UseLapsForPowerIntervals *bool `json:"use_laps_for_power_intervals,omitempty"`
WPrime *int32 `json:"w_prime,omitempty"`
WarmupTime *int32 `json:"warmup_time,omitempty"`
WorkoutOrder *SportSettingsWorkoutOrder `json:"workout_order,omitempty"`
}
SportSettings defines model for SportSettings.
type SportSettingsElevationCorrection ¶
type SportSettingsElevationCorrection string
SportSettingsElevationCorrection defines model for SportSettings.ElevationCorrection.
const ( SportSettingsElevationCorrectionAUTO SportSettingsElevationCorrection = "AUTO" SportSettingsElevationCorrectionNO SportSettingsElevationCorrection = "NO" SportSettingsElevationCorrectionYES SportSettingsElevationCorrection = "YES" )
Defines values for SportSettingsElevationCorrection.
type SportSettingsGapModel ¶
type SportSettingsGapModel string
SportSettingsGapModel defines model for SportSettings.GapModel.
const ( SportSettingsGapModelNONE SportSettingsGapModel = "NONE" SportSettingsGapModelSTRAVARUN SportSettingsGapModel = "STRAVA_RUN" )
Defines values for SportSettingsGapModel.
type SportSettingsHrLoadType ¶
type SportSettingsHrLoadType string
SportSettingsHrLoadType defines model for SportSettings.HrLoadType.
const ( SportSettingsHrLoadTypeAVGHR SportSettingsHrLoadType = "AVG_HR" SportSettingsHrLoadTypeHRSS SportSettingsHrLoadType = "HRSS" SportSettingsHrLoadTypeHRZONES SportSettingsHrLoadType = "HR_ZONES" )
Defines values for SportSettingsHrLoadType.
type SportSettingsIntervalDisplay ¶
type SportSettingsIntervalDisplay string
SportSettingsIntervalDisplay defines model for SportSettings.IntervalDisplay.
const ( SportSettingsIntervalDisplayHRPACEPOWER SportSettingsIntervalDisplay = "HR_PACE_POWER" SportSettingsIntervalDisplayHRPOWERPACE SportSettingsIntervalDisplay = "HR_POWER_PACE" SportSettingsIntervalDisplayPACEHRPOWER SportSettingsIntervalDisplay = "PACE_HR_POWER" SportSettingsIntervalDisplayPACEPOWERHR SportSettingsIntervalDisplay = "PACE_POWER_HR" SportSettingsIntervalDisplayPOWERHRPACE SportSettingsIntervalDisplay = "POWER_HR_PACE" SportSettingsIntervalDisplayPOWERPACEHR SportSettingsIntervalDisplay = "POWER_PACE_HR" )
Defines values for SportSettingsIntervalDisplay.
type SportSettingsLoadOrder ¶
type SportSettingsLoadOrder string
SportSettingsLoadOrder defines model for SportSettings.LoadOrder.
const ( SportSettingsLoadOrderHRPACEPOWER SportSettingsLoadOrder = "HR_PACE_POWER" SportSettingsLoadOrderHRPOWERPACE SportSettingsLoadOrder = "HR_POWER_PACE" SportSettingsLoadOrderPACEHRPOWER SportSettingsLoadOrder = "PACE_HR_POWER" SportSettingsLoadOrderPACEPOWERHR SportSettingsLoadOrder = "PACE_POWER_HR" SportSettingsLoadOrderPOWERHRPACE SportSettingsLoadOrder = "POWER_HR_PACE" SportSettingsLoadOrderPOWERPACEHR SportSettingsLoadOrder = "POWER_PACE_HR" )
Defines values for SportSettingsLoadOrder.
type SportSettingsPaceLoadType ¶
type SportSettingsPaceLoadType string
SportSettingsPaceLoadType defines model for SportSettings.PaceLoadType.
const ( RUN SportSettingsPaceLoadType = "RUN" SWIM SportSettingsPaceLoadType = "SWIM" )
Defines values for SportSettingsPaceLoadType.
type SportSettingsPaceUnits ¶
type SportSettingsPaceUnits string
SportSettingsPaceUnits defines model for SportSettings.PaceUnits.
const ( SportSettingsPaceUnitsMINSKM SportSettingsPaceUnits = "MINS_KM" SportSettingsPaceUnitsMINSMILE SportSettingsPaceUnits = "MINS_MILE" SportSettingsPaceUnitsNONE SportSettingsPaceUnits = "NONE" SportSettingsPaceUnitsSECS100M SportSettingsPaceUnits = "SECS_100M" SportSettingsPaceUnitsSECS100Y SportSettingsPaceUnits = "SECS_100Y" SportSettingsPaceUnitsSECS250M SportSettingsPaceUnits = "SECS_250M" SportSettingsPaceUnitsSECS400M SportSettingsPaceUnits = "SECS_400M" SportSettingsPaceUnitsSECS500M SportSettingsPaceUnits = "SECS_500M" )
Defines values for SportSettingsPaceUnits.
type SportSettingsTizOrder ¶
type SportSettingsTizOrder string
SportSettingsTizOrder defines model for SportSettings.TizOrder.
const ( SportSettingsTizOrderHRPACEPOWER SportSettingsTizOrder = "HR_PACE_POWER" SportSettingsTizOrderHRPOWERPACE SportSettingsTizOrder = "HR_POWER_PACE" SportSettingsTizOrderPACEHRPOWER SportSettingsTizOrder = "PACE_HR_POWER" SportSettingsTizOrderPACEPOWERHR SportSettingsTizOrder = "PACE_POWER_HR" SportSettingsTizOrderPOWERHRPACE SportSettingsTizOrder = "POWER_HR_PACE" SportSettingsTizOrderPOWERPACEHR SportSettingsTizOrder = "POWER_PACE_HR" )
Defines values for SportSettingsTizOrder.
type SportSettingsTypes ¶
type SportSettingsTypes string
SportSettingsTypes defines model for SportSettings.Types.
const ( SportSettingsTypesAlpineSki SportSettingsTypes = "AlpineSki" SportSettingsTypesBackcountrySki SportSettingsTypes = "BackcountrySki" SportSettingsTypesBadminton SportSettingsTypes = "Badminton" SportSettingsTypesCanoeing SportSettingsTypes = "Canoeing" SportSettingsTypesCrossfit SportSettingsTypes = "Crossfit" SportSettingsTypesEBikeRide SportSettingsTypes = "EBikeRide" SportSettingsTypesEMountainBikeRide SportSettingsTypes = "EMountainBikeRide" SportSettingsTypesElliptical SportSettingsTypes = "Elliptical" SportSettingsTypesGolf SportSettingsTypes = "Golf" SportSettingsTypesGravelRide SportSettingsTypes = "GravelRide" SportSettingsTypesHandcycle SportSettingsTypes = "Handcycle" SportSettingsTypesHighIntensityIntervalTraining SportSettingsTypes = "HighIntensityIntervalTraining" SportSettingsTypesHike SportSettingsTypes = "Hike" SportSettingsTypesHockey SportSettingsTypes = "Hockey" SportSettingsTypesIceSkate SportSettingsTypes = "IceSkate" SportSettingsTypesInlineSkate SportSettingsTypes = "InlineSkate" SportSettingsTypesKayaking SportSettingsTypes = "Kayaking" SportSettingsTypesKitesurf SportSettingsTypes = "Kitesurf" SportSettingsTypesMountainBikeRide SportSettingsTypes = "MountainBikeRide" SportSettingsTypesNordicSki SportSettingsTypes = "NordicSki" SportSettingsTypesOpenWaterSwim SportSettingsTypes = "OpenWaterSwim" SportSettingsTypesOther SportSettingsTypes = "Other" SportSettingsTypesPadel SportSettingsTypes = "Padel" SportSettingsTypesPickleball SportSettingsTypes = "Pickleball" SportSettingsTypesPilates SportSettingsTypes = "Pilates" SportSettingsTypesRacquetball SportSettingsTypes = "Racquetball" SportSettingsTypesRide SportSettingsTypes = "Ride" SportSettingsTypesRockClimbing SportSettingsTypes = "RockClimbing" SportSettingsTypesRollerSki SportSettingsTypes = "RollerSki" SportSettingsTypesRowing SportSettingsTypes = "Rowing" SportSettingsTypesRugby SportSettingsTypes = "Rugby" SportSettingsTypesRun SportSettingsTypes = "Run" SportSettingsTypesSail SportSettingsTypes = "Sail" SportSettingsTypesSkateboard SportSettingsTypes = "Skateboard" SportSettingsTypesSnowboard SportSettingsTypes = "Snowboard" SportSettingsTypesSnowshoe SportSettingsTypes = "Snowshoe" SportSettingsTypesSoccer SportSettingsTypes = "Soccer" SportSettingsTypesSquash SportSettingsTypes = "Squash" SportSettingsTypesStairStepper SportSettingsTypes = "StairStepper" SportSettingsTypesStandUpPaddling SportSettingsTypes = "StandUpPaddling" SportSettingsTypesSurfing SportSettingsTypes = "Surfing" SportSettingsTypesSwim SportSettingsTypes = "Swim" SportSettingsTypesTableTennis SportSettingsTypes = "TableTennis" SportSettingsTypesTennis SportSettingsTypes = "Tennis" SportSettingsTypesTrackRide SportSettingsTypes = "TrackRide" SportSettingsTypesTrailRun SportSettingsTypes = "TrailRun" SportSettingsTypesTransition SportSettingsTypes = "Transition" SportSettingsTypesVelomobile SportSettingsTypes = "Velomobile" SportSettingsTypesVirtualRide SportSettingsTypes = "VirtualRide" SportSettingsTypesVirtualRow SportSettingsTypes = "VirtualRow" SportSettingsTypesVirtualRun SportSettingsTypes = "VirtualRun" SportSettingsTypesVirtualSki SportSettingsTypes = "VirtualSki" SportSettingsTypesWalk SportSettingsTypes = "Walk" SportSettingsTypesWaterSport SportSettingsTypes = "WaterSport" SportSettingsTypesWeightTraining SportSettingsTypes = "WeightTraining" SportSettingsTypesWheelchair SportSettingsTypes = "Wheelchair" SportSettingsTypesWindsurf SportSettingsTypes = "Windsurf" SportSettingsTypesWorkout SportSettingsTypes = "Workout" SportSettingsTypesYoga SportSettingsTypes = "Yoga" )
Defines values for SportSettingsTypes.
type SportSettingsWorkoutOrder ¶
type SportSettingsWorkoutOrder string
SportSettingsWorkoutOrder defines model for SportSettings.WorkoutOrder.
const ( SportSettingsWorkoutOrderHRPACEPOWER SportSettingsWorkoutOrder = "HR_PACE_POWER" SportSettingsWorkoutOrderHRPOWERPACE SportSettingsWorkoutOrder = "HR_POWER_PACE" SportSettingsWorkoutOrderPACEHRPOWER SportSettingsWorkoutOrder = "PACE_HR_POWER" SportSettingsWorkoutOrderPACEPOWERHR SportSettingsWorkoutOrder = "PACE_POWER_HR" SportSettingsWorkoutOrderPOWERHRPACE SportSettingsWorkoutOrder = "POWER_HR_PACE" SportSettingsWorkoutOrderPOWERPACEHR SportSettingsWorkoutOrder = "POWER_PACE_HR" )
Defines values for SportSettingsWorkoutOrder.
type StravaGear ¶
type StravaGear struct {
Distance *float32 `json:"distance,omitempty"`
Id *string `json:"id,omitempty"`
Name *string `json:"name,omitempty"`
Primary *bool `json:"primary,omitempty"`
}
StravaGear defines model for StravaGear.
type SummaryWithCats ¶
type SummaryWithCats struct {
AthleteId *string `json:"athlete_id,omitempty"`
AthleteName *string `json:"athlete_name,omitempty"`
ByCategory *[]CategorySummary `json:"byCategory,omitempty"`
Calories *int32 `json:"calories,omitempty"`
Count *int32 `json:"count,omitempty"`
Date *string `json:"date,omitempty"`
Distance *float32 `json:"distance,omitempty"`
Eftp *float32 `json:"eftp,omitempty"`
EftpPerKg *float32 `json:"eftpPerKg,omitempty"`
ElapsedTime *int32 `json:"elapsed_time,omitempty"`
Email *string `json:"email,omitempty"`
ExternalId *string `json:"external_id,omitempty"`
Fatigue *float32 `json:"fatigue,omitempty"`
Fitness *float32 `json:"fitness,omitempty"`
Form *float32 `json:"form,omitempty"`
MostRecentWellnessId *string `json:"mostRecentWellnessId,omitempty"`
MovingTime *int32 `json:"moving_time,omitempty"`
RampRate *float32 `json:"rampRate,omitempty"`
Srpe *int32 `json:"srpe,omitempty"`
Time *int32 `json:"time,omitempty"`
TimeInZones *[]int32 `json:"timeInZones,omitempty"`
TimeInZonesTot *int32 `json:"timeInZonesTot,omitempty"`
TotalElevationGain *float32 `json:"total_elevation_gain,omitempty"`
TrainingLoad *int32 `json:"training_load,omitempty"`
Weight *float32 `json:"weight,omitempty"`
}
SummaryWithCats defines model for SummaryWithCats.
type Time ¶
type Time struct {
Clouds *int32 `json:"clouds,omitempty"`
EndSecs *int32 `json:"end_secs,omitempty"`
FeelsLike *float32 `json:"feels_like,omitempty"`
Humidity *int32 `json:"humidity,omitempty"`
Index *int32 `json:"index,omitempty"`
Pressure *float32 `json:"pressure,omitempty"`
Rain *float32 `json:"rain,omitempty"`
Showers *float32 `json:"showers,omitempty"`
Snow *float32 `json:"snow,omitempty"`
StartSecs *int32 `json:"start_secs,omitempty"`
Temp *float32 `json:"temp,omitempty"`
WeatherCode *int32 `json:"weather_code,omitempty"`
WindDeg *int32 `json:"wind_deg,omitempty"`
WindGust *float32 `json:"wind_gust,omitempty"`
WindSpeed *float32 `json:"wind_speed,omitempty"`
}
Time defines model for Time.
type UpdateActivityJSONRequestBody ¶
type UpdateActivityJSONRequestBody = Activity
UpdateActivityJSONRequestBody defines body for UpdateActivity for application/json ContentType.
type UpdateActivityResp ¶
func ParseUpdateActivityResp ¶
func ParseUpdateActivityResp(rsp *http.Response) (*UpdateActivityResp, error)
ParseUpdateActivityResp parses an HTTP response from a UpdateActivityWithResponse call
func (UpdateActivityResp) Status ¶
func (r UpdateActivityResp) Status() string
Status returns HTTPResponse.Status
func (UpdateActivityResp) StatusCode ¶
func (r UpdateActivityResp) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type UpdateActivityStreamsJSONBody ¶
type UpdateActivityStreamsJSONBody = []ActivityStream
UpdateActivityStreamsJSONBody defines parameters for UpdateActivityStreams.
type UpdateActivityStreamsJSONRequestBody ¶
type UpdateActivityStreamsJSONRequestBody = UpdateActivityStreamsJSONBody
UpdateActivityStreamsJSONRequestBody defines body for UpdateActivityStreams for application/json ContentType.
type UpdateActivityStreamsResp ¶
func ParseUpdateActivityStreamsResp ¶
func ParseUpdateActivityStreamsResp(rsp *http.Response) (*UpdateActivityStreamsResp, error)
ParseUpdateActivityStreamsResp parses an HTTP response from a UpdateActivityStreamsWithResponse call
func (UpdateActivityStreamsResp) Status ¶
func (r UpdateActivityStreamsResp) Status() string
Status returns HTTPResponse.Status
func (UpdateActivityStreamsResp) StatusCode ¶
func (r UpdateActivityStreamsResp) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type UpdateAthleteJSONRequestBody ¶
type UpdateAthleteJSONRequestBody = AthleteUpdateDTO
UpdateAthleteJSONRequestBody defines body for UpdateAthlete for application/json ContentType.
type UpdateAthletePlanJSONRequestBody ¶
type UpdateAthletePlanJSONRequestBody = AthleteTrainingPlanUpdate
UpdateAthletePlanJSONRequestBody defines body for UpdateAthletePlan for application/json ContentType.
type UpdateAthletePlanResp ¶
func ParseUpdateAthletePlanResp ¶
func ParseUpdateAthletePlanResp(rsp *http.Response) (*UpdateAthletePlanResp, error)
ParseUpdateAthletePlanResp parses an HTTP response from a UpdateAthletePlanWithResponse call
func (UpdateAthletePlanResp) Status ¶
func (r UpdateAthletePlanResp) Status() string
Status returns HTTPResponse.Status
func (UpdateAthletePlanResp) StatusCode ¶
func (r UpdateAthletePlanResp) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type UpdateAthletePlansJSONBody ¶
type UpdateAthletePlansJSONBody = []AthleteTrainingPlanUpdate
UpdateAthletePlansJSONBody defines parameters for UpdateAthletePlans.
type UpdateAthletePlansJSONRequestBody ¶
type UpdateAthletePlansJSONRequestBody = UpdateAthletePlansJSONBody
UpdateAthletePlansJSONRequestBody defines body for UpdateAthletePlans for application/json ContentType.
type UpdateAthletePlansResp ¶
func ParseUpdateAthletePlansResp ¶
func ParseUpdateAthletePlansResp(rsp *http.Response) (*UpdateAthletePlansResp, error)
ParseUpdateAthletePlansResp parses an HTTP response from a UpdateAthletePlansWithResponse call
func (UpdateAthletePlansResp) Status ¶
func (r UpdateAthletePlansResp) Status() string
Status returns HTTPResponse.Status
func (UpdateAthletePlansResp) StatusCode ¶
func (r UpdateAthletePlansResp) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type UpdateAthleteResp ¶
func ParseUpdateAthleteResp ¶
func ParseUpdateAthleteResp(rsp *http.Response) (*UpdateAthleteResp, error)
ParseUpdateAthleteResp parses an HTTP response from a UpdateAthleteWithResponse call
func (UpdateAthleteResp) Status ¶
func (r UpdateAthleteResp) Status() string
Status returns HTTPResponse.Status
func (UpdateAthleteResp) StatusCode ¶
func (r UpdateAthleteResp) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type UpdateAthleteRouteJSONRequestBody ¶
type UpdateAthleteRouteJSONRequestBody = AthleteRoute
UpdateAthleteRouteJSONRequestBody defines body for UpdateAthleteRoute for application/json ContentType.
type UpdateAthleteRouteResp ¶
func ParseUpdateAthleteRouteResp ¶
func ParseUpdateAthleteRouteResp(rsp *http.Response) (*UpdateAthleteRouteResp, error)
ParseUpdateAthleteRouteResp parses an HTTP response from a UpdateAthleteRouteWithResponse call
func (UpdateAthleteRouteResp) Status ¶
func (r UpdateAthleteRouteResp) Status() string
Status returns HTTPResponse.Status
func (UpdateAthleteRouteResp) StatusCode ¶
func (r UpdateAthleteRouteResp) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type UpdateCustomItemImageJSONBody ¶
type UpdateCustomItemImageJSONBody struct {
File openapi_types.File `json:"file"`
}
UpdateCustomItemImageJSONBody defines parameters for UpdateCustomItemImage.
type UpdateCustomItemImageJSONRequestBody ¶
type UpdateCustomItemImageJSONRequestBody UpdateCustomItemImageJSONBody
UpdateCustomItemImageJSONRequestBody defines body for UpdateCustomItemImage for application/json ContentType.
type UpdateCustomItemImageResp ¶
func ParseUpdateCustomItemImageResp ¶
func ParseUpdateCustomItemImageResp(rsp *http.Response) (*UpdateCustomItemImageResp, error)
ParseUpdateCustomItemImageResp parses an HTTP response from a UpdateCustomItemImageWithResponse call
func (UpdateCustomItemImageResp) Status ¶
func (r UpdateCustomItemImageResp) Status() string
Status returns HTTPResponse.Status
func (UpdateCustomItemImageResp) StatusCode ¶
func (r UpdateCustomItemImageResp) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type UpdateCustomItemIndexesJSONBody ¶
type UpdateCustomItemIndexesJSONBody = []CustomItem
UpdateCustomItemIndexesJSONBody defines parameters for UpdateCustomItemIndexes.
type UpdateCustomItemIndexesJSONRequestBody ¶
type UpdateCustomItemIndexesJSONRequestBody = UpdateCustomItemIndexesJSONBody
UpdateCustomItemIndexesJSONRequestBody defines body for UpdateCustomItemIndexes for application/json ContentType.
type UpdateCustomItemIndexesResp ¶
func ParseUpdateCustomItemIndexesResp ¶
func ParseUpdateCustomItemIndexesResp(rsp *http.Response) (*UpdateCustomItemIndexesResp, error)
ParseUpdateCustomItemIndexesResp parses an HTTP response from a UpdateCustomItemIndexesWithResponse call
func (UpdateCustomItemIndexesResp) Status ¶
func (r UpdateCustomItemIndexesResp) Status() string
Status returns HTTPResponse.Status
func (UpdateCustomItemIndexesResp) StatusCode ¶
func (r UpdateCustomItemIndexesResp) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type UpdateCustomItemJSONRequestBody ¶
type UpdateCustomItemJSONRequestBody = CustomItem
UpdateCustomItemJSONRequestBody defines body for UpdateCustomItem for application/json ContentType.
type UpdateCustomItemResp ¶
func ParseUpdateCustomItemResp ¶
func ParseUpdateCustomItemResp(rsp *http.Response) (*UpdateCustomItemResp, error)
ParseUpdateCustomItemResp parses an HTTP response from a UpdateCustomItemWithResponse call
func (UpdateCustomItemResp) Status ¶
func (r UpdateCustomItemResp) Status() string
Status returns HTTPResponse.Status
func (UpdateCustomItemResp) StatusCode ¶
func (r UpdateCustomItemResp) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type UpdateEventJSONRequestBody ¶
type UpdateEventJSONRequestBody = EventEx
UpdateEventJSONRequestBody defines body for UpdateEvent for application/json ContentType.
type UpdateEventResp ¶
func ParseUpdateEventResp ¶
func ParseUpdateEventResp(rsp *http.Response) (*UpdateEventResp, error)
ParseUpdateEventResp parses an HTTP response from a UpdateEventWithResponse call
func (UpdateEventResp) Status ¶
func (r UpdateEventResp) Status() string
Status returns HTTPResponse.Status
func (UpdateEventResp) StatusCode ¶
func (r UpdateEventResp) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type UpdateEventsJSONRequestBody ¶
type UpdateEventsJSONRequestBody = Event
UpdateEventsJSONRequestBody defines body for UpdateEvents for application/json ContentType.
type UpdateEventsParams ¶
type UpdateEventsParams struct {
// Oldest Local date (ISO-8601) of oldest event to update
Oldest string `form:"oldest" json:"oldest"`
// Newest Local date (ISO-8601) of newest event to update (inclusive)
Newest string `form:"newest" json:"newest"`
}
UpdateEventsParams defines parameters for UpdateEvents.
type UpdateEventsResp ¶
func ParseUpdateEventsResp ¶
func ParseUpdateEventsResp(rsp *http.Response) (*UpdateEventsResp, error)
ParseUpdateEventsResp parses an HTTP response from a UpdateEventsWithResponse call
func (UpdateEventsResp) Status ¶
func (r UpdateEventsResp) Status() string
Status returns HTTPResponse.Status
func (UpdateEventsResp) StatusCode ¶
func (r UpdateEventsResp) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type UpdateFolderJSONRequestBody ¶
type UpdateFolderJSONRequestBody = Folder
UpdateFolderJSONRequestBody defines body for UpdateFolder for application/json ContentType.
type UpdateFolderResp ¶
func ParseUpdateFolderResp ¶
func ParseUpdateFolderResp(rsp *http.Response) (*UpdateFolderResp, error)
ParseUpdateFolderResp parses an HTTP response from a UpdateFolderWithResponse call
func (UpdateFolderResp) Status ¶
func (r UpdateFolderResp) Status() string
Status returns HTTPResponse.Status
func (UpdateFolderResp) StatusCode ¶
func (r UpdateFolderResp) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type UpdateFolderSharedWithJSONBody ¶
type UpdateFolderSharedWithJSONBody = []SharedWith
UpdateFolderSharedWithJSONBody defines parameters for UpdateFolderSharedWith.
type UpdateFolderSharedWithJSONRequestBody ¶
type UpdateFolderSharedWithJSONRequestBody = UpdateFolderSharedWithJSONBody
UpdateFolderSharedWithJSONRequestBody defines body for UpdateFolderSharedWith for application/json ContentType.
type UpdateFolderSharedWithResp ¶
type UpdateFolderSharedWithResp struct {
}
func ParseUpdateFolderSharedWithResp ¶
func ParseUpdateFolderSharedWithResp(rsp *http.Response) (*UpdateFolderSharedWithResp, error)
ParseUpdateFolderSharedWithResp parses an HTTP response from a UpdateFolderSharedWithWithResponse call
func (UpdateFolderSharedWithResp) Status ¶
func (r UpdateFolderSharedWithResp) Status() string
Status returns HTTPResponse.Status
func (UpdateFolderSharedWithResp) StatusCode ¶
func (r UpdateFolderSharedWithResp) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type UpdateGearJSONRequestBody ¶
type UpdateGearJSONRequestBody = Gear
UpdateGearJSONRequestBody defines body for UpdateGear for application/json ContentType.
type UpdateGearResp ¶
func ParseUpdateGearResp ¶
func ParseUpdateGearResp(rsp *http.Response) (*UpdateGearResp, error)
ParseUpdateGearResp parses an HTTP response from a UpdateGearWithResponse call
func (UpdateGearResp) Status ¶
func (r UpdateGearResp) Status() string
Status returns HTTPResponse.Status
func (UpdateGearResp) StatusCode ¶
func (r UpdateGearResp) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type UpdateIntervalJSONRequestBody ¶
type UpdateIntervalJSONRequestBody = Interval
UpdateIntervalJSONRequestBody defines body for UpdateInterval for application/json ContentType.
type UpdateIntervalResp ¶
func ParseUpdateIntervalResp ¶
func ParseUpdateIntervalResp(rsp *http.Response) (*UpdateIntervalResp, error)
ParseUpdateIntervalResp parses an HTTP response from a UpdateIntervalWithResponse call
func (UpdateIntervalResp) Status ¶
func (r UpdateIntervalResp) Status() string
Status returns HTTPResponse.Status
func (UpdateIntervalResp) StatusCode ¶
func (r UpdateIntervalResp) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type UpdateIntervalsJSONBody ¶
type UpdateIntervalsJSONBody = []Interval
UpdateIntervalsJSONBody defines parameters for UpdateIntervals.
type UpdateIntervalsJSONRequestBody ¶
type UpdateIntervalsJSONRequestBody = UpdateIntervalsJSONBody
UpdateIntervalsJSONRequestBody defines body for UpdateIntervals for application/json ContentType.
type UpdateIntervalsParams ¶
type UpdateIntervalsParams struct {
// All Any existing intervals are replaced, otherwise a merge is done
All *bool `form:"all,omitempty" json:"all,omitempty"`
}
UpdateIntervalsParams defines parameters for UpdateIntervals.
type UpdateIntervalsResp ¶
func ParseUpdateIntervalsResp ¶
func ParseUpdateIntervalsResp(rsp *http.Response) (*UpdateIntervalsResp, error)
ParseUpdateIntervalsResp parses an HTTP response from a UpdateIntervalsWithResponse call
func (UpdateIntervalsResp) Status ¶
func (r UpdateIntervalsResp) Status() string
Status returns HTTPResponse.Status
func (UpdateIntervalsResp) StatusCode ¶
func (r UpdateIntervalsResp) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type UpdateLastSeenMessageIdResp ¶
func ParseUpdateLastSeenMessageIdResp ¶
func ParseUpdateLastSeenMessageIdResp(rsp *http.Response) (*UpdateLastSeenMessageIdResp, error)
ParseUpdateLastSeenMessageIdResp parses an HTTP response from a UpdateLastSeenMessageIdWithResponse call
func (UpdateLastSeenMessageIdResp) Status ¶
func (r UpdateLastSeenMessageIdResp) Status() string
Status returns HTTPResponse.Status
func (UpdateLastSeenMessageIdResp) StatusCode ¶
func (r UpdateLastSeenMessageIdResp) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type UpdatePlanWorkoutsJSONRequestBody ¶
type UpdatePlanWorkoutsJSONRequestBody = Workout
UpdatePlanWorkoutsJSONRequestBody defines body for UpdatePlanWorkouts for application/json ContentType.
type UpdatePlanWorkoutsParams ¶
type UpdatePlanWorkoutsParams struct {
Oldest int32 `form:"oldest" json:"oldest"`
Newest int32 `form:"newest" json:"newest"`
}
UpdatePlanWorkoutsParams defines parameters for UpdatePlanWorkouts.
type UpdatePlanWorkoutsResp ¶
func ParseUpdatePlanWorkoutsResp ¶
func ParseUpdatePlanWorkoutsResp(rsp *http.Response) (*UpdatePlanWorkoutsResp, error)
ParseUpdatePlanWorkoutsResp parses an HTTP response from a UpdatePlanWorkoutsWithResponse call
func (UpdatePlanWorkoutsResp) Status ¶
func (r UpdatePlanWorkoutsResp) Status() string
Status returns HTTPResponse.Status
func (UpdatePlanWorkoutsResp) StatusCode ¶
func (r UpdatePlanWorkoutsResp) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type UpdateReminderJSONRequestBody ¶
type UpdateReminderJSONRequestBody = GearReminder
UpdateReminderJSONRequestBody defines body for UpdateReminder for application/json ContentType.
type UpdateReminderParams ¶
type UpdateReminderParams struct {
Reset bool `form:"reset" json:"reset"`
SnoozeDays int32 `form:"snoozeDays" json:"snoozeDays"`
}
UpdateReminderParams defines parameters for UpdateReminder.
type UpdateReminderResp ¶
func ParseUpdateReminderResp ¶
func ParseUpdateReminderResp(rsp *http.Response) (*UpdateReminderResp, error)
ParseUpdateReminderResp parses an HTTP response from a UpdateReminderWithResponse call
func (UpdateReminderResp) Status ¶
func (r UpdateReminderResp) Status() string
Status returns HTTPResponse.Status
func (UpdateReminderResp) StatusCode ¶
func (r UpdateReminderResp) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type UpdateSettingsJSONRequestBody ¶
type UpdateSettingsJSONRequestBody = SportSettings
UpdateSettingsJSONRequestBody defines body for UpdateSettings for application/json ContentType.
type UpdateSettingsMultiJSONBody ¶
type UpdateSettingsMultiJSONBody = []SportSettings
UpdateSettingsMultiJSONBody defines parameters for UpdateSettingsMulti.
type UpdateSettingsMultiJSONRequestBody ¶
type UpdateSettingsMultiJSONRequestBody = UpdateSettingsMultiJSONBody
UpdateSettingsMultiJSONRequestBody defines body for UpdateSettingsMulti for application/json ContentType.
type UpdateSettingsMultiParams ¶
type UpdateSettingsMultiParams struct {
RecalcHrZones bool `form:"recalcHrZones" json:"recalcHrZones"`
}
UpdateSettingsMultiParams defines parameters for UpdateSettingsMulti.
type UpdateSettingsMultiResp ¶
func ParseUpdateSettingsMultiResp ¶
func ParseUpdateSettingsMultiResp(rsp *http.Response) (*UpdateSettingsMultiResp, error)
ParseUpdateSettingsMultiResp parses an HTTP response from a UpdateSettingsMultiWithResponse call
func (UpdateSettingsMultiResp) Status ¶
func (r UpdateSettingsMultiResp) Status() string
Status returns HTTPResponse.Status
func (UpdateSettingsMultiResp) StatusCode ¶
func (r UpdateSettingsMultiResp) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type UpdateSettingsParams ¶
type UpdateSettingsParams struct {
RecalcHrZones bool `form:"recalcHrZones" json:"recalcHrZones"`
}
UpdateSettingsParams defines parameters for UpdateSettings.
type UpdateSettingsResp ¶
func ParseUpdateSettingsResp ¶
func ParseUpdateSettingsResp(rsp *http.Response) (*UpdateSettingsResp, error)
ParseUpdateSettingsResp parses an HTTP response from a UpdateSettingsWithResponse call
func (UpdateSettingsResp) Status ¶
func (r UpdateSettingsResp) Status() string
Status returns HTTPResponse.Status
func (UpdateSettingsResp) StatusCode ¶
func (r UpdateSettingsResp) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type UpdateSharedEventJSONRequestBody ¶
type UpdateSharedEventJSONRequestBody = SharedEvent
UpdateSharedEventJSONRequestBody defines body for UpdateSharedEvent for application/json ContentType.
type UpdateSharedEventResp ¶
type UpdateSharedEventResp struct {
}
func ParseUpdateSharedEventResp ¶
func ParseUpdateSharedEventResp(rsp *http.Response) (*UpdateSharedEventResp, error)
ParseUpdateSharedEventResp parses an HTTP response from a UpdateSharedEventWithResponse call
func (UpdateSharedEventResp) Status ¶
func (r UpdateSharedEventResp) Status() string
Status returns HTTPResponse.Status
func (UpdateSharedEventResp) StatusCode ¶
func (r UpdateSharedEventResp) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type UpdateStreamsResult ¶
type UpdateStreamsResult struct {
Deleted *[]string `json:"deleted,omitempty"`
Updated *[]string `json:"updated,omitempty"`
}
UpdateStreamsResult defines model for UpdateStreamsResult.
type UpdateWeatherConfigJSONRequestBody ¶
type UpdateWeatherConfigJSONRequestBody = WeatherConfig
UpdateWeatherConfigJSONRequestBody defines body for UpdateWeatherConfig for application/json ContentType.
type UpdateWeatherConfigResp ¶
func ParseUpdateWeatherConfigResp ¶
func ParseUpdateWeatherConfigResp(rsp *http.Response) (*UpdateWeatherConfigResp, error)
ParseUpdateWeatherConfigResp parses an HTTP response from a UpdateWeatherConfigWithResponse call
func (UpdateWeatherConfigResp) Status ¶
func (r UpdateWeatherConfigResp) Status() string
Status returns HTTPResponse.Status
func (UpdateWeatherConfigResp) StatusCode ¶
func (r UpdateWeatherConfigResp) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type UpdateWellness1JSONRequestBody ¶
type UpdateWellness1JSONRequestBody = Wellness
UpdateWellness1JSONRequestBody defines body for UpdateWellness1 for application/json ContentType.
type UpdateWellness1Resp ¶
func ParseUpdateWellness1Resp ¶
func ParseUpdateWellness1Resp(rsp *http.Response) (*UpdateWellness1Resp, error)
ParseUpdateWellness1Resp parses an HTTP response from a UpdateWellness1WithResponse call
func (UpdateWellness1Resp) Status ¶
func (r UpdateWellness1Resp) Status() string
Status returns HTTPResponse.Status
func (UpdateWellness1Resp) StatusCode ¶
func (r UpdateWellness1Resp) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type UpdateWellnessBulkJSONBody ¶
type UpdateWellnessBulkJSONBody = []Wellness
UpdateWellnessBulkJSONBody defines parameters for UpdateWellnessBulk.
type UpdateWellnessBulkJSONRequestBody ¶
type UpdateWellnessBulkJSONRequestBody = UpdateWellnessBulkJSONBody
UpdateWellnessBulkJSONRequestBody defines body for UpdateWellnessBulk for application/json ContentType.
type UpdateWellnessBulkResp ¶
func ParseUpdateWellnessBulkResp ¶
func ParseUpdateWellnessBulkResp(rsp *http.Response) (*UpdateWellnessBulkResp, error)
ParseUpdateWellnessBulkResp parses an HTTP response from a UpdateWellnessBulkWithResponse call
func (UpdateWellnessBulkResp) Status ¶
func (r UpdateWellnessBulkResp) Status() string
Status returns HTTPResponse.Status
func (UpdateWellnessBulkResp) StatusCode ¶
func (r UpdateWellnessBulkResp) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type UpdateWellnessJSONRequestBody ¶
type UpdateWellnessJSONRequestBody = Wellness
UpdateWellnessJSONRequestBody defines body for UpdateWellness for application/json ContentType.
type UpdateWellnessResp ¶
func ParseUpdateWellnessResp ¶
func ParseUpdateWellnessResp(rsp *http.Response) (*UpdateWellnessResp, error)
ParseUpdateWellnessResp parses an HTTP response from a UpdateWellnessWithResponse call
func (UpdateWellnessResp) Status ¶
func (r UpdateWellnessResp) Status() string
Status returns HTTPResponse.Status
func (UpdateWellnessResp) StatusCode ¶
func (r UpdateWellnessResp) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type UpdateWorkoutJSONRequestBody ¶
type UpdateWorkoutJSONRequestBody = WorkoutEx
UpdateWorkoutJSONRequestBody defines body for UpdateWorkout for application/json ContentType.
type UpdateWorkoutResp ¶
func ParseUpdateWorkoutResp ¶
func ParseUpdateWorkoutResp(rsp *http.Response) (*UpdateWorkoutResp, error)
ParseUpdateWorkoutResp parses an HTTP response from a UpdateWorkoutWithResponse call
func (UpdateWorkoutResp) Status ¶
func (r UpdateWorkoutResp) Status() string
Status returns HTTPResponse.Status
func (UpdateWorkoutResp) StatusCode ¶
func (r UpdateWorkoutResp) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type UploadActivityJSONBody ¶
type UploadActivityJSONBody struct {
// File Activity file
File openapi_types.File `json:"file"`
}
UploadActivityJSONBody defines parameters for UploadActivity.
type UploadActivityJSONRequestBody ¶
type UploadActivityJSONRequestBody UploadActivityJSONBody
UploadActivityJSONRequestBody defines body for UploadActivity for application/json ContentType.
type UploadActivityMultipartBody ¶
type UploadActivityMultipartBody interface{}
UploadActivityMultipartBody defines parameters for UploadActivity.
type UploadActivityMultipartRequestBody ¶
type UploadActivityMultipartRequestBody UploadActivityMultipartBody
UploadActivityMultipartRequestBody defines body for UploadActivity for multipart/form-data ContentType.
type UploadActivityParams ¶
type UploadActivityParams struct {
// Name Activity name
Name *string `form:"name,omitempty" json:"name,omitempty"`
// Description Activity description
Description *string `form:"description,omitempty" json:"description,omitempty"`
// DeviceName Device the activity was created on e.g. Garmin Edge 540
DeviceName *string `form:"device_name,omitempty" json:"device_name,omitempty"`
// ExternalId ID of the activity on the system it came from
ExternalId *string `form:"external_id,omitempty" json:"external_id,omitempty"`
// PairedEventId Workout to pair with activity
PairedEventId *int32 `form:"paired_event_id,omitempty" json:"paired_event_id,omitempty"`
}
UploadActivityParams defines parameters for UploadActivity.
type UploadActivityResp ¶
func ParseUploadActivityResp ¶
func ParseUploadActivityResp(rsp *http.Response) (*UploadActivityResp, error)
ParseUploadActivityResp parses an HTTP response from a UploadActivityWithResponse call
func (UploadActivityResp) Status ¶
func (r UploadActivityResp) Status() string
Status returns HTTPResponse.Status
func (UploadActivityResp) StatusCode ¶
func (r UploadActivityResp) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type UploadActivityStreamsCSVJSONBody ¶
type UploadActivityStreamsCSVJSONBody struct {
// File Activity streams CSV file
File openapi_types.File `json:"file"`
}
UploadActivityStreamsCSVJSONBody defines parameters for UploadActivityStreamsCSV.
type UploadActivityStreamsCSVJSONRequestBody ¶
type UploadActivityStreamsCSVJSONRequestBody UploadActivityStreamsCSVJSONBody
UploadActivityStreamsCSVJSONRequestBody defines body for UploadActivityStreamsCSV for application/json ContentType.
type UploadActivityStreamsCSVMultipartBody ¶
type UploadActivityStreamsCSVMultipartBody interface{}
UploadActivityStreamsCSVMultipartBody defines parameters for UploadActivityStreamsCSV.
type UploadActivityStreamsCSVMultipartRequestBody ¶
type UploadActivityStreamsCSVMultipartRequestBody UploadActivityStreamsCSVMultipartBody
UploadActivityStreamsCSVMultipartRequestBody defines body for UploadActivityStreamsCSV for multipart/form-data ContentType.
type UploadActivityStreamsCSVResp ¶
func ParseUploadActivityStreamsCSVResp ¶
func ParseUploadActivityStreamsCSVResp(rsp *http.Response) (*UploadActivityStreamsCSVResp, error)
ParseUploadActivityStreamsCSVResp parses an HTTP response from a UploadActivityStreamsCSVWithResponse call
func (UploadActivityStreamsCSVResp) Status ¶
func (r UploadActivityStreamsCSVResp) Status() string
Status returns HTTPResponse.Status
func (UploadActivityStreamsCSVResp) StatusCode ¶
func (r UploadActivityStreamsCSVResp) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type UploadResponse ¶
type UploadResponse struct {
Activities *[]ActivityId `json:"activities,omitempty"`
IcuAthleteId *string `json:"icu_athlete_id,omitempty"`
Id *string `json:"id,omitempty"`
}
UploadResponse defines model for UploadResponse.
type UploadWellnessJSONBody ¶
type UploadWellnessJSONBody struct {
File openapi_types.File `json:"file"`
}
UploadWellnessJSONBody defines parameters for UploadWellness.
type UploadWellnessJSONRequestBody ¶
type UploadWellnessJSONRequestBody UploadWellnessJSONBody
UploadWellnessJSONRequestBody defines body for UploadWellness for application/json ContentType.
type UploadWellnessParams ¶
type UploadWellnessParams struct {
IgnoreMissingFields *bool `form:"ignoreMissingFields,omitempty" json:"ignoreMissingFields,omitempty"`
}
UploadWellnessParams defines parameters for UploadWellness.
type UploadWellnessResp ¶
func ParseUploadWellnessResp ¶
func ParseUploadWellnessResp(rsp *http.Response) (*UploadWellnessResp, error)
ParseUploadWellnessResp parses an HTTP response from a UploadWellnessWithResponse call
func (UploadWellnessResp) Status ¶
func (r UploadWellnessResp) Status() string
Status returns HTTPResponse.Status
func (UploadWellnessResp) StatusCode ¶
func (r UploadWellnessResp) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type WeatherConfig ¶
type WeatherConfig struct {
Forecasts *[]Forecast `json:"forecasts,omitempty"`
}
WeatherConfig defines model for WeatherConfig.
type WeatherDTO ¶
type WeatherDTO struct {
Forecasts *[]Forecast `json:"forecasts,omitempty"`
}
WeatherDTO defines model for WeatherDTO.
type WeatherPoint ¶
type WeatherPoint struct {
Latitude *float32 `json:"latitude,omitempty"`
Longitude *float32 `json:"longitude,omitempty"`
Times *[]Time `json:"times,omitempty"`
}
WeatherPoint defines model for WeatherPoint.
type Wellness ¶
type Wellness struct {
Abdomen *float32 `json:"abdomen,omitempty"`
Atl *float32 `json:"atl,omitempty"`
AtlLoad *float32 `json:"atlLoad,omitempty"`
AvgSleepingHR *float32 `json:"avgSleepingHR,omitempty"`
BaevskySI *float32 `json:"baevskySI,omitempty"`
BloodGlucose *float32 `json:"bloodGlucose,omitempty"`
BodyFat *float32 `json:"bodyFat,omitempty"`
Carbohydrates *float32 `json:"carbohydrates,omitempty"`
Comments *string `json:"comments,omitempty"`
Ctl *float32 `json:"ctl,omitempty"`
CtlLoad *float32 `json:"ctlLoad,omitempty"`
Diastolic *int32 `json:"diastolic,omitempty"`
FatTotal *float32 `json:"fatTotal,omitempty"`
Fatigue *int32 `json:"fatigue,omitempty"`
Hrv *float32 `json:"hrv,omitempty"`
HrvSDNN *float32 `json:"hrvSDNN,omitempty"`
Hydration *int32 `json:"hydration,omitempty"`
HydrationVolume *float32 `json:"hydrationVolume,omitempty"`
Id *string `json:"id,omitempty"`
Injury *int32 `json:"injury,omitempty"`
KcalConsumed *int32 `json:"kcalConsumed,omitempty"`
Lactate *float32 `json:"lactate,omitempty"`
Locked *bool `json:"locked,omitempty"`
MenstrualPhase *WellnessMenstrualPhase `json:"menstrualPhase,omitempty"`
MenstrualPhasePredicted *WellnessMenstrualPhasePredicted `json:"menstrualPhasePredicted,omitempty"`
Mood *int32 `json:"mood,omitempty"`
Motivation *int32 `json:"motivation,omitempty"`
Protein *float32 `json:"protein,omitempty"`
RampRate *float32 `json:"rampRate,omitempty"`
Readiness *float32 `json:"readiness,omitempty"`
Respiration *float32 `json:"respiration,omitempty"`
RestingHR *int32 `json:"restingHR,omitempty"`
SleepQuality *int32 `json:"sleepQuality,omitempty"`
SleepScore *float32 `json:"sleepScore,omitempty"`
SleepSecs *int32 `json:"sleepSecs,omitempty"`
Soreness *int32 `json:"soreness,omitempty"`
SpO2 *float32 `json:"spO2,omitempty"`
SportInfo *[]SportInfo `json:"sportInfo,omitempty"`
Steps *int32 `json:"steps,omitempty"`
Stress *int32 `json:"stress,omitempty"`
Systolic *int32 `json:"systolic,omitempty"`
TempRestingHR *bool `json:"tempRestingHR,omitempty"`
TempWeight *bool `json:"tempWeight,omitempty"`
Updated *time.Time `json:"updated,omitempty"`
Vo2max *float32 `json:"vo2max,omitempty"`
Weight *float32 `json:"weight,omitempty"`
}
Wellness defines model for Wellness.
type WellnessMenstrualPhase ¶
type WellnessMenstrualPhase string
WellnessMenstrualPhase defines model for Wellness.MenstrualPhase.
const ( WellnessMenstrualPhaseFOLLICULAR WellnessMenstrualPhase = "FOLLICULAR" WellnessMenstrualPhaseLUTEAL WellnessMenstrualPhase = "LUTEAL" WellnessMenstrualPhaseNONE WellnessMenstrualPhase = "NONE" WellnessMenstrualPhaseOVULATING WellnessMenstrualPhase = "OVULATING" WellnessMenstrualPhasePERIOD WellnessMenstrualPhase = "PERIOD" )
Defines values for WellnessMenstrualPhase.
type WellnessMenstrualPhasePredicted ¶
type WellnessMenstrualPhasePredicted string
WellnessMenstrualPhasePredicted defines model for Wellness.MenstrualPhasePredicted.
const ( WellnessMenstrualPhasePredictedFOLLICULAR WellnessMenstrualPhasePredicted = "FOLLICULAR" WellnessMenstrualPhasePredictedLUTEAL WellnessMenstrualPhasePredicted = "LUTEAL" WellnessMenstrualPhasePredictedNONE WellnessMenstrualPhasePredicted = "NONE" WellnessMenstrualPhasePredictedOVULATING WellnessMenstrualPhasePredicted = "OVULATING" WellnessMenstrualPhasePredictedPERIOD WellnessMenstrualPhasePredicted = "PERIOD" )
Defines values for WellnessMenstrualPhasePredicted.
type WindRose ¶
type WindRose struct {
AvgSpeed *[]float32 `json:"avg_speed,omitempty"`
Count *[]int32 `json:"count,omitempty"`
}
WindRose defines model for WindRose.
type WithCount ¶
type WithCount struct {
ActivityCount *int32 `json:"activity_count,omitempty"`
AthleteId *string `json:"athlete_id,omitempty"`
Commute *bool `json:"commute,omitempty"`
Description *string `json:"description,omitempty"`
Distance *float32 `json:"distance,omitempty"`
Latlngs *[][]float32 `json:"latlngs,omitempty"`
MostRecentId *string `json:"most_recent_id,omitempty"`
MostRecentStartDateLocal *string `json:"most_recent_start_date_local,omitempty"`
MostRecentType *string `json:"most_recent_type,omitempty"`
Name *string `json:"name,omitempty"`
RenameActivities *bool `json:"rename_activities,omitempty"`
ReplacedByRouteId *int64 `json:"replaced_by_route_id,omitempty"`
RouteId *int64 `json:"route_id,omitempty"`
Tags *[]string `json:"tags,omitempty"`
}
WithCount defines model for WithCount.
type WithSportSettings ¶
type WithSportSettings struct {
ActivityRpePrompt *bool `json:"activity_rpe_prompt,omitempty"`
AddWeatherToStravaDescr *bool `json:"add_weather_to_strava_descr,omitempty"`
BetaUser *bool `json:"beta_user,omitempty"`
Bikes *[]StravaGear `json:"bikes,omitempty"`
Bio *string `json:"bio,omitempty"`
City *string `json:"city,omitempty"`
CoachTicks *[]CoachTick `json:"coach_ticks,omitempty"`
Concept2SyncActivities *bool `json:"concept2_sync_activities,omitempty"`
Concept2UserId *string `json:"concept2_user_id,omitempty"`
CorosDownloadWellness *bool `json:"coros_download_wellness,omitempty"`
CorosLastUpload *time.Time `json:"coros_last_upload,omitempty"`
CorosSyncActivities *bool `json:"coros_sync_activities,omitempty"`
CorosUploadWorkouts *bool `json:"coros_upload_workouts,omitempty"`
CorosUserId *string `json:"coros_user_id,omitempty"`
Country *string `json:"country,omitempty"`
Currency *string `json:"currency,omitempty"`
CustomItems *[]CustomItem `json:"custom_items,omitempty"`
DateFormat *string `json:"date_format,omitempty"`
DropboxScope *string `json:"dropbox_scope,omitempty"`
Email *string `json:"email,omitempty"`
Fahrenheit *bool `json:"fahrenheit,omitempty"`
Firstname *string `json:"firstname,omitempty"`
GarminPaceRange *float32 `json:"garmin_pace_range,omitempty"`
GarminPowerTarget *WithSportSettingsGarminPowerTarget `json:"garmin_power_target,omitempty"`
GarminSyncActivityTypes *[]WithSportSettingsGarminSyncActivityTypes `json:"garmin_sync_activity_types,omitempty"`
GarminSyncAfter *time.Time `json:"garmin_sync_after,omitempty"`
GoogleScope *string `json:"google_scope,omitempty"`
GoogleWellnessKeys *[]string `json:"google_wellness_keys,omitempty"`
HasPassword *bool `json:"has_password,omitempty"`
Height *float32 `json:"height,omitempty"`
HeightUnits *WithSportSettingsHeightUnits `json:"height_units,omitempty"`
HuaweiDownloadWellness *bool `json:"huawei_download_wellness,omitempty"`
HuaweiSyncActivities *bool `json:"huawei_sync_activities,omitempty"`
HuaweiUploadWorkouts *bool `json:"huawei_upload_workouts,omitempty"`
HuaweiUserId *string `json:"huawei_user_id,omitempty"`
IcuActivated *time.Time `json:"icu_activated,omitempty"`
IcuAdmin *bool `json:"icu_admin,omitempty"`
IcuApiKey *string `json:"icu_api_key,omitempty"`
IcuCoach *bool `json:"icu_coach,omitempty"`
IcuDateOfBirth *string `json:"icu_date_of_birth,omitempty"`
IcuEffortSecs *[]int32 `json:"icu_effort_secs,omitempty"`
IcuEmailDisabled *string `json:"icu_email_disabled,omitempty"`
IcuEmailVerified *bool `json:"icu_email_verified,omitempty"`
IcuFormAsPercent *bool `json:"icu_form_as_percent,omitempty"`
IcuFriendInviteToken *string `json:"icu_friend_invite_token,omitempty"`
IcuGarminDownloadWellness *bool `json:"icu_garmin_download_wellness,omitempty"`
IcuGarminHealth *bool `json:"icu_garmin_health,omitempty"`
IcuGarminHrRange *float32 `json:"icu_garmin_hr_range,omitempty"`
IcuGarminLastUpload *time.Time `json:"icu_garmin_last_upload,omitempty"`
IcuGarminOutdoorPowerRange *float32 `json:"icu_garmin_outdoor_power_range,omitempty"`
IcuGarminSyncActivities *bool `json:"icu_garmin_sync_activities,omitempty"`
IcuGarminTraining *bool `json:"icu_garmin_training,omitempty"`
IcuGarminUploadFilters *[]ActivityFilter `json:"icu_garmin_upload_filters,omitempty"`
IcuGarminUploadWorkouts *bool `json:"icu_garmin_upload_workouts,omitempty"`
IcuGarminWellnessKeys *[]string `json:"icu_garmin_wellness_keys,omitempty"`
IcuLastSeen *time.Time `json:"icu_last_seen,omitempty"`
IcuMenstrualCyclePerm *WithSportSettingsIcuMenstrualCyclePerm `json:"icu_menstrual_cycle_perm,omitempty"`
IcuMmpDays *int32 `json:"icu_mmp_days,omitempty"`
IcuPermission *WithSportSettingsIcuPermission `json:"icu_permission,omitempty"`
IcuQueuePos *int32 `json:"icu_queue_pos,omitempty"`
IcuRestingHr *int32 `json:"icu_resting_hr,omitempty"`
IcuSendAchievements *bool `json:"icu_send_achievements,omitempty"`
IcuSendActivityChat *bool `json:"icu_send_activity_chat,omitempty"`
IcuSendActivityMsg *bool `json:"icu_send_activity_msg,omitempty"`
IcuSendCoachMeReq *bool `json:"icu_send_coach_me_req,omitempty"`
IcuSendCoachTick *bool `json:"icu_send_coach_tick,omitempty"`
IcuSendCoachedActivityChat *bool `json:"icu_send_coached_activity_chat,omitempty"`
IcuSendCoachedNewActivity *bool `json:"icu_send_coached_new_activity,omitempty"`
IcuSendFollowReq *bool `json:"icu_send_follow_req,omitempty"`
IcuSendFollowedActivityChat *bool `json:"icu_send_followed_activity_chat,omitempty"`
IcuSendFollowedNewActivity *bool `json:"icu_send_followed_new_activity,omitempty"`
IcuSendGearAlerts *bool `json:"icu_send_gear_alerts,omitempty"`
IcuSendGroupChat *bool `json:"icu_send_group_chat,omitempty"`
IcuSendGroupMsg *bool `json:"icu_send_group_msg,omitempty"`
IcuSendNewsletter *bool `json:"icu_send_newsletter,omitempty"`
IcuSendPlanForWeek *bool `json:"icu_send_plan_for_week,omitempty"`
IcuSendPrivateChat *bool `json:"icu_send_private_chat,omitempty"`
IcuSendPrivateMsg *bool `json:"icu_send_private_msg,omitempty"`
IcuTrackMenstrualCycle *bool `json:"icu_track_menstrual_cycle,omitempty"`
IcuTypeSettings *[]Settings `json:"icu_type_settings,omitempty"`
IcuWeight *float32 `json:"icu_weight,omitempty"`
IcuWeightSync *WithSportSettingsIcuWeightSync `json:"icu_weight_sync,omitempty"`
IcuWellnessKeys *[]string `json:"icu_wellness_keys,omitempty"`
IcuWellnessPrompt *bool `json:"icu_wellness_prompt,omitempty"`
Id *string `json:"id,omitempty"`
IgnoreStravaGear *bool `json:"ignore_strava_gear,omitempty"`
IncludeDescrInPlanForWeek *bool `json:"include_descr_in_plan_for_week,omitempty"`
Lastname *string `json:"lastname,omitempty"`
Locale *string `json:"locale,omitempty"`
MeasurementPreference *string `json:"measurement_preference,omitempty"`
Name *string `json:"name,omitempty"`
OpenStepDuration *int32 `json:"open_step_duration,omitempty"`
OuraScope *string `json:"oura_scope,omitempty"`
OuraWellnessKeys *[]string `json:"oura_wellness_keys,omitempty"`
Plan *WithSportSettingsPlan `json:"plan,omitempty"`
PlanExpires *time.Time `json:"plan_expires,omitempty"`
PolarDownloadWellness *bool `json:"polar_download_wellness,omitempty"`
PolarScope *string `json:"polar_scope,omitempty"`
PolarSyncActivities *bool `json:"polar_sync_activities,omitempty"`
PolarSyncActivityTypes *[]WithSportSettingsPolarSyncActivityTypes `json:"polar_sync_activity_types,omitempty"`
PolarWellnessKeys *[]string `json:"polar_wellness_keys,omitempty"`
PrivateWellnessKeys *[]string `json:"private_wellness_keys,omitempty"`
ProfileMedium *string `json:"profile_medium,omitempty"`
Rain *WithSportSettingsRain `json:"rain,omitempty"`
Scope *string `json:"scope,omitempty"`
Sex *string `json:"sex,omitempty"`
Shoes *[]StravaGear `json:"shoes,omitempty"`
SponsoredByChatId *int32 `json:"sponsored_by_chat_id,omitempty"`
SportSettings *[]SportSettings `json:"sportSettings,omitempty"`
State *string `json:"state,omitempty"`
Status *WithSportSettingsStatus `json:"status,omitempty"`
StatusUpdated *time.Time `json:"status_updated,omitempty"`
StravaAllowed *bool `json:"strava_allowed,omitempty"`
StravaAuthorized *bool `json:"strava_authorized,omitempty"`
StravaId *int32 `json:"strava_id,omitempty"`
StravaSyncActivities *bool `json:"strava_sync_activities,omitempty"`
StravaSyncActivityTypes *[]WithSportSettingsStravaSyncActivityTypes `json:"strava_sync_activity_types,omitempty"`
StravaSyncOtherActivities *bool `json:"strava_sync_other_activities,omitempty"`
SuuntoDownloadWellness *bool `json:"suunto_download_wellness,omitempty"`
SuuntoHrRange *float32 `json:"suunto_hr_range,omitempty"`
SuuntoLastUpload *time.Time `json:"suunto_last_upload,omitempty"`
SuuntoOutdoorPowerRange *float32 `json:"suunto_outdoor_power_range,omitempty"`
SuuntoPaceRange *float32 `json:"suunto_pace_range,omitempty"`
SuuntoScope *string `json:"suunto_scope,omitempty"`
SuuntoSyncActivities *bool `json:"suunto_sync_activities,omitempty"`
SuuntoSyncActivityTypes *[]WithSportSettingsSuuntoSyncActivityTypes `json:"suunto_sync_activity_types,omitempty"`
SuuntoUploadFilters *[]ActivityFilter `json:"suunto_upload_filters,omitempty"`
SuuntoUploadWorkouts *bool `json:"suunto_upload_workouts,omitempty"`
SuuntoUserId *string `json:"suunto_user_id,omitempty"`
TimeFormat *string `json:"time_format,omitempty"`
Timezone *string `json:"timezone,omitempty"`
TrainingAvailability *[]AthleteTrainingAvailability `json:"training_availability,omitempty"`
TrainingPlanId *int32 `json:"training_plan_id,omitempty"`
TrainingPlanStartDate *string `json:"training_plan_start_date,omitempty"`
TrialEndDate *time.Time `json:"trial_end_date,omitempty"`
UpdateStravaName *bool `json:"update_strava_name,omitempty"`
Visibility *WithSportSettingsVisibility `json:"visibility,omitempty"`
WahooSyncActivities *bool `json:"wahoo_sync_activities,omitempty"`
WahooUploadWorkouts *bool `json:"wahoo_upload_workouts,omitempty"`
WahooUserId *string `json:"wahoo_user_id,omitempty"`
Website *string `json:"website,omitempty"`
Weight *float32 `json:"weight,omitempty"`
WeightPrefLb *bool `json:"weight_pref_lb,omitempty"`
WellnessLastPromptDate *string `json:"wellness_last_prompt_date,omitempty"`
WhoopScope *string `json:"whoop_scope,omitempty"`
WhoopWellnessKeys *[]string `json:"whoop_wellness_keys,omitempty"`
WindSpeed *WithSportSettingsWindSpeed `json:"wind_speed,omitempty"`
ZeppDownloadWellness *bool `json:"zepp_download_wellness,omitempty"`
ZeppSyncActivities *bool `json:"zepp_sync_activities,omitempty"`
ZeppUploadWorkouts *bool `json:"zepp_upload_workouts,omitempty"`
ZeppUserId *string `json:"zepp_user_id,omitempty"`
ZwiftSyncActivities *bool `json:"zwift_sync_activities,omitempty"`
ZwiftUploadWorkouts *bool `json:"zwift_upload_workouts,omitempty"`
ZwiftUserId *string `json:"zwift_user_id,omitempty"`
}
WithSportSettings defines model for WithSportSettings.
type WithSportSettingsGarminPowerTarget ¶
type WithSportSettingsGarminPowerTarget string
WithSportSettingsGarminPowerTarget defines model for WithSportSettings.GarminPowerTarget.
const ( WithSportSettingsGarminPowerTargetPOWER WithSportSettingsGarminPowerTarget = "POWER" WithSportSettingsGarminPowerTargetPOWER10S WithSportSettingsGarminPowerTarget = "POWER_10S" WithSportSettingsGarminPowerTargetPOWER30S WithSportSettingsGarminPowerTarget = "POWER_30S" WithSportSettingsGarminPowerTargetPOWER3S WithSportSettingsGarminPowerTarget = "POWER_3S" WithSportSettingsGarminPowerTargetPOWERLAP WithSportSettingsGarminPowerTarget = "POWER_LAP" )
Defines values for WithSportSettingsGarminPowerTarget.
type WithSportSettingsGarminSyncActivityTypes ¶
type WithSportSettingsGarminSyncActivityTypes string
WithSportSettingsGarminSyncActivityTypes defines model for WithSportSettings.GarminSyncActivityTypes.
const ( WithSportSettingsGarminSyncActivityTypesAlpineSki WithSportSettingsGarminSyncActivityTypes = "AlpineSki" WithSportSettingsGarminSyncActivityTypesBackcountrySki WithSportSettingsGarminSyncActivityTypes = "BackcountrySki" WithSportSettingsGarminSyncActivityTypesBadminton WithSportSettingsGarminSyncActivityTypes = "Badminton" WithSportSettingsGarminSyncActivityTypesCanoeing WithSportSettingsGarminSyncActivityTypes = "Canoeing" WithSportSettingsGarminSyncActivityTypesCrossfit WithSportSettingsGarminSyncActivityTypes = "Crossfit" WithSportSettingsGarminSyncActivityTypesEBikeRide WithSportSettingsGarminSyncActivityTypes = "EBikeRide" WithSportSettingsGarminSyncActivityTypesEMountainBikeRide WithSportSettingsGarminSyncActivityTypes = "EMountainBikeRide" WithSportSettingsGarminSyncActivityTypesElliptical WithSportSettingsGarminSyncActivityTypes = "Elliptical" WithSportSettingsGarminSyncActivityTypesGolf WithSportSettingsGarminSyncActivityTypes = "Golf" WithSportSettingsGarminSyncActivityTypesGravelRide WithSportSettingsGarminSyncActivityTypes = "GravelRide" WithSportSettingsGarminSyncActivityTypesHandcycle WithSportSettingsGarminSyncActivityTypes = "Handcycle" WithSportSettingsGarminSyncActivityTypesHighIntensityIntervalTraining WithSportSettingsGarminSyncActivityTypes = "HighIntensityIntervalTraining" WithSportSettingsGarminSyncActivityTypesHike WithSportSettingsGarminSyncActivityTypes = "Hike" WithSportSettingsGarminSyncActivityTypesHockey WithSportSettingsGarminSyncActivityTypes = "Hockey" WithSportSettingsGarminSyncActivityTypesIceSkate WithSportSettingsGarminSyncActivityTypes = "IceSkate" WithSportSettingsGarminSyncActivityTypesInlineSkate WithSportSettingsGarminSyncActivityTypes = "InlineSkate" WithSportSettingsGarminSyncActivityTypesKayaking WithSportSettingsGarminSyncActivityTypes = "Kayaking" WithSportSettingsGarminSyncActivityTypesKitesurf WithSportSettingsGarminSyncActivityTypes = "Kitesurf" WithSportSettingsGarminSyncActivityTypesMountainBikeRide WithSportSettingsGarminSyncActivityTypes = "MountainBikeRide" WithSportSettingsGarminSyncActivityTypesNordicSki WithSportSettingsGarminSyncActivityTypes = "NordicSki" WithSportSettingsGarminSyncActivityTypesOpenWaterSwim WithSportSettingsGarminSyncActivityTypes = "OpenWaterSwim" WithSportSettingsGarminSyncActivityTypesOther WithSportSettingsGarminSyncActivityTypes = "Other" WithSportSettingsGarminSyncActivityTypesPadel WithSportSettingsGarminSyncActivityTypes = "Padel" WithSportSettingsGarminSyncActivityTypesPickleball WithSportSettingsGarminSyncActivityTypes = "Pickleball" WithSportSettingsGarminSyncActivityTypesPilates WithSportSettingsGarminSyncActivityTypes = "Pilates" WithSportSettingsGarminSyncActivityTypesRacquetball WithSportSettingsGarminSyncActivityTypes = "Racquetball" WithSportSettingsGarminSyncActivityTypesRide WithSportSettingsGarminSyncActivityTypes = "Ride" WithSportSettingsGarminSyncActivityTypesRockClimbing WithSportSettingsGarminSyncActivityTypes = "RockClimbing" WithSportSettingsGarminSyncActivityTypesRollerSki WithSportSettingsGarminSyncActivityTypes = "RollerSki" WithSportSettingsGarminSyncActivityTypesRowing WithSportSettingsGarminSyncActivityTypes = "Rowing" WithSportSettingsGarminSyncActivityTypesRugby WithSportSettingsGarminSyncActivityTypes = "Rugby" WithSportSettingsGarminSyncActivityTypesRun WithSportSettingsGarminSyncActivityTypes = "Run" WithSportSettingsGarminSyncActivityTypesSail WithSportSettingsGarminSyncActivityTypes = "Sail" WithSportSettingsGarminSyncActivityTypesSkateboard WithSportSettingsGarminSyncActivityTypes = "Skateboard" WithSportSettingsGarminSyncActivityTypesSnowboard WithSportSettingsGarminSyncActivityTypes = "Snowboard" WithSportSettingsGarminSyncActivityTypesSnowshoe WithSportSettingsGarminSyncActivityTypes = "Snowshoe" WithSportSettingsGarminSyncActivityTypesSoccer WithSportSettingsGarminSyncActivityTypes = "Soccer" WithSportSettingsGarminSyncActivityTypesSquash WithSportSettingsGarminSyncActivityTypes = "Squash" WithSportSettingsGarminSyncActivityTypesStairStepper WithSportSettingsGarminSyncActivityTypes = "StairStepper" WithSportSettingsGarminSyncActivityTypesStandUpPaddling WithSportSettingsGarminSyncActivityTypes = "StandUpPaddling" WithSportSettingsGarminSyncActivityTypesSurfing WithSportSettingsGarminSyncActivityTypes = "Surfing" WithSportSettingsGarminSyncActivityTypesSwim WithSportSettingsGarminSyncActivityTypes = "Swim" WithSportSettingsGarminSyncActivityTypesTableTennis WithSportSettingsGarminSyncActivityTypes = "TableTennis" WithSportSettingsGarminSyncActivityTypesTennis WithSportSettingsGarminSyncActivityTypes = "Tennis" WithSportSettingsGarminSyncActivityTypesTrackRide WithSportSettingsGarminSyncActivityTypes = "TrackRide" WithSportSettingsGarminSyncActivityTypesTrailRun WithSportSettingsGarminSyncActivityTypes = "TrailRun" WithSportSettingsGarminSyncActivityTypesTransition WithSportSettingsGarminSyncActivityTypes = "Transition" WithSportSettingsGarminSyncActivityTypesVelomobile WithSportSettingsGarminSyncActivityTypes = "Velomobile" WithSportSettingsGarminSyncActivityTypesVirtualRide WithSportSettingsGarminSyncActivityTypes = "VirtualRide" WithSportSettingsGarminSyncActivityTypesVirtualRow WithSportSettingsGarminSyncActivityTypes = "VirtualRow" WithSportSettingsGarminSyncActivityTypesVirtualRun WithSportSettingsGarminSyncActivityTypes = "VirtualRun" WithSportSettingsGarminSyncActivityTypesVirtualSki WithSportSettingsGarminSyncActivityTypes = "VirtualSki" WithSportSettingsGarminSyncActivityTypesWalk WithSportSettingsGarminSyncActivityTypes = "Walk" WithSportSettingsGarminSyncActivityTypesWaterSport WithSportSettingsGarminSyncActivityTypes = "WaterSport" WithSportSettingsGarminSyncActivityTypesWeightTraining WithSportSettingsGarminSyncActivityTypes = "WeightTraining" WithSportSettingsGarminSyncActivityTypesWheelchair WithSportSettingsGarminSyncActivityTypes = "Wheelchair" WithSportSettingsGarminSyncActivityTypesWindsurf WithSportSettingsGarminSyncActivityTypes = "Windsurf" WithSportSettingsGarminSyncActivityTypesWorkout WithSportSettingsGarminSyncActivityTypes = "Workout" WithSportSettingsGarminSyncActivityTypesYoga WithSportSettingsGarminSyncActivityTypes = "Yoga" )
Defines values for WithSportSettingsGarminSyncActivityTypes.
type WithSportSettingsHeightUnits ¶
type WithSportSettingsHeightUnits string
WithSportSettingsHeightUnits defines model for WithSportSettings.HeightUnits.
const ( CM WithSportSettingsHeightUnits = "CM" FEET WithSportSettingsHeightUnits = "FEET" )
Defines values for WithSportSettingsHeightUnits.
type WithSportSettingsIcuMenstrualCyclePerm ¶
type WithSportSettingsIcuMenstrualCyclePerm string
WithSportSettingsIcuMenstrualCyclePerm defines model for WithSportSettings.IcuMenstrualCyclePerm.
const ( WithSportSettingsIcuMenstrualCyclePermNONE WithSportSettingsIcuMenstrualCyclePerm = "NONE" WithSportSettingsIcuMenstrualCyclePermREAD WithSportSettingsIcuMenstrualCyclePerm = "READ" WithSportSettingsIcuMenstrualCyclePermWRITE WithSportSettingsIcuMenstrualCyclePerm = "WRITE" )
Defines values for WithSportSettingsIcuMenstrualCyclePerm.
type WithSportSettingsIcuPermission ¶
type WithSportSettingsIcuPermission string
WithSportSettingsIcuPermission defines model for WithSportSettings.IcuPermission.
const ( WithSportSettingsIcuPermissionNONE WithSportSettingsIcuPermission = "NONE" WithSportSettingsIcuPermissionREAD WithSportSettingsIcuPermission = "READ" WithSportSettingsIcuPermissionWRITE WithSportSettingsIcuPermission = "WRITE" )
Defines values for WithSportSettingsIcuPermission.
type WithSportSettingsIcuWeightSync ¶
type WithSportSettingsIcuWeightSync string
WithSportSettingsIcuWeightSync defines model for WithSportSettings.IcuWeightSync.
const ( WithSportSettingsIcuWeightSyncNONE WithSportSettingsIcuWeightSync = "NONE" WithSportSettingsIcuWeightSyncSTRAVA WithSportSettingsIcuWeightSync = "STRAVA" )
Defines values for WithSportSettingsIcuWeightSync.
type WithSportSettingsPlan ¶
type WithSportSettingsPlan string
WithSportSettingsPlan defines model for WithSportSettings.Plan.
const ( WithSportSettingsPlanFREE WithSportSettingsPlan = "FREE" WithSportSettingsPlanPREMIUM WithSportSettingsPlan = "PREMIUM" WithSportSettingsPlanSUPPORTER WithSportSettingsPlan = "SUPPORTER" WithSportSettingsPlanWHITELABEL WithSportSettingsPlan = "WHITELABEL" )
Defines values for WithSportSettingsPlan.
type WithSportSettingsPolarSyncActivityTypes ¶
type WithSportSettingsPolarSyncActivityTypes string
WithSportSettingsPolarSyncActivityTypes defines model for WithSportSettings.PolarSyncActivityTypes.
const ( WithSportSettingsPolarSyncActivityTypesAlpineSki WithSportSettingsPolarSyncActivityTypes = "AlpineSki" WithSportSettingsPolarSyncActivityTypesBackcountrySki WithSportSettingsPolarSyncActivityTypes = "BackcountrySki" WithSportSettingsPolarSyncActivityTypesBadminton WithSportSettingsPolarSyncActivityTypes = "Badminton" WithSportSettingsPolarSyncActivityTypesCanoeing WithSportSettingsPolarSyncActivityTypes = "Canoeing" WithSportSettingsPolarSyncActivityTypesCrossfit WithSportSettingsPolarSyncActivityTypes = "Crossfit" WithSportSettingsPolarSyncActivityTypesEBikeRide WithSportSettingsPolarSyncActivityTypes = "EBikeRide" WithSportSettingsPolarSyncActivityTypesEMountainBikeRide WithSportSettingsPolarSyncActivityTypes = "EMountainBikeRide" WithSportSettingsPolarSyncActivityTypesElliptical WithSportSettingsPolarSyncActivityTypes = "Elliptical" WithSportSettingsPolarSyncActivityTypesGolf WithSportSettingsPolarSyncActivityTypes = "Golf" WithSportSettingsPolarSyncActivityTypesGravelRide WithSportSettingsPolarSyncActivityTypes = "GravelRide" WithSportSettingsPolarSyncActivityTypesHandcycle WithSportSettingsPolarSyncActivityTypes = "Handcycle" WithSportSettingsPolarSyncActivityTypesHighIntensityIntervalTraining WithSportSettingsPolarSyncActivityTypes = "HighIntensityIntervalTraining" WithSportSettingsPolarSyncActivityTypesHike WithSportSettingsPolarSyncActivityTypes = "Hike" WithSportSettingsPolarSyncActivityTypesHockey WithSportSettingsPolarSyncActivityTypes = "Hockey" WithSportSettingsPolarSyncActivityTypesIceSkate WithSportSettingsPolarSyncActivityTypes = "IceSkate" WithSportSettingsPolarSyncActivityTypesInlineSkate WithSportSettingsPolarSyncActivityTypes = "InlineSkate" WithSportSettingsPolarSyncActivityTypesKayaking WithSportSettingsPolarSyncActivityTypes = "Kayaking" WithSportSettingsPolarSyncActivityTypesKitesurf WithSportSettingsPolarSyncActivityTypes = "Kitesurf" WithSportSettingsPolarSyncActivityTypesMountainBikeRide WithSportSettingsPolarSyncActivityTypes = "MountainBikeRide" WithSportSettingsPolarSyncActivityTypesNordicSki WithSportSettingsPolarSyncActivityTypes = "NordicSki" WithSportSettingsPolarSyncActivityTypesOpenWaterSwim WithSportSettingsPolarSyncActivityTypes = "OpenWaterSwim" WithSportSettingsPolarSyncActivityTypesOther WithSportSettingsPolarSyncActivityTypes = "Other" WithSportSettingsPolarSyncActivityTypesPadel WithSportSettingsPolarSyncActivityTypes = "Padel" WithSportSettingsPolarSyncActivityTypesPickleball WithSportSettingsPolarSyncActivityTypes = "Pickleball" WithSportSettingsPolarSyncActivityTypesPilates WithSportSettingsPolarSyncActivityTypes = "Pilates" WithSportSettingsPolarSyncActivityTypesRacquetball WithSportSettingsPolarSyncActivityTypes = "Racquetball" WithSportSettingsPolarSyncActivityTypesRide WithSportSettingsPolarSyncActivityTypes = "Ride" WithSportSettingsPolarSyncActivityTypesRockClimbing WithSportSettingsPolarSyncActivityTypes = "RockClimbing" WithSportSettingsPolarSyncActivityTypesRollerSki WithSportSettingsPolarSyncActivityTypes = "RollerSki" WithSportSettingsPolarSyncActivityTypesRowing WithSportSettingsPolarSyncActivityTypes = "Rowing" WithSportSettingsPolarSyncActivityTypesRugby WithSportSettingsPolarSyncActivityTypes = "Rugby" WithSportSettingsPolarSyncActivityTypesRun WithSportSettingsPolarSyncActivityTypes = "Run" WithSportSettingsPolarSyncActivityTypesSail WithSportSettingsPolarSyncActivityTypes = "Sail" WithSportSettingsPolarSyncActivityTypesSkateboard WithSportSettingsPolarSyncActivityTypes = "Skateboard" WithSportSettingsPolarSyncActivityTypesSnowboard WithSportSettingsPolarSyncActivityTypes = "Snowboard" WithSportSettingsPolarSyncActivityTypesSnowshoe WithSportSettingsPolarSyncActivityTypes = "Snowshoe" WithSportSettingsPolarSyncActivityTypesSoccer WithSportSettingsPolarSyncActivityTypes = "Soccer" WithSportSettingsPolarSyncActivityTypesSquash WithSportSettingsPolarSyncActivityTypes = "Squash" WithSportSettingsPolarSyncActivityTypesStairStepper WithSportSettingsPolarSyncActivityTypes = "StairStepper" WithSportSettingsPolarSyncActivityTypesStandUpPaddling WithSportSettingsPolarSyncActivityTypes = "StandUpPaddling" WithSportSettingsPolarSyncActivityTypesSurfing WithSportSettingsPolarSyncActivityTypes = "Surfing" WithSportSettingsPolarSyncActivityTypesSwim WithSportSettingsPolarSyncActivityTypes = "Swim" WithSportSettingsPolarSyncActivityTypesTableTennis WithSportSettingsPolarSyncActivityTypes = "TableTennis" WithSportSettingsPolarSyncActivityTypesTennis WithSportSettingsPolarSyncActivityTypes = "Tennis" WithSportSettingsPolarSyncActivityTypesTrackRide WithSportSettingsPolarSyncActivityTypes = "TrackRide" WithSportSettingsPolarSyncActivityTypesTrailRun WithSportSettingsPolarSyncActivityTypes = "TrailRun" WithSportSettingsPolarSyncActivityTypesTransition WithSportSettingsPolarSyncActivityTypes = "Transition" WithSportSettingsPolarSyncActivityTypesVelomobile WithSportSettingsPolarSyncActivityTypes = "Velomobile" WithSportSettingsPolarSyncActivityTypesVirtualRide WithSportSettingsPolarSyncActivityTypes = "VirtualRide" WithSportSettingsPolarSyncActivityTypesVirtualRow WithSportSettingsPolarSyncActivityTypes = "VirtualRow" WithSportSettingsPolarSyncActivityTypesVirtualRun WithSportSettingsPolarSyncActivityTypes = "VirtualRun" WithSportSettingsPolarSyncActivityTypesVirtualSki WithSportSettingsPolarSyncActivityTypes = "VirtualSki" WithSportSettingsPolarSyncActivityTypesWalk WithSportSettingsPolarSyncActivityTypes = "Walk" WithSportSettingsPolarSyncActivityTypesWaterSport WithSportSettingsPolarSyncActivityTypes = "WaterSport" WithSportSettingsPolarSyncActivityTypesWeightTraining WithSportSettingsPolarSyncActivityTypes = "WeightTraining" WithSportSettingsPolarSyncActivityTypesWheelchair WithSportSettingsPolarSyncActivityTypes = "Wheelchair" WithSportSettingsPolarSyncActivityTypesWindsurf WithSportSettingsPolarSyncActivityTypes = "Windsurf" WithSportSettingsPolarSyncActivityTypesWorkout WithSportSettingsPolarSyncActivityTypes = "Workout" WithSportSettingsPolarSyncActivityTypesYoga WithSportSettingsPolarSyncActivityTypes = "Yoga" )
Defines values for WithSportSettingsPolarSyncActivityTypes.
type WithSportSettingsRain ¶
type WithSportSettingsRain string
WithSportSettingsRain defines model for WithSportSettings.Rain.
const ( INCHES WithSportSettingsRain = "INCHES" MM WithSportSettingsRain = "MM" )
Defines values for WithSportSettingsRain.
type WithSportSettingsStatus ¶
type WithSportSettingsStatus string
WithSportSettingsStatus defines model for WithSportSettings.Status.
const ( ACTIVE WithSportSettingsStatus = "ACTIVE" ARCHIVED WithSportSettingsStatus = "ARCHIVED" DORMANT WithSportSettingsStatus = "DORMANT" )
Defines values for WithSportSettingsStatus.
type WithSportSettingsStravaSyncActivityTypes ¶
type WithSportSettingsStravaSyncActivityTypes string
WithSportSettingsStravaSyncActivityTypes defines model for WithSportSettings.StravaSyncActivityTypes.
const ( WithSportSettingsStravaSyncActivityTypesAlpineSki WithSportSettingsStravaSyncActivityTypes = "AlpineSki" WithSportSettingsStravaSyncActivityTypesBackcountrySki WithSportSettingsStravaSyncActivityTypes = "BackcountrySki" WithSportSettingsStravaSyncActivityTypesBadminton WithSportSettingsStravaSyncActivityTypes = "Badminton" WithSportSettingsStravaSyncActivityTypesCanoeing WithSportSettingsStravaSyncActivityTypes = "Canoeing" WithSportSettingsStravaSyncActivityTypesCrossfit WithSportSettingsStravaSyncActivityTypes = "Crossfit" WithSportSettingsStravaSyncActivityTypesEBikeRide WithSportSettingsStravaSyncActivityTypes = "EBikeRide" WithSportSettingsStravaSyncActivityTypesEMountainBikeRide WithSportSettingsStravaSyncActivityTypes = "EMountainBikeRide" WithSportSettingsStravaSyncActivityTypesElliptical WithSportSettingsStravaSyncActivityTypes = "Elliptical" WithSportSettingsStravaSyncActivityTypesGolf WithSportSettingsStravaSyncActivityTypes = "Golf" WithSportSettingsStravaSyncActivityTypesGravelRide WithSportSettingsStravaSyncActivityTypes = "GravelRide" WithSportSettingsStravaSyncActivityTypesHandcycle WithSportSettingsStravaSyncActivityTypes = "Handcycle" WithSportSettingsStravaSyncActivityTypesHighIntensityIntervalTraining WithSportSettingsStravaSyncActivityTypes = "HighIntensityIntervalTraining" WithSportSettingsStravaSyncActivityTypesHike WithSportSettingsStravaSyncActivityTypes = "Hike" WithSportSettingsStravaSyncActivityTypesHockey WithSportSettingsStravaSyncActivityTypes = "Hockey" WithSportSettingsStravaSyncActivityTypesIceSkate WithSportSettingsStravaSyncActivityTypes = "IceSkate" WithSportSettingsStravaSyncActivityTypesInlineSkate WithSportSettingsStravaSyncActivityTypes = "InlineSkate" WithSportSettingsStravaSyncActivityTypesKayaking WithSportSettingsStravaSyncActivityTypes = "Kayaking" WithSportSettingsStravaSyncActivityTypesKitesurf WithSportSettingsStravaSyncActivityTypes = "Kitesurf" WithSportSettingsStravaSyncActivityTypesMountainBikeRide WithSportSettingsStravaSyncActivityTypes = "MountainBikeRide" WithSportSettingsStravaSyncActivityTypesNordicSki WithSportSettingsStravaSyncActivityTypes = "NordicSki" WithSportSettingsStravaSyncActivityTypesOpenWaterSwim WithSportSettingsStravaSyncActivityTypes = "OpenWaterSwim" WithSportSettingsStravaSyncActivityTypesOther WithSportSettingsStravaSyncActivityTypes = "Other" WithSportSettingsStravaSyncActivityTypesPadel WithSportSettingsStravaSyncActivityTypes = "Padel" WithSportSettingsStravaSyncActivityTypesPickleball WithSportSettingsStravaSyncActivityTypes = "Pickleball" WithSportSettingsStravaSyncActivityTypesPilates WithSportSettingsStravaSyncActivityTypes = "Pilates" WithSportSettingsStravaSyncActivityTypesRacquetball WithSportSettingsStravaSyncActivityTypes = "Racquetball" WithSportSettingsStravaSyncActivityTypesRide WithSportSettingsStravaSyncActivityTypes = "Ride" WithSportSettingsStravaSyncActivityTypesRockClimbing WithSportSettingsStravaSyncActivityTypes = "RockClimbing" WithSportSettingsStravaSyncActivityTypesRollerSki WithSportSettingsStravaSyncActivityTypes = "RollerSki" WithSportSettingsStravaSyncActivityTypesRowing WithSportSettingsStravaSyncActivityTypes = "Rowing" WithSportSettingsStravaSyncActivityTypesRugby WithSportSettingsStravaSyncActivityTypes = "Rugby" WithSportSettingsStravaSyncActivityTypesRun WithSportSettingsStravaSyncActivityTypes = "Run" WithSportSettingsStravaSyncActivityTypesSail WithSportSettingsStravaSyncActivityTypes = "Sail" WithSportSettingsStravaSyncActivityTypesSkateboard WithSportSettingsStravaSyncActivityTypes = "Skateboard" WithSportSettingsStravaSyncActivityTypesSnowboard WithSportSettingsStravaSyncActivityTypes = "Snowboard" WithSportSettingsStravaSyncActivityTypesSnowshoe WithSportSettingsStravaSyncActivityTypes = "Snowshoe" WithSportSettingsStravaSyncActivityTypesSoccer WithSportSettingsStravaSyncActivityTypes = "Soccer" WithSportSettingsStravaSyncActivityTypesSquash WithSportSettingsStravaSyncActivityTypes = "Squash" WithSportSettingsStravaSyncActivityTypesStairStepper WithSportSettingsStravaSyncActivityTypes = "StairStepper" WithSportSettingsStravaSyncActivityTypesStandUpPaddling WithSportSettingsStravaSyncActivityTypes = "StandUpPaddling" WithSportSettingsStravaSyncActivityTypesSurfing WithSportSettingsStravaSyncActivityTypes = "Surfing" WithSportSettingsStravaSyncActivityTypesSwim WithSportSettingsStravaSyncActivityTypes = "Swim" WithSportSettingsStravaSyncActivityTypesTableTennis WithSportSettingsStravaSyncActivityTypes = "TableTennis" WithSportSettingsStravaSyncActivityTypesTennis WithSportSettingsStravaSyncActivityTypes = "Tennis" WithSportSettingsStravaSyncActivityTypesTrackRide WithSportSettingsStravaSyncActivityTypes = "TrackRide" WithSportSettingsStravaSyncActivityTypesTrailRun WithSportSettingsStravaSyncActivityTypes = "TrailRun" WithSportSettingsStravaSyncActivityTypesTransition WithSportSettingsStravaSyncActivityTypes = "Transition" WithSportSettingsStravaSyncActivityTypesVelomobile WithSportSettingsStravaSyncActivityTypes = "Velomobile" WithSportSettingsStravaSyncActivityTypesVirtualRide WithSportSettingsStravaSyncActivityTypes = "VirtualRide" WithSportSettingsStravaSyncActivityTypesVirtualRow WithSportSettingsStravaSyncActivityTypes = "VirtualRow" WithSportSettingsStravaSyncActivityTypesVirtualRun WithSportSettingsStravaSyncActivityTypes = "VirtualRun" WithSportSettingsStravaSyncActivityTypesVirtualSki WithSportSettingsStravaSyncActivityTypes = "VirtualSki" WithSportSettingsStravaSyncActivityTypesWalk WithSportSettingsStravaSyncActivityTypes = "Walk" WithSportSettingsStravaSyncActivityTypesWaterSport WithSportSettingsStravaSyncActivityTypes = "WaterSport" WithSportSettingsStravaSyncActivityTypesWeightTraining WithSportSettingsStravaSyncActivityTypes = "WeightTraining" WithSportSettingsStravaSyncActivityTypesWheelchair WithSportSettingsStravaSyncActivityTypes = "Wheelchair" WithSportSettingsStravaSyncActivityTypesWindsurf WithSportSettingsStravaSyncActivityTypes = "Windsurf" WithSportSettingsStravaSyncActivityTypesWorkout WithSportSettingsStravaSyncActivityTypes = "Workout" WithSportSettingsStravaSyncActivityTypesYoga WithSportSettingsStravaSyncActivityTypes = "Yoga" )
Defines values for WithSportSettingsStravaSyncActivityTypes.
type WithSportSettingsSuuntoSyncActivityTypes ¶
type WithSportSettingsSuuntoSyncActivityTypes string
WithSportSettingsSuuntoSyncActivityTypes defines model for WithSportSettings.SuuntoSyncActivityTypes.
const ( WithSportSettingsSuuntoSyncActivityTypesAlpineSki WithSportSettingsSuuntoSyncActivityTypes = "AlpineSki" WithSportSettingsSuuntoSyncActivityTypesBackcountrySki WithSportSettingsSuuntoSyncActivityTypes = "BackcountrySki" WithSportSettingsSuuntoSyncActivityTypesBadminton WithSportSettingsSuuntoSyncActivityTypes = "Badminton" WithSportSettingsSuuntoSyncActivityTypesCanoeing WithSportSettingsSuuntoSyncActivityTypes = "Canoeing" WithSportSettingsSuuntoSyncActivityTypesCrossfit WithSportSettingsSuuntoSyncActivityTypes = "Crossfit" WithSportSettingsSuuntoSyncActivityTypesEBikeRide WithSportSettingsSuuntoSyncActivityTypes = "EBikeRide" WithSportSettingsSuuntoSyncActivityTypesEMountainBikeRide WithSportSettingsSuuntoSyncActivityTypes = "EMountainBikeRide" WithSportSettingsSuuntoSyncActivityTypesElliptical WithSportSettingsSuuntoSyncActivityTypes = "Elliptical" WithSportSettingsSuuntoSyncActivityTypesGolf WithSportSettingsSuuntoSyncActivityTypes = "Golf" WithSportSettingsSuuntoSyncActivityTypesGravelRide WithSportSettingsSuuntoSyncActivityTypes = "GravelRide" WithSportSettingsSuuntoSyncActivityTypesHandcycle WithSportSettingsSuuntoSyncActivityTypes = "Handcycle" WithSportSettingsSuuntoSyncActivityTypesHighIntensityIntervalTraining WithSportSettingsSuuntoSyncActivityTypes = "HighIntensityIntervalTraining" WithSportSettingsSuuntoSyncActivityTypesHike WithSportSettingsSuuntoSyncActivityTypes = "Hike" WithSportSettingsSuuntoSyncActivityTypesHockey WithSportSettingsSuuntoSyncActivityTypes = "Hockey" WithSportSettingsSuuntoSyncActivityTypesIceSkate WithSportSettingsSuuntoSyncActivityTypes = "IceSkate" WithSportSettingsSuuntoSyncActivityTypesInlineSkate WithSportSettingsSuuntoSyncActivityTypes = "InlineSkate" WithSportSettingsSuuntoSyncActivityTypesKayaking WithSportSettingsSuuntoSyncActivityTypes = "Kayaking" WithSportSettingsSuuntoSyncActivityTypesKitesurf WithSportSettingsSuuntoSyncActivityTypes = "Kitesurf" WithSportSettingsSuuntoSyncActivityTypesMountainBikeRide WithSportSettingsSuuntoSyncActivityTypes = "MountainBikeRide" WithSportSettingsSuuntoSyncActivityTypesNordicSki WithSportSettingsSuuntoSyncActivityTypes = "NordicSki" WithSportSettingsSuuntoSyncActivityTypesOpenWaterSwim WithSportSettingsSuuntoSyncActivityTypes = "OpenWaterSwim" WithSportSettingsSuuntoSyncActivityTypesOther WithSportSettingsSuuntoSyncActivityTypes = "Other" WithSportSettingsSuuntoSyncActivityTypesPadel WithSportSettingsSuuntoSyncActivityTypes = "Padel" WithSportSettingsSuuntoSyncActivityTypesPickleball WithSportSettingsSuuntoSyncActivityTypes = "Pickleball" WithSportSettingsSuuntoSyncActivityTypesPilates WithSportSettingsSuuntoSyncActivityTypes = "Pilates" WithSportSettingsSuuntoSyncActivityTypesRacquetball WithSportSettingsSuuntoSyncActivityTypes = "Racquetball" WithSportSettingsSuuntoSyncActivityTypesRide WithSportSettingsSuuntoSyncActivityTypes = "Ride" WithSportSettingsSuuntoSyncActivityTypesRockClimbing WithSportSettingsSuuntoSyncActivityTypes = "RockClimbing" WithSportSettingsSuuntoSyncActivityTypesRollerSki WithSportSettingsSuuntoSyncActivityTypes = "RollerSki" WithSportSettingsSuuntoSyncActivityTypesRowing WithSportSettingsSuuntoSyncActivityTypes = "Rowing" WithSportSettingsSuuntoSyncActivityTypesRugby WithSportSettingsSuuntoSyncActivityTypes = "Rugby" WithSportSettingsSuuntoSyncActivityTypesRun WithSportSettingsSuuntoSyncActivityTypes = "Run" WithSportSettingsSuuntoSyncActivityTypesSail WithSportSettingsSuuntoSyncActivityTypes = "Sail" WithSportSettingsSuuntoSyncActivityTypesSkateboard WithSportSettingsSuuntoSyncActivityTypes = "Skateboard" WithSportSettingsSuuntoSyncActivityTypesSnowboard WithSportSettingsSuuntoSyncActivityTypes = "Snowboard" WithSportSettingsSuuntoSyncActivityTypesSnowshoe WithSportSettingsSuuntoSyncActivityTypes = "Snowshoe" WithSportSettingsSuuntoSyncActivityTypesSoccer WithSportSettingsSuuntoSyncActivityTypes = "Soccer" WithSportSettingsSuuntoSyncActivityTypesSquash WithSportSettingsSuuntoSyncActivityTypes = "Squash" WithSportSettingsSuuntoSyncActivityTypesStairStepper WithSportSettingsSuuntoSyncActivityTypes = "StairStepper" WithSportSettingsSuuntoSyncActivityTypesStandUpPaddling WithSportSettingsSuuntoSyncActivityTypes = "StandUpPaddling" WithSportSettingsSuuntoSyncActivityTypesSurfing WithSportSettingsSuuntoSyncActivityTypes = "Surfing" WithSportSettingsSuuntoSyncActivityTypesSwim WithSportSettingsSuuntoSyncActivityTypes = "Swim" WithSportSettingsSuuntoSyncActivityTypesTableTennis WithSportSettingsSuuntoSyncActivityTypes = "TableTennis" WithSportSettingsSuuntoSyncActivityTypesTennis WithSportSettingsSuuntoSyncActivityTypes = "Tennis" WithSportSettingsSuuntoSyncActivityTypesTrackRide WithSportSettingsSuuntoSyncActivityTypes = "TrackRide" WithSportSettingsSuuntoSyncActivityTypesTrailRun WithSportSettingsSuuntoSyncActivityTypes = "TrailRun" WithSportSettingsSuuntoSyncActivityTypesTransition WithSportSettingsSuuntoSyncActivityTypes = "Transition" WithSportSettingsSuuntoSyncActivityTypesVelomobile WithSportSettingsSuuntoSyncActivityTypes = "Velomobile" WithSportSettingsSuuntoSyncActivityTypesVirtualRide WithSportSettingsSuuntoSyncActivityTypes = "VirtualRide" WithSportSettingsSuuntoSyncActivityTypesVirtualRow WithSportSettingsSuuntoSyncActivityTypes = "VirtualRow" WithSportSettingsSuuntoSyncActivityTypesVirtualRun WithSportSettingsSuuntoSyncActivityTypes = "VirtualRun" WithSportSettingsSuuntoSyncActivityTypesVirtualSki WithSportSettingsSuuntoSyncActivityTypes = "VirtualSki" WithSportSettingsSuuntoSyncActivityTypesWalk WithSportSettingsSuuntoSyncActivityTypes = "Walk" WithSportSettingsSuuntoSyncActivityTypesWaterSport WithSportSettingsSuuntoSyncActivityTypes = "WaterSport" WithSportSettingsSuuntoSyncActivityTypesWeightTraining WithSportSettingsSuuntoSyncActivityTypes = "WeightTraining" WithSportSettingsSuuntoSyncActivityTypesWheelchair WithSportSettingsSuuntoSyncActivityTypes = "Wheelchair" WithSportSettingsSuuntoSyncActivityTypesWindsurf WithSportSettingsSuuntoSyncActivityTypes = "Windsurf" WithSportSettingsSuuntoSyncActivityTypesWorkout WithSportSettingsSuuntoSyncActivityTypes = "Workout" WithSportSettingsSuuntoSyncActivityTypesYoga WithSportSettingsSuuntoSyncActivityTypes = "Yoga" )
Defines values for WithSportSettingsSuuntoSyncActivityTypes.
type WithSportSettingsVisibility ¶
type WithSportSettingsVisibility string
WithSportSettingsVisibility defines model for WithSportSettings.Visibility.
const ( HIDDEN WithSportSettingsVisibility = "HIDDEN" PRIVATE WithSportSettingsVisibility = "PRIVATE" PUBLIC WithSportSettingsVisibility = "PUBLIC" )
Defines values for WithSportSettingsVisibility.
type WithSportSettingsWindSpeed ¶
type WithSportSettingsWindSpeed string
WithSportSettingsWindSpeed defines model for WithSportSettings.WindSpeed.
const ( BFT WithSportSettingsWindSpeed = "BFT" KMH WithSportSettingsWindSpeed = "KMH" KNOTS WithSportSettingsWindSpeed = "KNOTS" MPH WithSportSettingsWindSpeed = "MPH" MPS WithSportSettingsWindSpeed = "MPS" )
Defines values for WithSportSettingsWindSpeed.
type Workout ¶
type Workout struct {
AthleteId *string `json:"athlete_id,omitempty"`
Attachments *[]Attachment `json:"attachments,omitempty"`
CarbsPerHour *int32 `json:"carbs_per_hour,omitempty"`
Color *string `json:"color,omitempty"`
Day *int32 `json:"day,omitempty"`
Days *int32 `json:"days,omitempty"`
Description *string `json:"description,omitempty"`
Distance *float32 `json:"distance,omitempty"`
FolderId *int32 `json:"folder_id,omitempty"`
ForWeek *bool `json:"for_week,omitempty"`
HideFromAthlete *bool `json:"hide_from_athlete,omitempty"`
IcuIntensity *float32 `json:"icu_intensity,omitempty"`
IcuTrainingLoad *int32 `json:"icu_training_load,omitempty"`
Id *int32 `json:"id,omitempty"`
Indoor *bool `json:"indoor,omitempty"`
Joules *int32 `json:"joules,omitempty"`
JoulesAboveFtp *int32 `json:"joules_above_ftp,omitempty"`
MovingTime *int32 `json:"moving_time,omitempty"`
Name *string `json:"name,omitempty"`
PlanApplied *time.Time `json:"plan_applied,omitempty"`
SubType *WorkoutSubType `json:"sub_type,omitempty"`
Tags *[]string `json:"tags,omitempty"`
Target *WorkoutTarget `json:"target,omitempty"`
Targets *[]WorkoutTargets `json:"targets,omitempty"`
Time *string `json:"time,omitempty"`
Type *string `json:"type,omitempty"`
Updated *time.Time `json:"updated,omitempty"`
WorkoutDoc *map[string]map[string]interface{} `json:"workout_doc,omitempty"`
}
Workout defines model for Workout.
type WorkoutEx ¶
type WorkoutEx struct {
AthleteId *string `json:"athlete_id,omitempty"`
Attachments *[]Attachment `json:"attachments,omitempty"`
CarbsPerHour *int32 `json:"carbs_per_hour,omitempty"`
Color *string `json:"color,omitempty"`
Day *int32 `json:"day,omitempty"`
Days *int32 `json:"days,omitempty"`
Description *string `json:"description,omitempty"`
Distance *float32 `json:"distance,omitempty"`
FileContents *string `json:"file_contents,omitempty"`
FileContentsBase64 *string `json:"file_contents_base64,omitempty"`
Filename *string `json:"filename,omitempty"`
FolderId *int32 `json:"folder_id,omitempty"`
ForWeek *bool `json:"for_week,omitempty"`
HideFromAthlete *bool `json:"hide_from_athlete,omitempty"`
IcuIntensity *float32 `json:"icu_intensity,omitempty"`
IcuTrainingLoad *int32 `json:"icu_training_load,omitempty"`
Id *int32 `json:"id,omitempty"`
Indoor *bool `json:"indoor,omitempty"`
Joules *int32 `json:"joules,omitempty"`
JoulesAboveFtp *int32 `json:"joules_above_ftp,omitempty"`
MovingTime *int32 `json:"moving_time,omitempty"`
Name *string `json:"name,omitempty"`
PlanApplied *time.Time `json:"plan_applied,omitempty"`
SubType *WorkoutExSubType `json:"sub_type,omitempty"`
Tags *[]string `json:"tags,omitempty"`
Target *WorkoutExTarget `json:"target,omitempty"`
Targets *[]WorkoutExTargets `json:"targets,omitempty"`
Time *string `json:"time,omitempty"`
Type *string `json:"type,omitempty"`
Updated *time.Time `json:"updated,omitempty"`
WorkoutDoc *map[string]map[string]interface{} `json:"workout_doc,omitempty"`
}
WorkoutEx defines model for WorkoutEx.
type WorkoutExSubType ¶
type WorkoutExSubType string
WorkoutExSubType defines model for WorkoutEx.SubType.
const ( COMMUTE WorkoutExSubType = "COMMUTE" COOLDOWN WorkoutExSubType = "COOLDOWN" NONE WorkoutExSubType = "NONE" RACE WorkoutExSubType = "RACE" WARMUP WorkoutExSubType = "WARMUP" )
Defines values for WorkoutExSubType.
type WorkoutExTarget ¶
type WorkoutExTarget string
WorkoutExTarget defines model for WorkoutEx.Target.
const ( WorkoutExTargetAUTO WorkoutExTarget = "AUTO" WorkoutExTargetHR WorkoutExTarget = "HR" WorkoutExTargetPACE WorkoutExTarget = "PACE" WorkoutExTargetPOWER WorkoutExTarget = "POWER" )
Defines values for WorkoutExTarget.
type WorkoutExTargets ¶
type WorkoutExTargets string
WorkoutExTargets defines model for WorkoutEx.Targets.
const ( WorkoutExTargetsAUTO WorkoutExTargets = "AUTO" WorkoutExTargetsHR WorkoutExTargets = "HR" WorkoutExTargetsPACE WorkoutExTargets = "PACE" WorkoutExTargetsPOWER WorkoutExTargets = "POWER" )
Defines values for WorkoutExTargets.
type WorkoutSubType ¶
type WorkoutSubType string
WorkoutSubType defines model for Workout.SubType.
const ( WorkoutSubTypeCOMMUTE WorkoutSubType = "COMMUTE" WorkoutSubTypeCOOLDOWN WorkoutSubType = "COOLDOWN" WorkoutSubTypeNONE WorkoutSubType = "NONE" WorkoutSubTypeRACE WorkoutSubType = "RACE" WorkoutSubTypeWARMUP WorkoutSubType = "WARMUP" )
Defines values for WorkoutSubType.
type WorkoutTarget ¶
type WorkoutTarget string
WorkoutTarget defines model for Workout.Target.
const ( WorkoutTargetAUTO WorkoutTarget = "AUTO" WorkoutTargetHR WorkoutTarget = "HR" WorkoutTargetPACE WorkoutTarget = "PACE" WorkoutTargetPOWER WorkoutTarget = "POWER" )
Defines values for WorkoutTarget.
type WorkoutTargets ¶
type WorkoutTargets string
WorkoutTargets defines model for Workout.Targets.
const ( WorkoutTargetsAUTO WorkoutTargets = "AUTO" WorkoutTargetsHR WorkoutTargets = "HR" WorkoutTargetsPACE WorkoutTargets = "PACE" WorkoutTargetsPOWER WorkoutTargets = "POWER" )
Defines values for WorkoutTargets.
type ZoneInfo ¶
type ZoneInfo struct {
End *float32 `json:"end,omitempty"`
EndValue *float32 `json:"end_value,omitempty"`
Id *string `json:"id,omitempty"`
Secs *int32 `json:"secs,omitempty"`
Start *float32 `json:"start,omitempty"`
StartValue *float32 `json:"start_value,omitempty"`
}
ZoneInfo defines model for ZoneInfo.