Documentation ¶
Index ¶
- Variables
- func CacheExpires(r *http.Response) time.Time
- func IsNil(i interface{}) bool
- func PtrBool(v bool) *bool
- func PtrFloat32(v float32) *float32
- func PtrFloat64(v float64) *float64
- func PtrInt(v int) *int
- func PtrInt32(v int32) *int32
- func PtrInt64(v int64) *int64
- func PtrString(v string) *string
- func PtrTime(v time.Time) *time.Time
- type APIClient
- type APIKey
- type APIResponse
- type ActivitiesAPIService
- func (a *ActivitiesAPIService) CreateActivity(ctx context.Context) ApiCreateActivityRequest
- func (a *ActivitiesAPIService) CreateActivityExecute(r ApiCreateActivityRequest) (*DetailedActivity, *http.Response, error)
- func (a *ActivitiesAPIService) GetActivityById(ctx context.Context, id int64) ApiGetActivityByIdRequest
- func (a *ActivitiesAPIService) GetActivityByIdExecute(r ApiGetActivityByIdRequest) (*DetailedActivity, *http.Response, error)
- func (a *ActivitiesAPIService) GetCommentsByActivityId(ctx context.Context, id int64) ApiGetCommentsByActivityIdRequest
- func (a *ActivitiesAPIService) GetCommentsByActivityIdExecute(r ApiGetCommentsByActivityIdRequest) ([]Comment, *http.Response, error)
- func (a *ActivitiesAPIService) GetKudoersByActivityId(ctx context.Context, id int64) ApiGetKudoersByActivityIdRequest
- func (a *ActivitiesAPIService) GetKudoersByActivityIdExecute(r ApiGetKudoersByActivityIdRequest) ([]SummaryAthlete, *http.Response, error)
- func (a *ActivitiesAPIService) GetLapsByActivityId(ctx context.Context, id int64) ApiGetLapsByActivityIdRequest
- func (a *ActivitiesAPIService) GetLapsByActivityIdExecute(r ApiGetLapsByActivityIdRequest) ([]Lap, *http.Response, error)
- func (a *ActivitiesAPIService) GetLoggedInAthleteActivities(ctx context.Context) ApiGetLoggedInAthleteActivitiesRequest
- func (a *ActivitiesAPIService) GetLoggedInAthleteActivitiesExecute(r ApiGetLoggedInAthleteActivitiesRequest) ([]SummaryActivity, *http.Response, error)
- func (a *ActivitiesAPIService) GetZonesByActivityId(ctx context.Context, id int64) ApiGetZonesByActivityIdRequest
- func (a *ActivitiesAPIService) GetZonesByActivityIdExecute(r ApiGetZonesByActivityIdRequest) ([]ActivityZone, *http.Response, error)
- func (a *ActivitiesAPIService) UpdateActivityById(ctx context.Context, id int64) ApiUpdateActivityByIdRequest
- func (a *ActivitiesAPIService) UpdateActivityByIdExecute(r ApiUpdateActivityByIdRequest) (*DetailedActivity, *http.Response, error)
- type ActivityStats
- func (o *ActivityStats) GetAllRideTotals() ActivityTotal
- func (o *ActivityStats) GetAllRideTotalsOk() (*ActivityTotal, bool)
- func (o *ActivityStats) GetAllRunTotals() ActivityTotal
- func (o *ActivityStats) GetAllRunTotalsOk() (*ActivityTotal, bool)
- func (o *ActivityStats) GetAllSwimTotals() ActivityTotal
- func (o *ActivityStats) GetAllSwimTotalsOk() (*ActivityTotal, bool)
- func (o *ActivityStats) GetBiggestClimbElevationGain() float64
- func (o *ActivityStats) GetBiggestClimbElevationGainOk() (*float64, bool)
- func (o *ActivityStats) GetBiggestRideDistance() float64
- func (o *ActivityStats) GetBiggestRideDistanceOk() (*float64, bool)
- func (o *ActivityStats) GetRecentRideTotals() ActivityTotal
- func (o *ActivityStats) GetRecentRideTotalsOk() (*ActivityTotal, bool)
- func (o *ActivityStats) GetRecentRunTotals() ActivityTotal
- func (o *ActivityStats) GetRecentRunTotalsOk() (*ActivityTotal, bool)
- func (o *ActivityStats) GetRecentSwimTotals() ActivityTotal
- func (o *ActivityStats) GetRecentSwimTotalsOk() (*ActivityTotal, bool)
- func (o *ActivityStats) GetYtdRideTotals() ActivityTotal
- func (o *ActivityStats) GetYtdRideTotalsOk() (*ActivityTotal, bool)
- func (o *ActivityStats) GetYtdRunTotals() ActivityTotal
- func (o *ActivityStats) GetYtdRunTotalsOk() (*ActivityTotal, bool)
- func (o *ActivityStats) GetYtdSwimTotals() ActivityTotal
- func (o *ActivityStats) GetYtdSwimTotalsOk() (*ActivityTotal, bool)
- func (o *ActivityStats) HasAllRideTotals() bool
- func (o *ActivityStats) HasAllRunTotals() bool
- func (o *ActivityStats) HasAllSwimTotals() bool
- func (o *ActivityStats) HasBiggestClimbElevationGain() bool
- func (o *ActivityStats) HasBiggestRideDistance() bool
- func (o *ActivityStats) HasRecentRideTotals() bool
- func (o *ActivityStats) HasRecentRunTotals() bool
- func (o *ActivityStats) HasRecentSwimTotals() bool
- func (o *ActivityStats) HasYtdRideTotals() bool
- func (o *ActivityStats) HasYtdRunTotals() bool
- func (o *ActivityStats) HasYtdSwimTotals() bool
- func (o ActivityStats) MarshalJSON() ([]byte, error)
- func (o *ActivityStats) SetAllRideTotals(v ActivityTotal)
- func (o *ActivityStats) SetAllRunTotals(v ActivityTotal)
- func (o *ActivityStats) SetAllSwimTotals(v ActivityTotal)
- func (o *ActivityStats) SetBiggestClimbElevationGain(v float64)
- func (o *ActivityStats) SetBiggestRideDistance(v float64)
- func (o *ActivityStats) SetRecentRideTotals(v ActivityTotal)
- func (o *ActivityStats) SetRecentRunTotals(v ActivityTotal)
- func (o *ActivityStats) SetRecentSwimTotals(v ActivityTotal)
- func (o *ActivityStats) SetYtdRideTotals(v ActivityTotal)
- func (o *ActivityStats) SetYtdRunTotals(v ActivityTotal)
- func (o *ActivityStats) SetYtdSwimTotals(v ActivityTotal)
- func (o ActivityStats) ToMap() (map[string]interface{}, error)
- type ActivityTotal
- func (o *ActivityTotal) GetAchievementCount() int32
- func (o *ActivityTotal) GetAchievementCountOk() (*int32, bool)
- func (o *ActivityTotal) GetCount() int32
- func (o *ActivityTotal) GetCountOk() (*int32, bool)
- func (o *ActivityTotal) GetDistance() float32
- func (o *ActivityTotal) GetDistanceOk() (*float32, bool)
- func (o *ActivityTotal) GetElapsedTime() int32
- func (o *ActivityTotal) GetElapsedTimeOk() (*int32, bool)
- func (o *ActivityTotal) GetElevationGain() float32
- func (o *ActivityTotal) GetElevationGainOk() (*float32, bool)
- func (o *ActivityTotal) GetMovingTime() int32
- func (o *ActivityTotal) GetMovingTimeOk() (*int32, bool)
- func (o *ActivityTotal) HasAchievementCount() bool
- func (o *ActivityTotal) HasCount() bool
- func (o *ActivityTotal) HasDistance() bool
- func (o *ActivityTotal) HasElapsedTime() bool
- func (o *ActivityTotal) HasElevationGain() bool
- func (o *ActivityTotal) HasMovingTime() bool
- func (o ActivityTotal) MarshalJSON() ([]byte, error)
- func (o *ActivityTotal) SetAchievementCount(v int32)
- func (o *ActivityTotal) SetCount(v int32)
- func (o *ActivityTotal) SetDistance(v float32)
- func (o *ActivityTotal) SetElapsedTime(v int32)
- func (o *ActivityTotal) SetElevationGain(v float32)
- func (o *ActivityTotal) SetMovingTime(v int32)
- func (o ActivityTotal) ToMap() (map[string]interface{}, error)
- type ActivityType
- type ActivityZone
- func (o *ActivityZone) GetCustomZones() bool
- func (o *ActivityZone) GetCustomZonesOk() (*bool, bool)
- func (o *ActivityZone) GetDistributionBuckets() []TimedZoneRange
- func (o *ActivityZone) GetDistributionBucketsOk() ([]TimedZoneRange, bool)
- func (o *ActivityZone) GetMax() int32
- func (o *ActivityZone) GetMaxOk() (*int32, bool)
- func (o *ActivityZone) GetPoints() int32
- func (o *ActivityZone) GetPointsOk() (*int32, bool)
- func (o *ActivityZone) GetScore() int32
- func (o *ActivityZone) GetScoreOk() (*int32, bool)
- func (o *ActivityZone) GetSensorBased() bool
- func (o *ActivityZone) GetSensorBasedOk() (*bool, bool)
- func (o *ActivityZone) GetType() string
- func (o *ActivityZone) GetTypeOk() (*string, bool)
- func (o *ActivityZone) HasCustomZones() bool
- func (o *ActivityZone) HasDistributionBuckets() bool
- func (o *ActivityZone) HasMax() bool
- func (o *ActivityZone) HasPoints() bool
- func (o *ActivityZone) HasScore() bool
- func (o *ActivityZone) HasSensorBased() bool
- func (o *ActivityZone) HasType() bool
- func (o ActivityZone) MarshalJSON() ([]byte, error)
- func (o *ActivityZone) SetCustomZones(v bool)
- func (o *ActivityZone) SetDistributionBuckets(v []TimedZoneRange)
- func (o *ActivityZone) SetMax(v int32)
- func (o *ActivityZone) SetPoints(v int32)
- func (o *ActivityZone) SetScore(v int32)
- func (o *ActivityZone) SetSensorBased(v bool)
- func (o *ActivityZone) SetType(v string)
- func (o ActivityZone) ToMap() (map[string]interface{}, error)
- type AltitudeStream
- func (o *AltitudeStream) GetData() []float32
- func (o *AltitudeStream) GetDataOk() ([]float32, bool)
- func (o *AltitudeStream) GetOriginalSize() int32
- func (o *AltitudeStream) GetOriginalSizeOk() (*int32, bool)
- func (o *AltitudeStream) GetResolution() string
- func (o *AltitudeStream) GetResolutionOk() (*string, bool)
- func (o *AltitudeStream) GetSeriesType() string
- func (o *AltitudeStream) GetSeriesTypeOk() (*string, bool)
- func (o *AltitudeStream) HasData() bool
- func (o *AltitudeStream) HasOriginalSize() bool
- func (o *AltitudeStream) HasResolution() bool
- func (o *AltitudeStream) HasSeriesType() bool
- func (o AltitudeStream) MarshalJSON() ([]byte, error)
- func (o *AltitudeStream) SetData(v []float32)
- func (o *AltitudeStream) SetOriginalSize(v int32)
- func (o *AltitudeStream) SetResolution(v string)
- func (o *AltitudeStream) SetSeriesType(v string)
- func (o AltitudeStream) ToMap() (map[string]interface{}, error)
- type ApiCreateActivityRequest
- func (r ApiCreateActivityRequest) Commute(commute int32) ApiCreateActivityRequest
- func (r ApiCreateActivityRequest) Description(description string) ApiCreateActivityRequest
- func (r ApiCreateActivityRequest) Distance(distance float32) ApiCreateActivityRequest
- func (r ApiCreateActivityRequest) ElapsedTime(elapsedTime int32) ApiCreateActivityRequest
- func (r ApiCreateActivityRequest) Execute() (*DetailedActivity, *http.Response, error)
- func (r ApiCreateActivityRequest) Name(name string) ApiCreateActivityRequest
- func (r ApiCreateActivityRequest) SportType(sportType string) ApiCreateActivityRequest
- func (r ApiCreateActivityRequest) StartDateLocal(startDateLocal time.Time) ApiCreateActivityRequest
- func (r ApiCreateActivityRequest) Trainer(trainer int32) ApiCreateActivityRequest
- func (r ApiCreateActivityRequest) Type_(type_ string) ApiCreateActivityRequest
- type ApiCreateUploadRequest
- func (r ApiCreateUploadRequest) Commute(commute string) ApiCreateUploadRequest
- func (r ApiCreateUploadRequest) DataType(dataType string) ApiCreateUploadRequest
- func (r ApiCreateUploadRequest) Description(description string) ApiCreateUploadRequest
- func (r ApiCreateUploadRequest) Execute() (*Upload, *http.Response, error)
- func (r ApiCreateUploadRequest) ExternalId(externalId string) ApiCreateUploadRequest
- func (r ApiCreateUploadRequest) File(file *os.File) ApiCreateUploadRequest
- func (r ApiCreateUploadRequest) Name(name string) ApiCreateUploadRequest
- func (r ApiCreateUploadRequest) Trainer(trainer string) ApiCreateUploadRequest
- type ApiExploreSegmentsRequest
- func (r ApiExploreSegmentsRequest) ActivityType(activityType string) ApiExploreSegmentsRequest
- func (r ApiExploreSegmentsRequest) Bounds(bounds []float32) ApiExploreSegmentsRequest
- func (r ApiExploreSegmentsRequest) Execute() (*ExplorerResponse, *http.Response, error)
- func (r ApiExploreSegmentsRequest) MaxCat(maxCat int32) ApiExploreSegmentsRequest
- func (r ApiExploreSegmentsRequest) MinCat(minCat int32) ApiExploreSegmentsRequest
- type ApiGetActivityByIdRequest
- type ApiGetActivityStreamsRequest
- type ApiGetClubActivitiesByIdRequest
- type ApiGetClubAdminsByIdRequest
- type ApiGetClubByIdRequest
- type ApiGetClubMembersByIdRequest
- type ApiGetCommentsByActivityIdRequest
- func (r ApiGetCommentsByActivityIdRequest) AfterCursor(afterCursor string) ApiGetCommentsByActivityIdRequest
- func (r ApiGetCommentsByActivityIdRequest) Execute() ([]Comment, *http.Response, error)
- func (r ApiGetCommentsByActivityIdRequest) Page(page int32) ApiGetCommentsByActivityIdRequest
- func (r ApiGetCommentsByActivityIdRequest) PageSize(pageSize int32) ApiGetCommentsByActivityIdRequest
- func (r ApiGetCommentsByActivityIdRequest) PerPage(perPage int32) ApiGetCommentsByActivityIdRequest
- type ApiGetEffortsBySegmentIdRequest
- func (r ApiGetEffortsBySegmentIdRequest) EndDateLocal(endDateLocal time.Time) ApiGetEffortsBySegmentIdRequest
- func (r ApiGetEffortsBySegmentIdRequest) Execute() ([]DetailedSegmentEffort, *http.Response, error)
- func (r ApiGetEffortsBySegmentIdRequest) PerPage(perPage int32) ApiGetEffortsBySegmentIdRequest
- func (r ApiGetEffortsBySegmentIdRequest) SegmentId(segmentId int32) ApiGetEffortsBySegmentIdRequest
- func (r ApiGetEffortsBySegmentIdRequest) StartDateLocal(startDateLocal time.Time) ApiGetEffortsBySegmentIdRequest
- type ApiGetGearByIdRequest
- type ApiGetKudoersByActivityIdRequest
- type ApiGetLapsByActivityIdRequest
- type ApiGetLoggedInAthleteActivitiesRequest
- func (r ApiGetLoggedInAthleteActivitiesRequest) After(after int32) ApiGetLoggedInAthleteActivitiesRequest
- func (r ApiGetLoggedInAthleteActivitiesRequest) Before(before int32) ApiGetLoggedInAthleteActivitiesRequest
- func (r ApiGetLoggedInAthleteActivitiesRequest) Execute() ([]SummaryActivity, *http.Response, error)
- func (r ApiGetLoggedInAthleteActivitiesRequest) Page(page int32) ApiGetLoggedInAthleteActivitiesRequest
- func (r ApiGetLoggedInAthleteActivitiesRequest) PerPage(perPage int32) ApiGetLoggedInAthleteActivitiesRequest
- type ApiGetLoggedInAthleteClubsRequest
- type ApiGetLoggedInAthleteRequest
- type ApiGetLoggedInAthleteStarredSegmentsRequest
- func (r ApiGetLoggedInAthleteStarredSegmentsRequest) Execute() ([]SummarySegment, *http.Response, error)
- func (r ApiGetLoggedInAthleteStarredSegmentsRequest) Page(page int32) ApiGetLoggedInAthleteStarredSegmentsRequest
- func (r ApiGetLoggedInAthleteStarredSegmentsRequest) PerPage(perPage int32) ApiGetLoggedInAthleteStarredSegmentsRequest
- type ApiGetLoggedInAthleteZonesRequest
- type ApiGetRouteAsGPXRequest
- type ApiGetRouteAsTCXRequest
- type ApiGetRouteByIdRequest
- type ApiGetRouteStreamsRequest
- type ApiGetRoutesByAthleteIdRequest
- type ApiGetSegmentByIdRequest
- type ApiGetSegmentEffortByIdRequest
- type ApiGetSegmentEffortStreamsRequest
- type ApiGetSegmentStreamsRequest
- type ApiGetStatsRequest
- type ApiGetUploadByIdRequest
- type ApiGetZonesByActivityIdRequest
- type ApiStarSegmentRequest
- type ApiUpdateActivityByIdRequest
- type ApiUpdateLoggedInAthleteRequest
- type AthletesAPIService
- func (a *AthletesAPIService) GetLoggedInAthlete(ctx context.Context) ApiGetLoggedInAthleteRequest
- func (a *AthletesAPIService) GetLoggedInAthleteExecute(r ApiGetLoggedInAthleteRequest) (*DetailedAthlete, *http.Response, error)
- func (a *AthletesAPIService) GetLoggedInAthleteZones(ctx context.Context) ApiGetLoggedInAthleteZonesRequest
- func (a *AthletesAPIService) GetLoggedInAthleteZonesExecute(r ApiGetLoggedInAthleteZonesRequest) (*Zones, *http.Response, error)
- func (a *AthletesAPIService) GetStats(ctx context.Context, id int64) ApiGetStatsRequest
- func (a *AthletesAPIService) GetStatsExecute(r ApiGetStatsRequest) (*ActivityStats, *http.Response, error)
- func (a *AthletesAPIService) UpdateLoggedInAthlete(ctx context.Context, weight float32) ApiUpdateLoggedInAthleteRequest
- func (a *AthletesAPIService) UpdateLoggedInAthleteExecute(r ApiUpdateLoggedInAthleteRequest) (*DetailedAthlete, *http.Response, error)
- type BaseStream
- func (o *BaseStream) GetOriginalSize() int32
- func (o *BaseStream) GetOriginalSizeOk() (*int32, bool)
- func (o *BaseStream) GetResolution() string
- func (o *BaseStream) GetResolutionOk() (*string, bool)
- func (o *BaseStream) GetSeriesType() string
- func (o *BaseStream) GetSeriesTypeOk() (*string, bool)
- func (o *BaseStream) HasOriginalSize() bool
- func (o *BaseStream) HasResolution() bool
- func (o *BaseStream) HasSeriesType() bool
- func (o BaseStream) MarshalJSON() ([]byte, error)
- func (o *BaseStream) SetOriginalSize(v int32)
- func (o *BaseStream) SetResolution(v string)
- func (o *BaseStream) SetSeriesType(v string)
- func (o BaseStream) ToMap() (map[string]interface{}, error)
- type BasicAuth
- type CadenceStream
- func (o *CadenceStream) GetData() []int32
- func (o *CadenceStream) GetDataOk() ([]int32, bool)
- func (o *CadenceStream) GetOriginalSize() int32
- func (o *CadenceStream) GetOriginalSizeOk() (*int32, bool)
- func (o *CadenceStream) GetResolution() string
- func (o *CadenceStream) GetResolutionOk() (*string, bool)
- func (o *CadenceStream) GetSeriesType() string
- func (o *CadenceStream) GetSeriesTypeOk() (*string, bool)
- func (o *CadenceStream) HasData() bool
- func (o *CadenceStream) HasOriginalSize() bool
- func (o *CadenceStream) HasResolution() bool
- func (o *CadenceStream) HasSeriesType() bool
- func (o CadenceStream) MarshalJSON() ([]byte, error)
- func (o *CadenceStream) SetData(v []int32)
- func (o *CadenceStream) SetOriginalSize(v int32)
- func (o *CadenceStream) SetResolution(v string)
- func (o *CadenceStream) SetSeriesType(v string)
- func (o CadenceStream) ToMap() (map[string]interface{}, error)
- type ClubActivity
- func (o *ClubActivity) GetAthlete() MetaAthlete
- func (o *ClubActivity) GetAthleteOk() (*MetaAthlete, bool)
- func (o *ClubActivity) GetDistance() float32
- func (o *ClubActivity) GetDistanceOk() (*float32, bool)
- func (o *ClubActivity) GetElapsedTime() int32
- func (o *ClubActivity) GetElapsedTimeOk() (*int32, bool)
- func (o *ClubActivity) GetMovingTime() int32
- func (o *ClubActivity) GetMovingTimeOk() (*int32, bool)
- func (o *ClubActivity) GetName() string
- func (o *ClubActivity) GetNameOk() (*string, bool)
- func (o *ClubActivity) GetSportType() SportType
- func (o *ClubActivity) GetSportTypeOk() (*SportType, bool)
- func (o *ClubActivity) GetTotalElevationGain() float32
- func (o *ClubActivity) GetTotalElevationGainOk() (*float32, bool)
- func (o *ClubActivity) GetType() ActivityType
- func (o *ClubActivity) GetTypeOk() (*ActivityType, bool)
- func (o *ClubActivity) GetWorkoutType() int32
- func (o *ClubActivity) GetWorkoutTypeOk() (*int32, bool)
- func (o *ClubActivity) HasAthlete() bool
- func (o *ClubActivity) HasDistance() bool
- func (o *ClubActivity) HasElapsedTime() bool
- func (o *ClubActivity) HasMovingTime() bool
- func (o *ClubActivity) HasName() bool
- func (o *ClubActivity) HasSportType() bool
- func (o *ClubActivity) HasTotalElevationGain() bool
- func (o *ClubActivity) HasType() bool
- func (o *ClubActivity) HasWorkoutType() bool
- func (o ClubActivity) MarshalJSON() ([]byte, error)
- func (o *ClubActivity) SetAthlete(v MetaAthlete)
- func (o *ClubActivity) SetDistance(v float32)
- func (o *ClubActivity) SetElapsedTime(v int32)
- func (o *ClubActivity) SetMovingTime(v int32)
- func (o *ClubActivity) SetName(v string)
- func (o *ClubActivity) SetSportType(v SportType)
- func (o *ClubActivity) SetTotalElevationGain(v float32)
- func (o *ClubActivity) SetType(v ActivityType)
- func (o *ClubActivity) SetWorkoutType(v int32)
- func (o ClubActivity) ToMap() (map[string]interface{}, error)
- type ClubAthlete
- func (o *ClubAthlete) GetAdmin() bool
- func (o *ClubAthlete) GetAdminOk() (*bool, bool)
- func (o *ClubAthlete) GetFirstname() string
- func (o *ClubAthlete) GetFirstnameOk() (*string, bool)
- func (o *ClubAthlete) GetLastname() string
- func (o *ClubAthlete) GetLastnameOk() (*string, bool)
- func (o *ClubAthlete) GetMember() string
- func (o *ClubAthlete) GetMemberOk() (*string, bool)
- func (o *ClubAthlete) GetOwner() bool
- func (o *ClubAthlete) GetOwnerOk() (*bool, bool)
- func (o *ClubAthlete) GetResourceState() int32
- func (o *ClubAthlete) GetResourceStateOk() (*int32, bool)
- func (o *ClubAthlete) HasAdmin() bool
- func (o *ClubAthlete) HasFirstname() bool
- func (o *ClubAthlete) HasLastname() bool
- func (o *ClubAthlete) HasMember() bool
- func (o *ClubAthlete) HasOwner() bool
- func (o *ClubAthlete) HasResourceState() bool
- func (o ClubAthlete) MarshalJSON() ([]byte, error)
- func (o *ClubAthlete) SetAdmin(v bool)
- func (o *ClubAthlete) SetFirstname(v string)
- func (o *ClubAthlete) SetLastname(v string)
- func (o *ClubAthlete) SetMember(v string)
- func (o *ClubAthlete) SetOwner(v bool)
- func (o *ClubAthlete) SetResourceState(v int32)
- func (o ClubAthlete) ToMap() (map[string]interface{}, error)
- type ClubsAPIService
- func (a *ClubsAPIService) GetClubActivitiesById(ctx context.Context, id int64) ApiGetClubActivitiesByIdRequest
- func (a *ClubsAPIService) GetClubActivitiesByIdExecute(r ApiGetClubActivitiesByIdRequest) ([]ClubActivity, *http.Response, error)
- func (a *ClubsAPIService) GetClubAdminsById(ctx context.Context, id int64) ApiGetClubAdminsByIdRequest
- func (a *ClubsAPIService) GetClubAdminsByIdExecute(r ApiGetClubAdminsByIdRequest) ([]SummaryAthlete, *http.Response, error)
- func (a *ClubsAPIService) GetClubById(ctx context.Context, id int64) ApiGetClubByIdRequest
- func (a *ClubsAPIService) GetClubByIdExecute(r ApiGetClubByIdRequest) (*DetailedClub, *http.Response, error)
- func (a *ClubsAPIService) GetClubMembersById(ctx context.Context, id int64) ApiGetClubMembersByIdRequest
- func (a *ClubsAPIService) GetClubMembersByIdExecute(r ApiGetClubMembersByIdRequest) ([]ClubAthlete, *http.Response, error)
- func (a *ClubsAPIService) GetLoggedInAthleteClubs(ctx context.Context) ApiGetLoggedInAthleteClubsRequest
- func (a *ClubsAPIService) GetLoggedInAthleteClubsExecute(r ApiGetLoggedInAthleteClubsRequest) ([]SummaryClub, *http.Response, error)
- type Comment
- func (o *Comment) GetActivityId() int64
- func (o *Comment) GetActivityIdOk() (*int64, bool)
- func (o *Comment) GetAthlete() SummaryAthlete
- func (o *Comment) GetAthleteOk() (*SummaryAthlete, bool)
- func (o *Comment) GetCreatedAt() time.Time
- func (o *Comment) GetCreatedAtOk() (*time.Time, bool)
- func (o *Comment) GetId() int64
- func (o *Comment) GetIdOk() (*int64, bool)
- func (o *Comment) GetText() string
- func (o *Comment) GetTextOk() (*string, bool)
- func (o *Comment) HasActivityId() bool
- func (o *Comment) HasAthlete() bool
- func (o *Comment) HasCreatedAt() bool
- func (o *Comment) HasId() bool
- func (o *Comment) HasText() bool
- func (o Comment) MarshalJSON() ([]byte, error)
- func (o *Comment) SetActivityId(v int64)
- func (o *Comment) SetAthlete(v SummaryAthlete)
- func (o *Comment) SetCreatedAt(v time.Time)
- func (o *Comment) SetId(v int64)
- func (o *Comment) SetText(v string)
- func (o Comment) ToMap() (map[string]interface{}, error)
- type Configuration
- type DetailedActivity
- func (o *DetailedActivity) GetAchievementCount() int32
- func (o *DetailedActivity) GetAchievementCountOk() (*int32, bool)
- func (o *DetailedActivity) GetAthlete() MetaAthlete
- func (o *DetailedActivity) GetAthleteCount() int32
- func (o *DetailedActivity) GetAthleteCountOk() (*int32, bool)
- func (o *DetailedActivity) GetAthleteOk() (*MetaAthlete, bool)
- func (o *DetailedActivity) GetAverageSpeed() float32
- func (o *DetailedActivity) GetAverageSpeedOk() (*float32, bool)
- func (o *DetailedActivity) GetAverageWatts() float32
- func (o *DetailedActivity) GetAverageWattsOk() (*float32, bool)
- func (o *DetailedActivity) GetBestEfforts() []DetailedSegmentEffort
- func (o *DetailedActivity) GetBestEffortsOk() ([]DetailedSegmentEffort, bool)
- func (o *DetailedActivity) GetCalories() float32
- func (o *DetailedActivity) GetCaloriesOk() (*float32, bool)
- func (o *DetailedActivity) GetCommentCount() int32
- func (o *DetailedActivity) GetCommentCountOk() (*int32, bool)
- func (o *DetailedActivity) GetCommute() bool
- func (o *DetailedActivity) GetCommuteOk() (*bool, bool)
- func (o *DetailedActivity) GetDescription() string
- func (o *DetailedActivity) GetDescriptionOk() (*string, bool)
- func (o *DetailedActivity) GetDeviceName() string
- func (o *DetailedActivity) GetDeviceNameOk() (*string, bool)
- func (o *DetailedActivity) GetDeviceWatts() bool
- func (o *DetailedActivity) GetDeviceWattsOk() (*bool, bool)
- func (o *DetailedActivity) GetDistance() float32
- func (o *DetailedActivity) GetDistanceOk() (*float32, bool)
- func (o *DetailedActivity) GetElapsedTime() int32
- func (o *DetailedActivity) GetElapsedTimeOk() (*int32, bool)
- func (o *DetailedActivity) GetElevHigh() float32
- func (o *DetailedActivity) GetElevHighOk() (*float32, bool)
- func (o *DetailedActivity) GetElevLow() float32
- func (o *DetailedActivity) GetElevLowOk() (*float32, bool)
- func (o *DetailedActivity) GetEmbedToken() string
- func (o *DetailedActivity) GetEmbedTokenOk() (*string, bool)
- func (o *DetailedActivity) GetEndLatlng() []float32
- func (o *DetailedActivity) GetEndLatlngOk() ([]float32, bool)
- func (o *DetailedActivity) GetExternalId() string
- func (o *DetailedActivity) GetExternalIdOk() (*string, bool)
- func (o *DetailedActivity) GetFlagged() bool
- func (o *DetailedActivity) GetFlaggedOk() (*bool, bool)
- func (o *DetailedActivity) GetGear() SummaryGear
- func (o *DetailedActivity) GetGearId() string
- func (o *DetailedActivity) GetGearIdOk() (*string, bool)
- func (o *DetailedActivity) GetGearOk() (*SummaryGear, bool)
- func (o *DetailedActivity) GetHasKudoed() bool
- func (o *DetailedActivity) GetHasKudoedOk() (*bool, bool)
- func (o *DetailedActivity) GetHideFromHome() bool
- func (o *DetailedActivity) GetHideFromHomeOk() (*bool, bool)
- func (o *DetailedActivity) GetId() int64
- func (o *DetailedActivity) GetIdOk() (*int64, bool)
- func (o *DetailedActivity) GetKilojoules() float32
- func (o *DetailedActivity) GetKilojoulesOk() (*float32, bool)
- func (o *DetailedActivity) GetKudosCount() int32
- func (o *DetailedActivity) GetKudosCountOk() (*int32, bool)
- func (o *DetailedActivity) GetLaps() []Lap
- func (o *DetailedActivity) GetLapsOk() ([]Lap, bool)
- func (o *DetailedActivity) GetManual() bool
- func (o *DetailedActivity) GetManualOk() (*bool, bool)
- func (o *DetailedActivity) GetMap() PolylineMap
- func (o *DetailedActivity) GetMapOk() (*PolylineMap, bool)
- func (o *DetailedActivity) GetMaxSpeed() float32
- func (o *DetailedActivity) GetMaxSpeedOk() (*float32, bool)
- func (o *DetailedActivity) GetMaxWatts() int32
- func (o *DetailedActivity) GetMaxWattsOk() (*int32, bool)
- func (o *DetailedActivity) GetMovingTime() int32
- func (o *DetailedActivity) GetMovingTimeOk() (*int32, bool)
- func (o *DetailedActivity) GetName() string
- func (o *DetailedActivity) GetNameOk() (*string, bool)
- func (o *DetailedActivity) GetPhotoCount() int32
- func (o *DetailedActivity) GetPhotoCountOk() (*int32, bool)
- func (o *DetailedActivity) GetPhotos() PhotosSummary
- func (o *DetailedActivity) GetPhotosOk() (*PhotosSummary, bool)
- func (o *DetailedActivity) GetPrivate() bool
- func (o *DetailedActivity) GetPrivateOk() (*bool, bool)
- func (o *DetailedActivity) GetSegmentEfforts() []DetailedSegmentEffort
- func (o *DetailedActivity) GetSegmentEffortsOk() ([]DetailedSegmentEffort, bool)
- func (o *DetailedActivity) GetSplitsMetric() []Split
- func (o *DetailedActivity) GetSplitsMetricOk() ([]Split, bool)
- func (o *DetailedActivity) GetSplitsStandard() []Split
- func (o *DetailedActivity) GetSplitsStandardOk() ([]Split, bool)
- func (o *DetailedActivity) GetSportType() SportType
- func (o *DetailedActivity) GetSportTypeOk() (*SportType, bool)
- func (o *DetailedActivity) GetStartDate() time.Time
- func (o *DetailedActivity) GetStartDateLocal() time.Time
- func (o *DetailedActivity) GetStartDateLocalOk() (*time.Time, bool)
- func (o *DetailedActivity) GetStartDateOk() (*time.Time, bool)
- func (o *DetailedActivity) GetStartLatlng() []float32
- func (o *DetailedActivity) GetStartLatlngOk() ([]float32, bool)
- func (o *DetailedActivity) GetTimezone() string
- func (o *DetailedActivity) GetTimezoneOk() (*string, bool)
- func (o *DetailedActivity) GetTotalElevationGain() float32
- func (o *DetailedActivity) GetTotalElevationGainOk() (*float32, bool)
- func (o *DetailedActivity) GetTotalPhotoCount() int32
- func (o *DetailedActivity) GetTotalPhotoCountOk() (*int32, bool)
- func (o *DetailedActivity) GetTrainer() bool
- func (o *DetailedActivity) GetTrainerOk() (*bool, bool)
- func (o *DetailedActivity) GetType() ActivityType
- func (o *DetailedActivity) GetTypeOk() (*ActivityType, bool)
- func (o *DetailedActivity) GetUploadId() int64
- func (o *DetailedActivity) GetUploadIdOk() (*int64, bool)
- func (o *DetailedActivity) GetUploadIdStr() string
- func (o *DetailedActivity) GetUploadIdStrOk() (*string, bool)
- func (o *DetailedActivity) GetWeightedAverageWatts() int32
- func (o *DetailedActivity) GetWeightedAverageWattsOk() (*int32, bool)
- func (o *DetailedActivity) GetWorkoutType() int32
- func (o *DetailedActivity) GetWorkoutTypeOk() (*int32, bool)
- func (o *DetailedActivity) HasAchievementCount() bool
- func (o *DetailedActivity) HasAthlete() bool
- func (o *DetailedActivity) HasAthleteCount() bool
- func (o *DetailedActivity) HasAverageSpeed() bool
- func (o *DetailedActivity) HasAverageWatts() bool
- func (o *DetailedActivity) HasBestEfforts() bool
- func (o *DetailedActivity) HasCalories() bool
- func (o *DetailedActivity) HasCommentCount() bool
- func (o *DetailedActivity) HasCommute() bool
- func (o *DetailedActivity) HasDescription() bool
- func (o *DetailedActivity) HasDeviceName() bool
- func (o *DetailedActivity) HasDeviceWatts() bool
- func (o *DetailedActivity) HasDistance() bool
- func (o *DetailedActivity) HasElapsedTime() bool
- func (o *DetailedActivity) HasElevHigh() bool
- func (o *DetailedActivity) HasElevLow() bool
- func (o *DetailedActivity) HasEmbedToken() bool
- func (o *DetailedActivity) HasEndLatlng() bool
- func (o *DetailedActivity) HasExternalId() bool
- func (o *DetailedActivity) HasFlagged() bool
- func (o *DetailedActivity) HasGear() bool
- func (o *DetailedActivity) HasGearId() bool
- func (o *DetailedActivity) HasHasKudoed() bool
- func (o *DetailedActivity) HasHideFromHome() bool
- func (o *DetailedActivity) HasId() bool
- func (o *DetailedActivity) HasKilojoules() bool
- func (o *DetailedActivity) HasKudosCount() bool
- func (o *DetailedActivity) HasLaps() bool
- func (o *DetailedActivity) HasManual() bool
- func (o *DetailedActivity) HasMap() bool
- func (o *DetailedActivity) HasMaxSpeed() bool
- func (o *DetailedActivity) HasMaxWatts() bool
- func (o *DetailedActivity) HasMovingTime() bool
- func (o *DetailedActivity) HasName() bool
- func (o *DetailedActivity) HasPhotoCount() bool
- func (o *DetailedActivity) HasPhotos() bool
- func (o *DetailedActivity) HasPrivate() bool
- func (o *DetailedActivity) HasSegmentEfforts() bool
- func (o *DetailedActivity) HasSplitsMetric() bool
- func (o *DetailedActivity) HasSplitsStandard() bool
- func (o *DetailedActivity) HasSportType() bool
- func (o *DetailedActivity) HasStartDate() bool
- func (o *DetailedActivity) HasStartDateLocal() bool
- func (o *DetailedActivity) HasStartLatlng() bool
- func (o *DetailedActivity) HasTimezone() bool
- func (o *DetailedActivity) HasTotalElevationGain() bool
- func (o *DetailedActivity) HasTotalPhotoCount() bool
- func (o *DetailedActivity) HasTrainer() bool
- func (o *DetailedActivity) HasType() bool
- func (o *DetailedActivity) HasUploadId() bool
- func (o *DetailedActivity) HasUploadIdStr() bool
- func (o *DetailedActivity) HasWeightedAverageWatts() bool
- func (o *DetailedActivity) HasWorkoutType() bool
- func (o DetailedActivity) MarshalJSON() ([]byte, error)
- func (o *DetailedActivity) SetAchievementCount(v int32)
- func (o *DetailedActivity) SetAthlete(v MetaAthlete)
- func (o *DetailedActivity) SetAthleteCount(v int32)
- func (o *DetailedActivity) SetAverageSpeed(v float32)
- func (o *DetailedActivity) SetAverageWatts(v float32)
- func (o *DetailedActivity) SetBestEfforts(v []DetailedSegmentEffort)
- func (o *DetailedActivity) SetCalories(v float32)
- func (o *DetailedActivity) SetCommentCount(v int32)
- func (o *DetailedActivity) SetCommute(v bool)
- func (o *DetailedActivity) SetDescription(v string)
- func (o *DetailedActivity) SetDeviceName(v string)
- func (o *DetailedActivity) SetDeviceWatts(v bool)
- func (o *DetailedActivity) SetDistance(v float32)
- func (o *DetailedActivity) SetElapsedTime(v int32)
- func (o *DetailedActivity) SetElevHigh(v float32)
- func (o *DetailedActivity) SetElevLow(v float32)
- func (o *DetailedActivity) SetEmbedToken(v string)
- func (o *DetailedActivity) SetEndLatlng(v []float32)
- func (o *DetailedActivity) SetExternalId(v string)
- func (o *DetailedActivity) SetFlagged(v bool)
- func (o *DetailedActivity) SetGear(v SummaryGear)
- func (o *DetailedActivity) SetGearId(v string)
- func (o *DetailedActivity) SetHasKudoed(v bool)
- func (o *DetailedActivity) SetHideFromHome(v bool)
- func (o *DetailedActivity) SetId(v int64)
- func (o *DetailedActivity) SetKilojoules(v float32)
- func (o *DetailedActivity) SetKudosCount(v int32)
- func (o *DetailedActivity) SetLaps(v []Lap)
- func (o *DetailedActivity) SetManual(v bool)
- func (o *DetailedActivity) SetMap(v PolylineMap)
- func (o *DetailedActivity) SetMaxSpeed(v float32)
- func (o *DetailedActivity) SetMaxWatts(v int32)
- func (o *DetailedActivity) SetMovingTime(v int32)
- func (o *DetailedActivity) SetName(v string)
- func (o *DetailedActivity) SetPhotoCount(v int32)
- func (o *DetailedActivity) SetPhotos(v PhotosSummary)
- func (o *DetailedActivity) SetPrivate(v bool)
- func (o *DetailedActivity) SetSegmentEfforts(v []DetailedSegmentEffort)
- func (o *DetailedActivity) SetSplitsMetric(v []Split)
- func (o *DetailedActivity) SetSplitsStandard(v []Split)
- func (o *DetailedActivity) SetSportType(v SportType)
- func (o *DetailedActivity) SetStartDate(v time.Time)
- func (o *DetailedActivity) SetStartDateLocal(v time.Time)
- func (o *DetailedActivity) SetStartLatlng(v []float32)
- func (o *DetailedActivity) SetTimezone(v string)
- func (o *DetailedActivity) SetTotalElevationGain(v float32)
- func (o *DetailedActivity) SetTotalPhotoCount(v int32)
- func (o *DetailedActivity) SetTrainer(v bool)
- func (o *DetailedActivity) SetType(v ActivityType)
- func (o *DetailedActivity) SetUploadId(v int64)
- func (o *DetailedActivity) SetUploadIdStr(v string)
- func (o *DetailedActivity) SetWeightedAverageWatts(v int32)
- func (o *DetailedActivity) SetWorkoutType(v int32)
- func (o DetailedActivity) ToMap() (map[string]interface{}, error)
- type DetailedAthlete
- func (o *DetailedAthlete) GetBikes() []SummaryGear
- func (o *DetailedAthlete) GetBikesOk() ([]SummaryGear, bool)
- func (o *DetailedAthlete) GetCity() string
- func (o *DetailedAthlete) GetCityOk() (*string, bool)
- func (o *DetailedAthlete) GetClubs() []SummaryClub
- func (o *DetailedAthlete) GetClubsOk() ([]SummaryClub, bool)
- func (o *DetailedAthlete) GetCountry() string
- func (o *DetailedAthlete) GetCountryOk() (*string, bool)
- func (o *DetailedAthlete) GetCreatedAt() time.Time
- func (o *DetailedAthlete) GetCreatedAtOk() (*time.Time, bool)
- func (o *DetailedAthlete) GetFirstname() string
- func (o *DetailedAthlete) GetFirstnameOk() (*string, bool)
- func (o *DetailedAthlete) GetFollowerCount() int32
- func (o *DetailedAthlete) GetFollowerCountOk() (*int32, bool)
- func (o *DetailedAthlete) GetFriendCount() int32
- func (o *DetailedAthlete) GetFriendCountOk() (*int32, bool)
- func (o *DetailedAthlete) GetFtp() int32
- func (o *DetailedAthlete) GetFtpOk() (*int32, bool)
- func (o *DetailedAthlete) GetId() int64
- func (o *DetailedAthlete) GetIdOk() (*int64, bool)
- func (o *DetailedAthlete) GetLastname() string
- func (o *DetailedAthlete) GetLastnameOk() (*string, bool)
- func (o *DetailedAthlete) GetMeasurementPreference() string
- func (o *DetailedAthlete) GetMeasurementPreferenceOk() (*string, bool)
- func (o *DetailedAthlete) GetPremium() bool
- func (o *DetailedAthlete) GetPremiumOk() (*bool, bool)
- func (o *DetailedAthlete) GetProfile() string
- func (o *DetailedAthlete) GetProfileMedium() string
- func (o *DetailedAthlete) GetProfileMediumOk() (*string, bool)
- func (o *DetailedAthlete) GetProfileOk() (*string, bool)
- func (o *DetailedAthlete) GetResourceState() int32
- func (o *DetailedAthlete) GetResourceStateOk() (*int32, bool)
- func (o *DetailedAthlete) GetSex() string
- func (o *DetailedAthlete) GetSexOk() (*string, bool)
- func (o *DetailedAthlete) GetShoes() []SummaryGear
- func (o *DetailedAthlete) GetShoesOk() ([]SummaryGear, bool)
- func (o *DetailedAthlete) GetState() string
- func (o *DetailedAthlete) GetStateOk() (*string, bool)
- func (o *DetailedAthlete) GetSummit() bool
- func (o *DetailedAthlete) GetSummitOk() (*bool, bool)
- func (o *DetailedAthlete) GetUpdatedAt() time.Time
- func (o *DetailedAthlete) GetUpdatedAtOk() (*time.Time, bool)
- func (o *DetailedAthlete) GetWeight() float32
- func (o *DetailedAthlete) GetWeightOk() (*float32, bool)
- func (o *DetailedAthlete) HasBikes() bool
- func (o *DetailedAthlete) HasCity() bool
- func (o *DetailedAthlete) HasClubs() bool
- func (o *DetailedAthlete) HasCountry() bool
- func (o *DetailedAthlete) HasCreatedAt() bool
- func (o *DetailedAthlete) HasFirstname() bool
- func (o *DetailedAthlete) HasFollowerCount() bool
- func (o *DetailedAthlete) HasFriendCount() bool
- func (o *DetailedAthlete) HasFtp() bool
- func (o *DetailedAthlete) HasId() bool
- func (o *DetailedAthlete) HasLastname() bool
- func (o *DetailedAthlete) HasMeasurementPreference() bool
- func (o *DetailedAthlete) HasPremium() bool
- func (o *DetailedAthlete) HasProfile() bool
- func (o *DetailedAthlete) HasProfileMedium() bool
- func (o *DetailedAthlete) HasResourceState() bool
- func (o *DetailedAthlete) HasSex() bool
- func (o *DetailedAthlete) HasShoes() bool
- func (o *DetailedAthlete) HasState() bool
- func (o *DetailedAthlete) HasSummit() bool
- func (o *DetailedAthlete) HasUpdatedAt() bool
- func (o *DetailedAthlete) HasWeight() bool
- func (o DetailedAthlete) MarshalJSON() ([]byte, error)
- func (o *DetailedAthlete) SetBikes(v []SummaryGear)
- func (o *DetailedAthlete) SetCity(v string)
- func (o *DetailedAthlete) SetClubs(v []SummaryClub)
- func (o *DetailedAthlete) SetCountry(v string)
- func (o *DetailedAthlete) SetCreatedAt(v time.Time)
- func (o *DetailedAthlete) SetFirstname(v string)
- func (o *DetailedAthlete) SetFollowerCount(v int32)
- func (o *DetailedAthlete) SetFriendCount(v int32)
- func (o *DetailedAthlete) SetFtp(v int32)
- func (o *DetailedAthlete) SetId(v int64)
- func (o *DetailedAthlete) SetLastname(v string)
- func (o *DetailedAthlete) SetMeasurementPreference(v string)
- func (o *DetailedAthlete) SetPremium(v bool)
- func (o *DetailedAthlete) SetProfile(v string)
- func (o *DetailedAthlete) SetProfileMedium(v string)
- func (o *DetailedAthlete) SetResourceState(v int32)
- func (o *DetailedAthlete) SetSex(v string)
- func (o *DetailedAthlete) SetShoes(v []SummaryGear)
- func (o *DetailedAthlete) SetState(v string)
- func (o *DetailedAthlete) SetSummit(v bool)
- func (o *DetailedAthlete) SetUpdatedAt(v time.Time)
- func (o *DetailedAthlete) SetWeight(v float32)
- func (o DetailedAthlete) ToMap() (map[string]interface{}, error)
- type DetailedClub
- func (o *DetailedClub) GetActivityTypes() []ActivityType
- func (o *DetailedClub) GetActivityTypesOk() ([]ActivityType, bool)
- func (o *DetailedClub) GetAdmin() bool
- func (o *DetailedClub) GetAdminOk() (*bool, bool)
- func (o *DetailedClub) GetCity() string
- func (o *DetailedClub) GetCityOk() (*string, bool)
- func (o *DetailedClub) GetCountry() string
- func (o *DetailedClub) GetCountryOk() (*string, bool)
- func (o *DetailedClub) GetCoverPhoto() string
- func (o *DetailedClub) GetCoverPhotoOk() (*string, bool)
- func (o *DetailedClub) GetCoverPhotoSmall() string
- func (o *DetailedClub) GetCoverPhotoSmallOk() (*string, bool)
- func (o *DetailedClub) GetFeatured() bool
- func (o *DetailedClub) GetFeaturedOk() (*bool, bool)
- func (o *DetailedClub) GetFollowingCount() int32
- func (o *DetailedClub) GetFollowingCountOk() (*int32, bool)
- func (o *DetailedClub) GetId() int64
- func (o *DetailedClub) GetIdOk() (*int64, bool)
- func (o *DetailedClub) GetMemberCount() int32
- func (o *DetailedClub) GetMemberCountOk() (*int32, bool)
- func (o *DetailedClub) GetMembership() string
- func (o *DetailedClub) GetMembershipOk() (*string, bool)
- func (o *DetailedClub) GetName() string
- func (o *DetailedClub) GetNameOk() (*string, bool)
- func (o *DetailedClub) GetOwner() bool
- func (o *DetailedClub) GetOwnerOk() (*bool, bool)
- func (o *DetailedClub) GetPrivate() bool
- func (o *DetailedClub) GetPrivateOk() (*bool, bool)
- func (o *DetailedClub) GetProfileMedium() string
- func (o *DetailedClub) GetProfileMediumOk() (*string, bool)
- func (o *DetailedClub) GetResourceState() int32
- func (o *DetailedClub) GetResourceStateOk() (*int32, bool)
- func (o *DetailedClub) GetSportType() string
- func (o *DetailedClub) GetSportTypeOk() (*string, bool)
- func (o *DetailedClub) GetState() string
- func (o *DetailedClub) GetStateOk() (*string, bool)
- func (o *DetailedClub) GetUrl() string
- func (o *DetailedClub) GetUrlOk() (*string, bool)
- func (o *DetailedClub) GetVerified() bool
- func (o *DetailedClub) GetVerifiedOk() (*bool, bool)
- func (o *DetailedClub) HasActivityTypes() bool
- func (o *DetailedClub) HasAdmin() bool
- func (o *DetailedClub) HasCity() bool
- func (o *DetailedClub) HasCountry() bool
- func (o *DetailedClub) HasCoverPhoto() bool
- func (o *DetailedClub) HasCoverPhotoSmall() bool
- func (o *DetailedClub) HasFeatured() bool
- func (o *DetailedClub) HasFollowingCount() bool
- func (o *DetailedClub) HasId() bool
- func (o *DetailedClub) HasMemberCount() bool
- func (o *DetailedClub) HasMembership() bool
- func (o *DetailedClub) HasName() bool
- func (o *DetailedClub) HasOwner() bool
- func (o *DetailedClub) HasPrivate() bool
- func (o *DetailedClub) HasProfileMedium() bool
- func (o *DetailedClub) HasResourceState() bool
- func (o *DetailedClub) HasSportType() bool
- func (o *DetailedClub) HasState() bool
- func (o *DetailedClub) HasUrl() bool
- func (o *DetailedClub) HasVerified() bool
- func (o DetailedClub) MarshalJSON() ([]byte, error)
- func (o *DetailedClub) SetActivityTypes(v []ActivityType)
- func (o *DetailedClub) SetAdmin(v bool)
- func (o *DetailedClub) SetCity(v string)
- func (o *DetailedClub) SetCountry(v string)
- func (o *DetailedClub) SetCoverPhoto(v string)
- func (o *DetailedClub) SetCoverPhotoSmall(v string)
- func (o *DetailedClub) SetFeatured(v bool)
- func (o *DetailedClub) SetFollowingCount(v int32)
- func (o *DetailedClub) SetId(v int64)
- func (o *DetailedClub) SetMemberCount(v int32)
- func (o *DetailedClub) SetMembership(v string)
- func (o *DetailedClub) SetName(v string)
- func (o *DetailedClub) SetOwner(v bool)
- func (o *DetailedClub) SetPrivate(v bool)
- func (o *DetailedClub) SetProfileMedium(v string)
- func (o *DetailedClub) SetResourceState(v int32)
- func (o *DetailedClub) SetSportType(v string)
- func (o *DetailedClub) SetState(v string)
- func (o *DetailedClub) SetUrl(v string)
- func (o *DetailedClub) SetVerified(v bool)
- func (o DetailedClub) ToMap() (map[string]interface{}, error)
- type DetailedGear
- func (o *DetailedGear) GetBrandName() string
- func (o *DetailedGear) GetBrandNameOk() (*string, bool)
- func (o *DetailedGear) GetDescription() string
- func (o *DetailedGear) GetDescriptionOk() (*string, bool)
- func (o *DetailedGear) GetDistance() float32
- func (o *DetailedGear) GetDistanceOk() (*float32, bool)
- func (o *DetailedGear) GetFrameType() int32
- func (o *DetailedGear) GetFrameTypeOk() (*int32, bool)
- func (o *DetailedGear) GetId() string
- func (o *DetailedGear) GetIdOk() (*string, bool)
- func (o *DetailedGear) GetModelName() string
- func (o *DetailedGear) GetModelNameOk() (*string, bool)
- func (o *DetailedGear) GetName() string
- func (o *DetailedGear) GetNameOk() (*string, bool)
- func (o *DetailedGear) GetPrimary() bool
- func (o *DetailedGear) GetPrimaryOk() (*bool, bool)
- func (o *DetailedGear) GetResourceState() int32
- func (o *DetailedGear) GetResourceStateOk() (*int32, bool)
- func (o *DetailedGear) HasBrandName() bool
- func (o *DetailedGear) HasDescription() bool
- func (o *DetailedGear) HasDistance() bool
- func (o *DetailedGear) HasFrameType() bool
- func (o *DetailedGear) HasId() bool
- func (o *DetailedGear) HasModelName() bool
- func (o *DetailedGear) HasName() bool
- func (o *DetailedGear) HasPrimary() bool
- func (o *DetailedGear) HasResourceState() bool
- func (o DetailedGear) MarshalJSON() ([]byte, error)
- func (o *DetailedGear) SetBrandName(v string)
- func (o *DetailedGear) SetDescription(v string)
- func (o *DetailedGear) SetDistance(v float32)
- func (o *DetailedGear) SetFrameType(v int32)
- func (o *DetailedGear) SetId(v string)
- func (o *DetailedGear) SetModelName(v string)
- func (o *DetailedGear) SetName(v string)
- func (o *DetailedGear) SetPrimary(v bool)
- func (o *DetailedGear) SetResourceState(v int32)
- func (o DetailedGear) ToMap() (map[string]interface{}, error)
- type DetailedSegment
- func (o *DetailedSegment) GetActivityType() string
- func (o *DetailedSegment) GetActivityTypeOk() (*string, bool)
- func (o *DetailedSegment) GetAthleteCount() int32
- func (o *DetailedSegment) GetAthleteCountOk() (*int32, bool)
- func (o *DetailedSegment) GetAthletePrEffort() SummaryPRSegmentEffort
- func (o *DetailedSegment) GetAthletePrEffortOk() (*SummaryPRSegmentEffort, bool)
- func (o *DetailedSegment) GetAthleteSegmentStats() SummarySegmentEffort
- func (o *DetailedSegment) GetAthleteSegmentStatsOk() (*SummarySegmentEffort, bool)
- func (o *DetailedSegment) GetAverageGrade() float32
- func (o *DetailedSegment) GetAverageGradeOk() (*float32, bool)
- func (o *DetailedSegment) GetCity() string
- func (o *DetailedSegment) GetCityOk() (*string, bool)
- func (o *DetailedSegment) GetClimbCategory() int32
- func (o *DetailedSegment) GetClimbCategoryOk() (*int32, bool)
- func (o *DetailedSegment) GetCountry() string
- func (o *DetailedSegment) GetCountryOk() (*string, bool)
- func (o *DetailedSegment) GetCreatedAt() time.Time
- func (o *DetailedSegment) GetCreatedAtOk() (*time.Time, bool)
- func (o *DetailedSegment) GetDistance() float32
- func (o *DetailedSegment) GetDistanceOk() (*float32, bool)
- func (o *DetailedSegment) GetEffortCount() int32
- func (o *DetailedSegment) GetEffortCountOk() (*int32, bool)
- func (o *DetailedSegment) GetElevationHigh() float32
- func (o *DetailedSegment) GetElevationHighOk() (*float32, bool)
- func (o *DetailedSegment) GetElevationLow() float32
- func (o *DetailedSegment) GetElevationLowOk() (*float32, bool)
- func (o *DetailedSegment) GetEndLatlng() []float32
- func (o *DetailedSegment) GetEndLatlngOk() ([]float32, bool)
- func (o *DetailedSegment) GetHazardous() bool
- func (o *DetailedSegment) GetHazardousOk() (*bool, bool)
- func (o *DetailedSegment) GetId() int64
- func (o *DetailedSegment) GetIdOk() (*int64, bool)
- func (o *DetailedSegment) GetMap() PolylineMap
- func (o *DetailedSegment) GetMapOk() (*PolylineMap, bool)
- func (o *DetailedSegment) GetMaximumGrade() float32
- func (o *DetailedSegment) GetMaximumGradeOk() (*float32, bool)
- func (o *DetailedSegment) GetName() string
- func (o *DetailedSegment) GetNameOk() (*string, bool)
- func (o *DetailedSegment) GetPrivate() bool
- func (o *DetailedSegment) GetPrivateOk() (*bool, bool)
- func (o *DetailedSegment) GetStarCount() int32
- func (o *DetailedSegment) GetStarCountOk() (*int32, bool)
- func (o *DetailedSegment) GetStartLatlng() []float32
- func (o *DetailedSegment) GetStartLatlngOk() ([]float32, bool)
- func (o *DetailedSegment) GetState() string
- func (o *DetailedSegment) GetStateOk() (*string, bool)
- func (o *DetailedSegment) GetTotalElevationGain() float32
- func (o *DetailedSegment) GetTotalElevationGainOk() (*float32, bool)
- func (o *DetailedSegment) GetUpdatedAt() time.Time
- func (o *DetailedSegment) GetUpdatedAtOk() (*time.Time, bool)
- func (o *DetailedSegment) HasActivityType() bool
- func (o *DetailedSegment) HasAthleteCount() bool
- func (o *DetailedSegment) HasAthletePrEffort() bool
- func (o *DetailedSegment) HasAthleteSegmentStats() bool
- func (o *DetailedSegment) HasAverageGrade() bool
- func (o *DetailedSegment) HasCity() bool
- func (o *DetailedSegment) HasClimbCategory() bool
- func (o *DetailedSegment) HasCountry() bool
- func (o *DetailedSegment) HasCreatedAt() bool
- func (o *DetailedSegment) HasDistance() bool
- func (o *DetailedSegment) HasEffortCount() bool
- func (o *DetailedSegment) HasElevationHigh() bool
- func (o *DetailedSegment) HasElevationLow() bool
- func (o *DetailedSegment) HasEndLatlng() bool
- func (o *DetailedSegment) HasHazardous() bool
- func (o *DetailedSegment) HasId() bool
- func (o *DetailedSegment) HasMap() bool
- func (o *DetailedSegment) HasMaximumGrade() bool
- func (o *DetailedSegment) HasName() bool
- func (o *DetailedSegment) HasPrivate() bool
- func (o *DetailedSegment) HasStarCount() bool
- func (o *DetailedSegment) HasStartLatlng() bool
- func (o *DetailedSegment) HasState() bool
- func (o *DetailedSegment) HasTotalElevationGain() bool
- func (o *DetailedSegment) HasUpdatedAt() bool
- func (o DetailedSegment) MarshalJSON() ([]byte, error)
- func (o *DetailedSegment) SetActivityType(v string)
- func (o *DetailedSegment) SetAthleteCount(v int32)
- func (o *DetailedSegment) SetAthletePrEffort(v SummaryPRSegmentEffort)
- func (o *DetailedSegment) SetAthleteSegmentStats(v SummarySegmentEffort)
- func (o *DetailedSegment) SetAverageGrade(v float32)
- func (o *DetailedSegment) SetCity(v string)
- func (o *DetailedSegment) SetClimbCategory(v int32)
- func (o *DetailedSegment) SetCountry(v string)
- func (o *DetailedSegment) SetCreatedAt(v time.Time)
- func (o *DetailedSegment) SetDistance(v float32)
- func (o *DetailedSegment) SetEffortCount(v int32)
- func (o *DetailedSegment) SetElevationHigh(v float32)
- func (o *DetailedSegment) SetElevationLow(v float32)
- func (o *DetailedSegment) SetEndLatlng(v []float32)
- func (o *DetailedSegment) SetHazardous(v bool)
- func (o *DetailedSegment) SetId(v int64)
- func (o *DetailedSegment) SetMap(v PolylineMap)
- func (o *DetailedSegment) SetMaximumGrade(v float32)
- func (o *DetailedSegment) SetName(v string)
- func (o *DetailedSegment) SetPrivate(v bool)
- func (o *DetailedSegment) SetStarCount(v int32)
- func (o *DetailedSegment) SetStartLatlng(v []float32)
- func (o *DetailedSegment) SetState(v string)
- func (o *DetailedSegment) SetTotalElevationGain(v float32)
- func (o *DetailedSegment) SetUpdatedAt(v time.Time)
- func (o DetailedSegment) ToMap() (map[string]interface{}, error)
- type DetailedSegmentEffort
- func (o *DetailedSegmentEffort) GetActivity() MetaActivity
- func (o *DetailedSegmentEffort) GetActivityId() int64
- func (o *DetailedSegmentEffort) GetActivityIdOk() (*int64, bool)
- func (o *DetailedSegmentEffort) GetActivityOk() (*MetaActivity, bool)
- func (o *DetailedSegmentEffort) GetAthlete() MetaAthlete
- func (o *DetailedSegmentEffort) GetAthleteOk() (*MetaAthlete, bool)
- func (o *DetailedSegmentEffort) GetAverageCadence() float32
- func (o *DetailedSegmentEffort) GetAverageCadenceOk() (*float32, bool)
- func (o *DetailedSegmentEffort) GetAverageHeartrate() float32
- func (o *DetailedSegmentEffort) GetAverageHeartrateOk() (*float32, bool)
- func (o *DetailedSegmentEffort) GetAverageWatts() float32
- func (o *DetailedSegmentEffort) GetAverageWattsOk() (*float32, bool)
- func (o *DetailedSegmentEffort) GetDeviceWatts() bool
- func (o *DetailedSegmentEffort) GetDeviceWattsOk() (*bool, bool)
- func (o *DetailedSegmentEffort) GetDistance() float32
- func (o *DetailedSegmentEffort) GetDistanceOk() (*float32, bool)
- func (o *DetailedSegmentEffort) GetElapsedTime() int32
- func (o *DetailedSegmentEffort) GetElapsedTimeOk() (*int32, bool)
- func (o *DetailedSegmentEffort) GetEndIndex() int32
- func (o *DetailedSegmentEffort) GetEndIndexOk() (*int32, bool)
- func (o *DetailedSegmentEffort) GetHidden() bool
- func (o *DetailedSegmentEffort) GetHiddenOk() (*bool, bool)
- func (o *DetailedSegmentEffort) GetId() int64
- func (o *DetailedSegmentEffort) GetIdOk() (*int64, bool)
- func (o *DetailedSegmentEffort) GetIsKom() bool
- func (o *DetailedSegmentEffort) GetIsKomOk() (*bool, bool)
- func (o *DetailedSegmentEffort) GetKomRank() int32
- func (o *DetailedSegmentEffort) GetKomRankOk() (*int32, bool)
- func (o *DetailedSegmentEffort) GetMaxHeartrate() float32
- func (o *DetailedSegmentEffort) GetMaxHeartrateOk() (*float32, bool)
- func (o *DetailedSegmentEffort) GetMovingTime() int32
- func (o *DetailedSegmentEffort) GetMovingTimeOk() (*int32, bool)
- func (o *DetailedSegmentEffort) GetName() string
- func (o *DetailedSegmentEffort) GetNameOk() (*string, bool)
- func (o *DetailedSegmentEffort) GetPrRank() int32
- func (o *DetailedSegmentEffort) GetPrRankOk() (*int32, bool)
- func (o *DetailedSegmentEffort) GetSegment() SummarySegment
- func (o *DetailedSegmentEffort) GetSegmentOk() (*SummarySegment, bool)
- func (o *DetailedSegmentEffort) GetStartDate() time.Time
- func (o *DetailedSegmentEffort) GetStartDateLocal() time.Time
- func (o *DetailedSegmentEffort) GetStartDateLocalOk() (*time.Time, bool)
- func (o *DetailedSegmentEffort) GetStartDateOk() (*time.Time, bool)
- func (o *DetailedSegmentEffort) GetStartIndex() int32
- func (o *DetailedSegmentEffort) GetStartIndexOk() (*int32, bool)
- func (o *DetailedSegmentEffort) HasActivity() bool
- func (o *DetailedSegmentEffort) HasActivityId() bool
- func (o *DetailedSegmentEffort) HasAthlete() bool
- func (o *DetailedSegmentEffort) HasAverageCadence() bool
- func (o *DetailedSegmentEffort) HasAverageHeartrate() bool
- func (o *DetailedSegmentEffort) HasAverageWatts() bool
- func (o *DetailedSegmentEffort) HasDeviceWatts() bool
- func (o *DetailedSegmentEffort) HasDistance() bool
- func (o *DetailedSegmentEffort) HasElapsedTime() bool
- func (o *DetailedSegmentEffort) HasEndIndex() bool
- func (o *DetailedSegmentEffort) HasHidden() bool
- func (o *DetailedSegmentEffort) HasId() bool
- func (o *DetailedSegmentEffort) HasIsKom() bool
- func (o *DetailedSegmentEffort) HasKomRank() bool
- func (o *DetailedSegmentEffort) HasMaxHeartrate() bool
- func (o *DetailedSegmentEffort) HasMovingTime() bool
- func (o *DetailedSegmentEffort) HasName() bool
- func (o *DetailedSegmentEffort) HasPrRank() bool
- func (o *DetailedSegmentEffort) HasSegment() bool
- func (o *DetailedSegmentEffort) HasStartDate() bool
- func (o *DetailedSegmentEffort) HasStartDateLocal() bool
- func (o *DetailedSegmentEffort) HasStartIndex() bool
- func (o DetailedSegmentEffort) MarshalJSON() ([]byte, error)
- func (o *DetailedSegmentEffort) SetActivity(v MetaActivity)
- func (o *DetailedSegmentEffort) SetActivityId(v int64)
- func (o *DetailedSegmentEffort) SetAthlete(v MetaAthlete)
- func (o *DetailedSegmentEffort) SetAverageCadence(v float32)
- func (o *DetailedSegmentEffort) SetAverageHeartrate(v float32)
- func (o *DetailedSegmentEffort) SetAverageWatts(v float32)
- func (o *DetailedSegmentEffort) SetDeviceWatts(v bool)
- func (o *DetailedSegmentEffort) SetDistance(v float32)
- func (o *DetailedSegmentEffort) SetElapsedTime(v int32)
- func (o *DetailedSegmentEffort) SetEndIndex(v int32)
- func (o *DetailedSegmentEffort) SetHidden(v bool)
- func (o *DetailedSegmentEffort) SetId(v int64)
- func (o *DetailedSegmentEffort) SetIsKom(v bool)
- func (o *DetailedSegmentEffort) SetKomRank(v int32)
- func (o *DetailedSegmentEffort) SetMaxHeartrate(v float32)
- func (o *DetailedSegmentEffort) SetMovingTime(v int32)
- func (o *DetailedSegmentEffort) SetName(v string)
- func (o *DetailedSegmentEffort) SetPrRank(v int32)
- func (o *DetailedSegmentEffort) SetSegment(v SummarySegment)
- func (o *DetailedSegmentEffort) SetStartDate(v time.Time)
- func (o *DetailedSegmentEffort) SetStartDateLocal(v time.Time)
- func (o *DetailedSegmentEffort) SetStartIndex(v int32)
- func (o DetailedSegmentEffort) ToMap() (map[string]interface{}, error)
- type DistanceStream
- func (o *DistanceStream) GetData() []float32
- func (o *DistanceStream) GetDataOk() ([]float32, bool)
- func (o *DistanceStream) GetOriginalSize() int32
- func (o *DistanceStream) GetOriginalSizeOk() (*int32, bool)
- func (o *DistanceStream) GetResolution() string
- func (o *DistanceStream) GetResolutionOk() (*string, bool)
- func (o *DistanceStream) GetSeriesType() string
- func (o *DistanceStream) GetSeriesTypeOk() (*string, bool)
- func (o *DistanceStream) HasData() bool
- func (o *DistanceStream) HasOriginalSize() bool
- func (o *DistanceStream) HasResolution() bool
- func (o *DistanceStream) HasSeriesType() bool
- func (o DistanceStream) MarshalJSON() ([]byte, error)
- func (o *DistanceStream) SetData(v []float32)
- func (o *DistanceStream) SetOriginalSize(v int32)
- func (o *DistanceStream) SetResolution(v string)
- func (o *DistanceStream) SetSeriesType(v string)
- func (o DistanceStream) ToMap() (map[string]interface{}, error)
- type Error
- func (o *Error) GetCode() string
- func (o *Error) GetCodeOk() (*string, bool)
- func (o *Error) GetField() string
- func (o *Error) GetFieldOk() (*string, bool)
- func (o *Error) GetResource() string
- func (o *Error) GetResourceOk() (*string, bool)
- func (o *Error) HasCode() bool
- func (o *Error) HasField() bool
- func (o *Error) HasResource() bool
- func (o Error) MarshalJSON() ([]byte, error)
- func (o *Error) SetCode(v string)
- func (o *Error) SetField(v string)
- func (o *Error) SetResource(v string)
- func (o Error) ToMap() (map[string]interface{}, error)
- type ExplorerResponse
- func (o *ExplorerResponse) GetSegments() []ExplorerSegment
- func (o *ExplorerResponse) GetSegmentsOk() ([]ExplorerSegment, bool)
- func (o *ExplorerResponse) HasSegments() bool
- func (o ExplorerResponse) MarshalJSON() ([]byte, error)
- func (o *ExplorerResponse) SetSegments(v []ExplorerSegment)
- func (o ExplorerResponse) ToMap() (map[string]interface{}, error)
- type ExplorerSegment
- func (o *ExplorerSegment) GetAvgGrade() float32
- func (o *ExplorerSegment) GetAvgGradeOk() (*float32, bool)
- func (o *ExplorerSegment) GetClimbCategory() int32
- func (o *ExplorerSegment) GetClimbCategoryDesc() string
- func (o *ExplorerSegment) GetClimbCategoryDescOk() (*string, bool)
- func (o *ExplorerSegment) GetClimbCategoryOk() (*int32, bool)
- func (o *ExplorerSegment) GetDistance() float32
- func (o *ExplorerSegment) GetDistanceOk() (*float32, bool)
- func (o *ExplorerSegment) GetElevDifference() float32
- func (o *ExplorerSegment) GetElevDifferenceOk() (*float32, bool)
- func (o *ExplorerSegment) GetEndLatlng() []float32
- func (o *ExplorerSegment) GetEndLatlngOk() ([]float32, bool)
- func (o *ExplorerSegment) GetId() int64
- func (o *ExplorerSegment) GetIdOk() (*int64, bool)
- func (o *ExplorerSegment) GetName() string
- func (o *ExplorerSegment) GetNameOk() (*string, bool)
- func (o *ExplorerSegment) GetPoints() string
- func (o *ExplorerSegment) GetPointsOk() (*string, bool)
- func (o *ExplorerSegment) GetStartLatlng() []float32
- func (o *ExplorerSegment) GetStartLatlngOk() ([]float32, bool)
- func (o *ExplorerSegment) HasAvgGrade() bool
- func (o *ExplorerSegment) HasClimbCategory() bool
- func (o *ExplorerSegment) HasClimbCategoryDesc() bool
- func (o *ExplorerSegment) HasDistance() bool
- func (o *ExplorerSegment) HasElevDifference() bool
- func (o *ExplorerSegment) HasEndLatlng() bool
- func (o *ExplorerSegment) HasId() bool
- func (o *ExplorerSegment) HasName() bool
- func (o *ExplorerSegment) HasPoints() bool
- func (o *ExplorerSegment) HasStartLatlng() bool
- func (o ExplorerSegment) MarshalJSON() ([]byte, error)
- func (o *ExplorerSegment) SetAvgGrade(v float32)
- func (o *ExplorerSegment) SetClimbCategory(v int32)
- func (o *ExplorerSegment) SetClimbCategoryDesc(v string)
- func (o *ExplorerSegment) SetDistance(v float32)
- func (o *ExplorerSegment) SetElevDifference(v float32)
- func (o *ExplorerSegment) SetEndLatlng(v []float32)
- func (o *ExplorerSegment) SetId(v int64)
- func (o *ExplorerSegment) SetName(v string)
- func (o *ExplorerSegment) SetPoints(v string)
- func (o *ExplorerSegment) SetStartLatlng(v []float32)
- func (o ExplorerSegment) ToMap() (map[string]interface{}, error)
- type Fault
- func (o *Fault) GetErrors() []Error
- func (o *Fault) GetErrorsOk() ([]Error, bool)
- func (o *Fault) GetMessage() string
- func (o *Fault) GetMessageOk() (*string, bool)
- func (o *Fault) HasErrors() bool
- func (o *Fault) HasMessage() bool
- func (o Fault) MarshalJSON() ([]byte, error)
- func (o *Fault) SetErrors(v []Error)
- func (o *Fault) SetMessage(v string)
- func (o Fault) ToMap() (map[string]interface{}, error)
- type GearsAPIService
- type GenericOpenAPIError
- type HeartRateZoneRanges
- func (o *HeartRateZoneRanges) GetCustomZones() bool
- func (o *HeartRateZoneRanges) GetCustomZonesOk() (*bool, bool)
- func (o *HeartRateZoneRanges) GetZones() []ZoneRange
- func (o *HeartRateZoneRanges) GetZonesOk() ([]ZoneRange, bool)
- func (o *HeartRateZoneRanges) HasCustomZones() bool
- func (o *HeartRateZoneRanges) HasZones() bool
- func (o HeartRateZoneRanges) MarshalJSON() ([]byte, error)
- func (o *HeartRateZoneRanges) SetCustomZones(v bool)
- func (o *HeartRateZoneRanges) SetZones(v []ZoneRange)
- func (o HeartRateZoneRanges) ToMap() (map[string]interface{}, error)
- type HeartrateStream
- func (o *HeartrateStream) GetData() []int32
- func (o *HeartrateStream) GetDataOk() ([]int32, bool)
- func (o *HeartrateStream) GetOriginalSize() int32
- func (o *HeartrateStream) GetOriginalSizeOk() (*int32, bool)
- func (o *HeartrateStream) GetResolution() string
- func (o *HeartrateStream) GetResolutionOk() (*string, bool)
- func (o *HeartrateStream) GetSeriesType() string
- func (o *HeartrateStream) GetSeriesTypeOk() (*string, bool)
- func (o *HeartrateStream) HasData() bool
- func (o *HeartrateStream) HasOriginalSize() bool
- func (o *HeartrateStream) HasResolution() bool
- func (o *HeartrateStream) HasSeriesType() bool
- func (o HeartrateStream) MarshalJSON() ([]byte, error)
- func (o *HeartrateStream) SetData(v []int32)
- func (o *HeartrateStream) SetOriginalSize(v int32)
- func (o *HeartrateStream) SetResolution(v string)
- func (o *HeartrateStream) SetSeriesType(v string)
- func (o HeartrateStream) ToMap() (map[string]interface{}, error)
- type Lap
- func (o *Lap) GetActivity() MetaActivity
- func (o *Lap) GetActivityOk() (*MetaActivity, bool)
- func (o *Lap) GetAthlete() MetaAthlete
- func (o *Lap) GetAthleteOk() (*MetaAthlete, bool)
- func (o *Lap) GetAverageCadence() float32
- func (o *Lap) GetAverageCadenceOk() (*float32, bool)
- func (o *Lap) GetAverageSpeed() float32
- func (o *Lap) GetAverageSpeedOk() (*float32, bool)
- func (o *Lap) GetDistance() float32
- func (o *Lap) GetDistanceOk() (*float32, bool)
- func (o *Lap) GetElapsedTime() int32
- func (o *Lap) GetElapsedTimeOk() (*int32, bool)
- func (o *Lap) GetEndIndex() int32
- func (o *Lap) GetEndIndexOk() (*int32, bool)
- func (o *Lap) GetId() int64
- func (o *Lap) GetIdOk() (*int64, bool)
- func (o *Lap) GetLapIndex() int32
- func (o *Lap) GetLapIndexOk() (*int32, bool)
- func (o *Lap) GetMaxSpeed() float32
- func (o *Lap) GetMaxSpeedOk() (*float32, bool)
- func (o *Lap) GetMovingTime() int32
- func (o *Lap) GetMovingTimeOk() (*int32, bool)
- func (o *Lap) GetName() string
- func (o *Lap) GetNameOk() (*string, bool)
- func (o *Lap) GetPaceZone() int32
- func (o *Lap) GetPaceZoneOk() (*int32, bool)
- func (o *Lap) GetSplit() int32
- func (o *Lap) GetSplitOk() (*int32, bool)
- func (o *Lap) GetStartDate() time.Time
- func (o *Lap) GetStartDateLocal() time.Time
- func (o *Lap) GetStartDateLocalOk() (*time.Time, bool)
- func (o *Lap) GetStartDateOk() (*time.Time, bool)
- func (o *Lap) GetStartIndex() int32
- func (o *Lap) GetStartIndexOk() (*int32, bool)
- func (o *Lap) GetTotalElevationGain() float32
- func (o *Lap) GetTotalElevationGainOk() (*float32, bool)
- func (o *Lap) HasActivity() bool
- func (o *Lap) HasAthlete() bool
- func (o *Lap) HasAverageCadence() bool
- func (o *Lap) HasAverageSpeed() bool
- func (o *Lap) HasDistance() bool
- func (o *Lap) HasElapsedTime() bool
- func (o *Lap) HasEndIndex() bool
- func (o *Lap) HasId() bool
- func (o *Lap) HasLapIndex() bool
- func (o *Lap) HasMaxSpeed() bool
- func (o *Lap) HasMovingTime() bool
- func (o *Lap) HasName() bool
- func (o *Lap) HasPaceZone() bool
- func (o *Lap) HasSplit() bool
- func (o *Lap) HasStartDate() bool
- func (o *Lap) HasStartDateLocal() bool
- func (o *Lap) HasStartIndex() bool
- func (o *Lap) HasTotalElevationGain() bool
- func (o Lap) MarshalJSON() ([]byte, error)
- func (o *Lap) SetActivity(v MetaActivity)
- func (o *Lap) SetAthlete(v MetaAthlete)
- func (o *Lap) SetAverageCadence(v float32)
- func (o *Lap) SetAverageSpeed(v float32)
- func (o *Lap) SetDistance(v float32)
- func (o *Lap) SetElapsedTime(v int32)
- func (o *Lap) SetEndIndex(v int32)
- func (o *Lap) SetId(v int64)
- func (o *Lap) SetLapIndex(v int32)
- func (o *Lap) SetMaxSpeed(v float32)
- func (o *Lap) SetMovingTime(v int32)
- func (o *Lap) SetName(v string)
- func (o *Lap) SetPaceZone(v int32)
- func (o *Lap) SetSplit(v int32)
- func (o *Lap) SetStartDate(v time.Time)
- func (o *Lap) SetStartDateLocal(v time.Time)
- func (o *Lap) SetStartIndex(v int32)
- func (o *Lap) SetTotalElevationGain(v float32)
- func (o Lap) ToMap() (map[string]interface{}, error)
- type LatLngStream
- func (o *LatLngStream) GetData() [][]float32
- func (o *LatLngStream) GetDataOk() ([][]float32, bool)
- func (o *LatLngStream) GetOriginalSize() int32
- func (o *LatLngStream) GetOriginalSizeOk() (*int32, bool)
- func (o *LatLngStream) GetResolution() string
- func (o *LatLngStream) GetResolutionOk() (*string, bool)
- func (o *LatLngStream) GetSeriesType() string
- func (o *LatLngStream) GetSeriesTypeOk() (*string, bool)
- func (o *LatLngStream) HasData() bool
- func (o *LatLngStream) HasOriginalSize() bool
- func (o *LatLngStream) HasResolution() bool
- func (o *LatLngStream) HasSeriesType() bool
- func (o LatLngStream) MarshalJSON() ([]byte, error)
- func (o *LatLngStream) SetData(v [][]float32)
- func (o *LatLngStream) SetOriginalSize(v int32)
- func (o *LatLngStream) SetResolution(v string)
- func (o *LatLngStream) SetSeriesType(v string)
- func (o LatLngStream) ToMap() (map[string]interface{}, error)
- type MappedNullable
- type MetaActivity
- type MetaAthlete
- type MetaClub
- func (o *MetaClub) GetId() int64
- func (o *MetaClub) GetIdOk() (*int64, bool)
- func (o *MetaClub) GetName() string
- func (o *MetaClub) GetNameOk() (*string, bool)
- func (o *MetaClub) GetResourceState() int32
- func (o *MetaClub) GetResourceStateOk() (*int32, bool)
- func (o *MetaClub) HasId() bool
- func (o *MetaClub) HasName() bool
- func (o *MetaClub) HasResourceState() bool
- func (o MetaClub) MarshalJSON() ([]byte, error)
- func (o *MetaClub) SetId(v int64)
- func (o *MetaClub) SetName(v string)
- func (o *MetaClub) SetResourceState(v int32)
- func (o MetaClub) ToMap() (map[string]interface{}, error)
- type MovingStream
- func (o *MovingStream) GetData() []bool
- func (o *MovingStream) GetDataOk() ([]bool, bool)
- func (o *MovingStream) GetOriginalSize() int32
- func (o *MovingStream) GetOriginalSizeOk() (*int32, bool)
- func (o *MovingStream) GetResolution() string
- func (o *MovingStream) GetResolutionOk() (*string, bool)
- func (o *MovingStream) GetSeriesType() string
- func (o *MovingStream) GetSeriesTypeOk() (*string, bool)
- func (o *MovingStream) HasData() bool
- func (o *MovingStream) HasOriginalSize() bool
- func (o *MovingStream) HasResolution() bool
- func (o *MovingStream) HasSeriesType() bool
- func (o MovingStream) MarshalJSON() ([]byte, error)
- func (o *MovingStream) SetData(v []bool)
- func (o *MovingStream) SetOriginalSize(v int32)
- func (o *MovingStream) SetResolution(v string)
- func (o *MovingStream) SetSeriesType(v string)
- func (o MovingStream) ToMap() (map[string]interface{}, error)
- type NullableActivityStats
- func (v NullableActivityStats) Get() *ActivityStats
- func (v NullableActivityStats) IsSet() bool
- func (v NullableActivityStats) MarshalJSON() ([]byte, error)
- func (v *NullableActivityStats) Set(val *ActivityStats)
- func (v *NullableActivityStats) UnmarshalJSON(src []byte) error
- func (v *NullableActivityStats) Unset()
- type NullableActivityTotal
- func (v NullableActivityTotal) Get() *ActivityTotal
- func (v NullableActivityTotal) IsSet() bool
- func (v NullableActivityTotal) MarshalJSON() ([]byte, error)
- func (v *NullableActivityTotal) Set(val *ActivityTotal)
- func (v *NullableActivityTotal) UnmarshalJSON(src []byte) error
- func (v *NullableActivityTotal) Unset()
- type NullableActivityType
- func (v NullableActivityType) Get() *ActivityType
- func (v NullableActivityType) IsSet() bool
- func (v NullableActivityType) MarshalJSON() ([]byte, error)
- func (v *NullableActivityType) Set(val *ActivityType)
- func (v *NullableActivityType) UnmarshalJSON(src []byte) error
- func (v *NullableActivityType) Unset()
- type NullableActivityZone
- func (v NullableActivityZone) Get() *ActivityZone
- func (v NullableActivityZone) IsSet() bool
- func (v NullableActivityZone) MarshalJSON() ([]byte, error)
- func (v *NullableActivityZone) Set(val *ActivityZone)
- func (v *NullableActivityZone) UnmarshalJSON(src []byte) error
- func (v *NullableActivityZone) Unset()
- type NullableAltitudeStream
- func (v NullableAltitudeStream) Get() *AltitudeStream
- func (v NullableAltitudeStream) IsSet() bool
- func (v NullableAltitudeStream) MarshalJSON() ([]byte, error)
- func (v *NullableAltitudeStream) Set(val *AltitudeStream)
- func (v *NullableAltitudeStream) UnmarshalJSON(src []byte) error
- func (v *NullableAltitudeStream) Unset()
- type NullableBaseStream
- type NullableBool
- type NullableCadenceStream
- func (v NullableCadenceStream) Get() *CadenceStream
- func (v NullableCadenceStream) IsSet() bool
- func (v NullableCadenceStream) MarshalJSON() ([]byte, error)
- func (v *NullableCadenceStream) Set(val *CadenceStream)
- func (v *NullableCadenceStream) UnmarshalJSON(src []byte) error
- func (v *NullableCadenceStream) Unset()
- type NullableClubActivity
- func (v NullableClubActivity) Get() *ClubActivity
- func (v NullableClubActivity) IsSet() bool
- func (v NullableClubActivity) MarshalJSON() ([]byte, error)
- func (v *NullableClubActivity) Set(val *ClubActivity)
- func (v *NullableClubActivity) UnmarshalJSON(src []byte) error
- func (v *NullableClubActivity) Unset()
- type NullableClubAthlete
- func (v NullableClubAthlete) Get() *ClubAthlete
- func (v NullableClubAthlete) IsSet() bool
- func (v NullableClubAthlete) MarshalJSON() ([]byte, error)
- func (v *NullableClubAthlete) Set(val *ClubAthlete)
- func (v *NullableClubAthlete) UnmarshalJSON(src []byte) error
- func (v *NullableClubAthlete) Unset()
- type NullableComment
- type NullableDetailedActivity
- func (v NullableDetailedActivity) Get() *DetailedActivity
- func (v NullableDetailedActivity) IsSet() bool
- func (v NullableDetailedActivity) MarshalJSON() ([]byte, error)
- func (v *NullableDetailedActivity) Set(val *DetailedActivity)
- func (v *NullableDetailedActivity) UnmarshalJSON(src []byte) error
- func (v *NullableDetailedActivity) Unset()
- type NullableDetailedAthlete
- func (v NullableDetailedAthlete) Get() *DetailedAthlete
- func (v NullableDetailedAthlete) IsSet() bool
- func (v NullableDetailedAthlete) MarshalJSON() ([]byte, error)
- func (v *NullableDetailedAthlete) Set(val *DetailedAthlete)
- func (v *NullableDetailedAthlete) UnmarshalJSON(src []byte) error
- func (v *NullableDetailedAthlete) Unset()
- type NullableDetailedClub
- func (v NullableDetailedClub) Get() *DetailedClub
- func (v NullableDetailedClub) IsSet() bool
- func (v NullableDetailedClub) MarshalJSON() ([]byte, error)
- func (v *NullableDetailedClub) Set(val *DetailedClub)
- func (v *NullableDetailedClub) UnmarshalJSON(src []byte) error
- func (v *NullableDetailedClub) Unset()
- type NullableDetailedGear
- func (v NullableDetailedGear) Get() *DetailedGear
- func (v NullableDetailedGear) IsSet() bool
- func (v NullableDetailedGear) MarshalJSON() ([]byte, error)
- func (v *NullableDetailedGear) Set(val *DetailedGear)
- func (v *NullableDetailedGear) UnmarshalJSON(src []byte) error
- func (v *NullableDetailedGear) Unset()
- type NullableDetailedSegment
- func (v NullableDetailedSegment) Get() *DetailedSegment
- func (v NullableDetailedSegment) IsSet() bool
- func (v NullableDetailedSegment) MarshalJSON() ([]byte, error)
- func (v *NullableDetailedSegment) Set(val *DetailedSegment)
- func (v *NullableDetailedSegment) UnmarshalJSON(src []byte) error
- func (v *NullableDetailedSegment) Unset()
- type NullableDetailedSegmentEffort
- func (v NullableDetailedSegmentEffort) Get() *DetailedSegmentEffort
- func (v NullableDetailedSegmentEffort) IsSet() bool
- func (v NullableDetailedSegmentEffort) MarshalJSON() ([]byte, error)
- func (v *NullableDetailedSegmentEffort) Set(val *DetailedSegmentEffort)
- func (v *NullableDetailedSegmentEffort) UnmarshalJSON(src []byte) error
- func (v *NullableDetailedSegmentEffort) Unset()
- type NullableDistanceStream
- func (v NullableDistanceStream) Get() *DistanceStream
- func (v NullableDistanceStream) IsSet() bool
- func (v NullableDistanceStream) MarshalJSON() ([]byte, error)
- func (v *NullableDistanceStream) Set(val *DistanceStream)
- func (v *NullableDistanceStream) UnmarshalJSON(src []byte) error
- func (v *NullableDistanceStream) Unset()
- type NullableError
- type NullableExplorerResponse
- func (v NullableExplorerResponse) Get() *ExplorerResponse
- func (v NullableExplorerResponse) IsSet() bool
- func (v NullableExplorerResponse) MarshalJSON() ([]byte, error)
- func (v *NullableExplorerResponse) Set(val *ExplorerResponse)
- func (v *NullableExplorerResponse) UnmarshalJSON(src []byte) error
- func (v *NullableExplorerResponse) Unset()
- type NullableExplorerSegment
- func (v NullableExplorerSegment) Get() *ExplorerSegment
- func (v NullableExplorerSegment) IsSet() bool
- func (v NullableExplorerSegment) MarshalJSON() ([]byte, error)
- func (v *NullableExplorerSegment) Set(val *ExplorerSegment)
- func (v *NullableExplorerSegment) UnmarshalJSON(src []byte) error
- func (v *NullableExplorerSegment) Unset()
- type NullableFault
- type NullableFloat32
- type NullableFloat64
- type NullableHeartRateZoneRanges
- func (v NullableHeartRateZoneRanges) Get() *HeartRateZoneRanges
- func (v NullableHeartRateZoneRanges) IsSet() bool
- func (v NullableHeartRateZoneRanges) MarshalJSON() ([]byte, error)
- func (v *NullableHeartRateZoneRanges) Set(val *HeartRateZoneRanges)
- func (v *NullableHeartRateZoneRanges) UnmarshalJSON(src []byte) error
- func (v *NullableHeartRateZoneRanges) Unset()
- type NullableHeartrateStream
- func (v NullableHeartrateStream) Get() *HeartrateStream
- func (v NullableHeartrateStream) IsSet() bool
- func (v NullableHeartrateStream) MarshalJSON() ([]byte, error)
- func (v *NullableHeartrateStream) Set(val *HeartrateStream)
- func (v *NullableHeartrateStream) UnmarshalJSON(src []byte) error
- func (v *NullableHeartrateStream) Unset()
- type NullableInt
- type NullableInt32
- type NullableInt64
- type NullableLap
- type NullableLatLngStream
- func (v NullableLatLngStream) Get() *LatLngStream
- func (v NullableLatLngStream) IsSet() bool
- func (v NullableLatLngStream) MarshalJSON() ([]byte, error)
- func (v *NullableLatLngStream) Set(val *LatLngStream)
- func (v *NullableLatLngStream) UnmarshalJSON(src []byte) error
- func (v *NullableLatLngStream) Unset()
- type NullableMetaActivity
- func (v NullableMetaActivity) Get() *MetaActivity
- func (v NullableMetaActivity) IsSet() bool
- func (v NullableMetaActivity) MarshalJSON() ([]byte, error)
- func (v *NullableMetaActivity) Set(val *MetaActivity)
- func (v *NullableMetaActivity) UnmarshalJSON(src []byte) error
- func (v *NullableMetaActivity) Unset()
- type NullableMetaAthlete
- func (v NullableMetaAthlete) Get() *MetaAthlete
- func (v NullableMetaAthlete) IsSet() bool
- func (v NullableMetaAthlete) MarshalJSON() ([]byte, error)
- func (v *NullableMetaAthlete) Set(val *MetaAthlete)
- func (v *NullableMetaAthlete) UnmarshalJSON(src []byte) error
- func (v *NullableMetaAthlete) Unset()
- type NullableMetaClub
- type NullableMovingStream
- func (v NullableMovingStream) Get() *MovingStream
- func (v NullableMovingStream) IsSet() bool
- func (v NullableMovingStream) MarshalJSON() ([]byte, error)
- func (v *NullableMovingStream) Set(val *MovingStream)
- func (v *NullableMovingStream) UnmarshalJSON(src []byte) error
- func (v *NullableMovingStream) Unset()
- type NullablePhotosSummary
- func (v NullablePhotosSummary) Get() *PhotosSummary
- func (v NullablePhotosSummary) IsSet() bool
- func (v NullablePhotosSummary) MarshalJSON() ([]byte, error)
- func (v *NullablePhotosSummary) Set(val *PhotosSummary)
- func (v *NullablePhotosSummary) UnmarshalJSON(src []byte) error
- func (v *NullablePhotosSummary) Unset()
- type NullablePhotosSummaryPrimary
- func (v NullablePhotosSummaryPrimary) Get() *PhotosSummaryPrimary
- func (v NullablePhotosSummaryPrimary) IsSet() bool
- func (v NullablePhotosSummaryPrimary) MarshalJSON() ([]byte, error)
- func (v *NullablePhotosSummaryPrimary) Set(val *PhotosSummaryPrimary)
- func (v *NullablePhotosSummaryPrimary) UnmarshalJSON(src []byte) error
- func (v *NullablePhotosSummaryPrimary) Unset()
- type NullablePolylineMap
- func (v NullablePolylineMap) Get() *PolylineMap
- func (v NullablePolylineMap) IsSet() bool
- func (v NullablePolylineMap) MarshalJSON() ([]byte, error)
- func (v *NullablePolylineMap) Set(val *PolylineMap)
- func (v *NullablePolylineMap) UnmarshalJSON(src []byte) error
- func (v *NullablePolylineMap) Unset()
- type NullablePowerStream
- func (v NullablePowerStream) Get() *PowerStream
- func (v NullablePowerStream) IsSet() bool
- func (v NullablePowerStream) MarshalJSON() ([]byte, error)
- func (v *NullablePowerStream) Set(val *PowerStream)
- func (v *NullablePowerStream) UnmarshalJSON(src []byte) error
- func (v *NullablePowerStream) Unset()
- type NullablePowerZoneRanges
- func (v NullablePowerZoneRanges) Get() *PowerZoneRanges
- func (v NullablePowerZoneRanges) IsSet() bool
- func (v NullablePowerZoneRanges) MarshalJSON() ([]byte, error)
- func (v *NullablePowerZoneRanges) Set(val *PowerZoneRanges)
- func (v *NullablePowerZoneRanges) UnmarshalJSON(src []byte) error
- func (v *NullablePowerZoneRanges) Unset()
- type NullableRoute
- type NullableSmoothGradeStream
- func (v NullableSmoothGradeStream) Get() *SmoothGradeStream
- func (v NullableSmoothGradeStream) IsSet() bool
- func (v NullableSmoothGradeStream) MarshalJSON() ([]byte, error)
- func (v *NullableSmoothGradeStream) Set(val *SmoothGradeStream)
- func (v *NullableSmoothGradeStream) UnmarshalJSON(src []byte) error
- func (v *NullableSmoothGradeStream) Unset()
- type NullableSmoothVelocityStream
- func (v NullableSmoothVelocityStream) Get() *SmoothVelocityStream
- func (v NullableSmoothVelocityStream) IsSet() bool
- func (v NullableSmoothVelocityStream) MarshalJSON() ([]byte, error)
- func (v *NullableSmoothVelocityStream) Set(val *SmoothVelocityStream)
- func (v *NullableSmoothVelocityStream) UnmarshalJSON(src []byte) error
- func (v *NullableSmoothVelocityStream) Unset()
- type NullableSplit
- type NullableSportType
- type NullableStreamSet
- type NullableString
- type NullableSummaryActivity
- func (v NullableSummaryActivity) Get() *SummaryActivity
- func (v NullableSummaryActivity) IsSet() bool
- func (v NullableSummaryActivity) MarshalJSON() ([]byte, error)
- func (v *NullableSummaryActivity) Set(val *SummaryActivity)
- func (v *NullableSummaryActivity) UnmarshalJSON(src []byte) error
- func (v *NullableSummaryActivity) Unset()
- type NullableSummaryAthlete
- func (v NullableSummaryAthlete) Get() *SummaryAthlete
- func (v NullableSummaryAthlete) IsSet() bool
- func (v NullableSummaryAthlete) MarshalJSON() ([]byte, error)
- func (v *NullableSummaryAthlete) Set(val *SummaryAthlete)
- func (v *NullableSummaryAthlete) UnmarshalJSON(src []byte) error
- func (v *NullableSummaryAthlete) Unset()
- type NullableSummaryClub
- func (v NullableSummaryClub) Get() *SummaryClub
- func (v NullableSummaryClub) IsSet() bool
- func (v NullableSummaryClub) MarshalJSON() ([]byte, error)
- func (v *NullableSummaryClub) Set(val *SummaryClub)
- func (v *NullableSummaryClub) UnmarshalJSON(src []byte) error
- func (v *NullableSummaryClub) Unset()
- type NullableSummaryGear
- func (v NullableSummaryGear) Get() *SummaryGear
- func (v NullableSummaryGear) IsSet() bool
- func (v NullableSummaryGear) MarshalJSON() ([]byte, error)
- func (v *NullableSummaryGear) Set(val *SummaryGear)
- func (v *NullableSummaryGear) UnmarshalJSON(src []byte) error
- func (v *NullableSummaryGear) Unset()
- type NullableSummaryPRSegmentEffort
- func (v NullableSummaryPRSegmentEffort) Get() *SummaryPRSegmentEffort
- func (v NullableSummaryPRSegmentEffort) IsSet() bool
- func (v NullableSummaryPRSegmentEffort) MarshalJSON() ([]byte, error)
- func (v *NullableSummaryPRSegmentEffort) Set(val *SummaryPRSegmentEffort)
- func (v *NullableSummaryPRSegmentEffort) UnmarshalJSON(src []byte) error
- func (v *NullableSummaryPRSegmentEffort) Unset()
- type NullableSummarySegment
- func (v NullableSummarySegment) Get() *SummarySegment
- func (v NullableSummarySegment) IsSet() bool
- func (v NullableSummarySegment) MarshalJSON() ([]byte, error)
- func (v *NullableSummarySegment) Set(val *SummarySegment)
- func (v *NullableSummarySegment) UnmarshalJSON(src []byte) error
- func (v *NullableSummarySegment) Unset()
- type NullableSummarySegmentEffort
- func (v NullableSummarySegmentEffort) Get() *SummarySegmentEffort
- func (v NullableSummarySegmentEffort) IsSet() bool
- func (v NullableSummarySegmentEffort) MarshalJSON() ([]byte, error)
- func (v *NullableSummarySegmentEffort) Set(val *SummarySegmentEffort)
- func (v *NullableSummarySegmentEffort) UnmarshalJSON(src []byte) error
- func (v *NullableSummarySegmentEffort) Unset()
- type NullableTemperatureStream
- func (v NullableTemperatureStream) Get() *TemperatureStream
- func (v NullableTemperatureStream) IsSet() bool
- func (v NullableTemperatureStream) MarshalJSON() ([]byte, error)
- func (v *NullableTemperatureStream) Set(val *TemperatureStream)
- func (v *NullableTemperatureStream) UnmarshalJSON(src []byte) error
- func (v *NullableTemperatureStream) Unset()
- type NullableTime
- type NullableTimeStream
- type NullableTimedZoneRange
- func (v NullableTimedZoneRange) Get() *TimedZoneRange
- func (v NullableTimedZoneRange) IsSet() bool
- func (v NullableTimedZoneRange) MarshalJSON() ([]byte, error)
- func (v *NullableTimedZoneRange) Set(val *TimedZoneRange)
- func (v *NullableTimedZoneRange) UnmarshalJSON(src []byte) error
- func (v *NullableTimedZoneRange) Unset()
- type NullableUpdatableActivity
- func (v NullableUpdatableActivity) Get() *UpdatableActivity
- func (v NullableUpdatableActivity) IsSet() bool
- func (v NullableUpdatableActivity) MarshalJSON() ([]byte, error)
- func (v *NullableUpdatableActivity) Set(val *UpdatableActivity)
- func (v *NullableUpdatableActivity) UnmarshalJSON(src []byte) error
- func (v *NullableUpdatableActivity) Unset()
- type NullableUpload
- type NullableZoneRange
- type NullableZones
- type PhotosSummary
- func (o *PhotosSummary) GetCount() int32
- func (o *PhotosSummary) GetCountOk() (*int32, bool)
- func (o *PhotosSummary) GetPrimary() PhotosSummaryPrimary
- func (o *PhotosSummary) GetPrimaryOk() (*PhotosSummaryPrimary, bool)
- func (o *PhotosSummary) HasCount() bool
- func (o *PhotosSummary) HasPrimary() bool
- func (o PhotosSummary) MarshalJSON() ([]byte, error)
- func (o *PhotosSummary) SetCount(v int32)
- func (o *PhotosSummary) SetPrimary(v PhotosSummaryPrimary)
- func (o PhotosSummary) ToMap() (map[string]interface{}, error)
- type PhotosSummaryPrimary
- func (o *PhotosSummaryPrimary) GetId() int64
- func (o *PhotosSummaryPrimary) GetIdOk() (*int64, bool)
- func (o *PhotosSummaryPrimary) GetSource() int32
- func (o *PhotosSummaryPrimary) GetSourceOk() (*int32, bool)
- func (o *PhotosSummaryPrimary) GetUniqueId() string
- func (o *PhotosSummaryPrimary) GetUniqueIdOk() (*string, bool)
- func (o *PhotosSummaryPrimary) GetUrls() map[string]string
- func (o *PhotosSummaryPrimary) GetUrlsOk() (*map[string]string, bool)
- func (o *PhotosSummaryPrimary) HasId() bool
- func (o *PhotosSummaryPrimary) HasSource() bool
- func (o *PhotosSummaryPrimary) HasUniqueId() bool
- func (o *PhotosSummaryPrimary) HasUrls() bool
- func (o PhotosSummaryPrimary) MarshalJSON() ([]byte, error)
- func (o *PhotosSummaryPrimary) SetId(v int64)
- func (o *PhotosSummaryPrimary) SetSource(v int32)
- func (o *PhotosSummaryPrimary) SetUniqueId(v string)
- func (o *PhotosSummaryPrimary) SetUrls(v map[string]string)
- func (o PhotosSummaryPrimary) ToMap() (map[string]interface{}, error)
- type PolylineMap
- func (o *PolylineMap) GetId() string
- func (o *PolylineMap) GetIdOk() (*string, bool)
- func (o *PolylineMap) GetPolyline() string
- func (o *PolylineMap) GetPolylineOk() (*string, bool)
- func (o *PolylineMap) GetSummaryPolyline() string
- func (o *PolylineMap) GetSummaryPolylineOk() (*string, bool)
- func (o *PolylineMap) HasId() bool
- func (o *PolylineMap) HasPolyline() bool
- func (o *PolylineMap) HasSummaryPolyline() bool
- func (o PolylineMap) MarshalJSON() ([]byte, error)
- func (o *PolylineMap) SetId(v string)
- func (o *PolylineMap) SetPolyline(v string)
- func (o *PolylineMap) SetSummaryPolyline(v string)
- func (o PolylineMap) ToMap() (map[string]interface{}, error)
- type PowerStream
- func (o *PowerStream) GetData() []int32
- func (o *PowerStream) GetDataOk() ([]int32, bool)
- func (o *PowerStream) GetOriginalSize() int32
- func (o *PowerStream) GetOriginalSizeOk() (*int32, bool)
- func (o *PowerStream) GetResolution() string
- func (o *PowerStream) GetResolutionOk() (*string, bool)
- func (o *PowerStream) GetSeriesType() string
- func (o *PowerStream) GetSeriesTypeOk() (*string, bool)
- func (o *PowerStream) HasData() bool
- func (o *PowerStream) HasOriginalSize() bool
- func (o *PowerStream) HasResolution() bool
- func (o *PowerStream) HasSeriesType() bool
- func (o PowerStream) MarshalJSON() ([]byte, error)
- func (o *PowerStream) SetData(v []int32)
- func (o *PowerStream) SetOriginalSize(v int32)
- func (o *PowerStream) SetResolution(v string)
- func (o *PowerStream) SetSeriesType(v string)
- func (o PowerStream) ToMap() (map[string]interface{}, error)
- type PowerZoneRanges
- func (o *PowerZoneRanges) GetZones() []ZoneRange
- func (o *PowerZoneRanges) GetZonesOk() ([]ZoneRange, bool)
- func (o *PowerZoneRanges) HasZones() bool
- func (o PowerZoneRanges) MarshalJSON() ([]byte, error)
- func (o *PowerZoneRanges) SetZones(v []ZoneRange)
- func (o PowerZoneRanges) ToMap() (map[string]interface{}, error)
- type Route
- func (o *Route) GetAthlete() SummaryAthlete
- func (o *Route) GetAthleteOk() (*SummaryAthlete, bool)
- func (o *Route) GetCreatedAt() time.Time
- func (o *Route) GetCreatedAtOk() (*time.Time, bool)
- func (o *Route) GetDescription() string
- func (o *Route) GetDescriptionOk() (*string, bool)
- func (o *Route) GetDistance() float32
- func (o *Route) GetDistanceOk() (*float32, bool)
- func (o *Route) GetElevationGain() float32
- func (o *Route) GetElevationGainOk() (*float32, bool)
- func (o *Route) GetEstimatedMovingTime() int32
- func (o *Route) GetEstimatedMovingTimeOk() (*int32, bool)
- func (o *Route) GetId() int64
- func (o *Route) GetIdOk() (*int64, bool)
- func (o *Route) GetIdStr() string
- func (o *Route) GetIdStrOk() (*string, bool)
- func (o *Route) GetMap() PolylineMap
- func (o *Route) GetMapOk() (*PolylineMap, bool)
- func (o *Route) GetName() string
- func (o *Route) GetNameOk() (*string, bool)
- func (o *Route) GetPrivate() bool
- func (o *Route) GetPrivateOk() (*bool, bool)
- func (o *Route) GetSegments() []SummarySegment
- func (o *Route) GetSegmentsOk() ([]SummarySegment, bool)
- func (o *Route) GetStarred() bool
- func (o *Route) GetStarredOk() (*bool, bool)
- func (o *Route) GetSubType() int32
- func (o *Route) GetSubTypeOk() (*int32, bool)
- func (o *Route) GetTimestamp() int32
- func (o *Route) GetTimestampOk() (*int32, bool)
- func (o *Route) GetType() int32
- func (o *Route) GetTypeOk() (*int32, bool)
- func (o *Route) GetUpdatedAt() time.Time
- func (o *Route) GetUpdatedAtOk() (*time.Time, bool)
- func (o *Route) HasAthlete() bool
- func (o *Route) HasCreatedAt() bool
- func (o *Route) HasDescription() bool
- func (o *Route) HasDistance() bool
- func (o *Route) HasElevationGain() bool
- func (o *Route) HasEstimatedMovingTime() bool
- func (o *Route) HasId() bool
- func (o *Route) HasIdStr() bool
- func (o *Route) HasMap() bool
- func (o *Route) HasName() bool
- func (o *Route) HasPrivate() bool
- func (o *Route) HasSegments() bool
- func (o *Route) HasStarred() bool
- func (o *Route) HasSubType() bool
- func (o *Route) HasTimestamp() bool
- func (o *Route) HasType() bool
- func (o *Route) HasUpdatedAt() bool
- func (o Route) MarshalJSON() ([]byte, error)
- func (o *Route) SetAthlete(v SummaryAthlete)
- func (o *Route) SetCreatedAt(v time.Time)
- func (o *Route) SetDescription(v string)
- func (o *Route) SetDistance(v float32)
- func (o *Route) SetElevationGain(v float32)
- func (o *Route) SetEstimatedMovingTime(v int32)
- func (o *Route) SetId(v int64)
- func (o *Route) SetIdStr(v string)
- func (o *Route) SetMap(v PolylineMap)
- func (o *Route) SetName(v string)
- func (o *Route) SetPrivate(v bool)
- func (o *Route) SetSegments(v []SummarySegment)
- func (o *Route) SetStarred(v bool)
- func (o *Route) SetSubType(v int32)
- func (o *Route) SetTimestamp(v int32)
- func (o *Route) SetType(v int32)
- func (o *Route) SetUpdatedAt(v time.Time)
- func (o Route) ToMap() (map[string]interface{}, error)
- type RoutesAPIService
- func (a *RoutesAPIService) GetRouteAsGPX(ctx context.Context, id int64) ApiGetRouteAsGPXRequest
- func (a *RoutesAPIService) GetRouteAsGPXExecute(r ApiGetRouteAsGPXRequest) (*http.Response, error)
- func (a *RoutesAPIService) GetRouteAsTCX(ctx context.Context, id int64) ApiGetRouteAsTCXRequest
- func (a *RoutesAPIService) GetRouteAsTCXExecute(r ApiGetRouteAsTCXRequest) (*http.Response, error)
- func (a *RoutesAPIService) GetRouteById(ctx context.Context, id int64) ApiGetRouteByIdRequest
- func (a *RoutesAPIService) GetRouteByIdExecute(r ApiGetRouteByIdRequest) (*Route, *http.Response, error)
- func (a *RoutesAPIService) GetRoutesByAthleteId(ctx context.Context) ApiGetRoutesByAthleteIdRequest
- func (a *RoutesAPIService) GetRoutesByAthleteIdExecute(r ApiGetRoutesByAthleteIdRequest) ([]Route, *http.Response, error)
- type SegmentEffortsAPIService
- func (a *SegmentEffortsAPIService) GetEffortsBySegmentId(ctx context.Context) ApiGetEffortsBySegmentIdRequest
- func (a *SegmentEffortsAPIService) GetEffortsBySegmentIdExecute(r ApiGetEffortsBySegmentIdRequest) ([]DetailedSegmentEffort, *http.Response, error)
- func (a *SegmentEffortsAPIService) GetSegmentEffortById(ctx context.Context, id int64) ApiGetSegmentEffortByIdRequest
- func (a *SegmentEffortsAPIService) GetSegmentEffortByIdExecute(r ApiGetSegmentEffortByIdRequest) (*DetailedSegmentEffort, *http.Response, error)
- type SegmentsAPIService
- func (a *SegmentsAPIService) ExploreSegments(ctx context.Context) ApiExploreSegmentsRequest
- func (a *SegmentsAPIService) ExploreSegmentsExecute(r ApiExploreSegmentsRequest) (*ExplorerResponse, *http.Response, error)
- func (a *SegmentsAPIService) GetLoggedInAthleteStarredSegments(ctx context.Context) ApiGetLoggedInAthleteStarredSegmentsRequest
- func (a *SegmentsAPIService) GetLoggedInAthleteStarredSegmentsExecute(r ApiGetLoggedInAthleteStarredSegmentsRequest) ([]SummarySegment, *http.Response, error)
- func (a *SegmentsAPIService) GetSegmentById(ctx context.Context, id int64) ApiGetSegmentByIdRequest
- func (a *SegmentsAPIService) GetSegmentByIdExecute(r ApiGetSegmentByIdRequest) (*DetailedSegment, *http.Response, error)
- func (a *SegmentsAPIService) StarSegment(ctx context.Context, id int64) ApiStarSegmentRequest
- func (a *SegmentsAPIService) StarSegmentExecute(r ApiStarSegmentRequest) (*DetailedSegment, *http.Response, error)
- type ServerConfiguration
- type ServerConfigurations
- type ServerVariable
- type SmoothGradeStream
- func (o *SmoothGradeStream) GetData() []float32
- func (o *SmoothGradeStream) GetDataOk() ([]float32, bool)
- func (o *SmoothGradeStream) GetOriginalSize() int32
- func (o *SmoothGradeStream) GetOriginalSizeOk() (*int32, bool)
- func (o *SmoothGradeStream) GetResolution() string
- func (o *SmoothGradeStream) GetResolutionOk() (*string, bool)
- func (o *SmoothGradeStream) GetSeriesType() string
- func (o *SmoothGradeStream) GetSeriesTypeOk() (*string, bool)
- func (o *SmoothGradeStream) HasData() bool
- func (o *SmoothGradeStream) HasOriginalSize() bool
- func (o *SmoothGradeStream) HasResolution() bool
- func (o *SmoothGradeStream) HasSeriesType() bool
- func (o SmoothGradeStream) MarshalJSON() ([]byte, error)
- func (o *SmoothGradeStream) SetData(v []float32)
- func (o *SmoothGradeStream) SetOriginalSize(v int32)
- func (o *SmoothGradeStream) SetResolution(v string)
- func (o *SmoothGradeStream) SetSeriesType(v string)
- func (o SmoothGradeStream) ToMap() (map[string]interface{}, error)
- type SmoothVelocityStream
- func (o *SmoothVelocityStream) GetData() []float32
- func (o *SmoothVelocityStream) GetDataOk() ([]float32, bool)
- func (o *SmoothVelocityStream) GetOriginalSize() int32
- func (o *SmoothVelocityStream) GetOriginalSizeOk() (*int32, bool)
- func (o *SmoothVelocityStream) GetResolution() string
- func (o *SmoothVelocityStream) GetResolutionOk() (*string, bool)
- func (o *SmoothVelocityStream) GetSeriesType() string
- func (o *SmoothVelocityStream) GetSeriesTypeOk() (*string, bool)
- func (o *SmoothVelocityStream) HasData() bool
- func (o *SmoothVelocityStream) HasOriginalSize() bool
- func (o *SmoothVelocityStream) HasResolution() bool
- func (o *SmoothVelocityStream) HasSeriesType() bool
- func (o SmoothVelocityStream) MarshalJSON() ([]byte, error)
- func (o *SmoothVelocityStream) SetData(v []float32)
- func (o *SmoothVelocityStream) SetOriginalSize(v int32)
- func (o *SmoothVelocityStream) SetResolution(v string)
- func (o *SmoothVelocityStream) SetSeriesType(v string)
- func (o SmoothVelocityStream) ToMap() (map[string]interface{}, error)
- type Split
- func (o *Split) GetAverageSpeed() float32
- func (o *Split) GetAverageSpeedOk() (*float32, bool)
- func (o *Split) GetDistance() float32
- func (o *Split) GetDistanceOk() (*float32, bool)
- func (o *Split) GetElapsedTime() int32
- func (o *Split) GetElapsedTimeOk() (*int32, bool)
- func (o *Split) GetElevationDifference() float32
- func (o *Split) GetElevationDifferenceOk() (*float32, bool)
- func (o *Split) GetMovingTime() int32
- func (o *Split) GetMovingTimeOk() (*int32, bool)
- func (o *Split) GetPaceZone() int32
- func (o *Split) GetPaceZoneOk() (*int32, bool)
- func (o *Split) GetSplit() int32
- func (o *Split) GetSplitOk() (*int32, bool)
- func (o *Split) HasAverageSpeed() bool
- func (o *Split) HasDistance() bool
- func (o *Split) HasElapsedTime() bool
- func (o *Split) HasElevationDifference() bool
- func (o *Split) HasMovingTime() bool
- func (o *Split) HasPaceZone() bool
- func (o *Split) HasSplit() bool
- func (o Split) MarshalJSON() ([]byte, error)
- func (o *Split) SetAverageSpeed(v float32)
- func (o *Split) SetDistance(v float32)
- func (o *Split) SetElapsedTime(v int32)
- func (o *Split) SetElevationDifference(v float32)
- func (o *Split) SetMovingTime(v int32)
- func (o *Split) SetPaceZone(v int32)
- func (o *Split) SetSplit(v int32)
- func (o Split) ToMap() (map[string]interface{}, error)
- type SportType
- type StreamSet
- func (o *StreamSet) GetAltitude() AltitudeStream
- func (o *StreamSet) GetAltitudeOk() (*AltitudeStream, bool)
- func (o *StreamSet) GetCadence() CadenceStream
- func (o *StreamSet) GetCadenceOk() (*CadenceStream, bool)
- func (o *StreamSet) GetDistance() DistanceStream
- func (o *StreamSet) GetDistanceOk() (*DistanceStream, bool)
- func (o *StreamSet) GetGradeSmooth() SmoothGradeStream
- func (o *StreamSet) GetGradeSmoothOk() (*SmoothGradeStream, bool)
- func (o *StreamSet) GetHeartrate() HeartrateStream
- func (o *StreamSet) GetHeartrateOk() (*HeartrateStream, bool)
- func (o *StreamSet) GetLatlng() LatLngStream
- func (o *StreamSet) GetLatlngOk() (*LatLngStream, bool)
- func (o *StreamSet) GetMoving() MovingStream
- func (o *StreamSet) GetMovingOk() (*MovingStream, bool)
- func (o *StreamSet) GetTemp() TemperatureStream
- func (o *StreamSet) GetTempOk() (*TemperatureStream, bool)
- func (o *StreamSet) GetTime() TimeStream
- func (o *StreamSet) GetTimeOk() (*TimeStream, bool)
- func (o *StreamSet) GetVelocitySmooth() SmoothVelocityStream
- func (o *StreamSet) GetVelocitySmoothOk() (*SmoothVelocityStream, bool)
- func (o *StreamSet) GetWatts() PowerStream
- func (o *StreamSet) GetWattsOk() (*PowerStream, bool)
- func (o *StreamSet) HasAltitude() bool
- func (o *StreamSet) HasCadence() bool
- func (o *StreamSet) HasDistance() bool
- func (o *StreamSet) HasGradeSmooth() bool
- func (o *StreamSet) HasHeartrate() bool
- func (o *StreamSet) HasLatlng() bool
- func (o *StreamSet) HasMoving() bool
- func (o *StreamSet) HasTemp() bool
- func (o *StreamSet) HasTime() bool
- func (o *StreamSet) HasVelocitySmooth() bool
- func (o *StreamSet) HasWatts() bool
- func (o StreamSet) MarshalJSON() ([]byte, error)
- func (o *StreamSet) SetAltitude(v AltitudeStream)
- func (o *StreamSet) SetCadence(v CadenceStream)
- func (o *StreamSet) SetDistance(v DistanceStream)
- func (o *StreamSet) SetGradeSmooth(v SmoothGradeStream)
- func (o *StreamSet) SetHeartrate(v HeartrateStream)
- func (o *StreamSet) SetLatlng(v LatLngStream)
- func (o *StreamSet) SetMoving(v MovingStream)
- func (o *StreamSet) SetTemp(v TemperatureStream)
- func (o *StreamSet) SetTime(v TimeStream)
- func (o *StreamSet) SetVelocitySmooth(v SmoothVelocityStream)
- func (o *StreamSet) SetWatts(v PowerStream)
- func (o StreamSet) ToMap() (map[string]interface{}, error)
- type StreamsAPIService
- func (a *StreamsAPIService) GetActivityStreams(ctx context.Context, id int64) ApiGetActivityStreamsRequest
- func (a *StreamsAPIService) GetActivityStreamsExecute(r ApiGetActivityStreamsRequest) (*StreamSet, *http.Response, error)
- func (a *StreamsAPIService) GetRouteStreams(ctx context.Context, id int64) ApiGetRouteStreamsRequest
- func (a *StreamsAPIService) GetRouteStreamsExecute(r ApiGetRouteStreamsRequest) (*StreamSet, *http.Response, error)
- func (a *StreamsAPIService) GetSegmentEffortStreams(ctx context.Context, id int64) ApiGetSegmentEffortStreamsRequest
- func (a *StreamsAPIService) GetSegmentEffortStreamsExecute(r ApiGetSegmentEffortStreamsRequest) (*StreamSet, *http.Response, error)
- func (a *StreamsAPIService) GetSegmentStreams(ctx context.Context, id int64) ApiGetSegmentStreamsRequest
- func (a *StreamsAPIService) GetSegmentStreamsExecute(r ApiGetSegmentStreamsRequest) (*StreamSet, *http.Response, error)
- type SummaryActivity
- func (o *SummaryActivity) GetAchievementCount() int32
- func (o *SummaryActivity) GetAchievementCountOk() (*int32, bool)
- func (o *SummaryActivity) GetAthlete() MetaAthlete
- func (o *SummaryActivity) GetAthleteCount() int32
- func (o *SummaryActivity) GetAthleteCountOk() (*int32, bool)
- func (o *SummaryActivity) GetAthleteOk() (*MetaAthlete, bool)
- func (o *SummaryActivity) GetAverageSpeed() float32
- func (o *SummaryActivity) GetAverageSpeedOk() (*float32, bool)
- func (o *SummaryActivity) GetAverageWatts() float32
- func (o *SummaryActivity) GetAverageWattsOk() (*float32, bool)
- func (o *SummaryActivity) GetCommentCount() int32
- func (o *SummaryActivity) GetCommentCountOk() (*int32, bool)
- func (o *SummaryActivity) GetCommute() bool
- func (o *SummaryActivity) GetCommuteOk() (*bool, bool)
- func (o *SummaryActivity) GetDeviceWatts() bool
- func (o *SummaryActivity) GetDeviceWattsOk() (*bool, bool)
- func (o *SummaryActivity) GetDistance() float32
- func (o *SummaryActivity) GetDistanceOk() (*float32, bool)
- func (o *SummaryActivity) GetElapsedTime() int32
- func (o *SummaryActivity) GetElapsedTimeOk() (*int32, bool)
- func (o *SummaryActivity) GetElevHigh() float32
- func (o *SummaryActivity) GetElevHighOk() (*float32, bool)
- func (o *SummaryActivity) GetElevLow() float32
- func (o *SummaryActivity) GetElevLowOk() (*float32, bool)
- func (o *SummaryActivity) GetEndLatlng() []float32
- func (o *SummaryActivity) GetEndLatlngOk() ([]float32, bool)
- func (o *SummaryActivity) GetExternalId() string
- func (o *SummaryActivity) GetExternalIdOk() (*string, bool)
- func (o *SummaryActivity) GetFlagged() bool
- func (o *SummaryActivity) GetFlaggedOk() (*bool, bool)
- func (o *SummaryActivity) GetGearId() string
- func (o *SummaryActivity) GetGearIdOk() (*string, bool)
- func (o *SummaryActivity) GetHasKudoed() bool
- func (o *SummaryActivity) GetHasKudoedOk() (*bool, bool)
- func (o *SummaryActivity) GetHideFromHome() bool
- func (o *SummaryActivity) GetHideFromHomeOk() (*bool, bool)
- func (o *SummaryActivity) GetId() int64
- func (o *SummaryActivity) GetIdOk() (*int64, bool)
- func (o *SummaryActivity) GetKilojoules() float32
- func (o *SummaryActivity) GetKilojoulesOk() (*float32, bool)
- func (o *SummaryActivity) GetKudosCount() int32
- func (o *SummaryActivity) GetKudosCountOk() (*int32, bool)
- func (o *SummaryActivity) GetManual() bool
- func (o *SummaryActivity) GetManualOk() (*bool, bool)
- func (o *SummaryActivity) GetMap() PolylineMap
- func (o *SummaryActivity) GetMapOk() (*PolylineMap, bool)
- func (o *SummaryActivity) GetMaxSpeed() float32
- func (o *SummaryActivity) GetMaxSpeedOk() (*float32, bool)
- func (o *SummaryActivity) GetMaxWatts() int32
- func (o *SummaryActivity) GetMaxWattsOk() (*int32, bool)
- func (o *SummaryActivity) GetMovingTime() int32
- func (o *SummaryActivity) GetMovingTimeOk() (*int32, bool)
- func (o *SummaryActivity) GetName() string
- func (o *SummaryActivity) GetNameOk() (*string, bool)
- func (o *SummaryActivity) GetPhotoCount() int32
- func (o *SummaryActivity) GetPhotoCountOk() (*int32, bool)
- func (o *SummaryActivity) GetPrivate() bool
- func (o *SummaryActivity) GetPrivateOk() (*bool, bool)
- func (o *SummaryActivity) GetSportType() SportType
- func (o *SummaryActivity) GetSportTypeOk() (*SportType, bool)
- func (o *SummaryActivity) GetStartDate() time.Time
- func (o *SummaryActivity) GetStartDateLocal() time.Time
- func (o *SummaryActivity) GetStartDateLocalOk() (*time.Time, bool)
- func (o *SummaryActivity) GetStartDateOk() (*time.Time, bool)
- func (o *SummaryActivity) GetStartLatlng() []float32
- func (o *SummaryActivity) GetStartLatlngOk() ([]float32, bool)
- func (o *SummaryActivity) GetTimezone() string
- func (o *SummaryActivity) GetTimezoneOk() (*string, bool)
- func (o *SummaryActivity) GetTotalElevationGain() float32
- func (o *SummaryActivity) GetTotalElevationGainOk() (*float32, bool)
- func (o *SummaryActivity) GetTotalPhotoCount() int32
- func (o *SummaryActivity) GetTotalPhotoCountOk() (*int32, bool)
- func (o *SummaryActivity) GetTrainer() bool
- func (o *SummaryActivity) GetTrainerOk() (*bool, bool)
- func (o *SummaryActivity) GetType() ActivityType
- func (o *SummaryActivity) GetTypeOk() (*ActivityType, bool)
- func (o *SummaryActivity) GetUploadId() int64
- func (o *SummaryActivity) GetUploadIdOk() (*int64, bool)
- func (o *SummaryActivity) GetUploadIdStr() string
- func (o *SummaryActivity) GetUploadIdStrOk() (*string, bool)
- func (o *SummaryActivity) GetWeightedAverageWatts() int32
- func (o *SummaryActivity) GetWeightedAverageWattsOk() (*int32, bool)
- func (o *SummaryActivity) GetWorkoutType() int32
- func (o *SummaryActivity) GetWorkoutTypeOk() (*int32, bool)
- func (o *SummaryActivity) HasAchievementCount() bool
- func (o *SummaryActivity) HasAthlete() bool
- func (o *SummaryActivity) HasAthleteCount() bool
- func (o *SummaryActivity) HasAverageSpeed() bool
- func (o *SummaryActivity) HasAverageWatts() bool
- func (o *SummaryActivity) HasCommentCount() bool
- func (o *SummaryActivity) HasCommute() bool
- func (o *SummaryActivity) HasDeviceWatts() bool
- func (o *SummaryActivity) HasDistance() bool
- func (o *SummaryActivity) HasElapsedTime() bool
- func (o *SummaryActivity) HasElevHigh() bool
- func (o *SummaryActivity) HasElevLow() bool
- func (o *SummaryActivity) HasEndLatlng() bool
- func (o *SummaryActivity) HasExternalId() bool
- func (o *SummaryActivity) HasFlagged() bool
- func (o *SummaryActivity) HasGearId() bool
- func (o *SummaryActivity) HasHasKudoed() bool
- func (o *SummaryActivity) HasHideFromHome() bool
- func (o *SummaryActivity) HasId() bool
- func (o *SummaryActivity) HasKilojoules() bool
- func (o *SummaryActivity) HasKudosCount() bool
- func (o *SummaryActivity) HasManual() bool
- func (o *SummaryActivity) HasMap() bool
- func (o *SummaryActivity) HasMaxSpeed() bool
- func (o *SummaryActivity) HasMaxWatts() bool
- func (o *SummaryActivity) HasMovingTime() bool
- func (o *SummaryActivity) HasName() bool
- func (o *SummaryActivity) HasPhotoCount() bool
- func (o *SummaryActivity) HasPrivate() bool
- func (o *SummaryActivity) HasSportType() bool
- func (o *SummaryActivity) HasStartDate() bool
- func (o *SummaryActivity) HasStartDateLocal() bool
- func (o *SummaryActivity) HasStartLatlng() bool
- func (o *SummaryActivity) HasTimezone() bool
- func (o *SummaryActivity) HasTotalElevationGain() bool
- func (o *SummaryActivity) HasTotalPhotoCount() bool
- func (o *SummaryActivity) HasTrainer() bool
- func (o *SummaryActivity) HasType() bool
- func (o *SummaryActivity) HasUploadId() bool
- func (o *SummaryActivity) HasUploadIdStr() bool
- func (o *SummaryActivity) HasWeightedAverageWatts() bool
- func (o *SummaryActivity) HasWorkoutType() bool
- func (o SummaryActivity) MarshalJSON() ([]byte, error)
- func (o *SummaryActivity) SetAchievementCount(v int32)
- func (o *SummaryActivity) SetAthlete(v MetaAthlete)
- func (o *SummaryActivity) SetAthleteCount(v int32)
- func (o *SummaryActivity) SetAverageSpeed(v float32)
- func (o *SummaryActivity) SetAverageWatts(v float32)
- func (o *SummaryActivity) SetCommentCount(v int32)
- func (o *SummaryActivity) SetCommute(v bool)
- func (o *SummaryActivity) SetDeviceWatts(v bool)
- func (o *SummaryActivity) SetDistance(v float32)
- func (o *SummaryActivity) SetElapsedTime(v int32)
- func (o *SummaryActivity) SetElevHigh(v float32)
- func (o *SummaryActivity) SetElevLow(v float32)
- func (o *SummaryActivity) SetEndLatlng(v []float32)
- func (o *SummaryActivity) SetExternalId(v string)
- func (o *SummaryActivity) SetFlagged(v bool)
- func (o *SummaryActivity) SetGearId(v string)
- func (o *SummaryActivity) SetHasKudoed(v bool)
- func (o *SummaryActivity) SetHideFromHome(v bool)
- func (o *SummaryActivity) SetId(v int64)
- func (o *SummaryActivity) SetKilojoules(v float32)
- func (o *SummaryActivity) SetKudosCount(v int32)
- func (o *SummaryActivity) SetManual(v bool)
- func (o *SummaryActivity) SetMap(v PolylineMap)
- func (o *SummaryActivity) SetMaxSpeed(v float32)
- func (o *SummaryActivity) SetMaxWatts(v int32)
- func (o *SummaryActivity) SetMovingTime(v int32)
- func (o *SummaryActivity) SetName(v string)
- func (o *SummaryActivity) SetPhotoCount(v int32)
- func (o *SummaryActivity) SetPrivate(v bool)
- func (o *SummaryActivity) SetSportType(v SportType)
- func (o *SummaryActivity) SetStartDate(v time.Time)
- func (o *SummaryActivity) SetStartDateLocal(v time.Time)
- func (o *SummaryActivity) SetStartLatlng(v []float32)
- func (o *SummaryActivity) SetTimezone(v string)
- func (o *SummaryActivity) SetTotalElevationGain(v float32)
- func (o *SummaryActivity) SetTotalPhotoCount(v int32)
- func (o *SummaryActivity) SetTrainer(v bool)
- func (o *SummaryActivity) SetType(v ActivityType)
- func (o *SummaryActivity) SetUploadId(v int64)
- func (o *SummaryActivity) SetUploadIdStr(v string)
- func (o *SummaryActivity) SetWeightedAverageWatts(v int32)
- func (o *SummaryActivity) SetWorkoutType(v int32)
- func (o SummaryActivity) ToMap() (map[string]interface{}, error)
- type SummaryAthlete
- func (o *SummaryAthlete) GetCity() string
- func (o *SummaryAthlete) GetCityOk() (*string, bool)
- func (o *SummaryAthlete) GetCountry() string
- func (o *SummaryAthlete) GetCountryOk() (*string, bool)
- func (o *SummaryAthlete) GetCreatedAt() time.Time
- func (o *SummaryAthlete) GetCreatedAtOk() (*time.Time, bool)
- func (o *SummaryAthlete) GetFirstname() string
- func (o *SummaryAthlete) GetFirstnameOk() (*string, bool)
- func (o *SummaryAthlete) GetId() int64
- func (o *SummaryAthlete) GetIdOk() (*int64, bool)
- func (o *SummaryAthlete) GetLastname() string
- func (o *SummaryAthlete) GetLastnameOk() (*string, bool)
- func (o *SummaryAthlete) GetPremium() bool
- func (o *SummaryAthlete) GetPremiumOk() (*bool, bool)
- func (o *SummaryAthlete) GetProfile() string
- func (o *SummaryAthlete) GetProfileMedium() string
- func (o *SummaryAthlete) GetProfileMediumOk() (*string, bool)
- func (o *SummaryAthlete) GetProfileOk() (*string, bool)
- func (o *SummaryAthlete) GetResourceState() int32
- func (o *SummaryAthlete) GetResourceStateOk() (*int32, bool)
- func (o *SummaryAthlete) GetSex() string
- func (o *SummaryAthlete) GetSexOk() (*string, bool)
- func (o *SummaryAthlete) GetState() string
- func (o *SummaryAthlete) GetStateOk() (*string, bool)
- func (o *SummaryAthlete) GetSummit() bool
- func (o *SummaryAthlete) GetSummitOk() (*bool, bool)
- func (o *SummaryAthlete) GetUpdatedAt() time.Time
- func (o *SummaryAthlete) GetUpdatedAtOk() (*time.Time, bool)
- func (o *SummaryAthlete) HasCity() bool
- func (o *SummaryAthlete) HasCountry() bool
- func (o *SummaryAthlete) HasCreatedAt() bool
- func (o *SummaryAthlete) HasFirstname() bool
- func (o *SummaryAthlete) HasId() bool
- func (o *SummaryAthlete) HasLastname() bool
- func (o *SummaryAthlete) HasPremium() bool
- func (o *SummaryAthlete) HasProfile() bool
- func (o *SummaryAthlete) HasProfileMedium() bool
- func (o *SummaryAthlete) HasResourceState() bool
- func (o *SummaryAthlete) HasSex() bool
- func (o *SummaryAthlete) HasState() bool
- func (o *SummaryAthlete) HasSummit() bool
- func (o *SummaryAthlete) HasUpdatedAt() bool
- func (o SummaryAthlete) MarshalJSON() ([]byte, error)
- func (o *SummaryAthlete) SetCity(v string)
- func (o *SummaryAthlete) SetCountry(v string)
- func (o *SummaryAthlete) SetCreatedAt(v time.Time)
- func (o *SummaryAthlete) SetFirstname(v string)
- func (o *SummaryAthlete) SetId(v int64)
- func (o *SummaryAthlete) SetLastname(v string)
- func (o *SummaryAthlete) SetPremium(v bool)
- func (o *SummaryAthlete) SetProfile(v string)
- func (o *SummaryAthlete) SetProfileMedium(v string)
- func (o *SummaryAthlete) SetResourceState(v int32)
- func (o *SummaryAthlete) SetSex(v string)
- func (o *SummaryAthlete) SetState(v string)
- func (o *SummaryAthlete) SetSummit(v bool)
- func (o *SummaryAthlete) SetUpdatedAt(v time.Time)
- func (o SummaryAthlete) ToMap() (map[string]interface{}, error)
- type SummaryClub
- func (o *SummaryClub) GetActivityTypes() []ActivityType
- func (o *SummaryClub) GetActivityTypesOk() ([]ActivityType, bool)
- func (o *SummaryClub) GetCity() string
- func (o *SummaryClub) GetCityOk() (*string, bool)
- func (o *SummaryClub) GetCountry() string
- func (o *SummaryClub) GetCountryOk() (*string, bool)
- func (o *SummaryClub) GetCoverPhoto() string
- func (o *SummaryClub) GetCoverPhotoOk() (*string, bool)
- func (o *SummaryClub) GetCoverPhotoSmall() string
- func (o *SummaryClub) GetCoverPhotoSmallOk() (*string, bool)
- func (o *SummaryClub) GetFeatured() bool
- func (o *SummaryClub) GetFeaturedOk() (*bool, bool)
- func (o *SummaryClub) GetId() int64
- func (o *SummaryClub) GetIdOk() (*int64, bool)
- func (o *SummaryClub) GetMemberCount() int32
- func (o *SummaryClub) GetMemberCountOk() (*int32, bool)
- func (o *SummaryClub) GetName() string
- func (o *SummaryClub) GetNameOk() (*string, bool)
- func (o *SummaryClub) GetPrivate() bool
- func (o *SummaryClub) GetPrivateOk() (*bool, bool)
- func (o *SummaryClub) GetProfileMedium() string
- func (o *SummaryClub) GetProfileMediumOk() (*string, bool)
- func (o *SummaryClub) GetResourceState() int32
- func (o *SummaryClub) GetResourceStateOk() (*int32, bool)
- func (o *SummaryClub) GetSportType() string
- func (o *SummaryClub) GetSportTypeOk() (*string, bool)
- func (o *SummaryClub) GetState() string
- func (o *SummaryClub) GetStateOk() (*string, bool)
- func (o *SummaryClub) GetUrl() string
- func (o *SummaryClub) GetUrlOk() (*string, bool)
- func (o *SummaryClub) GetVerified() bool
- func (o *SummaryClub) GetVerifiedOk() (*bool, bool)
- func (o *SummaryClub) HasActivityTypes() bool
- func (o *SummaryClub) HasCity() bool
- func (o *SummaryClub) HasCountry() bool
- func (o *SummaryClub) HasCoverPhoto() bool
- func (o *SummaryClub) HasCoverPhotoSmall() bool
- func (o *SummaryClub) HasFeatured() bool
- func (o *SummaryClub) HasId() bool
- func (o *SummaryClub) HasMemberCount() bool
- func (o *SummaryClub) HasName() bool
- func (o *SummaryClub) HasPrivate() bool
- func (o *SummaryClub) HasProfileMedium() bool
- func (o *SummaryClub) HasResourceState() bool
- func (o *SummaryClub) HasSportType() bool
- func (o *SummaryClub) HasState() bool
- func (o *SummaryClub) HasUrl() bool
- func (o *SummaryClub) HasVerified() bool
- func (o SummaryClub) MarshalJSON() ([]byte, error)
- func (o *SummaryClub) SetActivityTypes(v []ActivityType)
- func (o *SummaryClub) SetCity(v string)
- func (o *SummaryClub) SetCountry(v string)
- func (o *SummaryClub) SetCoverPhoto(v string)
- func (o *SummaryClub) SetCoverPhotoSmall(v string)
- func (o *SummaryClub) SetFeatured(v bool)
- func (o *SummaryClub) SetId(v int64)
- func (o *SummaryClub) SetMemberCount(v int32)
- func (o *SummaryClub) SetName(v string)
- func (o *SummaryClub) SetPrivate(v bool)
- func (o *SummaryClub) SetProfileMedium(v string)
- func (o *SummaryClub) SetResourceState(v int32)
- func (o *SummaryClub) SetSportType(v string)
- func (o *SummaryClub) SetState(v string)
- func (o *SummaryClub) SetUrl(v string)
- func (o *SummaryClub) SetVerified(v bool)
- func (o SummaryClub) ToMap() (map[string]interface{}, error)
- type SummaryGear
- func (o *SummaryGear) GetDistance() float32
- func (o *SummaryGear) GetDistanceOk() (*float32, bool)
- func (o *SummaryGear) GetId() string
- func (o *SummaryGear) GetIdOk() (*string, bool)
- func (o *SummaryGear) GetName() string
- func (o *SummaryGear) GetNameOk() (*string, bool)
- func (o *SummaryGear) GetPrimary() bool
- func (o *SummaryGear) GetPrimaryOk() (*bool, bool)
- func (o *SummaryGear) GetResourceState() int32
- func (o *SummaryGear) GetResourceStateOk() (*int32, bool)
- func (o *SummaryGear) HasDistance() bool
- func (o *SummaryGear) HasId() bool
- func (o *SummaryGear) HasName() bool
- func (o *SummaryGear) HasPrimary() bool
- func (o *SummaryGear) HasResourceState() bool
- func (o SummaryGear) MarshalJSON() ([]byte, error)
- func (o *SummaryGear) SetDistance(v float32)
- func (o *SummaryGear) SetId(v string)
- func (o *SummaryGear) SetName(v string)
- func (o *SummaryGear) SetPrimary(v bool)
- func (o *SummaryGear) SetResourceState(v int32)
- func (o SummaryGear) ToMap() (map[string]interface{}, error)
- type SummaryPRSegmentEffort
- func (o *SummaryPRSegmentEffort) GetEffortCount() int32
- func (o *SummaryPRSegmentEffort) GetEffortCountOk() (*int32, bool)
- func (o *SummaryPRSegmentEffort) GetPrActivityId() int64
- func (o *SummaryPRSegmentEffort) GetPrActivityIdOk() (*int64, bool)
- func (o *SummaryPRSegmentEffort) GetPrDate() time.Time
- func (o *SummaryPRSegmentEffort) GetPrDateOk() (*time.Time, bool)
- func (o *SummaryPRSegmentEffort) GetPrElapsedTime() int32
- func (o *SummaryPRSegmentEffort) GetPrElapsedTimeOk() (*int32, bool)
- func (o *SummaryPRSegmentEffort) HasEffortCount() bool
- func (o *SummaryPRSegmentEffort) HasPrActivityId() bool
- func (o *SummaryPRSegmentEffort) HasPrDate() bool
- func (o *SummaryPRSegmentEffort) HasPrElapsedTime() bool
- func (o SummaryPRSegmentEffort) MarshalJSON() ([]byte, error)
- func (o *SummaryPRSegmentEffort) SetEffortCount(v int32)
- func (o *SummaryPRSegmentEffort) SetPrActivityId(v int64)
- func (o *SummaryPRSegmentEffort) SetPrDate(v time.Time)
- func (o *SummaryPRSegmentEffort) SetPrElapsedTime(v int32)
- func (o SummaryPRSegmentEffort) ToMap() (map[string]interface{}, error)
- type SummarySegment
- func (o *SummarySegment) GetActivityType() string
- func (o *SummarySegment) GetActivityTypeOk() (*string, bool)
- func (o *SummarySegment) GetAthletePrEffort() SummaryPRSegmentEffort
- func (o *SummarySegment) GetAthletePrEffortOk() (*SummaryPRSegmentEffort, bool)
- func (o *SummarySegment) GetAthleteSegmentStats() SummarySegmentEffort
- func (o *SummarySegment) GetAthleteSegmentStatsOk() (*SummarySegmentEffort, bool)
- func (o *SummarySegment) GetAverageGrade() float32
- func (o *SummarySegment) GetAverageGradeOk() (*float32, bool)
- func (o *SummarySegment) GetCity() string
- func (o *SummarySegment) GetCityOk() (*string, bool)
- func (o *SummarySegment) GetClimbCategory() int32
- func (o *SummarySegment) GetClimbCategoryOk() (*int32, bool)
- func (o *SummarySegment) GetCountry() string
- func (o *SummarySegment) GetCountryOk() (*string, bool)
- func (o *SummarySegment) GetDistance() float32
- func (o *SummarySegment) GetDistanceOk() (*float32, bool)
- func (o *SummarySegment) GetElevationHigh() float32
- func (o *SummarySegment) GetElevationHighOk() (*float32, bool)
- func (o *SummarySegment) GetElevationLow() float32
- func (o *SummarySegment) GetElevationLowOk() (*float32, bool)
- func (o *SummarySegment) GetEndLatlng() []float32
- func (o *SummarySegment) GetEndLatlngOk() ([]float32, bool)
- func (o *SummarySegment) GetId() int64
- func (o *SummarySegment) GetIdOk() (*int64, bool)
- func (o *SummarySegment) GetMaximumGrade() float32
- func (o *SummarySegment) GetMaximumGradeOk() (*float32, bool)
- func (o *SummarySegment) GetName() string
- func (o *SummarySegment) GetNameOk() (*string, bool)
- func (o *SummarySegment) GetPrivate() bool
- func (o *SummarySegment) GetPrivateOk() (*bool, bool)
- func (o *SummarySegment) GetStartLatlng() []float32
- func (o *SummarySegment) GetStartLatlngOk() ([]float32, bool)
- func (o *SummarySegment) GetState() string
- func (o *SummarySegment) GetStateOk() (*string, bool)
- func (o *SummarySegment) HasActivityType() bool
- func (o *SummarySegment) HasAthletePrEffort() bool
- func (o *SummarySegment) HasAthleteSegmentStats() bool
- func (o *SummarySegment) HasAverageGrade() bool
- func (o *SummarySegment) HasCity() bool
- func (o *SummarySegment) HasClimbCategory() bool
- func (o *SummarySegment) HasCountry() bool
- func (o *SummarySegment) HasDistance() bool
- func (o *SummarySegment) HasElevationHigh() bool
- func (o *SummarySegment) HasElevationLow() bool
- func (o *SummarySegment) HasEndLatlng() bool
- func (o *SummarySegment) HasId() bool
- func (o *SummarySegment) HasMaximumGrade() bool
- func (o *SummarySegment) HasName() bool
- func (o *SummarySegment) HasPrivate() bool
- func (o *SummarySegment) HasStartLatlng() bool
- func (o *SummarySegment) HasState() bool
- func (o SummarySegment) MarshalJSON() ([]byte, error)
- func (o *SummarySegment) SetActivityType(v string)
- func (o *SummarySegment) SetAthletePrEffort(v SummaryPRSegmentEffort)
- func (o *SummarySegment) SetAthleteSegmentStats(v SummarySegmentEffort)
- func (o *SummarySegment) SetAverageGrade(v float32)
- func (o *SummarySegment) SetCity(v string)
- func (o *SummarySegment) SetClimbCategory(v int32)
- func (o *SummarySegment) SetCountry(v string)
- func (o *SummarySegment) SetDistance(v float32)
- func (o *SummarySegment) SetElevationHigh(v float32)
- func (o *SummarySegment) SetElevationLow(v float32)
- func (o *SummarySegment) SetEndLatlng(v []float32)
- func (o *SummarySegment) SetId(v int64)
- func (o *SummarySegment) SetMaximumGrade(v float32)
- func (o *SummarySegment) SetName(v string)
- func (o *SummarySegment) SetPrivate(v bool)
- func (o *SummarySegment) SetStartLatlng(v []float32)
- func (o *SummarySegment) SetState(v string)
- func (o SummarySegment) ToMap() (map[string]interface{}, error)
- type SummarySegmentEffort
- func (o *SummarySegmentEffort) GetActivityId() int64
- func (o *SummarySegmentEffort) GetActivityIdOk() (*int64, bool)
- func (o *SummarySegmentEffort) GetDistance() float32
- func (o *SummarySegmentEffort) GetDistanceOk() (*float32, bool)
- func (o *SummarySegmentEffort) GetElapsedTime() int32
- func (o *SummarySegmentEffort) GetElapsedTimeOk() (*int32, bool)
- func (o *SummarySegmentEffort) GetId() int64
- func (o *SummarySegmentEffort) GetIdOk() (*int64, bool)
- func (o *SummarySegmentEffort) GetIsKom() bool
- func (o *SummarySegmentEffort) GetIsKomOk() (*bool, bool)
- func (o *SummarySegmentEffort) GetStartDate() time.Time
- func (o *SummarySegmentEffort) GetStartDateLocal() time.Time
- func (o *SummarySegmentEffort) GetStartDateLocalOk() (*time.Time, bool)
- func (o *SummarySegmentEffort) GetStartDateOk() (*time.Time, bool)
- func (o *SummarySegmentEffort) HasActivityId() bool
- func (o *SummarySegmentEffort) HasDistance() bool
- func (o *SummarySegmentEffort) HasElapsedTime() bool
- func (o *SummarySegmentEffort) HasId() bool
- func (o *SummarySegmentEffort) HasIsKom() bool
- func (o *SummarySegmentEffort) HasStartDate() bool
- func (o *SummarySegmentEffort) HasStartDateLocal() bool
- func (o SummarySegmentEffort) MarshalJSON() ([]byte, error)
- func (o *SummarySegmentEffort) SetActivityId(v int64)
- func (o *SummarySegmentEffort) SetDistance(v float32)
- func (o *SummarySegmentEffort) SetElapsedTime(v int32)
- func (o *SummarySegmentEffort) SetId(v int64)
- func (o *SummarySegmentEffort) SetIsKom(v bool)
- func (o *SummarySegmentEffort) SetStartDate(v time.Time)
- func (o *SummarySegmentEffort) SetStartDateLocal(v time.Time)
- func (o SummarySegmentEffort) ToMap() (map[string]interface{}, error)
- type TemperatureStream
- func (o *TemperatureStream) GetData() []int32
- func (o *TemperatureStream) GetDataOk() ([]int32, bool)
- func (o *TemperatureStream) GetOriginalSize() int32
- func (o *TemperatureStream) GetOriginalSizeOk() (*int32, bool)
- func (o *TemperatureStream) GetResolution() string
- func (o *TemperatureStream) GetResolutionOk() (*string, bool)
- func (o *TemperatureStream) GetSeriesType() string
- func (o *TemperatureStream) GetSeriesTypeOk() (*string, bool)
- func (o *TemperatureStream) HasData() bool
- func (o *TemperatureStream) HasOriginalSize() bool
- func (o *TemperatureStream) HasResolution() bool
- func (o *TemperatureStream) HasSeriesType() bool
- func (o TemperatureStream) MarshalJSON() ([]byte, error)
- func (o *TemperatureStream) SetData(v []int32)
- func (o *TemperatureStream) SetOriginalSize(v int32)
- func (o *TemperatureStream) SetResolution(v string)
- func (o *TemperatureStream) SetSeriesType(v string)
- func (o TemperatureStream) ToMap() (map[string]interface{}, error)
- type TimeStream
- func (o *TimeStream) GetData() []int32
- func (o *TimeStream) GetDataOk() ([]int32, bool)
- func (o *TimeStream) GetOriginalSize() int32
- func (o *TimeStream) GetOriginalSizeOk() (*int32, bool)
- func (o *TimeStream) GetResolution() string
- func (o *TimeStream) GetResolutionOk() (*string, bool)
- func (o *TimeStream) GetSeriesType() string
- func (o *TimeStream) GetSeriesTypeOk() (*string, bool)
- func (o *TimeStream) HasData() bool
- func (o *TimeStream) HasOriginalSize() bool
- func (o *TimeStream) HasResolution() bool
- func (o *TimeStream) HasSeriesType() bool
- func (o TimeStream) MarshalJSON() ([]byte, error)
- func (o *TimeStream) SetData(v []int32)
- func (o *TimeStream) SetOriginalSize(v int32)
- func (o *TimeStream) SetResolution(v string)
- func (o *TimeStream) SetSeriesType(v string)
- func (o TimeStream) ToMap() (map[string]interface{}, error)
- type TimedZoneRange
- func (o *TimedZoneRange) GetMax() int32
- func (o *TimedZoneRange) GetMaxOk() (*int32, bool)
- func (o *TimedZoneRange) GetMin() int32
- func (o *TimedZoneRange) GetMinOk() (*int32, bool)
- func (o *TimedZoneRange) GetTime() int32
- func (o *TimedZoneRange) GetTimeOk() (*int32, bool)
- func (o *TimedZoneRange) HasMax() bool
- func (o *TimedZoneRange) HasMin() bool
- func (o *TimedZoneRange) HasTime() bool
- func (o TimedZoneRange) MarshalJSON() ([]byte, error)
- func (o *TimedZoneRange) SetMax(v int32)
- func (o *TimedZoneRange) SetMin(v int32)
- func (o *TimedZoneRange) SetTime(v int32)
- func (o TimedZoneRange) ToMap() (map[string]interface{}, error)
- type UpdatableActivity
- func (o *UpdatableActivity) GetCommute() bool
- func (o *UpdatableActivity) GetCommuteOk() (*bool, bool)
- func (o *UpdatableActivity) GetDescription() string
- func (o *UpdatableActivity) GetDescriptionOk() (*string, bool)
- func (o *UpdatableActivity) GetGearId() string
- func (o *UpdatableActivity) GetGearIdOk() (*string, bool)
- func (o *UpdatableActivity) GetHideFromHome() bool
- func (o *UpdatableActivity) GetHideFromHomeOk() (*bool, bool)
- func (o *UpdatableActivity) GetName() string
- func (o *UpdatableActivity) GetNameOk() (*string, bool)
- func (o *UpdatableActivity) GetSportType() SportType
- func (o *UpdatableActivity) GetSportTypeOk() (*SportType, bool)
- func (o *UpdatableActivity) GetTrainer() bool
- func (o *UpdatableActivity) GetTrainerOk() (*bool, bool)
- func (o *UpdatableActivity) GetType() ActivityType
- func (o *UpdatableActivity) GetTypeOk() (*ActivityType, bool)
- func (o *UpdatableActivity) HasCommute() bool
- func (o *UpdatableActivity) HasDescription() bool
- func (o *UpdatableActivity) HasGearId() bool
- func (o *UpdatableActivity) HasHideFromHome() bool
- func (o *UpdatableActivity) HasName() bool
- func (o *UpdatableActivity) HasSportType() bool
- func (o *UpdatableActivity) HasTrainer() bool
- func (o *UpdatableActivity) HasType() bool
- func (o UpdatableActivity) MarshalJSON() ([]byte, error)
- func (o *UpdatableActivity) SetCommute(v bool)
- func (o *UpdatableActivity) SetDescription(v string)
- func (o *UpdatableActivity) SetGearId(v string)
- func (o *UpdatableActivity) SetHideFromHome(v bool)
- func (o *UpdatableActivity) SetName(v string)
- func (o *UpdatableActivity) SetSportType(v SportType)
- func (o *UpdatableActivity) SetTrainer(v bool)
- func (o *UpdatableActivity) SetType(v ActivityType)
- func (o UpdatableActivity) ToMap() (map[string]interface{}, error)
- type Upload
- func (o *Upload) GetActivityId() int64
- func (o *Upload) GetActivityIdOk() (*int64, bool)
- func (o *Upload) GetError() string
- func (o *Upload) GetErrorOk() (*string, bool)
- func (o *Upload) GetExternalId() string
- func (o *Upload) GetExternalIdOk() (*string, bool)
- func (o *Upload) GetId() int64
- func (o *Upload) GetIdOk() (*int64, bool)
- func (o *Upload) GetIdStr() string
- func (o *Upload) GetIdStrOk() (*string, bool)
- func (o *Upload) GetStatus() string
- func (o *Upload) GetStatusOk() (*string, bool)
- func (o *Upload) HasActivityId() bool
- func (o *Upload) HasError() bool
- func (o *Upload) HasExternalId() bool
- func (o *Upload) HasId() bool
- func (o *Upload) HasIdStr() bool
- func (o *Upload) HasStatus() bool
- func (o Upload) MarshalJSON() ([]byte, error)
- func (o *Upload) SetActivityId(v int64)
- func (o *Upload) SetError(v string)
- func (o *Upload) SetExternalId(v string)
- func (o *Upload) SetId(v int64)
- func (o *Upload) SetIdStr(v string)
- func (o *Upload) SetStatus(v string)
- func (o Upload) ToMap() (map[string]interface{}, error)
- type UploadsAPIService
- func (a *UploadsAPIService) CreateUpload(ctx context.Context) ApiCreateUploadRequest
- func (a *UploadsAPIService) CreateUploadExecute(r ApiCreateUploadRequest) (*Upload, *http.Response, error)
- func (a *UploadsAPIService) GetUploadById(ctx context.Context, uploadId int64) ApiGetUploadByIdRequest
- func (a *UploadsAPIService) GetUploadByIdExecute(r ApiGetUploadByIdRequest) (*Upload, *http.Response, error)
- type ZoneRange
- func (o *ZoneRange) GetMax() int32
- func (o *ZoneRange) GetMaxOk() (*int32, bool)
- func (o *ZoneRange) GetMin() int32
- func (o *ZoneRange) GetMinOk() (*int32, bool)
- func (o *ZoneRange) HasMax() bool
- func (o *ZoneRange) HasMin() bool
- func (o ZoneRange) MarshalJSON() ([]byte, error)
- func (o *ZoneRange) SetMax(v int32)
- func (o *ZoneRange) SetMin(v int32)
- func (o ZoneRange) ToMap() (map[string]interface{}, error)
- type Zones
- func (o *Zones) GetHeartRate() HeartRateZoneRanges
- func (o *Zones) GetHeartRateOk() (*HeartRateZoneRanges, bool)
- func (o *Zones) GetPower() PowerZoneRanges
- func (o *Zones) GetPowerOk() (*PowerZoneRanges, bool)
- func (o *Zones) HasHeartRate() bool
- func (o *Zones) HasPower() bool
- func (o Zones) MarshalJSON() ([]byte, error)
- func (o *Zones) SetHeartRate(v HeartRateZoneRanges)
- func (o *Zones) SetPower(v PowerZoneRanges)
- func (o Zones) ToMap() (map[string]interface{}, error)
Constants ¶
This section is empty.
Variables ¶
var ( // ContextOAuth2 takes an oauth2.TokenSource as authentication for the request. ContextOAuth2 = contextKey("token") // ContextServerIndex uses a server configuration from the index. ContextServerIndex = contextKey("serverIndex") // ContextOperationServerIndices uses a server configuration from the index mapping. ContextOperationServerIndices = contextKey("serverOperationIndices") // ContextServerVariables overrides a server configuration variables. ContextServerVariables = contextKey("serverVariables") // ContextOperationServerVariables overrides a server configuration variables using operation specific values. ContextOperationServerVariables = contextKey("serverOperationVariables") )
var AllowedActivityTypeEnumValues = []ActivityType{
"AlpineSki",
"BackcountrySki",
"Canoeing",
"Crossfit",
"EBikeRide",
"Elliptical",
"Golf",
"Handcycle",
"Hike",
"IceSkate",
"InlineSkate",
"Kayaking",
"Kitesurf",
"NordicSki",
"Ride",
"RockClimbing",
"RollerSki",
"Rowing",
"Run",
"Sail",
"Skateboard",
"Snowboard",
"Snowshoe",
"Soccer",
"StairStepper",
"StandUpPaddling",
"Surfing",
"Swim",
"Velomobile",
"VirtualRide",
"VirtualRun",
"Walk",
"WeightTraining",
"Wheelchair",
"Windsurf",
"Workout",
"Yoga",
}
All allowed values of ActivityType enum
var AllowedSportTypeEnumValues = []SportType{
"AlpineSki",
"BackcountrySki",
"Badminton",
"Canoeing",
"Crossfit",
"EBikeRide",
"Elliptical",
"EMountainBikeRide",
"Golf",
"GravelRide",
"Handcycle",
"HighIntensityIntervalTraining",
"Hike",
"IceSkate",
"InlineSkate",
"Kayaking",
"Kitesurf",
"MountainBikeRide",
"NordicSki",
"Pickleball",
"Pilates",
"Racquetball",
"Ride",
"RockClimbing",
"RollerSki",
"Rowing",
"Run",
"Sail",
"Skateboard",
"Snowboard",
"Snowshoe",
"Soccer",
"Squash",
"StairStepper",
"StandUpPaddling",
"Surfing",
"Swim",
"TableTennis",
"Tennis",
"TrailRun",
"Velomobile",
"VirtualRide",
"VirtualRow",
"VirtualRun",
"Walk",
"WeightTraining",
"Wheelchair",
"Windsurf",
"Workout",
"Yoga",
}
All allowed values of SportType enum
Functions ¶
func CacheExpires ¶
CacheExpires helper function to determine remaining time before repeating a request.
func PtrFloat32 ¶
PtrFloat32 is a helper routine that returns a pointer to given float value.
func PtrFloat64 ¶
PtrFloat64 is a helper routine that returns a pointer to given float value.
Types ¶
type APIClient ¶
type APIClient struct { ActivitiesAPI *ActivitiesAPIService AthletesAPI *AthletesAPIService ClubsAPI *ClubsAPIService GearsAPI *GearsAPIService RoutesAPI *RoutesAPIService SegmentEffortsAPI *SegmentEffortsAPIService SegmentsAPI *SegmentsAPIService StreamsAPI *StreamsAPIService UploadsAPI *UploadsAPIService // contains filtered or unexported fields }
APIClient manages communication with the Strava API v3 API v3.0.0 In most cases there should be only one, shared, APIClient.
func NewAPIClient ¶
func NewAPIClient(cfg *Configuration) *APIClient
NewAPIClient creates a new API client. Requires a userAgent string describing your application. optionally a custom http.Client to allow for advanced features such as caching.
func (*APIClient) GetConfig ¶
func (c *APIClient) GetConfig() *Configuration
Allow modification of underlying config for alternate implementations and testing Caution: modifying the configuration while live can cause data races and potentially unwanted behavior
type APIKey ¶
APIKey provides API key based authentication to a request passed via context using ContextAPIKey
type APIResponse ¶
type APIResponse struct { *http.Response `json:"-"` Message string `json:"message,omitempty"` // Operation is the name of the OpenAPI operation. Operation string `json:"operation,omitempty"` // RequestURL is the request URL. This value is always available, even if the // embedded *http.Response is nil. RequestURL string `json:"url,omitempty"` // Method is the HTTP method used for the request. This value is always // available, even if the embedded *http.Response is nil. Method string `json:"method,omitempty"` // Payload holds the contents of the response body (which may be nil or empty). // This is provided here as the raw response.Body() reader will have already // been drained. Payload []byte `json:"-"` }
APIResponse stores the API response returned by the server.
func NewAPIResponse ¶
func NewAPIResponse(r *http.Response) *APIResponse
NewAPIResponse returns a new APIResponse object.
func NewAPIResponseWithError ¶
func NewAPIResponseWithError(errorMessage string) *APIResponse
NewAPIResponseWithError returns a new APIResponse object with the provided error message.
type ActivitiesAPIService ¶
type ActivitiesAPIService service
ActivitiesAPIService ActivitiesAPI service
func (*ActivitiesAPIService) CreateActivity ¶
func (a *ActivitiesAPIService) CreateActivity(ctx context.Context) ApiCreateActivityRequest
CreateActivity Create an Activity
Creates a manual activity for an athlete, requires activity:write scope.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiCreateActivityRequest
func (*ActivitiesAPIService) CreateActivityExecute ¶
func (a *ActivitiesAPIService) CreateActivityExecute(r ApiCreateActivityRequest) (*DetailedActivity, *http.Response, error)
Execute executes the request
@return DetailedActivity
func (*ActivitiesAPIService) GetActivityById ¶
func (a *ActivitiesAPIService) GetActivityById(ctx context.Context, id int64) ApiGetActivityByIdRequest
GetActivityById Get Activity
Returns the given activity that is owned by the authenticated athlete. Requires activity:read for Everyone and Followers activities. Requires activity:read_all for Only Me activities.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param id The identifier of the activity. @return ApiGetActivityByIdRequest
func (*ActivitiesAPIService) GetActivityByIdExecute ¶
func (a *ActivitiesAPIService) GetActivityByIdExecute(r ApiGetActivityByIdRequest) (*DetailedActivity, *http.Response, error)
Execute executes the request
@return DetailedActivity
func (*ActivitiesAPIService) GetCommentsByActivityId ¶
func (a *ActivitiesAPIService) GetCommentsByActivityId(ctx context.Context, id int64) ApiGetCommentsByActivityIdRequest
GetCommentsByActivityId List Activity Comments
Returns the comments on the given activity. Requires activity:read for Everyone and Followers activities. Requires activity:read_all for Only Me activities.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param id The identifier of the activity. @return ApiGetCommentsByActivityIdRequest
func (*ActivitiesAPIService) GetCommentsByActivityIdExecute ¶
func (a *ActivitiesAPIService) GetCommentsByActivityIdExecute(r ApiGetCommentsByActivityIdRequest) ([]Comment, *http.Response, error)
Execute executes the request
@return []Comment
func (*ActivitiesAPIService) GetKudoersByActivityId ¶
func (a *ActivitiesAPIService) GetKudoersByActivityId(ctx context.Context, id int64) ApiGetKudoersByActivityIdRequest
GetKudoersByActivityId List Activity Kudoers
Returns the athletes who kudoed an activity identified by an identifier. Requires activity:read for Everyone and Followers activities. Requires activity:read_all for Only Me activities.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param id The identifier of the activity. @return ApiGetKudoersByActivityIdRequest
func (*ActivitiesAPIService) GetKudoersByActivityIdExecute ¶
func (a *ActivitiesAPIService) GetKudoersByActivityIdExecute(r ApiGetKudoersByActivityIdRequest) ([]SummaryAthlete, *http.Response, error)
Execute executes the request
@return []SummaryAthlete
func (*ActivitiesAPIService) GetLapsByActivityId ¶
func (a *ActivitiesAPIService) GetLapsByActivityId(ctx context.Context, id int64) ApiGetLapsByActivityIdRequest
GetLapsByActivityId List Activity Laps
Returns the laps of an activity identified by an identifier. Requires activity:read for Everyone and Followers activities. Requires activity:read_all for Only Me activities.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param id The identifier of the activity. @return ApiGetLapsByActivityIdRequest
func (*ActivitiesAPIService) GetLapsByActivityIdExecute ¶
func (a *ActivitiesAPIService) GetLapsByActivityIdExecute(r ApiGetLapsByActivityIdRequest) ([]Lap, *http.Response, error)
Execute executes the request
@return []Lap
func (*ActivitiesAPIService) GetLoggedInAthleteActivities ¶
func (a *ActivitiesAPIService) GetLoggedInAthleteActivities(ctx context.Context) ApiGetLoggedInAthleteActivitiesRequest
GetLoggedInAthleteActivities List Athlete Activities
Returns the activities of an athlete for a specific identifier. Requires activity:read. Only Me activities will be filtered out unless requested by a token with activity:read_all.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiGetLoggedInAthleteActivitiesRequest
func (*ActivitiesAPIService) GetLoggedInAthleteActivitiesExecute ¶
func (a *ActivitiesAPIService) GetLoggedInAthleteActivitiesExecute(r ApiGetLoggedInAthleteActivitiesRequest) ([]SummaryActivity, *http.Response, error)
Execute executes the request
@return []SummaryActivity
func (*ActivitiesAPIService) GetZonesByActivityId ¶
func (a *ActivitiesAPIService) GetZonesByActivityId(ctx context.Context, id int64) ApiGetZonesByActivityIdRequest
GetZonesByActivityId Get Activity Zones
Summit Feature. Returns the zones of a given activity. Requires activity:read for Everyone and Followers activities. Requires activity:read_all for Only Me activities.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param id The identifier of the activity. @return ApiGetZonesByActivityIdRequest
func (*ActivitiesAPIService) GetZonesByActivityIdExecute ¶
func (a *ActivitiesAPIService) GetZonesByActivityIdExecute(r ApiGetZonesByActivityIdRequest) ([]ActivityZone, *http.Response, error)
Execute executes the request
@return []ActivityZone
func (*ActivitiesAPIService) UpdateActivityById ¶
func (a *ActivitiesAPIService) UpdateActivityById(ctx context.Context, id int64) ApiUpdateActivityByIdRequest
UpdateActivityById Update Activity
Updates the given activity that is owned by the authenticated athlete. Requires activity:write. Also requires activity:read_all in order to update Only Me activities
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param id The identifier of the activity. @return ApiUpdateActivityByIdRequest
func (*ActivitiesAPIService) UpdateActivityByIdExecute ¶
func (a *ActivitiesAPIService) UpdateActivityByIdExecute(r ApiUpdateActivityByIdRequest) (*DetailedActivity, *http.Response, error)
Execute executes the request
@return DetailedActivity
type ActivityStats ¶
type ActivityStats struct { // The longest distance ridden by the athlete. BiggestRideDistance *float64 `json:"biggest_ride_distance,omitempty"` // The highest climb ridden by the athlete. BiggestClimbElevationGain *float64 `json:"biggest_climb_elevation_gain,omitempty"` RecentRideTotals *ActivityTotal `json:"recent_ride_totals,omitempty"` RecentRunTotals *ActivityTotal `json:"recent_run_totals,omitempty"` RecentSwimTotals *ActivityTotal `json:"recent_swim_totals,omitempty"` YtdRideTotals *ActivityTotal `json:"ytd_ride_totals,omitempty"` YtdRunTotals *ActivityTotal `json:"ytd_run_totals,omitempty"` YtdSwimTotals *ActivityTotal `json:"ytd_swim_totals,omitempty"` AllRideTotals *ActivityTotal `json:"all_ride_totals,omitempty"` AllRunTotals *ActivityTotal `json:"all_run_totals,omitempty"` AllSwimTotals *ActivityTotal `json:"all_swim_totals,omitempty"` }
ActivityStats A set of rolled-up statistics and totals for an athlete
func NewActivityStats ¶
func NewActivityStats() *ActivityStats
NewActivityStats instantiates a new ActivityStats object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewActivityStatsWithDefaults ¶
func NewActivityStatsWithDefaults() *ActivityStats
NewActivityStatsWithDefaults instantiates a new ActivityStats object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*ActivityStats) GetAllRideTotals ¶
func (o *ActivityStats) GetAllRideTotals() ActivityTotal
GetAllRideTotals returns the AllRideTotals field value if set, zero value otherwise.
func (*ActivityStats) GetAllRideTotalsOk ¶
func (o *ActivityStats) GetAllRideTotalsOk() (*ActivityTotal, bool)
GetAllRideTotalsOk returns a tuple with the AllRideTotals field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ActivityStats) GetAllRunTotals ¶
func (o *ActivityStats) GetAllRunTotals() ActivityTotal
GetAllRunTotals returns the AllRunTotals field value if set, zero value otherwise.
func (*ActivityStats) GetAllRunTotalsOk ¶
func (o *ActivityStats) GetAllRunTotalsOk() (*ActivityTotal, bool)
GetAllRunTotalsOk returns a tuple with the AllRunTotals field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ActivityStats) GetAllSwimTotals ¶
func (o *ActivityStats) GetAllSwimTotals() ActivityTotal
GetAllSwimTotals returns the AllSwimTotals field value if set, zero value otherwise.
func (*ActivityStats) GetAllSwimTotalsOk ¶
func (o *ActivityStats) GetAllSwimTotalsOk() (*ActivityTotal, bool)
GetAllSwimTotalsOk returns a tuple with the AllSwimTotals field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ActivityStats) GetBiggestClimbElevationGain ¶
func (o *ActivityStats) GetBiggestClimbElevationGain() float64
GetBiggestClimbElevationGain returns the BiggestClimbElevationGain field value if set, zero value otherwise.
func (*ActivityStats) GetBiggestClimbElevationGainOk ¶
func (o *ActivityStats) GetBiggestClimbElevationGainOk() (*float64, bool)
GetBiggestClimbElevationGainOk returns a tuple with the BiggestClimbElevationGain field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ActivityStats) GetBiggestRideDistance ¶
func (o *ActivityStats) GetBiggestRideDistance() float64
GetBiggestRideDistance returns the BiggestRideDistance field value if set, zero value otherwise.
func (*ActivityStats) GetBiggestRideDistanceOk ¶
func (o *ActivityStats) GetBiggestRideDistanceOk() (*float64, bool)
GetBiggestRideDistanceOk returns a tuple with the BiggestRideDistance field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ActivityStats) GetRecentRideTotals ¶
func (o *ActivityStats) GetRecentRideTotals() ActivityTotal
GetRecentRideTotals returns the RecentRideTotals field value if set, zero value otherwise.
func (*ActivityStats) GetRecentRideTotalsOk ¶
func (o *ActivityStats) GetRecentRideTotalsOk() (*ActivityTotal, bool)
GetRecentRideTotalsOk returns a tuple with the RecentRideTotals field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ActivityStats) GetRecentRunTotals ¶
func (o *ActivityStats) GetRecentRunTotals() ActivityTotal
GetRecentRunTotals returns the RecentRunTotals field value if set, zero value otherwise.
func (*ActivityStats) GetRecentRunTotalsOk ¶
func (o *ActivityStats) GetRecentRunTotalsOk() (*ActivityTotal, bool)
GetRecentRunTotalsOk returns a tuple with the RecentRunTotals field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ActivityStats) GetRecentSwimTotals ¶
func (o *ActivityStats) GetRecentSwimTotals() ActivityTotal
GetRecentSwimTotals returns the RecentSwimTotals field value if set, zero value otherwise.
func (*ActivityStats) GetRecentSwimTotalsOk ¶
func (o *ActivityStats) GetRecentSwimTotalsOk() (*ActivityTotal, bool)
GetRecentSwimTotalsOk returns a tuple with the RecentSwimTotals field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ActivityStats) GetYtdRideTotals ¶
func (o *ActivityStats) GetYtdRideTotals() ActivityTotal
GetYtdRideTotals returns the YtdRideTotals field value if set, zero value otherwise.
func (*ActivityStats) GetYtdRideTotalsOk ¶
func (o *ActivityStats) GetYtdRideTotalsOk() (*ActivityTotal, bool)
GetYtdRideTotalsOk returns a tuple with the YtdRideTotals field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ActivityStats) GetYtdRunTotals ¶
func (o *ActivityStats) GetYtdRunTotals() ActivityTotal
GetYtdRunTotals returns the YtdRunTotals field value if set, zero value otherwise.
func (*ActivityStats) GetYtdRunTotalsOk ¶
func (o *ActivityStats) GetYtdRunTotalsOk() (*ActivityTotal, bool)
GetYtdRunTotalsOk returns a tuple with the YtdRunTotals field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ActivityStats) GetYtdSwimTotals ¶
func (o *ActivityStats) GetYtdSwimTotals() ActivityTotal
GetYtdSwimTotals returns the YtdSwimTotals field value if set, zero value otherwise.
func (*ActivityStats) GetYtdSwimTotalsOk ¶
func (o *ActivityStats) GetYtdSwimTotalsOk() (*ActivityTotal, bool)
GetYtdSwimTotalsOk returns a tuple with the YtdSwimTotals field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ActivityStats) HasAllRideTotals ¶
func (o *ActivityStats) HasAllRideTotals() bool
HasAllRideTotals returns a boolean if a field has been set.
func (*ActivityStats) HasAllRunTotals ¶
func (o *ActivityStats) HasAllRunTotals() bool
HasAllRunTotals returns a boolean if a field has been set.
func (*ActivityStats) HasAllSwimTotals ¶
func (o *ActivityStats) HasAllSwimTotals() bool
HasAllSwimTotals returns a boolean if a field has been set.
func (*ActivityStats) HasBiggestClimbElevationGain ¶
func (o *ActivityStats) HasBiggestClimbElevationGain() bool
HasBiggestClimbElevationGain returns a boolean if a field has been set.
func (*ActivityStats) HasBiggestRideDistance ¶
func (o *ActivityStats) HasBiggestRideDistance() bool
HasBiggestRideDistance returns a boolean if a field has been set.
func (*ActivityStats) HasRecentRideTotals ¶
func (o *ActivityStats) HasRecentRideTotals() bool
HasRecentRideTotals returns a boolean if a field has been set.
func (*ActivityStats) HasRecentRunTotals ¶
func (o *ActivityStats) HasRecentRunTotals() bool
HasRecentRunTotals returns a boolean if a field has been set.
func (*ActivityStats) HasRecentSwimTotals ¶
func (o *ActivityStats) HasRecentSwimTotals() bool
HasRecentSwimTotals returns a boolean if a field has been set.
func (*ActivityStats) HasYtdRideTotals ¶
func (o *ActivityStats) HasYtdRideTotals() bool
HasYtdRideTotals returns a boolean if a field has been set.
func (*ActivityStats) HasYtdRunTotals ¶
func (o *ActivityStats) HasYtdRunTotals() bool
HasYtdRunTotals returns a boolean if a field has been set.
func (*ActivityStats) HasYtdSwimTotals ¶
func (o *ActivityStats) HasYtdSwimTotals() bool
HasYtdSwimTotals returns a boolean if a field has been set.
func (ActivityStats) MarshalJSON ¶
func (o ActivityStats) MarshalJSON() ([]byte, error)
func (*ActivityStats) SetAllRideTotals ¶
func (o *ActivityStats) SetAllRideTotals(v ActivityTotal)
SetAllRideTotals gets a reference to the given ActivityTotal and assigns it to the AllRideTotals field.
func (*ActivityStats) SetAllRunTotals ¶
func (o *ActivityStats) SetAllRunTotals(v ActivityTotal)
SetAllRunTotals gets a reference to the given ActivityTotal and assigns it to the AllRunTotals field.
func (*ActivityStats) SetAllSwimTotals ¶
func (o *ActivityStats) SetAllSwimTotals(v ActivityTotal)
SetAllSwimTotals gets a reference to the given ActivityTotal and assigns it to the AllSwimTotals field.
func (*ActivityStats) SetBiggestClimbElevationGain ¶
func (o *ActivityStats) SetBiggestClimbElevationGain(v float64)
SetBiggestClimbElevationGain gets a reference to the given float64 and assigns it to the BiggestClimbElevationGain field.
func (*ActivityStats) SetBiggestRideDistance ¶
func (o *ActivityStats) SetBiggestRideDistance(v float64)
SetBiggestRideDistance gets a reference to the given float64 and assigns it to the BiggestRideDistance field.
func (*ActivityStats) SetRecentRideTotals ¶
func (o *ActivityStats) SetRecentRideTotals(v ActivityTotal)
SetRecentRideTotals gets a reference to the given ActivityTotal and assigns it to the RecentRideTotals field.
func (*ActivityStats) SetRecentRunTotals ¶
func (o *ActivityStats) SetRecentRunTotals(v ActivityTotal)
SetRecentRunTotals gets a reference to the given ActivityTotal and assigns it to the RecentRunTotals field.
func (*ActivityStats) SetRecentSwimTotals ¶
func (o *ActivityStats) SetRecentSwimTotals(v ActivityTotal)
SetRecentSwimTotals gets a reference to the given ActivityTotal and assigns it to the RecentSwimTotals field.
func (*ActivityStats) SetYtdRideTotals ¶
func (o *ActivityStats) SetYtdRideTotals(v ActivityTotal)
SetYtdRideTotals gets a reference to the given ActivityTotal and assigns it to the YtdRideTotals field.
func (*ActivityStats) SetYtdRunTotals ¶
func (o *ActivityStats) SetYtdRunTotals(v ActivityTotal)
SetYtdRunTotals gets a reference to the given ActivityTotal and assigns it to the YtdRunTotals field.
func (*ActivityStats) SetYtdSwimTotals ¶
func (o *ActivityStats) SetYtdSwimTotals(v ActivityTotal)
SetYtdSwimTotals gets a reference to the given ActivityTotal and assigns it to the YtdSwimTotals field.
func (ActivityStats) ToMap ¶
func (o ActivityStats) ToMap() (map[string]interface{}, error)
type ActivityTotal ¶
type ActivityTotal struct { // The number of activities considered in this total. Count *int32 `json:"count,omitempty"` // The total distance covered by the considered activities. Distance *float32 `json:"distance,omitempty"` // The total moving time of the considered activities. MovingTime *int32 `json:"moving_time,omitempty"` // The total elapsed time of the considered activities. ElapsedTime *int32 `json:"elapsed_time,omitempty"` // The total elevation gain of the considered activities. ElevationGain *float32 `json:"elevation_gain,omitempty"` // The total number of achievements of the considered activities. AchievementCount *int32 `json:"achievement_count,omitempty"` }
ActivityTotal A roll-up of metrics pertaining to a set of activities. Values are in seconds and meters.
func NewActivityTotal ¶
func NewActivityTotal() *ActivityTotal
NewActivityTotal instantiates a new ActivityTotal object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewActivityTotalWithDefaults ¶
func NewActivityTotalWithDefaults() *ActivityTotal
NewActivityTotalWithDefaults instantiates a new ActivityTotal object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*ActivityTotal) GetAchievementCount ¶
func (o *ActivityTotal) GetAchievementCount() int32
GetAchievementCount returns the AchievementCount field value if set, zero value otherwise.
func (*ActivityTotal) GetAchievementCountOk ¶
func (o *ActivityTotal) GetAchievementCountOk() (*int32, bool)
GetAchievementCountOk returns a tuple with the AchievementCount field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ActivityTotal) GetCount ¶
func (o *ActivityTotal) GetCount() int32
GetCount returns the Count field value if set, zero value otherwise.
func (*ActivityTotal) GetCountOk ¶
func (o *ActivityTotal) GetCountOk() (*int32, bool)
GetCountOk returns a tuple with the Count field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ActivityTotal) GetDistance ¶
func (o *ActivityTotal) GetDistance() float32
GetDistance returns the Distance field value if set, zero value otherwise.
func (*ActivityTotal) GetDistanceOk ¶
func (o *ActivityTotal) GetDistanceOk() (*float32, bool)
GetDistanceOk returns a tuple with the Distance field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ActivityTotal) GetElapsedTime ¶
func (o *ActivityTotal) GetElapsedTime() int32
GetElapsedTime returns the ElapsedTime field value if set, zero value otherwise.
func (*ActivityTotal) GetElapsedTimeOk ¶
func (o *ActivityTotal) GetElapsedTimeOk() (*int32, bool)
GetElapsedTimeOk returns a tuple with the ElapsedTime field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ActivityTotal) GetElevationGain ¶
func (o *ActivityTotal) GetElevationGain() float32
GetElevationGain returns the ElevationGain field value if set, zero value otherwise.
func (*ActivityTotal) GetElevationGainOk ¶
func (o *ActivityTotal) GetElevationGainOk() (*float32, bool)
GetElevationGainOk returns a tuple with the ElevationGain field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ActivityTotal) GetMovingTime ¶
func (o *ActivityTotal) GetMovingTime() int32
GetMovingTime returns the MovingTime field value if set, zero value otherwise.
func (*ActivityTotal) GetMovingTimeOk ¶
func (o *ActivityTotal) GetMovingTimeOk() (*int32, bool)
GetMovingTimeOk returns a tuple with the MovingTime field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ActivityTotal) HasAchievementCount ¶
func (o *ActivityTotal) HasAchievementCount() bool
HasAchievementCount returns a boolean if a field has been set.
func (*ActivityTotal) HasCount ¶
func (o *ActivityTotal) HasCount() bool
HasCount returns a boolean if a field has been set.
func (*ActivityTotal) HasDistance ¶
func (o *ActivityTotal) HasDistance() bool
HasDistance returns a boolean if a field has been set.
func (*ActivityTotal) HasElapsedTime ¶
func (o *ActivityTotal) HasElapsedTime() bool
HasElapsedTime returns a boolean if a field has been set.
func (*ActivityTotal) HasElevationGain ¶
func (o *ActivityTotal) HasElevationGain() bool
HasElevationGain returns a boolean if a field has been set.
func (*ActivityTotal) HasMovingTime ¶
func (o *ActivityTotal) HasMovingTime() bool
HasMovingTime returns a boolean if a field has been set.
func (ActivityTotal) MarshalJSON ¶
func (o ActivityTotal) MarshalJSON() ([]byte, error)
func (*ActivityTotal) SetAchievementCount ¶
func (o *ActivityTotal) SetAchievementCount(v int32)
SetAchievementCount gets a reference to the given int32 and assigns it to the AchievementCount field.
func (*ActivityTotal) SetCount ¶
func (o *ActivityTotal) SetCount(v int32)
SetCount gets a reference to the given int32 and assigns it to the Count field.
func (*ActivityTotal) SetDistance ¶
func (o *ActivityTotal) SetDistance(v float32)
SetDistance gets a reference to the given float32 and assigns it to the Distance field.
func (*ActivityTotal) SetElapsedTime ¶
func (o *ActivityTotal) SetElapsedTime(v int32)
SetElapsedTime gets a reference to the given int32 and assigns it to the ElapsedTime field.
func (*ActivityTotal) SetElevationGain ¶
func (o *ActivityTotal) SetElevationGain(v float32)
SetElevationGain gets a reference to the given float32 and assigns it to the ElevationGain field.
func (*ActivityTotal) SetMovingTime ¶
func (o *ActivityTotal) SetMovingTime(v int32)
SetMovingTime gets a reference to the given int32 and assigns it to the MovingTime field.
func (ActivityTotal) ToMap ¶
func (o ActivityTotal) ToMap() (map[string]interface{}, error)
type ActivityType ¶
type ActivityType string
ActivityType An enumeration of the types an activity may have. Note that this enumeration does not include new sport types (e.g. MountainBikeRide, EMountainBikeRide), activities with these sport types will have the corresponding activity type (e.g. Ride for MountainBikeRide, EBikeRide for EMountainBikeRide)
const ( ACTIVITYTYPE_ALPINE_SKI ActivityType = "AlpineSki" ACTIVITYTYPE_BACKCOUNTRY_SKI ActivityType = "BackcountrySki" ACTIVITYTYPE_CANOEING ActivityType = "Canoeing" ACTIVITYTYPE_CROSSFIT ActivityType = "Crossfit" ACTIVITYTYPE_E_BIKE_RIDE ActivityType = "EBikeRide" ACTIVITYTYPE_ELLIPTICAL ActivityType = "Elliptical" ACTIVITYTYPE_GOLF ActivityType = "Golf" ACTIVITYTYPE_HANDCYCLE ActivityType = "Handcycle" ACTIVITYTYPE_HIKE ActivityType = "Hike" ACTIVITYTYPE_ICE_SKATE ActivityType = "IceSkate" ACTIVITYTYPE_INLINE_SKATE ActivityType = "InlineSkate" ACTIVITYTYPE_KAYAKING ActivityType = "Kayaking" ACTIVITYTYPE_KITESURF ActivityType = "Kitesurf" ACTIVITYTYPE_NORDIC_SKI ActivityType = "NordicSki" ACTIVITYTYPE_RIDE ActivityType = "Ride" ACTIVITYTYPE_ROCK_CLIMBING ActivityType = "RockClimbing" ACTIVITYTYPE_ROLLER_SKI ActivityType = "RollerSki" ACTIVITYTYPE_ROWING ActivityType = "Rowing" ACTIVITYTYPE_RUN ActivityType = "Run" ACTIVITYTYPE_SAIL ActivityType = "Sail" ACTIVITYTYPE_SKATEBOARD ActivityType = "Skateboard" ACTIVITYTYPE_SNOWBOARD ActivityType = "Snowboard" ACTIVITYTYPE_SNOWSHOE ActivityType = "Snowshoe" ACTIVITYTYPE_SOCCER ActivityType = "Soccer" ACTIVITYTYPE_STAIR_STEPPER ActivityType = "StairStepper" ACTIVITYTYPE_STAND_UP_PADDLING ActivityType = "StandUpPaddling" ACTIVITYTYPE_SURFING ActivityType = "Surfing" ACTIVITYTYPE_SWIM ActivityType = "Swim" ACTIVITYTYPE_VELOMOBILE ActivityType = "Velomobile" ACTIVITYTYPE_VIRTUAL_RIDE ActivityType = "VirtualRide" ACTIVITYTYPE_VIRTUAL_RUN ActivityType = "VirtualRun" ACTIVITYTYPE_WALK ActivityType = "Walk" ACTIVITYTYPE_WEIGHT_TRAINING ActivityType = "WeightTraining" ACTIVITYTYPE_WHEELCHAIR ActivityType = "Wheelchair" ACTIVITYTYPE_WINDSURF ActivityType = "Windsurf" ACTIVITYTYPE_WORKOUT ActivityType = "Workout" ACTIVITYTYPE_YOGA ActivityType = "Yoga" )
List of ActivityType
func NewActivityTypeFromValue ¶
func NewActivityTypeFromValue(v string) (*ActivityType, error)
NewActivityTypeFromValue returns a pointer to a valid ActivityType for the value passed as argument, or an error if the value passed is not allowed by the enum
func (ActivityType) IsValid ¶
func (v ActivityType) IsValid() bool
IsValid return true if the value is valid for the enum, false otherwise
func (ActivityType) Ptr ¶
func (v ActivityType) Ptr() *ActivityType
Ptr returns reference to ActivityType value
func (*ActivityType) UnmarshalJSON ¶
func (v *ActivityType) UnmarshalJSON(src []byte) error
type ActivityZone ¶
type ActivityZone struct { Score *int32 `json:"score,omitempty"` // Stores the exclusive ranges representing zones and the time spent in each. DistributionBuckets []TimedZoneRange `json:"distribution_buckets,omitempty"` Type *string `json:"type,omitempty"` SensorBased *bool `json:"sensor_based,omitempty"` Points *int32 `json:"points,omitempty"` CustomZones *bool `json:"custom_zones,omitempty"` Max *int32 `json:"max,omitempty"` }
ActivityZone struct for ActivityZone
func NewActivityZone ¶
func NewActivityZone() *ActivityZone
NewActivityZone instantiates a new ActivityZone object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewActivityZoneWithDefaults ¶
func NewActivityZoneWithDefaults() *ActivityZone
NewActivityZoneWithDefaults instantiates a new ActivityZone object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*ActivityZone) GetCustomZones ¶
func (o *ActivityZone) GetCustomZones() bool
GetCustomZones returns the CustomZones field value if set, zero value otherwise.
func (*ActivityZone) GetCustomZonesOk ¶
func (o *ActivityZone) GetCustomZonesOk() (*bool, bool)
GetCustomZonesOk returns a tuple with the CustomZones field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ActivityZone) GetDistributionBuckets ¶
func (o *ActivityZone) GetDistributionBuckets() []TimedZoneRange
GetDistributionBuckets returns the DistributionBuckets field value if set, zero value otherwise.
func (*ActivityZone) GetDistributionBucketsOk ¶
func (o *ActivityZone) GetDistributionBucketsOk() ([]TimedZoneRange, bool)
GetDistributionBucketsOk returns a tuple with the DistributionBuckets field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ActivityZone) GetMax ¶
func (o *ActivityZone) GetMax() int32
GetMax returns the Max field value if set, zero value otherwise.
func (*ActivityZone) GetMaxOk ¶
func (o *ActivityZone) GetMaxOk() (*int32, bool)
GetMaxOk returns a tuple with the Max field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ActivityZone) GetPoints ¶
func (o *ActivityZone) GetPoints() int32
GetPoints returns the Points field value if set, zero value otherwise.
func (*ActivityZone) GetPointsOk ¶
func (o *ActivityZone) GetPointsOk() (*int32, bool)
GetPointsOk returns a tuple with the Points field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ActivityZone) GetScore ¶
func (o *ActivityZone) GetScore() int32
GetScore returns the Score field value if set, zero value otherwise.
func (*ActivityZone) GetScoreOk ¶
func (o *ActivityZone) GetScoreOk() (*int32, bool)
GetScoreOk returns a tuple with the Score field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ActivityZone) GetSensorBased ¶
func (o *ActivityZone) GetSensorBased() bool
GetSensorBased returns the SensorBased field value if set, zero value otherwise.
func (*ActivityZone) GetSensorBasedOk ¶
func (o *ActivityZone) GetSensorBasedOk() (*bool, bool)
GetSensorBasedOk returns a tuple with the SensorBased field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ActivityZone) GetType ¶
func (o *ActivityZone) GetType() string
GetType returns the Type field value if set, zero value otherwise.
func (*ActivityZone) GetTypeOk ¶
func (o *ActivityZone) GetTypeOk() (*string, bool)
GetTypeOk returns a tuple with the Type field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ActivityZone) HasCustomZones ¶
func (o *ActivityZone) HasCustomZones() bool
HasCustomZones returns a boolean if a field has been set.
func (*ActivityZone) HasDistributionBuckets ¶
func (o *ActivityZone) HasDistributionBuckets() bool
HasDistributionBuckets returns a boolean if a field has been set.
func (*ActivityZone) HasMax ¶
func (o *ActivityZone) HasMax() bool
HasMax returns a boolean if a field has been set.
func (*ActivityZone) HasPoints ¶
func (o *ActivityZone) HasPoints() bool
HasPoints returns a boolean if a field has been set.
func (*ActivityZone) HasScore ¶
func (o *ActivityZone) HasScore() bool
HasScore returns a boolean if a field has been set.
func (*ActivityZone) HasSensorBased ¶
func (o *ActivityZone) HasSensorBased() bool
HasSensorBased returns a boolean if a field has been set.
func (*ActivityZone) HasType ¶
func (o *ActivityZone) HasType() bool
HasType returns a boolean if a field has been set.
func (ActivityZone) MarshalJSON ¶
func (o ActivityZone) MarshalJSON() ([]byte, error)
func (*ActivityZone) SetCustomZones ¶
func (o *ActivityZone) SetCustomZones(v bool)
SetCustomZones gets a reference to the given bool and assigns it to the CustomZones field.
func (*ActivityZone) SetDistributionBuckets ¶
func (o *ActivityZone) SetDistributionBuckets(v []TimedZoneRange)
SetDistributionBuckets gets a reference to the given []TimedZoneRange and assigns it to the DistributionBuckets field.
func (*ActivityZone) SetMax ¶
func (o *ActivityZone) SetMax(v int32)
SetMax gets a reference to the given int32 and assigns it to the Max field.
func (*ActivityZone) SetPoints ¶
func (o *ActivityZone) SetPoints(v int32)
SetPoints gets a reference to the given int32 and assigns it to the Points field.
func (*ActivityZone) SetScore ¶
func (o *ActivityZone) SetScore(v int32)
SetScore gets a reference to the given int32 and assigns it to the Score field.
func (*ActivityZone) SetSensorBased ¶
func (o *ActivityZone) SetSensorBased(v bool)
SetSensorBased gets a reference to the given bool and assigns it to the SensorBased field.
func (*ActivityZone) SetType ¶
func (o *ActivityZone) SetType(v string)
SetType gets a reference to the given string and assigns it to the Type field.
func (ActivityZone) ToMap ¶
func (o ActivityZone) ToMap() (map[string]interface{}, error)
type AltitudeStream ¶
type AltitudeStream struct { // The number of data points in this stream OriginalSize *int32 `json:"original_size,omitempty"` // The level of detail (sampling) in which this stream was returned Resolution *string `json:"resolution,omitempty"` // The base series used in the case the stream was downsampled SeriesType *string `json:"series_type,omitempty"` // The sequence of altitude values for this stream, in meters Data []float32 `json:"data,omitempty"` }
AltitudeStream struct for AltitudeStream
func NewAltitudeStream ¶
func NewAltitudeStream() *AltitudeStream
NewAltitudeStream instantiates a new AltitudeStream object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewAltitudeStreamWithDefaults ¶
func NewAltitudeStreamWithDefaults() *AltitudeStream
NewAltitudeStreamWithDefaults instantiates a new AltitudeStream object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*AltitudeStream) GetData ¶
func (o *AltitudeStream) GetData() []float32
GetData returns the Data field value if set, zero value otherwise.
func (*AltitudeStream) GetDataOk ¶
func (o *AltitudeStream) GetDataOk() ([]float32, bool)
GetDataOk returns a tuple with the Data field value if set, nil otherwise and a boolean to check if the value has been set.
func (*AltitudeStream) GetOriginalSize ¶
func (o *AltitudeStream) GetOriginalSize() int32
GetOriginalSize returns the OriginalSize field value if set, zero value otherwise.
func (*AltitudeStream) GetOriginalSizeOk ¶
func (o *AltitudeStream) GetOriginalSizeOk() (*int32, bool)
GetOriginalSizeOk returns a tuple with the OriginalSize field value if set, nil otherwise and a boolean to check if the value has been set.
func (*AltitudeStream) GetResolution ¶
func (o *AltitudeStream) GetResolution() string
GetResolution returns the Resolution field value if set, zero value otherwise.
func (*AltitudeStream) GetResolutionOk ¶
func (o *AltitudeStream) GetResolutionOk() (*string, bool)
GetResolutionOk returns a tuple with the Resolution field value if set, nil otherwise and a boolean to check if the value has been set.
func (*AltitudeStream) GetSeriesType ¶
func (o *AltitudeStream) GetSeriesType() string
GetSeriesType returns the SeriesType field value if set, zero value otherwise.
func (*AltitudeStream) GetSeriesTypeOk ¶
func (o *AltitudeStream) GetSeriesTypeOk() (*string, bool)
GetSeriesTypeOk returns a tuple with the SeriesType field value if set, nil otherwise and a boolean to check if the value has been set.
func (*AltitudeStream) HasData ¶
func (o *AltitudeStream) HasData() bool
HasData returns a boolean if a field has been set.
func (*AltitudeStream) HasOriginalSize ¶
func (o *AltitudeStream) HasOriginalSize() bool
HasOriginalSize returns a boolean if a field has been set.
func (*AltitudeStream) HasResolution ¶
func (o *AltitudeStream) HasResolution() bool
HasResolution returns a boolean if a field has been set.
func (*AltitudeStream) HasSeriesType ¶
func (o *AltitudeStream) HasSeriesType() bool
HasSeriesType returns a boolean if a field has been set.
func (AltitudeStream) MarshalJSON ¶
func (o AltitudeStream) MarshalJSON() ([]byte, error)
func (*AltitudeStream) SetData ¶
func (o *AltitudeStream) SetData(v []float32)
SetData gets a reference to the given []float32 and assigns it to the Data field.
func (*AltitudeStream) SetOriginalSize ¶
func (o *AltitudeStream) SetOriginalSize(v int32)
SetOriginalSize gets a reference to the given int32 and assigns it to the OriginalSize field.
func (*AltitudeStream) SetResolution ¶
func (o *AltitudeStream) SetResolution(v string)
SetResolution gets a reference to the given string and assigns it to the Resolution field.
func (*AltitudeStream) SetSeriesType ¶
func (o *AltitudeStream) SetSeriesType(v string)
SetSeriesType gets a reference to the given string and assigns it to the SeriesType field.
func (AltitudeStream) ToMap ¶
func (o AltitudeStream) ToMap() (map[string]interface{}, error)
type ApiCreateActivityRequest ¶
type ApiCreateActivityRequest struct { ApiService *ActivitiesAPIService // contains filtered or unexported fields }
func (ApiCreateActivityRequest) Commute ¶
func (r ApiCreateActivityRequest) Commute(commute int32) ApiCreateActivityRequest
Set to 1 to mark as commute.
func (ApiCreateActivityRequest) Description ¶
func (r ApiCreateActivityRequest) Description(description string) ApiCreateActivityRequest
Description of the activity.
func (ApiCreateActivityRequest) Distance ¶
func (r ApiCreateActivityRequest) Distance(distance float32) ApiCreateActivityRequest
In meters.
func (ApiCreateActivityRequest) ElapsedTime ¶
func (r ApiCreateActivityRequest) ElapsedTime(elapsedTime int32) ApiCreateActivityRequest
In seconds.
func (ApiCreateActivityRequest) Execute ¶
func (r ApiCreateActivityRequest) Execute() (*DetailedActivity, *http.Response, error)
func (ApiCreateActivityRequest) Name ¶
func (r ApiCreateActivityRequest) Name(name string) ApiCreateActivityRequest
The name of the activity.
func (ApiCreateActivityRequest) SportType ¶
func (r ApiCreateActivityRequest) SportType(sportType string) ApiCreateActivityRequest
Sport type of activity. For example - Run, MountainBikeRide, Ride, etc.
func (ApiCreateActivityRequest) StartDateLocal ¶
func (r ApiCreateActivityRequest) StartDateLocal(startDateLocal time.Time) ApiCreateActivityRequest
ISO 8601 formatted date time.
func (ApiCreateActivityRequest) Trainer ¶
func (r ApiCreateActivityRequest) Trainer(trainer int32) ApiCreateActivityRequest
Set to 1 to mark as a trainer activity.
func (ApiCreateActivityRequest) Type_ ¶
func (r ApiCreateActivityRequest) Type_(type_ string) ApiCreateActivityRequest
Type of activity. For example - Run, Ride etc.
type ApiCreateUploadRequest ¶
type ApiCreateUploadRequest struct { ApiService *UploadsAPIService // contains filtered or unexported fields }
func (ApiCreateUploadRequest) Commute ¶
func (r ApiCreateUploadRequest) Commute(commute string) ApiCreateUploadRequest
Whether the resulting activity should be tagged as a commute.
func (ApiCreateUploadRequest) DataType ¶
func (r ApiCreateUploadRequest) DataType(dataType string) ApiCreateUploadRequest
The format of the uploaded file.
func (ApiCreateUploadRequest) Description ¶
func (r ApiCreateUploadRequest) Description(description string) ApiCreateUploadRequest
The desired description of the resulting activity.
func (ApiCreateUploadRequest) Execute ¶
func (r ApiCreateUploadRequest) Execute() (*Upload, *http.Response, error)
func (ApiCreateUploadRequest) ExternalId ¶
func (r ApiCreateUploadRequest) ExternalId(externalId string) ApiCreateUploadRequest
The desired external identifier of the resulting activity.
func (ApiCreateUploadRequest) File ¶
func (r ApiCreateUploadRequest) File(file *os.File) ApiCreateUploadRequest
The uploaded file.
func (ApiCreateUploadRequest) Name ¶
func (r ApiCreateUploadRequest) Name(name string) ApiCreateUploadRequest
The desired name of the resulting activity.
func (ApiCreateUploadRequest) Trainer ¶
func (r ApiCreateUploadRequest) Trainer(trainer string) ApiCreateUploadRequest
Whether the resulting activity should be marked as having been performed on a trainer.
type ApiExploreSegmentsRequest ¶
type ApiExploreSegmentsRequest struct { ApiService *SegmentsAPIService // contains filtered or unexported fields }
func (ApiExploreSegmentsRequest) ActivityType ¶
func (r ApiExploreSegmentsRequest) ActivityType(activityType string) ApiExploreSegmentsRequest
Desired activity type.
func (ApiExploreSegmentsRequest) Bounds ¶
func (r ApiExploreSegmentsRequest) Bounds(bounds []float32) ApiExploreSegmentsRequest
The latitude and longitude for two points describing a rectangular boundary for the search: [southwest corner latitutde, southwest corner longitude, northeast corner latitude, northeast corner longitude]
func (ApiExploreSegmentsRequest) Execute ¶
func (r ApiExploreSegmentsRequest) Execute() (*ExplorerResponse, *http.Response, error)
func (ApiExploreSegmentsRequest) MaxCat ¶
func (r ApiExploreSegmentsRequest) MaxCat(maxCat int32) ApiExploreSegmentsRequest
The maximum climbing category.
func (ApiExploreSegmentsRequest) MinCat ¶
func (r ApiExploreSegmentsRequest) MinCat(minCat int32) ApiExploreSegmentsRequest
The minimum climbing category.
type ApiGetActivityByIdRequest ¶
type ApiGetActivityByIdRequest struct { ApiService *ActivitiesAPIService // contains filtered or unexported fields }
func (ApiGetActivityByIdRequest) Execute ¶
func (r ApiGetActivityByIdRequest) Execute() (*DetailedActivity, *http.Response, error)
func (ApiGetActivityByIdRequest) IncludeAllEfforts ¶
func (r ApiGetActivityByIdRequest) IncludeAllEfforts(includeAllEfforts bool) ApiGetActivityByIdRequest
To include all segments efforts.
type ApiGetActivityStreamsRequest ¶
type ApiGetActivityStreamsRequest struct { ApiService *StreamsAPIService // contains filtered or unexported fields }
func (ApiGetActivityStreamsRequest) Execute ¶
func (r ApiGetActivityStreamsRequest) Execute() (*StreamSet, *http.Response, error)
func (ApiGetActivityStreamsRequest) KeyByType ¶
func (r ApiGetActivityStreamsRequest) KeyByType(keyByType bool) ApiGetActivityStreamsRequest
Must be true.
func (ApiGetActivityStreamsRequest) Keys ¶
func (r ApiGetActivityStreamsRequest) Keys(keys []string) ApiGetActivityStreamsRequest
Desired stream types.
type ApiGetClubActivitiesByIdRequest ¶
type ApiGetClubActivitiesByIdRequest struct { ApiService *ClubsAPIService // contains filtered or unexported fields }
func (ApiGetClubActivitiesByIdRequest) Execute ¶
func (r ApiGetClubActivitiesByIdRequest) Execute() ([]ClubActivity, *http.Response, error)
func (ApiGetClubActivitiesByIdRequest) Page ¶
func (r ApiGetClubActivitiesByIdRequest) Page(page int32) ApiGetClubActivitiesByIdRequest
Page number. Defaults to 1.
func (ApiGetClubActivitiesByIdRequest) PerPage ¶
func (r ApiGetClubActivitiesByIdRequest) PerPage(perPage int32) ApiGetClubActivitiesByIdRequest
Number of items per page. Defaults to 30.
type ApiGetClubAdminsByIdRequest ¶
type ApiGetClubAdminsByIdRequest struct { ApiService *ClubsAPIService // contains filtered or unexported fields }
func (ApiGetClubAdminsByIdRequest) Execute ¶
func (r ApiGetClubAdminsByIdRequest) Execute() ([]SummaryAthlete, *http.Response, error)
func (ApiGetClubAdminsByIdRequest) Page ¶
func (r ApiGetClubAdminsByIdRequest) Page(page int32) ApiGetClubAdminsByIdRequest
Page number. Defaults to 1.
func (ApiGetClubAdminsByIdRequest) PerPage ¶
func (r ApiGetClubAdminsByIdRequest) PerPage(perPage int32) ApiGetClubAdminsByIdRequest
Number of items per page. Defaults to 30.
type ApiGetClubByIdRequest ¶
type ApiGetClubByIdRequest struct { ApiService *ClubsAPIService // contains filtered or unexported fields }
func (ApiGetClubByIdRequest) Execute ¶
func (r ApiGetClubByIdRequest) Execute() (*DetailedClub, *http.Response, error)
type ApiGetClubMembersByIdRequest ¶
type ApiGetClubMembersByIdRequest struct { ApiService *ClubsAPIService // contains filtered or unexported fields }
func (ApiGetClubMembersByIdRequest) Execute ¶
func (r ApiGetClubMembersByIdRequest) Execute() ([]ClubAthlete, *http.Response, error)
func (ApiGetClubMembersByIdRequest) Page ¶
func (r ApiGetClubMembersByIdRequest) Page(page int32) ApiGetClubMembersByIdRequest
Page number. Defaults to 1.
func (ApiGetClubMembersByIdRequest) PerPage ¶
func (r ApiGetClubMembersByIdRequest) PerPage(perPage int32) ApiGetClubMembersByIdRequest
Number of items per page. Defaults to 30.
type ApiGetCommentsByActivityIdRequest ¶
type ApiGetCommentsByActivityIdRequest struct { ApiService *ActivitiesAPIService // contains filtered or unexported fields }
func (ApiGetCommentsByActivityIdRequest) AfterCursor ¶
func (r ApiGetCommentsByActivityIdRequest) AfterCursor(afterCursor string) ApiGetCommentsByActivityIdRequest
Cursor of the last item in the previous page of results, used to request the subsequent page of results. When omitted, the first page of results is fetched.
func (ApiGetCommentsByActivityIdRequest) Execute ¶
func (r ApiGetCommentsByActivityIdRequest) Execute() ([]Comment, *http.Response, error)
func (ApiGetCommentsByActivityIdRequest) Page ¶
func (r ApiGetCommentsByActivityIdRequest) Page(page int32) ApiGetCommentsByActivityIdRequest
Deprecated. Prefer to use after_cursor.
func (ApiGetCommentsByActivityIdRequest) PageSize ¶
func (r ApiGetCommentsByActivityIdRequest) PageSize(pageSize int32) ApiGetCommentsByActivityIdRequest
Number of items per page. Defaults to 30.
func (ApiGetCommentsByActivityIdRequest) PerPage ¶
func (r ApiGetCommentsByActivityIdRequest) PerPage(perPage int32) ApiGetCommentsByActivityIdRequest
Deprecated. Prefer to use page_size.
type ApiGetEffortsBySegmentIdRequest ¶
type ApiGetEffortsBySegmentIdRequest struct { ApiService *SegmentEffortsAPIService // contains filtered or unexported fields }
func (ApiGetEffortsBySegmentIdRequest) EndDateLocal ¶
func (r ApiGetEffortsBySegmentIdRequest) EndDateLocal(endDateLocal time.Time) ApiGetEffortsBySegmentIdRequest
ISO 8601 formatted date time.
func (ApiGetEffortsBySegmentIdRequest) Execute ¶
func (r ApiGetEffortsBySegmentIdRequest) Execute() ([]DetailedSegmentEffort, *http.Response, error)
func (ApiGetEffortsBySegmentIdRequest) PerPage ¶
func (r ApiGetEffortsBySegmentIdRequest) PerPage(perPage int32) ApiGetEffortsBySegmentIdRequest
Number of items per page. Defaults to 30.
func (ApiGetEffortsBySegmentIdRequest) SegmentId ¶
func (r ApiGetEffortsBySegmentIdRequest) SegmentId(segmentId int32) ApiGetEffortsBySegmentIdRequest
The identifier of the segment.
func (ApiGetEffortsBySegmentIdRequest) StartDateLocal ¶
func (r ApiGetEffortsBySegmentIdRequest) StartDateLocal(startDateLocal time.Time) ApiGetEffortsBySegmentIdRequest
ISO 8601 formatted date time.
type ApiGetGearByIdRequest ¶
type ApiGetGearByIdRequest struct { ApiService *GearsAPIService // contains filtered or unexported fields }
func (ApiGetGearByIdRequest) Execute ¶
func (r ApiGetGearByIdRequest) Execute() (*DetailedGear, *http.Response, error)
type ApiGetKudoersByActivityIdRequest ¶
type ApiGetKudoersByActivityIdRequest struct { ApiService *ActivitiesAPIService // contains filtered or unexported fields }
func (ApiGetKudoersByActivityIdRequest) Execute ¶
func (r ApiGetKudoersByActivityIdRequest) Execute() ([]SummaryAthlete, *http.Response, error)
func (ApiGetKudoersByActivityIdRequest) Page ¶
func (r ApiGetKudoersByActivityIdRequest) Page(page int32) ApiGetKudoersByActivityIdRequest
Page number. Defaults to 1.
func (ApiGetKudoersByActivityIdRequest) PerPage ¶
func (r ApiGetKudoersByActivityIdRequest) PerPage(perPage int32) ApiGetKudoersByActivityIdRequest
Number of items per page. Defaults to 30.
type ApiGetLapsByActivityIdRequest ¶
type ApiGetLapsByActivityIdRequest struct { ApiService *ActivitiesAPIService // contains filtered or unexported fields }
type ApiGetLoggedInAthleteActivitiesRequest ¶
type ApiGetLoggedInAthleteActivitiesRequest struct { ApiService *ActivitiesAPIService // contains filtered or unexported fields }
func (ApiGetLoggedInAthleteActivitiesRequest) After ¶
func (r ApiGetLoggedInAthleteActivitiesRequest) After(after int32) ApiGetLoggedInAthleteActivitiesRequest
An epoch timestamp to use for filtering activities that have taken place after a certain time.
func (ApiGetLoggedInAthleteActivitiesRequest) Before ¶
func (r ApiGetLoggedInAthleteActivitiesRequest) Before(before int32) ApiGetLoggedInAthleteActivitiesRequest
An epoch timestamp to use for filtering activities that have taken place before a certain time.
func (ApiGetLoggedInAthleteActivitiesRequest) Execute ¶
func (r ApiGetLoggedInAthleteActivitiesRequest) Execute() ([]SummaryActivity, *http.Response, error)
func (ApiGetLoggedInAthleteActivitiesRequest) Page ¶
func (r ApiGetLoggedInAthleteActivitiesRequest) Page(page int32) ApiGetLoggedInAthleteActivitiesRequest
Page number. Defaults to 1.
func (ApiGetLoggedInAthleteActivitiesRequest) PerPage ¶
func (r ApiGetLoggedInAthleteActivitiesRequest) PerPage(perPage int32) ApiGetLoggedInAthleteActivitiesRequest
Number of items per page. Defaults to 30.
type ApiGetLoggedInAthleteClubsRequest ¶
type ApiGetLoggedInAthleteClubsRequest struct { ApiService *ClubsAPIService // contains filtered or unexported fields }
func (ApiGetLoggedInAthleteClubsRequest) Execute ¶
func (r ApiGetLoggedInAthleteClubsRequest) Execute() ([]SummaryClub, *http.Response, error)
func (ApiGetLoggedInAthleteClubsRequest) Page ¶
func (r ApiGetLoggedInAthleteClubsRequest) Page(page int32) ApiGetLoggedInAthleteClubsRequest
Page number. Defaults to 1.
func (ApiGetLoggedInAthleteClubsRequest) PerPage ¶
func (r ApiGetLoggedInAthleteClubsRequest) PerPage(perPage int32) ApiGetLoggedInAthleteClubsRequest
Number of items per page. Defaults to 30.
type ApiGetLoggedInAthleteRequest ¶
type ApiGetLoggedInAthleteRequest struct { ApiService *AthletesAPIService // contains filtered or unexported fields }
func (ApiGetLoggedInAthleteRequest) Execute ¶
func (r ApiGetLoggedInAthleteRequest) Execute() (*DetailedAthlete, *http.Response, error)
type ApiGetLoggedInAthleteStarredSegmentsRequest ¶
type ApiGetLoggedInAthleteStarredSegmentsRequest struct { ApiService *SegmentsAPIService // contains filtered or unexported fields }
func (ApiGetLoggedInAthleteStarredSegmentsRequest) Execute ¶
func (r ApiGetLoggedInAthleteStarredSegmentsRequest) Execute() ([]SummarySegment, *http.Response, error)
func (ApiGetLoggedInAthleteStarredSegmentsRequest) Page ¶
func (r ApiGetLoggedInAthleteStarredSegmentsRequest) Page(page int32) ApiGetLoggedInAthleteStarredSegmentsRequest
Page number. Defaults to 1.
func (ApiGetLoggedInAthleteStarredSegmentsRequest) PerPage ¶
func (r ApiGetLoggedInAthleteStarredSegmentsRequest) PerPage(perPage int32) ApiGetLoggedInAthleteStarredSegmentsRequest
Number of items per page. Defaults to 30.
type ApiGetLoggedInAthleteZonesRequest ¶
type ApiGetLoggedInAthleteZonesRequest struct { ApiService *AthletesAPIService // contains filtered or unexported fields }
type ApiGetRouteAsGPXRequest ¶
type ApiGetRouteAsGPXRequest struct { ApiService *RoutesAPIService // contains filtered or unexported fields }
type ApiGetRouteAsTCXRequest ¶
type ApiGetRouteAsTCXRequest struct { ApiService *RoutesAPIService // contains filtered or unexported fields }
type ApiGetRouteByIdRequest ¶
type ApiGetRouteByIdRequest struct { ApiService *RoutesAPIService // contains filtered or unexported fields }
type ApiGetRouteStreamsRequest ¶
type ApiGetRouteStreamsRequest struct { ApiService *StreamsAPIService // contains filtered or unexported fields }
type ApiGetRoutesByAthleteIdRequest ¶
type ApiGetRoutesByAthleteIdRequest struct { ApiService *RoutesAPIService // contains filtered or unexported fields }
func (ApiGetRoutesByAthleteIdRequest) Execute ¶
func (r ApiGetRoutesByAthleteIdRequest) Execute() ([]Route, *http.Response, error)
func (ApiGetRoutesByAthleteIdRequest) Page ¶
func (r ApiGetRoutesByAthleteIdRequest) Page(page int32) ApiGetRoutesByAthleteIdRequest
Page number. Defaults to 1.
func (ApiGetRoutesByAthleteIdRequest) PerPage ¶
func (r ApiGetRoutesByAthleteIdRequest) PerPage(perPage int32) ApiGetRoutesByAthleteIdRequest
Number of items per page. Defaults to 30.
type ApiGetSegmentByIdRequest ¶
type ApiGetSegmentByIdRequest struct { ApiService *SegmentsAPIService // contains filtered or unexported fields }
func (ApiGetSegmentByIdRequest) Execute ¶
func (r ApiGetSegmentByIdRequest) Execute() (*DetailedSegment, *http.Response, error)
type ApiGetSegmentEffortByIdRequest ¶
type ApiGetSegmentEffortByIdRequest struct { ApiService *SegmentEffortsAPIService // contains filtered or unexported fields }
func (ApiGetSegmentEffortByIdRequest) Execute ¶
func (r ApiGetSegmentEffortByIdRequest) Execute() (*DetailedSegmentEffort, *http.Response, error)
type ApiGetSegmentEffortStreamsRequest ¶
type ApiGetSegmentEffortStreamsRequest struct { ApiService *StreamsAPIService // contains filtered or unexported fields }
func (ApiGetSegmentEffortStreamsRequest) Execute ¶
func (r ApiGetSegmentEffortStreamsRequest) Execute() (*StreamSet, *http.Response, error)
func (ApiGetSegmentEffortStreamsRequest) KeyByType ¶
func (r ApiGetSegmentEffortStreamsRequest) KeyByType(keyByType bool) ApiGetSegmentEffortStreamsRequest
Must be true.
func (ApiGetSegmentEffortStreamsRequest) Keys ¶
func (r ApiGetSegmentEffortStreamsRequest) Keys(keys []string) ApiGetSegmentEffortStreamsRequest
The types of streams to return.
type ApiGetSegmentStreamsRequest ¶
type ApiGetSegmentStreamsRequest struct { ApiService *StreamsAPIService // contains filtered or unexported fields }
func (ApiGetSegmentStreamsRequest) Execute ¶
func (r ApiGetSegmentStreamsRequest) Execute() (*StreamSet, *http.Response, error)
func (ApiGetSegmentStreamsRequest) KeyByType ¶
func (r ApiGetSegmentStreamsRequest) KeyByType(keyByType bool) ApiGetSegmentStreamsRequest
Must be true.
func (ApiGetSegmentStreamsRequest) Keys ¶
func (r ApiGetSegmentStreamsRequest) Keys(keys []string) ApiGetSegmentStreamsRequest
The types of streams to return.
type ApiGetStatsRequest ¶
type ApiGetStatsRequest struct { ApiService *AthletesAPIService // contains filtered or unexported fields }
func (ApiGetStatsRequest) Execute ¶
func (r ApiGetStatsRequest) Execute() (*ActivityStats, *http.Response, error)
type ApiGetUploadByIdRequest ¶
type ApiGetUploadByIdRequest struct { ApiService *UploadsAPIService // contains filtered or unexported fields }
type ApiGetZonesByActivityIdRequest ¶
type ApiGetZonesByActivityIdRequest struct { ApiService *ActivitiesAPIService // contains filtered or unexported fields }
func (ApiGetZonesByActivityIdRequest) Execute ¶
func (r ApiGetZonesByActivityIdRequest) Execute() ([]ActivityZone, *http.Response, error)
type ApiStarSegmentRequest ¶
type ApiStarSegmentRequest struct { ApiService *SegmentsAPIService // contains filtered or unexported fields }
func (ApiStarSegmentRequest) Execute ¶
func (r ApiStarSegmentRequest) Execute() (*DetailedSegment, *http.Response, error)
func (ApiStarSegmentRequest) Starred ¶
func (r ApiStarSegmentRequest) Starred(starred bool) ApiStarSegmentRequest
If true, star the segment; if false, unstar the segment.
type ApiUpdateActivityByIdRequest ¶
type ApiUpdateActivityByIdRequest struct { ApiService *ActivitiesAPIService // contains filtered or unexported fields }
func (ApiUpdateActivityByIdRequest) Body ¶
func (r ApiUpdateActivityByIdRequest) Body(body UpdatableActivity) ApiUpdateActivityByIdRequest
func (ApiUpdateActivityByIdRequest) Execute ¶
func (r ApiUpdateActivityByIdRequest) Execute() (*DetailedActivity, *http.Response, error)
type ApiUpdateLoggedInAthleteRequest ¶
type ApiUpdateLoggedInAthleteRequest struct { ApiService *AthletesAPIService // contains filtered or unexported fields }
func (ApiUpdateLoggedInAthleteRequest) Execute ¶
func (r ApiUpdateLoggedInAthleteRequest) Execute() (*DetailedAthlete, *http.Response, error)
type AthletesAPIService ¶
type AthletesAPIService service
AthletesAPIService AthletesAPI service
func (*AthletesAPIService) GetLoggedInAthlete ¶
func (a *AthletesAPIService) GetLoggedInAthlete(ctx context.Context) ApiGetLoggedInAthleteRequest
GetLoggedInAthlete Get Authenticated Athlete
Returns the currently authenticated athlete. Tokens with profile:read_all scope will receive a detailed athlete representation; all others will receive a summary representation.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiGetLoggedInAthleteRequest
func (*AthletesAPIService) GetLoggedInAthleteExecute ¶
func (a *AthletesAPIService) GetLoggedInAthleteExecute(r ApiGetLoggedInAthleteRequest) (*DetailedAthlete, *http.Response, error)
Execute executes the request
@return DetailedAthlete
func (*AthletesAPIService) GetLoggedInAthleteZones ¶
func (a *AthletesAPIService) GetLoggedInAthleteZones(ctx context.Context) ApiGetLoggedInAthleteZonesRequest
GetLoggedInAthleteZones Get Zones
Returns the the authenticated athlete's heart rate and power zones. Requires profile:read_all.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiGetLoggedInAthleteZonesRequest
func (*AthletesAPIService) GetLoggedInAthleteZonesExecute ¶
func (a *AthletesAPIService) GetLoggedInAthleteZonesExecute(r ApiGetLoggedInAthleteZonesRequest) (*Zones, *http.Response, error)
Execute executes the request
@return Zones
func (*AthletesAPIService) GetStats ¶
func (a *AthletesAPIService) GetStats(ctx context.Context, id int64) ApiGetStatsRequest
GetStats Get Athlete Stats
Returns the activity stats of an athlete. Only includes data from activities set to Everyone visibilty.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param id The identifier of the athlete. Must match the authenticated athlete. @return ApiGetStatsRequest
func (*AthletesAPIService) GetStatsExecute ¶
func (a *AthletesAPIService) GetStatsExecute(r ApiGetStatsRequest) (*ActivityStats, *http.Response, error)
Execute executes the request
@return ActivityStats
func (*AthletesAPIService) UpdateLoggedInAthlete ¶
func (a *AthletesAPIService) UpdateLoggedInAthlete(ctx context.Context, weight float32) ApiUpdateLoggedInAthleteRequest
UpdateLoggedInAthlete Update Athlete
Update the currently authenticated athlete. Requires profile:write scope.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param weight The weight of the athlete in kilograms. @return ApiUpdateLoggedInAthleteRequest
func (*AthletesAPIService) UpdateLoggedInAthleteExecute ¶
func (a *AthletesAPIService) UpdateLoggedInAthleteExecute(r ApiUpdateLoggedInAthleteRequest) (*DetailedAthlete, *http.Response, error)
Execute executes the request
@return DetailedAthlete
type BaseStream ¶
type BaseStream struct { // The number of data points in this stream OriginalSize *int32 `json:"original_size,omitempty"` // The level of detail (sampling) in which this stream was returned Resolution *string `json:"resolution,omitempty"` // The base series used in the case the stream was downsampled SeriesType *string `json:"series_type,omitempty"` }
BaseStream struct for BaseStream
func NewBaseStream ¶
func NewBaseStream() *BaseStream
NewBaseStream instantiates a new BaseStream object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewBaseStreamWithDefaults ¶
func NewBaseStreamWithDefaults() *BaseStream
NewBaseStreamWithDefaults instantiates a new BaseStream object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*BaseStream) GetOriginalSize ¶
func (o *BaseStream) GetOriginalSize() int32
GetOriginalSize returns the OriginalSize field value if set, zero value otherwise.
func (*BaseStream) GetOriginalSizeOk ¶
func (o *BaseStream) GetOriginalSizeOk() (*int32, bool)
GetOriginalSizeOk returns a tuple with the OriginalSize field value if set, nil otherwise and a boolean to check if the value has been set.
func (*BaseStream) GetResolution ¶
func (o *BaseStream) GetResolution() string
GetResolution returns the Resolution field value if set, zero value otherwise.
func (*BaseStream) GetResolutionOk ¶
func (o *BaseStream) GetResolutionOk() (*string, bool)
GetResolutionOk returns a tuple with the Resolution field value if set, nil otherwise and a boolean to check if the value has been set.
func (*BaseStream) GetSeriesType ¶
func (o *BaseStream) GetSeriesType() string
GetSeriesType returns the SeriesType field value if set, zero value otherwise.
func (*BaseStream) GetSeriesTypeOk ¶
func (o *BaseStream) GetSeriesTypeOk() (*string, bool)
GetSeriesTypeOk returns a tuple with the SeriesType field value if set, nil otherwise and a boolean to check if the value has been set.
func (*BaseStream) HasOriginalSize ¶
func (o *BaseStream) HasOriginalSize() bool
HasOriginalSize returns a boolean if a field has been set.
func (*BaseStream) HasResolution ¶
func (o *BaseStream) HasResolution() bool
HasResolution returns a boolean if a field has been set.
func (*BaseStream) HasSeriesType ¶
func (o *BaseStream) HasSeriesType() bool
HasSeriesType returns a boolean if a field has been set.
func (BaseStream) MarshalJSON ¶
func (o BaseStream) MarshalJSON() ([]byte, error)
func (*BaseStream) SetOriginalSize ¶
func (o *BaseStream) SetOriginalSize(v int32)
SetOriginalSize gets a reference to the given int32 and assigns it to the OriginalSize field.
func (*BaseStream) SetResolution ¶
func (o *BaseStream) SetResolution(v string)
SetResolution gets a reference to the given string and assigns it to the Resolution field.
func (*BaseStream) SetSeriesType ¶
func (o *BaseStream) SetSeriesType(v string)
SetSeriesType gets a reference to the given string and assigns it to the SeriesType field.
func (BaseStream) ToMap ¶
func (o BaseStream) ToMap() (map[string]interface{}, error)
type BasicAuth ¶
type BasicAuth struct { UserName string `json:"userName,omitempty"` Password string `json:"password,omitempty"` }
BasicAuth provides basic http authentication to a request passed via context using ContextBasicAuth
type CadenceStream ¶
type CadenceStream struct { // The number of data points in this stream OriginalSize *int32 `json:"original_size,omitempty"` // The level of detail (sampling) in which this stream was returned Resolution *string `json:"resolution,omitempty"` // The base series used in the case the stream was downsampled SeriesType *string `json:"series_type,omitempty"` // The sequence of cadence values for this stream, in rotations per minute Data []int32 `json:"data,omitempty"` }
CadenceStream struct for CadenceStream
func NewCadenceStream ¶
func NewCadenceStream() *CadenceStream
NewCadenceStream instantiates a new CadenceStream object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewCadenceStreamWithDefaults ¶
func NewCadenceStreamWithDefaults() *CadenceStream
NewCadenceStreamWithDefaults instantiates a new CadenceStream object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*CadenceStream) GetData ¶
func (o *CadenceStream) GetData() []int32
GetData returns the Data field value if set, zero value otherwise.
func (*CadenceStream) GetDataOk ¶
func (o *CadenceStream) GetDataOk() ([]int32, bool)
GetDataOk returns a tuple with the Data field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CadenceStream) GetOriginalSize ¶
func (o *CadenceStream) GetOriginalSize() int32
GetOriginalSize returns the OriginalSize field value if set, zero value otherwise.
func (*CadenceStream) GetOriginalSizeOk ¶
func (o *CadenceStream) GetOriginalSizeOk() (*int32, bool)
GetOriginalSizeOk returns a tuple with the OriginalSize field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CadenceStream) GetResolution ¶
func (o *CadenceStream) GetResolution() string
GetResolution returns the Resolution field value if set, zero value otherwise.
func (*CadenceStream) GetResolutionOk ¶
func (o *CadenceStream) GetResolutionOk() (*string, bool)
GetResolutionOk returns a tuple with the Resolution field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CadenceStream) GetSeriesType ¶
func (o *CadenceStream) GetSeriesType() string
GetSeriesType returns the SeriesType field value if set, zero value otherwise.
func (*CadenceStream) GetSeriesTypeOk ¶
func (o *CadenceStream) GetSeriesTypeOk() (*string, bool)
GetSeriesTypeOk returns a tuple with the SeriesType field value if set, nil otherwise and a boolean to check if the value has been set.
func (*CadenceStream) HasData ¶
func (o *CadenceStream) HasData() bool
HasData returns a boolean if a field has been set.
func (*CadenceStream) HasOriginalSize ¶
func (o *CadenceStream) HasOriginalSize() bool
HasOriginalSize returns a boolean if a field has been set.
func (*CadenceStream) HasResolution ¶
func (o *CadenceStream) HasResolution() bool
HasResolution returns a boolean if a field has been set.
func (*CadenceStream) HasSeriesType ¶
func (o *CadenceStream) HasSeriesType() bool
HasSeriesType returns a boolean if a field has been set.
func (CadenceStream) MarshalJSON ¶
func (o CadenceStream) MarshalJSON() ([]byte, error)
func (*CadenceStream) SetData ¶
func (o *CadenceStream) SetData(v []int32)
SetData gets a reference to the given []int32 and assigns it to the Data field.
func (*CadenceStream) SetOriginalSize ¶
func (o *CadenceStream) SetOriginalSize(v int32)
SetOriginalSize gets a reference to the given int32 and assigns it to the OriginalSize field.
func (*CadenceStream) SetResolution ¶
func (o *CadenceStream) SetResolution(v string)
SetResolution gets a reference to the given string and assigns it to the Resolution field.
func (*CadenceStream) SetSeriesType ¶
func (o *CadenceStream) SetSeriesType(v string)
SetSeriesType gets a reference to the given string and assigns it to the SeriesType field.
func (CadenceStream) ToMap ¶
func (o CadenceStream) ToMap() (map[string]interface{}, error)
type ClubActivity ¶
type ClubActivity struct { Athlete *MetaAthlete `json:"athlete,omitempty"` // The name of the activity Name *string `json:"name,omitempty"` // The activity's distance, in meters Distance *float32 `json:"distance,omitempty"` // The activity's moving time, in seconds MovingTime *int32 `json:"moving_time,omitempty"` // The activity's elapsed time, in seconds ElapsedTime *int32 `json:"elapsed_time,omitempty"` // The activity's total elevation gain. TotalElevationGain *float32 `json:"total_elevation_gain,omitempty"` Type *ActivityType `json:"type,omitempty"` SportType *SportType `json:"sport_type,omitempty"` // The activity's workout type WorkoutType *int32 `json:"workout_type,omitempty"` }
ClubActivity struct for ClubActivity
func NewClubActivity ¶
func NewClubActivity() *ClubActivity
NewClubActivity instantiates a new ClubActivity object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewClubActivityWithDefaults ¶
func NewClubActivityWithDefaults() *ClubActivity
NewClubActivityWithDefaults instantiates a new ClubActivity object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*ClubActivity) GetAthlete ¶
func (o *ClubActivity) GetAthlete() MetaAthlete
GetAthlete returns the Athlete field value if set, zero value otherwise.
func (*ClubActivity) GetAthleteOk ¶
func (o *ClubActivity) GetAthleteOk() (*MetaAthlete, bool)
GetAthleteOk returns a tuple with the Athlete field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ClubActivity) GetDistance ¶
func (o *ClubActivity) GetDistance() float32
GetDistance returns the Distance field value if set, zero value otherwise.
func (*ClubActivity) GetDistanceOk ¶
func (o *ClubActivity) GetDistanceOk() (*float32, bool)
GetDistanceOk returns a tuple with the Distance field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ClubActivity) GetElapsedTime ¶
func (o *ClubActivity) GetElapsedTime() int32
GetElapsedTime returns the ElapsedTime field value if set, zero value otherwise.
func (*ClubActivity) GetElapsedTimeOk ¶
func (o *ClubActivity) GetElapsedTimeOk() (*int32, bool)
GetElapsedTimeOk returns a tuple with the ElapsedTime field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ClubActivity) GetMovingTime ¶
func (o *ClubActivity) GetMovingTime() int32
GetMovingTime returns the MovingTime field value if set, zero value otherwise.
func (*ClubActivity) GetMovingTimeOk ¶
func (o *ClubActivity) GetMovingTimeOk() (*int32, bool)
GetMovingTimeOk returns a tuple with the MovingTime field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ClubActivity) GetName ¶
func (o *ClubActivity) GetName() string
GetName returns the Name field value if set, zero value otherwise.
func (*ClubActivity) GetNameOk ¶
func (o *ClubActivity) GetNameOk() (*string, bool)
GetNameOk returns a tuple with the Name field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ClubActivity) GetSportType ¶
func (o *ClubActivity) GetSportType() SportType
GetSportType returns the SportType field value if set, zero value otherwise.
func (*ClubActivity) GetSportTypeOk ¶
func (o *ClubActivity) GetSportTypeOk() (*SportType, bool)
GetSportTypeOk returns a tuple with the SportType field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ClubActivity) GetTotalElevationGain ¶
func (o *ClubActivity) GetTotalElevationGain() float32
GetTotalElevationGain returns the TotalElevationGain field value if set, zero value otherwise.
func (*ClubActivity) GetTotalElevationGainOk ¶
func (o *ClubActivity) GetTotalElevationGainOk() (*float32, bool)
GetTotalElevationGainOk returns a tuple with the TotalElevationGain field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ClubActivity) GetType ¶
func (o *ClubActivity) GetType() ActivityType
GetType returns the Type field value if set, zero value otherwise.
func (*ClubActivity) GetTypeOk ¶
func (o *ClubActivity) GetTypeOk() (*ActivityType, bool)
GetTypeOk returns a tuple with the Type field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ClubActivity) GetWorkoutType ¶
func (o *ClubActivity) GetWorkoutType() int32
GetWorkoutType returns the WorkoutType field value if set, zero value otherwise.
func (*ClubActivity) GetWorkoutTypeOk ¶
func (o *ClubActivity) GetWorkoutTypeOk() (*int32, bool)
GetWorkoutTypeOk returns a tuple with the WorkoutType field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ClubActivity) HasAthlete ¶
func (o *ClubActivity) HasAthlete() bool
HasAthlete returns a boolean if a field has been set.
func (*ClubActivity) HasDistance ¶
func (o *ClubActivity) HasDistance() bool
HasDistance returns a boolean if a field has been set.
func (*ClubActivity) HasElapsedTime ¶
func (o *ClubActivity) HasElapsedTime() bool
HasElapsedTime returns a boolean if a field has been set.
func (*ClubActivity) HasMovingTime ¶
func (o *ClubActivity) HasMovingTime() bool
HasMovingTime returns a boolean if a field has been set.
func (*ClubActivity) HasName ¶
func (o *ClubActivity) HasName() bool
HasName returns a boolean if a field has been set.
func (*ClubActivity) HasSportType ¶
func (o *ClubActivity) HasSportType() bool
HasSportType returns a boolean if a field has been set.
func (*ClubActivity) HasTotalElevationGain ¶
func (o *ClubActivity) HasTotalElevationGain() bool
HasTotalElevationGain returns a boolean if a field has been set.
func (*ClubActivity) HasType ¶
func (o *ClubActivity) HasType() bool
HasType returns a boolean if a field has been set.
func (*ClubActivity) HasWorkoutType ¶
func (o *ClubActivity) HasWorkoutType() bool
HasWorkoutType returns a boolean if a field has been set.
func (ClubActivity) MarshalJSON ¶
func (o ClubActivity) MarshalJSON() ([]byte, error)
func (*ClubActivity) SetAthlete ¶
func (o *ClubActivity) SetAthlete(v MetaAthlete)
SetAthlete gets a reference to the given MetaAthlete and assigns it to the Athlete field.
func (*ClubActivity) SetDistance ¶
func (o *ClubActivity) SetDistance(v float32)
SetDistance gets a reference to the given float32 and assigns it to the Distance field.
func (*ClubActivity) SetElapsedTime ¶
func (o *ClubActivity) SetElapsedTime(v int32)
SetElapsedTime gets a reference to the given int32 and assigns it to the ElapsedTime field.
func (*ClubActivity) SetMovingTime ¶
func (o *ClubActivity) SetMovingTime(v int32)
SetMovingTime gets a reference to the given int32 and assigns it to the MovingTime field.
func (*ClubActivity) SetName ¶
func (o *ClubActivity) SetName(v string)
SetName gets a reference to the given string and assigns it to the Name field.
func (*ClubActivity) SetSportType ¶
func (o *ClubActivity) SetSportType(v SportType)
SetSportType gets a reference to the given SportType and assigns it to the SportType field.
func (*ClubActivity) SetTotalElevationGain ¶
func (o *ClubActivity) SetTotalElevationGain(v float32)
SetTotalElevationGain gets a reference to the given float32 and assigns it to the TotalElevationGain field.
func (*ClubActivity) SetType ¶
func (o *ClubActivity) SetType(v ActivityType)
SetType gets a reference to the given ActivityType and assigns it to the Type field.
func (*ClubActivity) SetWorkoutType ¶
func (o *ClubActivity) SetWorkoutType(v int32)
SetWorkoutType gets a reference to the given int32 and assigns it to the WorkoutType field.
func (ClubActivity) ToMap ¶
func (o ClubActivity) ToMap() (map[string]interface{}, error)
type ClubAthlete ¶
type ClubAthlete struct { // Resource state, indicates level of detail. Possible values: 1 -> \"meta\", 2 -> \"summary\", 3 -> \"detail\" ResourceState *int32 `json:"resource_state,omitempty"` // The athlete's first name. Firstname *string `json:"firstname,omitempty"` // The athlete's last initial. Lastname *string `json:"lastname,omitempty"` // The athlete's member status. Member *string `json:"member,omitempty"` // Whether the athlete is a club admin. Admin *bool `json:"admin,omitempty"` // Whether the athlete is club owner. Owner *bool `json:"owner,omitempty"` }
ClubAthlete struct for ClubAthlete
func NewClubAthlete ¶
func NewClubAthlete() *ClubAthlete
NewClubAthlete instantiates a new ClubAthlete object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewClubAthleteWithDefaults ¶
func NewClubAthleteWithDefaults() *ClubAthlete
NewClubAthleteWithDefaults instantiates a new ClubAthlete object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*ClubAthlete) GetAdmin ¶
func (o *ClubAthlete) GetAdmin() bool
GetAdmin returns the Admin field value if set, zero value otherwise.
func (*ClubAthlete) GetAdminOk ¶
func (o *ClubAthlete) GetAdminOk() (*bool, bool)
GetAdminOk returns a tuple with the Admin field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ClubAthlete) GetFirstname ¶
func (o *ClubAthlete) GetFirstname() string
GetFirstname returns the Firstname field value if set, zero value otherwise.
func (*ClubAthlete) GetFirstnameOk ¶
func (o *ClubAthlete) GetFirstnameOk() (*string, bool)
GetFirstnameOk returns a tuple with the Firstname field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ClubAthlete) GetLastname ¶
func (o *ClubAthlete) GetLastname() string
GetLastname returns the Lastname field value if set, zero value otherwise.
func (*ClubAthlete) GetLastnameOk ¶
func (o *ClubAthlete) GetLastnameOk() (*string, bool)
GetLastnameOk returns a tuple with the Lastname field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ClubAthlete) GetMember ¶
func (o *ClubAthlete) GetMember() string
GetMember returns the Member field value if set, zero value otherwise.
func (*ClubAthlete) GetMemberOk ¶
func (o *ClubAthlete) GetMemberOk() (*string, bool)
GetMemberOk returns a tuple with the Member field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ClubAthlete) GetOwner ¶
func (o *ClubAthlete) GetOwner() bool
GetOwner returns the Owner field value if set, zero value otherwise.
func (*ClubAthlete) GetOwnerOk ¶
func (o *ClubAthlete) GetOwnerOk() (*bool, bool)
GetOwnerOk returns a tuple with the Owner field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ClubAthlete) GetResourceState ¶
func (o *ClubAthlete) GetResourceState() int32
GetResourceState returns the ResourceState field value if set, zero value otherwise.
func (*ClubAthlete) GetResourceStateOk ¶
func (o *ClubAthlete) GetResourceStateOk() (*int32, bool)
GetResourceStateOk returns a tuple with the ResourceState field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ClubAthlete) HasAdmin ¶
func (o *ClubAthlete) HasAdmin() bool
HasAdmin returns a boolean if a field has been set.
func (*ClubAthlete) HasFirstname ¶
func (o *ClubAthlete) HasFirstname() bool
HasFirstname returns a boolean if a field has been set.
func (*ClubAthlete) HasLastname ¶
func (o *ClubAthlete) HasLastname() bool
HasLastname returns a boolean if a field has been set.
func (*ClubAthlete) HasMember ¶
func (o *ClubAthlete) HasMember() bool
HasMember returns a boolean if a field has been set.
func (*ClubAthlete) HasOwner ¶
func (o *ClubAthlete) HasOwner() bool
HasOwner returns a boolean if a field has been set.
func (*ClubAthlete) HasResourceState ¶
func (o *ClubAthlete) HasResourceState() bool
HasResourceState returns a boolean if a field has been set.
func (ClubAthlete) MarshalJSON ¶
func (o ClubAthlete) MarshalJSON() ([]byte, error)
func (*ClubAthlete) SetAdmin ¶
func (o *ClubAthlete) SetAdmin(v bool)
SetAdmin gets a reference to the given bool and assigns it to the Admin field.
func (*ClubAthlete) SetFirstname ¶
func (o *ClubAthlete) SetFirstname(v string)
SetFirstname gets a reference to the given string and assigns it to the Firstname field.
func (*ClubAthlete) SetLastname ¶
func (o *ClubAthlete) SetLastname(v string)
SetLastname gets a reference to the given string and assigns it to the Lastname field.
func (*ClubAthlete) SetMember ¶
func (o *ClubAthlete) SetMember(v string)
SetMember gets a reference to the given string and assigns it to the Member field.
func (*ClubAthlete) SetOwner ¶
func (o *ClubAthlete) SetOwner(v bool)
SetOwner gets a reference to the given bool and assigns it to the Owner field.
func (*ClubAthlete) SetResourceState ¶
func (o *ClubAthlete) SetResourceState(v int32)
SetResourceState gets a reference to the given int32 and assigns it to the ResourceState field.
func (ClubAthlete) ToMap ¶
func (o ClubAthlete) ToMap() (map[string]interface{}, error)
type ClubsAPIService ¶
type ClubsAPIService service
ClubsAPIService ClubsAPI service
func (*ClubsAPIService) GetClubActivitiesById ¶
func (a *ClubsAPIService) GetClubActivitiesById(ctx context.Context, id int64) ApiGetClubActivitiesByIdRequest
GetClubActivitiesById List Club Activities
Retrieve recent activities from members of a specific club. The authenticated athlete must belong to the requested club in order to hit this endpoint. Pagination is supported. Athlete profile visibility is respected for all activities.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param id The identifier of the club. @return ApiGetClubActivitiesByIdRequest
func (*ClubsAPIService) GetClubActivitiesByIdExecute ¶
func (a *ClubsAPIService) GetClubActivitiesByIdExecute(r ApiGetClubActivitiesByIdRequest) ([]ClubActivity, *http.Response, error)
Execute executes the request
@return []ClubActivity
func (*ClubsAPIService) GetClubAdminsById ¶
func (a *ClubsAPIService) GetClubAdminsById(ctx context.Context, id int64) ApiGetClubAdminsByIdRequest
GetClubAdminsById List Club Administrators
Returns a list of the administrators of a given club.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param id The identifier of the club. @return ApiGetClubAdminsByIdRequest
func (*ClubsAPIService) GetClubAdminsByIdExecute ¶
func (a *ClubsAPIService) GetClubAdminsByIdExecute(r ApiGetClubAdminsByIdRequest) ([]SummaryAthlete, *http.Response, error)
Execute executes the request
@return []SummaryAthlete
func (*ClubsAPIService) GetClubById ¶
func (a *ClubsAPIService) GetClubById(ctx context.Context, id int64) ApiGetClubByIdRequest
GetClubById Get Club
Returns a given club using its identifier.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param id The identifier of the club. @return ApiGetClubByIdRequest
func (*ClubsAPIService) GetClubByIdExecute ¶
func (a *ClubsAPIService) GetClubByIdExecute(r ApiGetClubByIdRequest) (*DetailedClub, *http.Response, error)
Execute executes the request
@return DetailedClub
func (*ClubsAPIService) GetClubMembersById ¶
func (a *ClubsAPIService) GetClubMembersById(ctx context.Context, id int64) ApiGetClubMembersByIdRequest
GetClubMembersById List Club Members
Returns a list of the athletes who are members of a given club.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param id The identifier of the club. @return ApiGetClubMembersByIdRequest
func (*ClubsAPIService) GetClubMembersByIdExecute ¶
func (a *ClubsAPIService) GetClubMembersByIdExecute(r ApiGetClubMembersByIdRequest) ([]ClubAthlete, *http.Response, error)
Execute executes the request
@return []ClubAthlete
func (*ClubsAPIService) GetLoggedInAthleteClubs ¶
func (a *ClubsAPIService) GetLoggedInAthleteClubs(ctx context.Context) ApiGetLoggedInAthleteClubsRequest
GetLoggedInAthleteClubs List Athlete Clubs
Returns a list of the clubs whose membership includes the authenticated athlete.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiGetLoggedInAthleteClubsRequest
func (*ClubsAPIService) GetLoggedInAthleteClubsExecute ¶
func (a *ClubsAPIService) GetLoggedInAthleteClubsExecute(r ApiGetLoggedInAthleteClubsRequest) ([]SummaryClub, *http.Response, error)
Execute executes the request
@return []SummaryClub
type Comment ¶
type Comment struct { // The unique identifier of this comment Id *int64 `json:"id,omitempty"` // The identifier of the activity this comment is related to ActivityId *int64 `json:"activity_id,omitempty"` // The content of the comment Text *string `json:"text,omitempty"` Athlete *SummaryAthlete `json:"athlete,omitempty"` // The time at which this comment was created. CreatedAt *time.Time `json:"created_at,omitempty"` }
Comment struct for Comment
func NewComment ¶
func NewComment() *Comment
NewComment instantiates a new Comment object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewCommentWithDefaults ¶
func NewCommentWithDefaults() *Comment
NewCommentWithDefaults instantiates a new Comment object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*Comment) GetActivityId ¶
GetActivityId returns the ActivityId field value if set, zero value otherwise.
func (*Comment) GetActivityIdOk ¶
GetActivityIdOk returns a tuple with the ActivityId field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Comment) GetAthlete ¶
func (o *Comment) GetAthlete() SummaryAthlete
GetAthlete returns the Athlete field value if set, zero value otherwise.
func (*Comment) GetAthleteOk ¶
func (o *Comment) GetAthleteOk() (*SummaryAthlete, bool)
GetAthleteOk returns a tuple with the Athlete field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Comment) GetCreatedAt ¶
GetCreatedAt returns the CreatedAt field value if set, zero value otherwise.
func (*Comment) GetCreatedAtOk ¶
GetCreatedAtOk returns a tuple with the CreatedAt field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Comment) GetIdOk ¶
GetIdOk returns a tuple with the Id field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Comment) GetTextOk ¶
GetTextOk returns a tuple with the Text field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Comment) HasActivityId ¶
HasActivityId returns a boolean if a field has been set.
func (*Comment) HasAthlete ¶
HasAthlete returns a boolean if a field has been set.
func (*Comment) HasCreatedAt ¶
HasCreatedAt returns a boolean if a field has been set.
func (Comment) MarshalJSON ¶
func (*Comment) SetActivityId ¶
SetActivityId gets a reference to the given int64 and assigns it to the ActivityId field.
func (*Comment) SetAthlete ¶
func (o *Comment) SetAthlete(v SummaryAthlete)
SetAthlete gets a reference to the given SummaryAthlete and assigns it to the Athlete field.
func (*Comment) SetCreatedAt ¶
SetCreatedAt gets a reference to the given time.Time and assigns it to the CreatedAt field.
type Configuration ¶
type Configuration struct { Host string `json:"host,omitempty"` Scheme string `json:"scheme,omitempty"` DefaultHeader map[string]string `json:"defaultHeader,omitempty"` UserAgent string `json:"userAgent,omitempty"` Debug bool `json:"debug,omitempty"` Servers ServerConfigurations OperationServers map[string]ServerConfigurations HTTPClient *http.Client }
Configuration stores the configuration of the API client
func NewConfiguration ¶
func NewConfiguration() *Configuration
NewConfiguration returns a new Configuration object
func (*Configuration) AddDefaultHeader ¶
func (c *Configuration) AddDefaultHeader(key string, value string)
AddDefaultHeader adds a new HTTP header to the default header in the request
func (*Configuration) ServerURLWithContext ¶
ServerURLWithContext returns a new server URL given an endpoint
type DetailedActivity ¶
type DetailedActivity struct { // The unique identifier of the activity Id *int64 `json:"id,omitempty"` // The identifier provided at upload time ExternalId *string `json:"external_id,omitempty"` // The identifier of the upload that resulted in this activity UploadId *int64 `json:"upload_id,omitempty"` Athlete *MetaAthlete `json:"athlete,omitempty"` // The name of the activity Name *string `json:"name,omitempty"` // The activity's distance, in meters Distance *float32 `json:"distance,omitempty"` // The activity's moving time, in seconds MovingTime *int32 `json:"moving_time,omitempty"` // The activity's elapsed time, in seconds ElapsedTime *int32 `json:"elapsed_time,omitempty"` // The activity's total elevation gain. TotalElevationGain *float32 `json:"total_elevation_gain,omitempty"` // The activity's highest elevation, in meters ElevHigh *float32 `json:"elev_high,omitempty"` // The activity's lowest elevation, in meters ElevLow *float32 `json:"elev_low,omitempty"` Type *ActivityType `json:"type,omitempty"` SportType *SportType `json:"sport_type,omitempty"` // The time at which the activity was started. StartDate *time.Time `json:"start_date,omitempty"` // The time at which the activity was started in the local timezone. StartDateLocal *time.Time `json:"start_date_local,omitempty"` // The timezone of the activity Timezone *string `json:"timezone,omitempty"` // A pair of latitude/longitude coordinates, represented as an array of 2 floating point numbers. StartLatlng []float32 `json:"start_latlng,omitempty"` // A pair of latitude/longitude coordinates, represented as an array of 2 floating point numbers. EndLatlng []float32 `json:"end_latlng,omitempty"` // The number of achievements gained during this activity AchievementCount *int32 `json:"achievement_count,omitempty"` // The number of kudos given for this activity KudosCount *int32 `json:"kudos_count,omitempty"` // The number of comments for this activity CommentCount *int32 `json:"comment_count,omitempty"` // The number of athletes for taking part in a group activity AthleteCount *int32 `json:"athlete_count,omitempty"` // The number of Instagram photos for this activity PhotoCount *int32 `json:"photo_count,omitempty"` // The number of Instagram and Strava photos for this activity TotalPhotoCount *int32 `json:"total_photo_count,omitempty"` Map *PolylineMap `json:"map,omitempty"` // Whether this activity was recorded on a training machine Trainer *bool `json:"trainer,omitempty"` // Whether this activity is a commute Commute *bool `json:"commute,omitempty"` // Whether this activity was created manually Manual *bool `json:"manual,omitempty"` // Whether this activity is private Private *bool `json:"private,omitempty"` // Whether this activity is flagged Flagged *bool `json:"flagged,omitempty"` // The activity's workout type WorkoutType *int32 `json:"workout_type,omitempty"` // The unique identifier of the upload in string format UploadIdStr *string `json:"upload_id_str,omitempty"` // The activity's average speed, in meters per second AverageSpeed *float32 `json:"average_speed,omitempty"` // The activity's max speed, in meters per second MaxSpeed *float32 `json:"max_speed,omitempty"` // Whether the logged-in athlete has kudoed this activity HasKudoed *bool `json:"has_kudoed,omitempty"` // Whether the activity is muted HideFromHome *bool `json:"hide_from_home,omitempty"` // The id of the gear for the activity GearId *string `json:"gear_id,omitempty"` // The total work done in kilojoules during this activity. Rides only Kilojoules *float32 `json:"kilojoules,omitempty"` // Average power output in watts during this activity. Rides only AverageWatts *float32 `json:"average_watts,omitempty"` // Whether the watts are from a power meter, false if estimated DeviceWatts *bool `json:"device_watts,omitempty"` // Rides with power meter data only MaxWatts *int32 `json:"max_watts,omitempty"` // Similar to Normalized Power. Rides with power meter data only WeightedAverageWatts *int32 `json:"weighted_average_watts,omitempty"` // The description of the activity Description *string `json:"description,omitempty"` Photos *PhotosSummary `json:"photos,omitempty"` Gear *SummaryGear `json:"gear,omitempty"` // The number of kilocalories consumed during this activity Calories *float32 `json:"calories,omitempty"` SegmentEfforts []DetailedSegmentEffort `json:"segment_efforts,omitempty"` // The name of the device used to record the activity DeviceName *string `json:"device_name,omitempty"` // The token used to embed a Strava activity EmbedToken *string `json:"embed_token,omitempty"` // The splits of this activity in metric units (for runs) SplitsMetric []Split `json:"splits_metric,omitempty"` // The splits of this activity in imperial units (for runs) SplitsStandard []Split `json:"splits_standard,omitempty"` Laps []Lap `json:"laps,omitempty"` BestEfforts []DetailedSegmentEffort `json:"best_efforts,omitempty"` }
DetailedActivity struct for DetailedActivity
func NewDetailedActivity ¶
func NewDetailedActivity() *DetailedActivity
NewDetailedActivity instantiates a new DetailedActivity object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewDetailedActivityWithDefaults ¶
func NewDetailedActivityWithDefaults() *DetailedActivity
NewDetailedActivityWithDefaults instantiates a new DetailedActivity object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*DetailedActivity) GetAchievementCount ¶
func (o *DetailedActivity) GetAchievementCount() int32
GetAchievementCount returns the AchievementCount field value if set, zero value otherwise.
func (*DetailedActivity) GetAchievementCountOk ¶
func (o *DetailedActivity) GetAchievementCountOk() (*int32, bool)
GetAchievementCountOk returns a tuple with the AchievementCount field value if set, nil otherwise and a boolean to check if the value has been set.
func (*DetailedActivity) GetAthlete ¶
func (o *DetailedActivity) GetAthlete() MetaAthlete
GetAthlete returns the Athlete field value if set, zero value otherwise.
func (*DetailedActivity) GetAthleteCount ¶
func (o *DetailedActivity) GetAthleteCount() int32
GetAthleteCount returns the AthleteCount field value if set, zero value otherwise.
func (*DetailedActivity) GetAthleteCountOk ¶
func (o *DetailedActivity) GetAthleteCountOk() (*int32, bool)
GetAthleteCountOk returns a tuple with the AthleteCount field value if set, nil otherwise and a boolean to check if the value has been set.
func (*DetailedActivity) GetAthleteOk ¶
func (o *DetailedActivity) GetAthleteOk() (*MetaAthlete, bool)
GetAthleteOk returns a tuple with the Athlete field value if set, nil otherwise and a boolean to check if the value has been set.
func (*DetailedActivity) GetAverageSpeed ¶
func (o *DetailedActivity) GetAverageSpeed() float32
GetAverageSpeed returns the AverageSpeed field value if set, zero value otherwise.
func (*DetailedActivity) GetAverageSpeedOk ¶
func (o *DetailedActivity) GetAverageSpeedOk() (*float32, bool)
GetAverageSpeedOk returns a tuple with the AverageSpeed field value if set, nil otherwise and a boolean to check if the value has been set.
func (*DetailedActivity) GetAverageWatts ¶
func (o *DetailedActivity) GetAverageWatts() float32
GetAverageWatts returns the AverageWatts field value if set, zero value otherwise.
func (*DetailedActivity) GetAverageWattsOk ¶
func (o *DetailedActivity) GetAverageWattsOk() (*float32, bool)
GetAverageWattsOk returns a tuple with the AverageWatts field value if set, nil otherwise and a boolean to check if the value has been set.
func (*DetailedActivity) GetBestEfforts ¶
func (o *DetailedActivity) GetBestEfforts() []DetailedSegmentEffort
GetBestEfforts returns the BestEfforts field value if set, zero value otherwise.
func (*DetailedActivity) GetBestEffortsOk ¶
func (o *DetailedActivity) GetBestEffortsOk() ([]DetailedSegmentEffort, bool)
GetBestEffortsOk returns a tuple with the BestEfforts field value if set, nil otherwise and a boolean to check if the value has been set.
func (*DetailedActivity) GetCalories ¶
func (o *DetailedActivity) GetCalories() float32
GetCalories returns the Calories field value if set, zero value otherwise.
func (*DetailedActivity) GetCaloriesOk ¶
func (o *DetailedActivity) GetCaloriesOk() (*float32, bool)
GetCaloriesOk returns a tuple with the Calories field value if set, nil otherwise and a boolean to check if the value has been set.
func (*DetailedActivity) GetCommentCount ¶
func (o *DetailedActivity) GetCommentCount() int32
GetCommentCount returns the CommentCount field value if set, zero value otherwise.
func (*DetailedActivity) GetCommentCountOk ¶
func (o *DetailedActivity) GetCommentCountOk() (*int32, bool)
GetCommentCountOk returns a tuple with the CommentCount field value if set, nil otherwise and a boolean to check if the value has been set.
func (*DetailedActivity) GetCommute ¶
func (o *DetailedActivity) GetCommute() bool
GetCommute returns the Commute field value if set, zero value otherwise.
func (*DetailedActivity) GetCommuteOk ¶
func (o *DetailedActivity) GetCommuteOk() (*bool, bool)
GetCommuteOk returns a tuple with the Commute field value if set, nil otherwise and a boolean to check if the value has been set.
func (*DetailedActivity) GetDescription ¶
func (o *DetailedActivity) GetDescription() string
GetDescription returns the Description field value if set, zero value otherwise.
func (*DetailedActivity) GetDescriptionOk ¶
func (o *DetailedActivity) GetDescriptionOk() (*string, bool)
GetDescriptionOk returns a tuple with the Description field value if set, nil otherwise and a boolean to check if the value has been set.
func (*DetailedActivity) GetDeviceName ¶
func (o *DetailedActivity) GetDeviceName() string
GetDeviceName returns the DeviceName field value if set, zero value otherwise.
func (*DetailedActivity) GetDeviceNameOk ¶
func (o *DetailedActivity) GetDeviceNameOk() (*string, bool)
GetDeviceNameOk returns a tuple with the DeviceName field value if set, nil otherwise and a boolean to check if the value has been set.
func (*DetailedActivity) GetDeviceWatts ¶
func (o *DetailedActivity) GetDeviceWatts() bool
GetDeviceWatts returns the DeviceWatts field value if set, zero value otherwise.
func (*DetailedActivity) GetDeviceWattsOk ¶
func (o *DetailedActivity) GetDeviceWattsOk() (*bool, bool)
GetDeviceWattsOk returns a tuple with the DeviceWatts field value if set, nil otherwise and a boolean to check if the value has been set.
func (*DetailedActivity) GetDistance ¶
func (o *DetailedActivity) GetDistance() float32
GetDistance returns the Distance field value if set, zero value otherwise.
func (*DetailedActivity) GetDistanceOk ¶
func (o *DetailedActivity) GetDistanceOk() (*float32, bool)
GetDistanceOk returns a tuple with the Distance field value if set, nil otherwise and a boolean to check if the value has been set.
func (*DetailedActivity) GetElapsedTime ¶
func (o *DetailedActivity) GetElapsedTime() int32
GetElapsedTime returns the ElapsedTime field value if set, zero value otherwise.
func (*DetailedActivity) GetElapsedTimeOk ¶
func (o *DetailedActivity) GetElapsedTimeOk() (*int32, bool)
GetElapsedTimeOk returns a tuple with the ElapsedTime field value if set, nil otherwise and a boolean to check if the value has been set.
func (*DetailedActivity) GetElevHigh ¶
func (o *DetailedActivity) GetElevHigh() float32
GetElevHigh returns the ElevHigh field value if set, zero value otherwise.
func (*DetailedActivity) GetElevHighOk ¶
func (o *DetailedActivity) GetElevHighOk() (*float32, bool)
GetElevHighOk returns a tuple with the ElevHigh field value if set, nil otherwise and a boolean to check if the value has been set.
func (*DetailedActivity) GetElevLow ¶
func (o *DetailedActivity) GetElevLow() float32
GetElevLow returns the ElevLow field value if set, zero value otherwise.
func (*DetailedActivity) GetElevLowOk ¶
func (o *DetailedActivity) GetElevLowOk() (*float32, bool)
GetElevLowOk returns a tuple with the ElevLow field value if set, nil otherwise and a boolean to check if the value has been set.
func (*DetailedActivity) GetEmbedToken ¶
func (o *DetailedActivity) GetEmbedToken() string
GetEmbedToken returns the EmbedToken field value if set, zero value otherwise.
func (*DetailedActivity) GetEmbedTokenOk ¶
func (o *DetailedActivity) GetEmbedTokenOk() (*string, bool)
GetEmbedTokenOk returns a tuple with the EmbedToken field value if set, nil otherwise and a boolean to check if the value has been set.
func (*DetailedActivity) GetEndLatlng ¶
func (o *DetailedActivity) GetEndLatlng() []float32
GetEndLatlng returns the EndLatlng field value if set, zero value otherwise.
func (*DetailedActivity) GetEndLatlngOk ¶
func (o *DetailedActivity) GetEndLatlngOk() ([]float32, bool)
GetEndLatlngOk returns a tuple with the EndLatlng field value if set, nil otherwise and a boolean to check if the value has been set.
func (*DetailedActivity) GetExternalId ¶
func (o *DetailedActivity) GetExternalId() string
GetExternalId returns the ExternalId field value if set, zero value otherwise.
func (*DetailedActivity) GetExternalIdOk ¶
func (o *DetailedActivity) GetExternalIdOk() (*string, bool)
GetExternalIdOk returns a tuple with the ExternalId field value if set, nil otherwise and a boolean to check if the value has been set.
func (*DetailedActivity) GetFlagged ¶
func (o *DetailedActivity) GetFlagged() bool
GetFlagged returns the Flagged field value if set, zero value otherwise.
func (*DetailedActivity) GetFlaggedOk ¶
func (o *DetailedActivity) GetFlaggedOk() (*bool, bool)
GetFlaggedOk returns a tuple with the Flagged field value if set, nil otherwise and a boolean to check if the value has been set.
func (*DetailedActivity) GetGear ¶
func (o *DetailedActivity) GetGear() SummaryGear
GetGear returns the Gear field value if set, zero value otherwise.
func (*DetailedActivity) GetGearId ¶
func (o *DetailedActivity) GetGearId() string
GetGearId returns the GearId field value if set, zero value otherwise.
func (*DetailedActivity) GetGearIdOk ¶
func (o *DetailedActivity) GetGearIdOk() (*string, bool)
GetGearIdOk returns a tuple with the GearId field value if set, nil otherwise and a boolean to check if the value has been set.
func (*DetailedActivity) GetGearOk ¶
func (o *DetailedActivity) GetGearOk() (*SummaryGear, bool)
GetGearOk returns a tuple with the Gear field value if set, nil otherwise and a boolean to check if the value has been set.
func (*DetailedActivity) GetHasKudoed ¶
func (o *DetailedActivity) GetHasKudoed() bool
GetHasKudoed returns the HasKudoed field value if set, zero value otherwise.
func (*DetailedActivity) GetHasKudoedOk ¶
func (o *DetailedActivity) GetHasKudoedOk() (*bool, bool)
GetHasKudoedOk returns a tuple with the HasKudoed field value if set, nil otherwise and a boolean to check if the value has been set.
func (*DetailedActivity) GetHideFromHome ¶
func (o *DetailedActivity) GetHideFromHome() bool
GetHideFromHome returns the HideFromHome field value if set, zero value otherwise.
func (*DetailedActivity) GetHideFromHomeOk ¶
func (o *DetailedActivity) GetHideFromHomeOk() (*bool, bool)
GetHideFromHomeOk returns a tuple with the HideFromHome field value if set, nil otherwise and a boolean to check if the value has been set.
func (*DetailedActivity) GetId ¶
func (o *DetailedActivity) GetId() int64
GetId returns the Id field value if set, zero value otherwise.
func (*DetailedActivity) GetIdOk ¶
func (o *DetailedActivity) GetIdOk() (*int64, bool)
GetIdOk returns a tuple with the Id field value if set, nil otherwise and a boolean to check if the value has been set.
func (*DetailedActivity) GetKilojoules ¶
func (o *DetailedActivity) GetKilojoules() float32
GetKilojoules returns the Kilojoules field value if set, zero value otherwise.
func (*DetailedActivity) GetKilojoulesOk ¶
func (o *DetailedActivity) GetKilojoulesOk() (*float32, bool)
GetKilojoulesOk returns a tuple with the Kilojoules field value if set, nil otherwise and a boolean to check if the value has been set.
func (*DetailedActivity) GetKudosCount ¶
func (o *DetailedActivity) GetKudosCount() int32
GetKudosCount returns the KudosCount field value if set, zero value otherwise.
func (*DetailedActivity) GetKudosCountOk ¶
func (o *DetailedActivity) GetKudosCountOk() (*int32, bool)
GetKudosCountOk returns a tuple with the KudosCount field value if set, nil otherwise and a boolean to check if the value has been set.
func (*DetailedActivity) GetLaps ¶
func (o *DetailedActivity) GetLaps() []Lap
GetLaps returns the Laps field value if set, zero value otherwise.
func (*DetailedActivity) GetLapsOk ¶
func (o *DetailedActivity) GetLapsOk() ([]Lap, bool)
GetLapsOk returns a tuple with the Laps field value if set, nil otherwise and a boolean to check if the value has been set.
func (*DetailedActivity) GetManual ¶
func (o *DetailedActivity) GetManual() bool
GetManual returns the Manual field value if set, zero value otherwise.
func (*DetailedActivity) GetManualOk ¶
func (o *DetailedActivity) GetManualOk() (*bool, bool)
GetManualOk returns a tuple with the Manual field value if set, nil otherwise and a boolean to check if the value has been set.
func (*DetailedActivity) GetMap ¶
func (o *DetailedActivity) GetMap() PolylineMap
GetMap returns the Map field value if set, zero value otherwise.
func (*DetailedActivity) GetMapOk ¶
func (o *DetailedActivity) GetMapOk() (*PolylineMap, bool)
GetMapOk returns a tuple with the Map field value if set, nil otherwise and a boolean to check if the value has been set.
func (*DetailedActivity) GetMaxSpeed ¶
func (o *DetailedActivity) GetMaxSpeed() float32
GetMaxSpeed returns the MaxSpeed field value if set, zero value otherwise.
func (*DetailedActivity) GetMaxSpeedOk ¶
func (o *DetailedActivity) GetMaxSpeedOk() (*float32, bool)
GetMaxSpeedOk returns a tuple with the MaxSpeed field value if set, nil otherwise and a boolean to check if the value has been set.
func (*DetailedActivity) GetMaxWatts ¶
func (o *DetailedActivity) GetMaxWatts() int32
GetMaxWatts returns the MaxWatts field value if set, zero value otherwise.
func (*DetailedActivity) GetMaxWattsOk ¶
func (o *DetailedActivity) GetMaxWattsOk() (*int32, bool)
GetMaxWattsOk returns a tuple with the MaxWatts field value if set, nil otherwise and a boolean to check if the value has been set.
func (*DetailedActivity) GetMovingTime ¶
func (o *DetailedActivity) GetMovingTime() int32
GetMovingTime returns the MovingTime field value if set, zero value otherwise.
func (*DetailedActivity) GetMovingTimeOk ¶
func (o *DetailedActivity) GetMovingTimeOk() (*int32, bool)
GetMovingTimeOk returns a tuple with the MovingTime field value if set, nil otherwise and a boolean to check if the value has been set.
func (*DetailedActivity) GetName ¶
func (o *DetailedActivity) GetName() string
GetName returns the Name field value if set, zero value otherwise.
func (*DetailedActivity) GetNameOk ¶
func (o *DetailedActivity) GetNameOk() (*string, bool)
GetNameOk returns a tuple with the Name field value if set, nil otherwise and a boolean to check if the value has been set.
func (*DetailedActivity) GetPhotoCount ¶
func (o *DetailedActivity) GetPhotoCount() int32
GetPhotoCount returns the PhotoCount field value if set, zero value otherwise.
func (*DetailedActivity) GetPhotoCountOk ¶
func (o *DetailedActivity) GetPhotoCountOk() (*int32, bool)
GetPhotoCountOk returns a tuple with the PhotoCount field value if set, nil otherwise and a boolean to check if the value has been set.
func (*DetailedActivity) GetPhotos ¶
func (o *DetailedActivity) GetPhotos() PhotosSummary
GetPhotos returns the Photos field value if set, zero value otherwise.
func (*DetailedActivity) GetPhotosOk ¶
func (o *DetailedActivity) GetPhotosOk() (*PhotosSummary, bool)
GetPhotosOk returns a tuple with the Photos field value if set, nil otherwise and a boolean to check if the value has been set.
func (*DetailedActivity) GetPrivate ¶
func (o *DetailedActivity) GetPrivate() bool
GetPrivate returns the Private field value if set, zero value otherwise.
func (*DetailedActivity) GetPrivateOk ¶
func (o *DetailedActivity) GetPrivateOk() (*bool, bool)
GetPrivateOk returns a tuple with the Private field value if set, nil otherwise and a boolean to check if the value has been set.
func (*DetailedActivity) GetSegmentEfforts ¶
func (o *DetailedActivity) GetSegmentEfforts() []DetailedSegmentEffort
GetSegmentEfforts returns the SegmentEfforts field value if set, zero value otherwise.
func (*DetailedActivity) GetSegmentEffortsOk ¶
func (o *DetailedActivity) GetSegmentEffortsOk() ([]DetailedSegmentEffort, bool)
GetSegmentEffortsOk returns a tuple with the SegmentEfforts field value if set, nil otherwise and a boolean to check if the value has been set.
func (*DetailedActivity) GetSplitsMetric ¶
func (o *DetailedActivity) GetSplitsMetric() []Split
GetSplitsMetric returns the SplitsMetric field value if set, zero value otherwise.
func (*DetailedActivity) GetSplitsMetricOk ¶
func (o *DetailedActivity) GetSplitsMetricOk() ([]Split, bool)
GetSplitsMetricOk returns a tuple with the SplitsMetric field value if set, nil otherwise and a boolean to check if the value has been set.
func (*DetailedActivity) GetSplitsStandard ¶
func (o *DetailedActivity) GetSplitsStandard() []Split
GetSplitsStandard returns the SplitsStandard field value if set, zero value otherwise.
func (*DetailedActivity) GetSplitsStandardOk ¶
func (o *DetailedActivity) GetSplitsStandardOk() ([]Split, bool)
GetSplitsStandardOk returns a tuple with the SplitsStandard field value if set, nil otherwise and a boolean to check if the value has been set.
func (*DetailedActivity) GetSportType ¶
func (o *DetailedActivity) GetSportType() SportType
GetSportType returns the SportType field value if set, zero value otherwise.
func (*DetailedActivity) GetSportTypeOk ¶
func (o *DetailedActivity) GetSportTypeOk() (*SportType, bool)
GetSportTypeOk returns a tuple with the SportType field value if set, nil otherwise and a boolean to check if the value has been set.
func (*DetailedActivity) GetStartDate ¶
func (o *DetailedActivity) GetStartDate() time.Time
GetStartDate returns the StartDate field value if set, zero value otherwise.
func (*DetailedActivity) GetStartDateLocal ¶
func (o *DetailedActivity) GetStartDateLocal() time.Time
GetStartDateLocal returns the StartDateLocal field value if set, zero value otherwise.
func (*DetailedActivity) GetStartDateLocalOk ¶
func (o *DetailedActivity) GetStartDateLocalOk() (*time.Time, bool)
GetStartDateLocalOk returns a tuple with the StartDateLocal field value if set, nil otherwise and a boolean to check if the value has been set.
func (*DetailedActivity) GetStartDateOk ¶
func (o *DetailedActivity) GetStartDateOk() (*time.Time, bool)
GetStartDateOk returns a tuple with the StartDate field value if set, nil otherwise and a boolean to check if the value has been set.
func (*DetailedActivity) GetStartLatlng ¶
func (o *DetailedActivity) GetStartLatlng() []float32
GetStartLatlng returns the StartLatlng field value if set, zero value otherwise.
func (*DetailedActivity) GetStartLatlngOk ¶
func (o *DetailedActivity) GetStartLatlngOk() ([]float32, bool)
GetStartLatlngOk returns a tuple with the StartLatlng field value if set, nil otherwise and a boolean to check if the value has been set.
func (*DetailedActivity) GetTimezone ¶
func (o *DetailedActivity) GetTimezone() string
GetTimezone returns the Timezone field value if set, zero value otherwise.
func (*DetailedActivity) GetTimezoneOk ¶
func (o *DetailedActivity) GetTimezoneOk() (*string, bool)
GetTimezoneOk returns a tuple with the Timezone field value if set, nil otherwise and a boolean to check if the value has been set.
func (*DetailedActivity) GetTotalElevationGain ¶
func (o *DetailedActivity) GetTotalElevationGain() float32
GetTotalElevationGain returns the TotalElevationGain field value if set, zero value otherwise.
func (*DetailedActivity) GetTotalElevationGainOk ¶
func (o *DetailedActivity) GetTotalElevationGainOk() (*float32, bool)
GetTotalElevationGainOk returns a tuple with the TotalElevationGain field value if set, nil otherwise and a boolean to check if the value has been set.
func (*DetailedActivity) GetTotalPhotoCount ¶
func (o *DetailedActivity) GetTotalPhotoCount() int32
GetTotalPhotoCount returns the TotalPhotoCount field value if set, zero value otherwise.
func (*DetailedActivity) GetTotalPhotoCountOk ¶
func (o *DetailedActivity) GetTotalPhotoCountOk() (*int32, bool)
GetTotalPhotoCountOk returns a tuple with the TotalPhotoCount field value if set, nil otherwise and a boolean to check if the value has been set.
func (*DetailedActivity) GetTrainer ¶
func (o *DetailedActivity) GetTrainer() bool
GetTrainer returns the Trainer field value if set, zero value otherwise.
func (*DetailedActivity) GetTrainerOk ¶
func (o *DetailedActivity) GetTrainerOk() (*bool, bool)
GetTrainerOk returns a tuple with the Trainer field value if set, nil otherwise and a boolean to check if the value has been set.
func (*DetailedActivity) GetType ¶
func (o *DetailedActivity) GetType() ActivityType
GetType returns the Type field value if set, zero value otherwise.
func (*DetailedActivity) GetTypeOk ¶
func (o *DetailedActivity) GetTypeOk() (*ActivityType, bool)
GetTypeOk returns a tuple with the Type field value if set, nil otherwise and a boolean to check if the value has been set.
func (*DetailedActivity) GetUploadId ¶
func (o *DetailedActivity) GetUploadId() int64
GetUploadId returns the UploadId field value if set, zero value otherwise.
func (*DetailedActivity) GetUploadIdOk ¶
func (o *DetailedActivity) GetUploadIdOk() (*int64, bool)
GetUploadIdOk returns a tuple with the UploadId field value if set, nil otherwise and a boolean to check if the value has been set.
func (*DetailedActivity) GetUploadIdStr ¶
func (o *DetailedActivity) GetUploadIdStr() string
GetUploadIdStr returns the UploadIdStr field value if set, zero value otherwise.
func (*DetailedActivity) GetUploadIdStrOk ¶
func (o *DetailedActivity) GetUploadIdStrOk() (*string, bool)
GetUploadIdStrOk returns a tuple with the UploadIdStr field value if set, nil otherwise and a boolean to check if the value has been set.
func (*DetailedActivity) GetWeightedAverageWatts ¶
func (o *DetailedActivity) GetWeightedAverageWatts() int32
GetWeightedAverageWatts returns the WeightedAverageWatts field value if set, zero value otherwise.
func (*DetailedActivity) GetWeightedAverageWattsOk ¶
func (o *DetailedActivity) GetWeightedAverageWattsOk() (*int32, bool)
GetWeightedAverageWattsOk returns a tuple with the WeightedAverageWatts field value if set, nil otherwise and a boolean to check if the value has been set.
func (*DetailedActivity) GetWorkoutType ¶
func (o *DetailedActivity) GetWorkoutType() int32
GetWorkoutType returns the WorkoutType field value if set, zero value otherwise.
func (*DetailedActivity) GetWorkoutTypeOk ¶
func (o *DetailedActivity) GetWorkoutTypeOk() (*int32, bool)
GetWorkoutTypeOk returns a tuple with the WorkoutType field value if set, nil otherwise and a boolean to check if the value has been set.
func (*DetailedActivity) HasAchievementCount ¶
func (o *DetailedActivity) HasAchievementCount() bool
HasAchievementCount returns a boolean if a field has been set.
func (*DetailedActivity) HasAthlete ¶
func (o *DetailedActivity) HasAthlete() bool
HasAthlete returns a boolean if a field has been set.
func (*DetailedActivity) HasAthleteCount ¶
func (o *DetailedActivity) HasAthleteCount() bool
HasAthleteCount returns a boolean if a field has been set.
func (*DetailedActivity) HasAverageSpeed ¶
func (o *DetailedActivity) HasAverageSpeed() bool
HasAverageSpeed returns a boolean if a field has been set.
func (*DetailedActivity) HasAverageWatts ¶
func (o *DetailedActivity) HasAverageWatts() bool
HasAverageWatts returns a boolean if a field has been set.
func (*DetailedActivity) HasBestEfforts ¶
func (o *DetailedActivity) HasBestEfforts() bool
HasBestEfforts returns a boolean if a field has been set.
func (*DetailedActivity) HasCalories ¶
func (o *DetailedActivity) HasCalories() bool
HasCalories returns a boolean if a field has been set.
func (*DetailedActivity) HasCommentCount ¶
func (o *DetailedActivity) HasCommentCount() bool
HasCommentCount returns a boolean if a field has been set.
func (*DetailedActivity) HasCommute ¶
func (o *DetailedActivity) HasCommute() bool
HasCommute returns a boolean if a field has been set.
func (*DetailedActivity) HasDescription ¶
func (o *DetailedActivity) HasDescription() bool
HasDescription returns a boolean if a field has been set.
func (*DetailedActivity) HasDeviceName ¶
func (o *DetailedActivity) HasDeviceName() bool
HasDeviceName returns a boolean if a field has been set.
func (*DetailedActivity) HasDeviceWatts ¶
func (o *DetailedActivity) HasDeviceWatts() bool
HasDeviceWatts returns a boolean if a field has been set.
func (*DetailedActivity) HasDistance ¶
func (o *DetailedActivity) HasDistance() bool
HasDistance returns a boolean if a field has been set.
func (*DetailedActivity) HasElapsedTime ¶
func (o *DetailedActivity) HasElapsedTime() bool
HasElapsedTime returns a boolean if a field has been set.
func (*DetailedActivity) HasElevHigh ¶
func (o *DetailedActivity) HasElevHigh() bool
HasElevHigh returns a boolean if a field has been set.
func (*DetailedActivity) HasElevLow ¶
func (o *DetailedActivity) HasElevLow() bool
HasElevLow returns a boolean if a field has been set.
func (*DetailedActivity) HasEmbedToken ¶
func (o *DetailedActivity) HasEmbedToken() bool
HasEmbedToken returns a boolean if a field has been set.
func (*DetailedActivity) HasEndLatlng ¶
func (o *DetailedActivity) HasEndLatlng() bool
HasEndLatlng returns a boolean if a field has been set.
func (*DetailedActivity) HasExternalId ¶
func (o *DetailedActivity) HasExternalId() bool
HasExternalId returns a boolean if a field has been set.
func (*DetailedActivity) HasFlagged ¶
func (o *DetailedActivity) HasFlagged() bool
HasFlagged returns a boolean if a field has been set.
func (*DetailedActivity) HasGear ¶
func (o *DetailedActivity) HasGear() bool
HasGear returns a boolean if a field has been set.
func (*DetailedActivity) HasGearId ¶
func (o *DetailedActivity) HasGearId() bool
HasGearId returns a boolean if a field has been set.
func (*DetailedActivity) HasHasKudoed ¶
func (o *DetailedActivity) HasHasKudoed() bool
HasHasKudoed returns a boolean if a field has been set.
func (*DetailedActivity) HasHideFromHome ¶
func (o *DetailedActivity) HasHideFromHome() bool
HasHideFromHome returns a boolean if a field has been set.
func (*DetailedActivity) HasId ¶
func (o *DetailedActivity) HasId() bool
HasId returns a boolean if a field has been set.
func (*DetailedActivity) HasKilojoules ¶
func (o *DetailedActivity) HasKilojoules() bool
HasKilojoules returns a boolean if a field has been set.
func (*DetailedActivity) HasKudosCount ¶
func (o *DetailedActivity) HasKudosCount() bool
HasKudosCount returns a boolean if a field has been set.
func (*DetailedActivity) HasLaps ¶
func (o *DetailedActivity) HasLaps() bool
HasLaps returns a boolean if a field has been set.
func (*DetailedActivity) HasManual ¶
func (o *DetailedActivity) HasManual() bool
HasManual returns a boolean if a field has been set.
func (*DetailedActivity) HasMap ¶
func (o *DetailedActivity) HasMap() bool
HasMap returns a boolean if a field has been set.
func (*DetailedActivity) HasMaxSpeed ¶
func (o *DetailedActivity) HasMaxSpeed() bool
HasMaxSpeed returns a boolean if a field has been set.
func (*DetailedActivity) HasMaxWatts ¶
func (o *DetailedActivity) HasMaxWatts() bool
HasMaxWatts returns a boolean if a field has been set.
func (*DetailedActivity) HasMovingTime ¶
func (o *DetailedActivity) HasMovingTime() bool
HasMovingTime returns a boolean if a field has been set.
func (*DetailedActivity) HasName ¶
func (o *DetailedActivity) HasName() bool
HasName returns a boolean if a field has been set.
func (*DetailedActivity) HasPhotoCount ¶
func (o *DetailedActivity) HasPhotoCount() bool
HasPhotoCount returns a boolean if a field has been set.
func (*DetailedActivity) HasPhotos ¶
func (o *DetailedActivity) HasPhotos() bool
HasPhotos returns a boolean if a field has been set.
func (*DetailedActivity) HasPrivate ¶
func (o *DetailedActivity) HasPrivate() bool
HasPrivate returns a boolean if a field has been set.
func (*DetailedActivity) HasSegmentEfforts ¶
func (o *DetailedActivity) HasSegmentEfforts() bool
HasSegmentEfforts returns a boolean if a field has been set.
func (*DetailedActivity) HasSplitsMetric ¶
func (o *DetailedActivity) HasSplitsMetric() bool
HasSplitsMetric returns a boolean if a field has been set.
func (*DetailedActivity) HasSplitsStandard ¶
func (o *DetailedActivity) HasSplitsStandard() bool
HasSplitsStandard returns a boolean if a field has been set.
func (*DetailedActivity) HasSportType ¶
func (o *DetailedActivity) HasSportType() bool
HasSportType returns a boolean if a field has been set.
func (*DetailedActivity) HasStartDate ¶
func (o *DetailedActivity) HasStartDate() bool
HasStartDate returns a boolean if a field has been set.
func (*DetailedActivity) HasStartDateLocal ¶
func (o *DetailedActivity) HasStartDateLocal() bool
HasStartDateLocal returns a boolean if a field has been set.
func (*DetailedActivity) HasStartLatlng ¶
func (o *DetailedActivity) HasStartLatlng() bool
HasStartLatlng returns a boolean if a field has been set.
func (*DetailedActivity) HasTimezone ¶
func (o *DetailedActivity) HasTimezone() bool
HasTimezone returns a boolean if a field has been set.
func (*DetailedActivity) HasTotalElevationGain ¶
func (o *DetailedActivity) HasTotalElevationGain() bool
HasTotalElevationGain returns a boolean if a field has been set.
func (*DetailedActivity) HasTotalPhotoCount ¶
func (o *DetailedActivity) HasTotalPhotoCount() bool
HasTotalPhotoCount returns a boolean if a field has been set.
func (*DetailedActivity) HasTrainer ¶
func (o *DetailedActivity) HasTrainer() bool
HasTrainer returns a boolean if a field has been set.
func (*DetailedActivity) HasType ¶
func (o *DetailedActivity) HasType() bool
HasType returns a boolean if a field has been set.
func (*DetailedActivity) HasUploadId ¶
func (o *DetailedActivity) HasUploadId() bool
HasUploadId returns a boolean if a field has been set.
func (*DetailedActivity) HasUploadIdStr ¶
func (o *DetailedActivity) HasUploadIdStr() bool
HasUploadIdStr returns a boolean if a field has been set.
func (*DetailedActivity) HasWeightedAverageWatts ¶
func (o *DetailedActivity) HasWeightedAverageWatts() bool
HasWeightedAverageWatts returns a boolean if a field has been set.
func (*DetailedActivity) HasWorkoutType ¶
func (o *DetailedActivity) HasWorkoutType() bool
HasWorkoutType returns a boolean if a field has been set.
func (DetailedActivity) MarshalJSON ¶
func (o DetailedActivity) MarshalJSON() ([]byte, error)
func (*DetailedActivity) SetAchievementCount ¶
func (o *DetailedActivity) SetAchievementCount(v int32)
SetAchievementCount gets a reference to the given int32 and assigns it to the AchievementCount field.
func (*DetailedActivity) SetAthlete ¶
func (o *DetailedActivity) SetAthlete(v MetaAthlete)
SetAthlete gets a reference to the given MetaAthlete and assigns it to the Athlete field.
func (*DetailedActivity) SetAthleteCount ¶
func (o *DetailedActivity) SetAthleteCount(v int32)
SetAthleteCount gets a reference to the given int32 and assigns it to the AthleteCount field.
func (*DetailedActivity) SetAverageSpeed ¶
func (o *DetailedActivity) SetAverageSpeed(v float32)
SetAverageSpeed gets a reference to the given float32 and assigns it to the AverageSpeed field.
func (*DetailedActivity) SetAverageWatts ¶
func (o *DetailedActivity) SetAverageWatts(v float32)
SetAverageWatts gets a reference to the given float32 and assigns it to the AverageWatts field.
func (*DetailedActivity) SetBestEfforts ¶
func (o *DetailedActivity) SetBestEfforts(v []DetailedSegmentEffort)
SetBestEfforts gets a reference to the given []DetailedSegmentEffort and assigns it to the BestEfforts field.
func (*DetailedActivity) SetCalories ¶
func (o *DetailedActivity) SetCalories(v float32)
SetCalories gets a reference to the given float32 and assigns it to the Calories field.
func (*DetailedActivity) SetCommentCount ¶
func (o *DetailedActivity) SetCommentCount(v int32)
SetCommentCount gets a reference to the given int32 and assigns it to the CommentCount field.
func (*DetailedActivity) SetCommute ¶
func (o *DetailedActivity) SetCommute(v bool)
SetCommute gets a reference to the given bool and assigns it to the Commute field.
func (*DetailedActivity) SetDescription ¶
func (o *DetailedActivity) SetDescription(v string)
SetDescription gets a reference to the given string and assigns it to the Description field.
func (*DetailedActivity) SetDeviceName ¶
func (o *DetailedActivity) SetDeviceName(v string)
SetDeviceName gets a reference to the given string and assigns it to the DeviceName field.
func (*DetailedActivity) SetDeviceWatts ¶
func (o *DetailedActivity) SetDeviceWatts(v bool)
SetDeviceWatts gets a reference to the given bool and assigns it to the DeviceWatts field.
func (*DetailedActivity) SetDistance ¶
func (o *DetailedActivity) SetDistance(v float32)
SetDistance gets a reference to the given float32 and assigns it to the Distance field.
func (*DetailedActivity) SetElapsedTime ¶
func (o *DetailedActivity) SetElapsedTime(v int32)
SetElapsedTime gets a reference to the given int32 and assigns it to the ElapsedTime field.
func (*DetailedActivity) SetElevHigh ¶
func (o *DetailedActivity) SetElevHigh(v float32)
SetElevHigh gets a reference to the given float32 and assigns it to the ElevHigh field.
func (*DetailedActivity) SetElevLow ¶
func (o *DetailedActivity) SetElevLow(v float32)
SetElevLow gets a reference to the given float32 and assigns it to the ElevLow field.
func (*DetailedActivity) SetEmbedToken ¶
func (o *DetailedActivity) SetEmbedToken(v string)
SetEmbedToken gets a reference to the given string and assigns it to the EmbedToken field.
func (*DetailedActivity) SetEndLatlng ¶
func (o *DetailedActivity) SetEndLatlng(v []float32)
SetEndLatlng gets a reference to the given []float32 and assigns it to the EndLatlng field.
func (*DetailedActivity) SetExternalId ¶
func (o *DetailedActivity) SetExternalId(v string)
SetExternalId gets a reference to the given string and assigns it to the ExternalId field.
func (*DetailedActivity) SetFlagged ¶
func (o *DetailedActivity) SetFlagged(v bool)
SetFlagged gets a reference to the given bool and assigns it to the Flagged field.
func (*DetailedActivity) SetGear ¶
func (o *DetailedActivity) SetGear(v SummaryGear)
SetGear gets a reference to the given SummaryGear and assigns it to the Gear field.
func (*DetailedActivity) SetGearId ¶
func (o *DetailedActivity) SetGearId(v string)
SetGearId gets a reference to the given string and assigns it to the GearId field.
func (*DetailedActivity) SetHasKudoed ¶
func (o *DetailedActivity) SetHasKudoed(v bool)
SetHasKudoed gets a reference to the given bool and assigns it to the HasKudoed field.
func (*DetailedActivity) SetHideFromHome ¶
func (o *DetailedActivity) SetHideFromHome(v bool)
SetHideFromHome gets a reference to the given bool and assigns it to the HideFromHome field.
func (*DetailedActivity) SetId ¶
func (o *DetailedActivity) SetId(v int64)
SetId gets a reference to the given int64 and assigns it to the Id field.
func (*DetailedActivity) SetKilojoules ¶
func (o *DetailedActivity) SetKilojoules(v float32)
SetKilojoules gets a reference to the given float32 and assigns it to the Kilojoules field.
func (*DetailedActivity) SetKudosCount ¶
func (o *DetailedActivity) SetKudosCount(v int32)
SetKudosCount gets a reference to the given int32 and assigns it to the KudosCount field.
func (*DetailedActivity) SetLaps ¶
func (o *DetailedActivity) SetLaps(v []Lap)
SetLaps gets a reference to the given []Lap and assigns it to the Laps field.
func (*DetailedActivity) SetManual ¶
func (o *DetailedActivity) SetManual(v bool)
SetManual gets a reference to the given bool and assigns it to the Manual field.
func (*DetailedActivity) SetMap ¶
func (o *DetailedActivity) SetMap(v PolylineMap)
SetMap gets a reference to the given PolylineMap and assigns it to the Map field.
func (*DetailedActivity) SetMaxSpeed ¶
func (o *DetailedActivity) SetMaxSpeed(v float32)
SetMaxSpeed gets a reference to the given float32 and assigns it to the MaxSpeed field.
func (*DetailedActivity) SetMaxWatts ¶
func (o *DetailedActivity) SetMaxWatts(v int32)
SetMaxWatts gets a reference to the given int32 and assigns it to the MaxWatts field.
func (*DetailedActivity) SetMovingTime ¶
func (o *DetailedActivity) SetMovingTime(v int32)
SetMovingTime gets a reference to the given int32 and assigns it to the MovingTime field.
func (*DetailedActivity) SetName ¶
func (o *DetailedActivity) SetName(v string)
SetName gets a reference to the given string and assigns it to the Name field.
func (*DetailedActivity) SetPhotoCount ¶
func (o *DetailedActivity) SetPhotoCount(v int32)
SetPhotoCount gets a reference to the given int32 and assigns it to the PhotoCount field.
func (*DetailedActivity) SetPhotos ¶
func (o *DetailedActivity) SetPhotos(v PhotosSummary)
SetPhotos gets a reference to the given PhotosSummary and assigns it to the Photos field.
func (*DetailedActivity) SetPrivate ¶
func (o *DetailedActivity) SetPrivate(v bool)
SetPrivate gets a reference to the given bool and assigns it to the Private field.
func (*DetailedActivity) SetSegmentEfforts ¶
func (o *DetailedActivity) SetSegmentEfforts(v []DetailedSegmentEffort)
SetSegmentEfforts gets a reference to the given []DetailedSegmentEffort and assigns it to the SegmentEfforts field.
func (*DetailedActivity) SetSplitsMetric ¶
func (o *DetailedActivity) SetSplitsMetric(v []Split)
SetSplitsMetric gets a reference to the given []Split and assigns it to the SplitsMetric field.
func (*DetailedActivity) SetSplitsStandard ¶
func (o *DetailedActivity) SetSplitsStandard(v []Split)
SetSplitsStandard gets a reference to the given []Split and assigns it to the SplitsStandard field.
func (*DetailedActivity) SetSportType ¶
func (o *DetailedActivity) SetSportType(v SportType)
SetSportType gets a reference to the given SportType and assigns it to the SportType field.
func (*DetailedActivity) SetStartDate ¶
func (o *DetailedActivity) SetStartDate(v time.Time)
SetStartDate gets a reference to the given time.Time and assigns it to the StartDate field.
func (*DetailedActivity) SetStartDateLocal ¶
func (o *DetailedActivity) SetStartDateLocal(v time.Time)
SetStartDateLocal gets a reference to the given time.Time and assigns it to the StartDateLocal field.
func (*DetailedActivity) SetStartLatlng ¶
func (o *DetailedActivity) SetStartLatlng(v []float32)
SetStartLatlng gets a reference to the given []float32 and assigns it to the StartLatlng field.
func (*DetailedActivity) SetTimezone ¶
func (o *DetailedActivity) SetTimezone(v string)
SetTimezone gets a reference to the given string and assigns it to the Timezone field.
func (*DetailedActivity) SetTotalElevationGain ¶
func (o *DetailedActivity) SetTotalElevationGain(v float32)
SetTotalElevationGain gets a reference to the given float32 and assigns it to the TotalElevationGain field.
func (*DetailedActivity) SetTotalPhotoCount ¶
func (o *DetailedActivity) SetTotalPhotoCount(v int32)
SetTotalPhotoCount gets a reference to the given int32 and assigns it to the TotalPhotoCount field.
func (*DetailedActivity) SetTrainer ¶
func (o *DetailedActivity) SetTrainer(v bool)
SetTrainer gets a reference to the given bool and assigns it to the Trainer field.
func (*DetailedActivity) SetType ¶
func (o *DetailedActivity) SetType(v ActivityType)
SetType gets a reference to the given ActivityType and assigns it to the Type field.
func (*DetailedActivity) SetUploadId ¶
func (o *DetailedActivity) SetUploadId(v int64)
SetUploadId gets a reference to the given int64 and assigns it to the UploadId field.
func (*DetailedActivity) SetUploadIdStr ¶
func (o *DetailedActivity) SetUploadIdStr(v string)
SetUploadIdStr gets a reference to the given string and assigns it to the UploadIdStr field.
func (*DetailedActivity) SetWeightedAverageWatts ¶
func (o *DetailedActivity) SetWeightedAverageWatts(v int32)
SetWeightedAverageWatts gets a reference to the given int32 and assigns it to the WeightedAverageWatts field.
func (*DetailedActivity) SetWorkoutType ¶
func (o *DetailedActivity) SetWorkoutType(v int32)
SetWorkoutType gets a reference to the given int32 and assigns it to the WorkoutType field.
func (DetailedActivity) ToMap ¶
func (o DetailedActivity) ToMap() (map[string]interface{}, error)
type DetailedAthlete ¶
type DetailedAthlete struct { // The unique identifier of the athlete Id *int64 `json:"id,omitempty"` // Resource state, indicates level of detail. Possible values: 1 -> \"meta\", 2 -> \"summary\", 3 -> \"detail\" ResourceState *int32 `json:"resource_state,omitempty"` // The athlete's first name. Firstname *string `json:"firstname,omitempty"` // The athlete's last name. Lastname *string `json:"lastname,omitempty"` // URL to a 62x62 pixel profile picture. ProfileMedium *string `json:"profile_medium,omitempty"` // URL to a 124x124 pixel profile picture. Profile *string `json:"profile,omitempty"` // The athlete's city. City *string `json:"city,omitempty"` // The athlete's state or geographical region. State *string `json:"state,omitempty"` // The athlete's country. Country *string `json:"country,omitempty"` // The athlete's sex. Sex *string `json:"sex,omitempty"` // Deprecated. Use summit field instead. Whether the athlete has any Summit subscription. Premium *bool `json:"premium,omitempty"` // Whether the athlete has any Summit subscription. Summit *bool `json:"summit,omitempty"` // The time at which the athlete was created. CreatedAt *time.Time `json:"created_at,omitempty"` // The time at which the athlete was last updated. UpdatedAt *time.Time `json:"updated_at,omitempty"` // The athlete's follower count. FollowerCount *int32 `json:"follower_count,omitempty"` // The athlete's friend count. FriendCount *int32 `json:"friend_count,omitempty"` // The athlete's preferred unit system. MeasurementPreference *string `json:"measurement_preference,omitempty"` // The athlete's FTP (Functional Threshold Power). Ftp *int32 `json:"ftp,omitempty"` // The athlete's weight. Weight *float32 `json:"weight,omitempty"` // The athlete's clubs. Clubs []SummaryClub `json:"clubs,omitempty"` // The athlete's bikes. Bikes []SummaryGear `json:"bikes,omitempty"` // The athlete's shoes. Shoes []SummaryGear `json:"shoes,omitempty"` }
DetailedAthlete struct for DetailedAthlete
func NewDetailedAthlete ¶
func NewDetailedAthlete() *DetailedAthlete
NewDetailedAthlete instantiates a new DetailedAthlete object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewDetailedAthleteWithDefaults ¶
func NewDetailedAthleteWithDefaults() *DetailedAthlete
NewDetailedAthleteWithDefaults instantiates a new DetailedAthlete object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*DetailedAthlete) GetBikes ¶
func (o *DetailedAthlete) GetBikes() []SummaryGear
GetBikes returns the Bikes field value if set, zero value otherwise.
func (*DetailedAthlete) GetBikesOk ¶
func (o *DetailedAthlete) GetBikesOk() ([]SummaryGear, bool)
GetBikesOk returns a tuple with the Bikes field value if set, nil otherwise and a boolean to check if the value has been set.
func (*DetailedAthlete) GetCity ¶
func (o *DetailedAthlete) GetCity() string
GetCity returns the City field value if set, zero value otherwise.
func (*DetailedAthlete) GetCityOk ¶
func (o *DetailedAthlete) GetCityOk() (*string, bool)
GetCityOk returns a tuple with the City field value if set, nil otherwise and a boolean to check if the value has been set.
func (*DetailedAthlete) GetClubs ¶
func (o *DetailedAthlete) GetClubs() []SummaryClub
GetClubs returns the Clubs field value if set, zero value otherwise.
func (*DetailedAthlete) GetClubsOk ¶
func (o *DetailedAthlete) GetClubsOk() ([]SummaryClub, bool)
GetClubsOk returns a tuple with the Clubs field value if set, nil otherwise and a boolean to check if the value has been set.
func (*DetailedAthlete) GetCountry ¶
func (o *DetailedAthlete) GetCountry() string
GetCountry returns the Country field value if set, zero value otherwise.
func (*DetailedAthlete) GetCountryOk ¶
func (o *DetailedAthlete) GetCountryOk() (*string, bool)
GetCountryOk returns a tuple with the Country field value if set, nil otherwise and a boolean to check if the value has been set.
func (*DetailedAthlete) GetCreatedAt ¶
func (o *DetailedAthlete) GetCreatedAt() time.Time
GetCreatedAt returns the CreatedAt field value if set, zero value otherwise.
func (*DetailedAthlete) GetCreatedAtOk ¶
func (o *DetailedAthlete) GetCreatedAtOk() (*time.Time, bool)
GetCreatedAtOk returns a tuple with the CreatedAt field value if set, nil otherwise and a boolean to check if the value has been set.
func (*DetailedAthlete) GetFirstname ¶
func (o *DetailedAthlete) GetFirstname() string
GetFirstname returns the Firstname field value if set, zero value otherwise.
func (*DetailedAthlete) GetFirstnameOk ¶
func (o *DetailedAthlete) GetFirstnameOk() (*string, bool)
GetFirstnameOk returns a tuple with the Firstname field value if set, nil otherwise and a boolean to check if the value has been set.
func (*DetailedAthlete) GetFollowerCount ¶
func (o *DetailedAthlete) GetFollowerCount() int32
GetFollowerCount returns the FollowerCount field value if set, zero value otherwise.
func (*DetailedAthlete) GetFollowerCountOk ¶
func (o *DetailedAthlete) GetFollowerCountOk() (*int32, bool)
GetFollowerCountOk returns a tuple with the FollowerCount field value if set, nil otherwise and a boolean to check if the value has been set.
func (*DetailedAthlete) GetFriendCount ¶
func (o *DetailedAthlete) GetFriendCount() int32
GetFriendCount returns the FriendCount field value if set, zero value otherwise.
func (*DetailedAthlete) GetFriendCountOk ¶
func (o *DetailedAthlete) GetFriendCountOk() (*int32, bool)
GetFriendCountOk returns a tuple with the FriendCount field value if set, nil otherwise and a boolean to check if the value has been set.
func (*DetailedAthlete) GetFtp ¶
func (o *DetailedAthlete) GetFtp() int32
GetFtp returns the Ftp field value if set, zero value otherwise.
func (*DetailedAthlete) GetFtpOk ¶
func (o *DetailedAthlete) GetFtpOk() (*int32, bool)
GetFtpOk returns a tuple with the Ftp field value if set, nil otherwise and a boolean to check if the value has been set.
func (*DetailedAthlete) GetId ¶
func (o *DetailedAthlete) GetId() int64
GetId returns the Id field value if set, zero value otherwise.
func (*DetailedAthlete) GetIdOk ¶
func (o *DetailedAthlete) GetIdOk() (*int64, bool)
GetIdOk returns a tuple with the Id field value if set, nil otherwise and a boolean to check if the value has been set.
func (*DetailedAthlete) GetLastname ¶
func (o *DetailedAthlete) GetLastname() string
GetLastname returns the Lastname field value if set, zero value otherwise.
func (*DetailedAthlete) GetLastnameOk ¶
func (o *DetailedAthlete) GetLastnameOk() (*string, bool)
GetLastnameOk returns a tuple with the Lastname field value if set, nil otherwise and a boolean to check if the value has been set.
func (*DetailedAthlete) GetMeasurementPreference ¶
func (o *DetailedAthlete) GetMeasurementPreference() string
GetMeasurementPreference returns the MeasurementPreference field value if set, zero value otherwise.
func (*DetailedAthlete) GetMeasurementPreferenceOk ¶
func (o *DetailedAthlete) GetMeasurementPreferenceOk() (*string, bool)
GetMeasurementPreferenceOk returns a tuple with the MeasurementPreference field value if set, nil otherwise and a boolean to check if the value has been set.
func (*DetailedAthlete) GetPremium ¶
func (o *DetailedAthlete) GetPremium() bool
GetPremium returns the Premium field value if set, zero value otherwise.
func (*DetailedAthlete) GetPremiumOk ¶
func (o *DetailedAthlete) GetPremiumOk() (*bool, bool)
GetPremiumOk returns a tuple with the Premium field value if set, nil otherwise and a boolean to check if the value has been set.
func (*DetailedAthlete) GetProfile ¶
func (o *DetailedAthlete) GetProfile() string
GetProfile returns the Profile field value if set, zero value otherwise.
func (*DetailedAthlete) GetProfileMedium ¶
func (o *DetailedAthlete) GetProfileMedium() string
GetProfileMedium returns the ProfileMedium field value if set, zero value otherwise.
func (*DetailedAthlete) GetProfileMediumOk ¶
func (o *DetailedAthlete) GetProfileMediumOk() (*string, bool)
GetProfileMediumOk returns a tuple with the ProfileMedium field value if set, nil otherwise and a boolean to check if the value has been set.
func (*DetailedAthlete) GetProfileOk ¶
func (o *DetailedAthlete) GetProfileOk() (*string, bool)
GetProfileOk returns a tuple with the Profile field value if set, nil otherwise and a boolean to check if the value has been set.
func (*DetailedAthlete) GetResourceState ¶
func (o *DetailedAthlete) GetResourceState() int32
GetResourceState returns the ResourceState field value if set, zero value otherwise.
func (*DetailedAthlete) GetResourceStateOk ¶
func (o *DetailedAthlete) GetResourceStateOk() (*int32, bool)
GetResourceStateOk returns a tuple with the ResourceState field value if set, nil otherwise and a boolean to check if the value has been set.
func (*DetailedAthlete) GetSex ¶
func (o *DetailedAthlete) GetSex() string
GetSex returns the Sex field value if set, zero value otherwise.
func (*DetailedAthlete) GetSexOk ¶
func (o *DetailedAthlete) GetSexOk() (*string, bool)
GetSexOk returns a tuple with the Sex field value if set, nil otherwise and a boolean to check if the value has been set.
func (*DetailedAthlete) GetShoes ¶
func (o *DetailedAthlete) GetShoes() []SummaryGear
GetShoes returns the Shoes field value if set, zero value otherwise.
func (*DetailedAthlete) GetShoesOk ¶
func (o *DetailedAthlete) GetShoesOk() ([]SummaryGear, bool)
GetShoesOk returns a tuple with the Shoes field value if set, nil otherwise and a boolean to check if the value has been set.
func (*DetailedAthlete) GetState ¶
func (o *DetailedAthlete) GetState() string
GetState returns the State field value if set, zero value otherwise.
func (*DetailedAthlete) GetStateOk ¶
func (o *DetailedAthlete) GetStateOk() (*string, bool)
GetStateOk returns a tuple with the State field value if set, nil otherwise and a boolean to check if the value has been set.
func (*DetailedAthlete) GetSummit ¶
func (o *DetailedAthlete) GetSummit() bool
GetSummit returns the Summit field value if set, zero value otherwise.
func (*DetailedAthlete) GetSummitOk ¶
func (o *DetailedAthlete) GetSummitOk() (*bool, bool)
GetSummitOk returns a tuple with the Summit field value if set, nil otherwise and a boolean to check if the value has been set.
func (*DetailedAthlete) GetUpdatedAt ¶
func (o *DetailedAthlete) GetUpdatedAt() time.Time
GetUpdatedAt returns the UpdatedAt field value if set, zero value otherwise.
func (*DetailedAthlete) GetUpdatedAtOk ¶
func (o *DetailedAthlete) GetUpdatedAtOk() (*time.Time, bool)
GetUpdatedAtOk returns a tuple with the UpdatedAt field value if set, nil otherwise and a boolean to check if the value has been set.
func (*DetailedAthlete) GetWeight ¶
func (o *DetailedAthlete) GetWeight() float32
GetWeight returns the Weight field value if set, zero value otherwise.
func (*DetailedAthlete) GetWeightOk ¶
func (o *DetailedAthlete) GetWeightOk() (*float32, bool)
GetWeightOk returns a tuple with the Weight field value if set, nil otherwise and a boolean to check if the value has been set.
func (*DetailedAthlete) HasBikes ¶
func (o *DetailedAthlete) HasBikes() bool
HasBikes returns a boolean if a field has been set.
func (*DetailedAthlete) HasCity ¶
func (o *DetailedAthlete) HasCity() bool
HasCity returns a boolean if a field has been set.
func (*DetailedAthlete) HasClubs ¶
func (o *DetailedAthlete) HasClubs() bool
HasClubs returns a boolean if a field has been set.
func (*DetailedAthlete) HasCountry ¶
func (o *DetailedAthlete) HasCountry() bool
HasCountry returns a boolean if a field has been set.
func (*DetailedAthlete) HasCreatedAt ¶
func (o *DetailedAthlete) HasCreatedAt() bool
HasCreatedAt returns a boolean if a field has been set.
func (*DetailedAthlete) HasFirstname ¶
func (o *DetailedAthlete) HasFirstname() bool
HasFirstname returns a boolean if a field has been set.
func (*DetailedAthlete) HasFollowerCount ¶
func (o *DetailedAthlete) HasFollowerCount() bool
HasFollowerCount returns a boolean if a field has been set.
func (*DetailedAthlete) HasFriendCount ¶
func (o *DetailedAthlete) HasFriendCount() bool
HasFriendCount returns a boolean if a field has been set.
func (*DetailedAthlete) HasFtp ¶
func (o *DetailedAthlete) HasFtp() bool
HasFtp returns a boolean if a field has been set.
func (*DetailedAthlete) HasId ¶
func (o *DetailedAthlete) HasId() bool
HasId returns a boolean if a field has been set.
func (*DetailedAthlete) HasLastname ¶
func (o *DetailedAthlete) HasLastname() bool
HasLastname returns a boolean if a field has been set.
func (*DetailedAthlete) HasMeasurementPreference ¶
func (o *DetailedAthlete) HasMeasurementPreference() bool
HasMeasurementPreference returns a boolean if a field has been set.
func (*DetailedAthlete) HasPremium ¶
func (o *DetailedAthlete) HasPremium() bool
HasPremium returns a boolean if a field has been set.
func (*DetailedAthlete) HasProfile ¶
func (o *DetailedAthlete) HasProfile() bool
HasProfile returns a boolean if a field has been set.
func (*DetailedAthlete) HasProfileMedium ¶
func (o *DetailedAthlete) HasProfileMedium() bool
HasProfileMedium returns a boolean if a field has been set.
func (*DetailedAthlete) HasResourceState ¶
func (o *DetailedAthlete) HasResourceState() bool
HasResourceState returns a boolean if a field has been set.
func (*DetailedAthlete) HasSex ¶
func (o *DetailedAthlete) HasSex() bool
HasSex returns a boolean if a field has been set.
func (*DetailedAthlete) HasShoes ¶
func (o *DetailedAthlete) HasShoes() bool
HasShoes returns a boolean if a field has been set.
func (*DetailedAthlete) HasState ¶
func (o *DetailedAthlete) HasState() bool
HasState returns a boolean if a field has been set.
func (*DetailedAthlete) HasSummit ¶
func (o *DetailedAthlete) HasSummit() bool
HasSummit returns a boolean if a field has been set.
func (*DetailedAthlete) HasUpdatedAt ¶
func (o *DetailedAthlete) HasUpdatedAt() bool
HasUpdatedAt returns a boolean if a field has been set.
func (*DetailedAthlete) HasWeight ¶
func (o *DetailedAthlete) HasWeight() bool
HasWeight returns a boolean if a field has been set.
func (DetailedAthlete) MarshalJSON ¶
func (o DetailedAthlete) MarshalJSON() ([]byte, error)
func (*DetailedAthlete) SetBikes ¶
func (o *DetailedAthlete) SetBikes(v []SummaryGear)
SetBikes gets a reference to the given []SummaryGear and assigns it to the Bikes field.
func (*DetailedAthlete) SetCity ¶
func (o *DetailedAthlete) SetCity(v string)
SetCity gets a reference to the given string and assigns it to the City field.
func (*DetailedAthlete) SetClubs ¶
func (o *DetailedAthlete) SetClubs(v []SummaryClub)
SetClubs gets a reference to the given []SummaryClub and assigns it to the Clubs field.
func (*DetailedAthlete) SetCountry ¶
func (o *DetailedAthlete) SetCountry(v string)
SetCountry gets a reference to the given string and assigns it to the Country field.
func (*DetailedAthlete) SetCreatedAt ¶
func (o *DetailedAthlete) SetCreatedAt(v time.Time)
SetCreatedAt gets a reference to the given time.Time and assigns it to the CreatedAt field.
func (*DetailedAthlete) SetFirstname ¶
func (o *DetailedAthlete) SetFirstname(v string)
SetFirstname gets a reference to the given string and assigns it to the Firstname field.
func (*DetailedAthlete) SetFollowerCount ¶
func (o *DetailedAthlete) SetFollowerCount(v int32)
SetFollowerCount gets a reference to the given int32 and assigns it to the FollowerCount field.
func (*DetailedAthlete) SetFriendCount ¶
func (o *DetailedAthlete) SetFriendCount(v int32)
SetFriendCount gets a reference to the given int32 and assigns it to the FriendCount field.
func (*DetailedAthlete) SetFtp ¶
func (o *DetailedAthlete) SetFtp(v int32)
SetFtp gets a reference to the given int32 and assigns it to the Ftp field.
func (*DetailedAthlete) SetId ¶
func (o *DetailedAthlete) SetId(v int64)
SetId gets a reference to the given int64 and assigns it to the Id field.
func (*DetailedAthlete) SetLastname ¶
func (o *DetailedAthlete) SetLastname(v string)
SetLastname gets a reference to the given string and assigns it to the Lastname field.
func (*DetailedAthlete) SetMeasurementPreference ¶
func (o *DetailedAthlete) SetMeasurementPreference(v string)
SetMeasurementPreference gets a reference to the given string and assigns it to the MeasurementPreference field.
func (*DetailedAthlete) SetPremium ¶
func (o *DetailedAthlete) SetPremium(v bool)
SetPremium gets a reference to the given bool and assigns it to the Premium field.
func (*DetailedAthlete) SetProfile ¶
func (o *DetailedAthlete) SetProfile(v string)
SetProfile gets a reference to the given string and assigns it to the Profile field.
func (*DetailedAthlete) SetProfileMedium ¶
func (o *DetailedAthlete) SetProfileMedium(v string)
SetProfileMedium gets a reference to the given string and assigns it to the ProfileMedium field.
func (*DetailedAthlete) SetResourceState ¶
func (o *DetailedAthlete) SetResourceState(v int32)
SetResourceState gets a reference to the given int32 and assigns it to the ResourceState field.
func (*DetailedAthlete) SetSex ¶
func (o *DetailedAthlete) SetSex(v string)
SetSex gets a reference to the given string and assigns it to the Sex field.
func (*DetailedAthlete) SetShoes ¶
func (o *DetailedAthlete) SetShoes(v []SummaryGear)
SetShoes gets a reference to the given []SummaryGear and assigns it to the Shoes field.
func (*DetailedAthlete) SetState ¶
func (o *DetailedAthlete) SetState(v string)
SetState gets a reference to the given string and assigns it to the State field.
func (*DetailedAthlete) SetSummit ¶
func (o *DetailedAthlete) SetSummit(v bool)
SetSummit gets a reference to the given bool and assigns it to the Summit field.
func (*DetailedAthlete) SetUpdatedAt ¶
func (o *DetailedAthlete) SetUpdatedAt(v time.Time)
SetUpdatedAt gets a reference to the given time.Time and assigns it to the UpdatedAt field.
func (*DetailedAthlete) SetWeight ¶
func (o *DetailedAthlete) SetWeight(v float32)
SetWeight gets a reference to the given float32 and assigns it to the Weight field.
func (DetailedAthlete) ToMap ¶
func (o DetailedAthlete) ToMap() (map[string]interface{}, error)
type DetailedClub ¶
type DetailedClub struct { // The club's unique identifier. Id *int64 `json:"id,omitempty"` // Resource state, indicates level of detail. Possible values: 1 -> \"meta\", 2 -> \"summary\", 3 -> \"detail\" ResourceState *int32 `json:"resource_state,omitempty"` // The club's name. Name *string `json:"name,omitempty"` // URL to a 60x60 pixel profile picture. ProfileMedium *string `json:"profile_medium,omitempty"` // URL to a ~1185x580 pixel cover photo. CoverPhoto *string `json:"cover_photo,omitempty"` // URL to a ~360x176 pixel cover photo. CoverPhotoSmall *string `json:"cover_photo_small,omitempty"` // Deprecated. Prefer to use activity_types. SportType *string `json:"sport_type,omitempty"` // The activity types that count for a club. This takes precedence over sport_type. ActivityTypes []ActivityType `json:"activity_types,omitempty"` // The club's city. City *string `json:"city,omitempty"` // The club's state or geographical region. State *string `json:"state,omitempty"` // The club's country. Country *string `json:"country,omitempty"` // Whether the club is private. Private *bool `json:"private,omitempty"` // The club's member count. MemberCount *int32 `json:"member_count,omitempty"` // Whether the club is featured or not. Featured *bool `json:"featured,omitempty"` // Whether the club is verified or not. Verified *bool `json:"verified,omitempty"` // The club's vanity URL. Url *string `json:"url,omitempty"` // The membership status of the logged-in athlete. Membership *string `json:"membership,omitempty"` // Whether the currently logged-in athlete is an administrator of this club. Admin *bool `json:"admin,omitempty"` // Whether the currently logged-in athlete is the owner of this club. Owner *bool `json:"owner,omitempty"` // The number of athletes in the club that the logged-in athlete follows. FollowingCount *int32 `json:"following_count,omitempty"` }
DetailedClub struct for DetailedClub
func NewDetailedClub ¶
func NewDetailedClub() *DetailedClub
NewDetailedClub instantiates a new DetailedClub object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewDetailedClubWithDefaults ¶
func NewDetailedClubWithDefaults() *DetailedClub
NewDetailedClubWithDefaults instantiates a new DetailedClub object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*DetailedClub) GetActivityTypes ¶
func (o *DetailedClub) GetActivityTypes() []ActivityType
GetActivityTypes returns the ActivityTypes field value if set, zero value otherwise.
func (*DetailedClub) GetActivityTypesOk ¶
func (o *DetailedClub) GetActivityTypesOk() ([]ActivityType, bool)
GetActivityTypesOk returns a tuple with the ActivityTypes field value if set, nil otherwise and a boolean to check if the value has been set.
func (*DetailedClub) GetAdmin ¶
func (o *DetailedClub) GetAdmin() bool
GetAdmin returns the Admin field value if set, zero value otherwise.
func (*DetailedClub) GetAdminOk ¶
func (o *DetailedClub) GetAdminOk() (*bool, bool)
GetAdminOk returns a tuple with the Admin field value if set, nil otherwise and a boolean to check if the value has been set.
func (*DetailedClub) GetCity ¶
func (o *DetailedClub) GetCity() string
GetCity returns the City field value if set, zero value otherwise.
func (*DetailedClub) GetCityOk ¶
func (o *DetailedClub) GetCityOk() (*string, bool)
GetCityOk returns a tuple with the City field value if set, nil otherwise and a boolean to check if the value has been set.
func (*DetailedClub) GetCountry ¶
func (o *DetailedClub) GetCountry() string
GetCountry returns the Country field value if set, zero value otherwise.
func (*DetailedClub) GetCountryOk ¶
func (o *DetailedClub) GetCountryOk() (*string, bool)
GetCountryOk returns a tuple with the Country field value if set, nil otherwise and a boolean to check if the value has been set.
func (*DetailedClub) GetCoverPhoto ¶
func (o *DetailedClub) GetCoverPhoto() string
GetCoverPhoto returns the CoverPhoto field value if set, zero value otherwise.
func (*DetailedClub) GetCoverPhotoOk ¶
func (o *DetailedClub) GetCoverPhotoOk() (*string, bool)
GetCoverPhotoOk returns a tuple with the CoverPhoto field value if set, nil otherwise and a boolean to check if the value has been set.
func (*DetailedClub) GetCoverPhotoSmall ¶
func (o *DetailedClub) GetCoverPhotoSmall() string
GetCoverPhotoSmall returns the CoverPhotoSmall field value if set, zero value otherwise.
func (*DetailedClub) GetCoverPhotoSmallOk ¶
func (o *DetailedClub) GetCoverPhotoSmallOk() (*string, bool)
GetCoverPhotoSmallOk returns a tuple with the CoverPhotoSmall field value if set, nil otherwise and a boolean to check if the value has been set.
func (*DetailedClub) GetFeatured ¶
func (o *DetailedClub) GetFeatured() bool
GetFeatured returns the Featured field value if set, zero value otherwise.
func (*DetailedClub) GetFeaturedOk ¶
func (o *DetailedClub) GetFeaturedOk() (*bool, bool)
GetFeaturedOk returns a tuple with the Featured field value if set, nil otherwise and a boolean to check if the value has been set.
func (*DetailedClub) GetFollowingCount ¶
func (o *DetailedClub) GetFollowingCount() int32
GetFollowingCount returns the FollowingCount field value if set, zero value otherwise.
func (*DetailedClub) GetFollowingCountOk ¶
func (o *DetailedClub) GetFollowingCountOk() (*int32, bool)
GetFollowingCountOk returns a tuple with the FollowingCount field value if set, nil otherwise and a boolean to check if the value has been set.
func (*DetailedClub) GetId ¶
func (o *DetailedClub) GetId() int64
GetId returns the Id field value if set, zero value otherwise.
func (*DetailedClub) GetIdOk ¶
func (o *DetailedClub) GetIdOk() (*int64, bool)
GetIdOk returns a tuple with the Id field value if set, nil otherwise and a boolean to check if the value has been set.
func (*DetailedClub) GetMemberCount ¶
func (o *DetailedClub) GetMemberCount() int32
GetMemberCount returns the MemberCount field value if set, zero value otherwise.
func (*DetailedClub) GetMemberCountOk ¶
func (o *DetailedClub) GetMemberCountOk() (*int32, bool)
GetMemberCountOk returns a tuple with the MemberCount field value if set, nil otherwise and a boolean to check if the value has been set.
func (*DetailedClub) GetMembership ¶
func (o *DetailedClub) GetMembership() string
GetMembership returns the Membership field value if set, zero value otherwise.
func (*DetailedClub) GetMembershipOk ¶
func (o *DetailedClub) GetMembershipOk() (*string, bool)
GetMembershipOk returns a tuple with the Membership field value if set, nil otherwise and a boolean to check if the value has been set.
func (*DetailedClub) GetName ¶
func (o *DetailedClub) GetName() string
GetName returns the Name field value if set, zero value otherwise.
func (*DetailedClub) GetNameOk ¶
func (o *DetailedClub) GetNameOk() (*string, bool)
GetNameOk returns a tuple with the Name field value if set, nil otherwise and a boolean to check if the value has been set.
func (*DetailedClub) GetOwner ¶
func (o *DetailedClub) GetOwner() bool
GetOwner returns the Owner field value if set, zero value otherwise.
func (*DetailedClub) GetOwnerOk ¶
func (o *DetailedClub) GetOwnerOk() (*bool, bool)
GetOwnerOk returns a tuple with the Owner field value if set, nil otherwise and a boolean to check if the value has been set.
func (*DetailedClub) GetPrivate ¶
func (o *DetailedClub) GetPrivate() bool
GetPrivate returns the Private field value if set, zero value otherwise.
func (*DetailedClub) GetPrivateOk ¶
func (o *DetailedClub) GetPrivateOk() (*bool, bool)
GetPrivateOk returns a tuple with the Private field value if set, nil otherwise and a boolean to check if the value has been set.
func (*DetailedClub) GetProfileMedium ¶
func (o *DetailedClub) GetProfileMedium() string
GetProfileMedium returns the ProfileMedium field value if set, zero value otherwise.
func (*DetailedClub) GetProfileMediumOk ¶
func (o *DetailedClub) GetProfileMediumOk() (*string, bool)
GetProfileMediumOk returns a tuple with the ProfileMedium field value if set, nil otherwise and a boolean to check if the value has been set.
func (*DetailedClub) GetResourceState ¶
func (o *DetailedClub) GetResourceState() int32
GetResourceState returns the ResourceState field value if set, zero value otherwise.
func (*DetailedClub) GetResourceStateOk ¶
func (o *DetailedClub) GetResourceStateOk() (*int32, bool)
GetResourceStateOk returns a tuple with the ResourceState field value if set, nil otherwise and a boolean to check if the value has been set.
func (*DetailedClub) GetSportType ¶
func (o *DetailedClub) GetSportType() string
GetSportType returns the SportType field value if set, zero value otherwise.
func (*DetailedClub) GetSportTypeOk ¶
func (o *DetailedClub) GetSportTypeOk() (*string, bool)
GetSportTypeOk returns a tuple with the SportType field value if set, nil otherwise and a boolean to check if the value has been set.
func (*DetailedClub) GetState ¶
func (o *DetailedClub) GetState() string
GetState returns the State field value if set, zero value otherwise.
func (*DetailedClub) GetStateOk ¶
func (o *DetailedClub) GetStateOk() (*string, bool)
GetStateOk returns a tuple with the State field value if set, nil otherwise and a boolean to check if the value has been set.
func (*DetailedClub) GetUrl ¶
func (o *DetailedClub) GetUrl() string
GetUrl returns the Url field value if set, zero value otherwise.
func (*DetailedClub) GetUrlOk ¶
func (o *DetailedClub) GetUrlOk() (*string, bool)
GetUrlOk returns a tuple with the Url field value if set, nil otherwise and a boolean to check if the value has been set.
func (*DetailedClub) GetVerified ¶
func (o *DetailedClub) GetVerified() bool
GetVerified returns the Verified field value if set, zero value otherwise.
func (*DetailedClub) GetVerifiedOk ¶
func (o *DetailedClub) GetVerifiedOk() (*bool, bool)
GetVerifiedOk returns a tuple with the Verified field value if set, nil otherwise and a boolean to check if the value has been set.
func (*DetailedClub) HasActivityTypes ¶
func (o *DetailedClub) HasActivityTypes() bool
HasActivityTypes returns a boolean if a field has been set.
func (*DetailedClub) HasAdmin ¶
func (o *DetailedClub) HasAdmin() bool
HasAdmin returns a boolean if a field has been set.
func (*DetailedClub) HasCity ¶
func (o *DetailedClub) HasCity() bool
HasCity returns a boolean if a field has been set.
func (*DetailedClub) HasCountry ¶
func (o *DetailedClub) HasCountry() bool
HasCountry returns a boolean if a field has been set.
func (*DetailedClub) HasCoverPhoto ¶
func (o *DetailedClub) HasCoverPhoto() bool
HasCoverPhoto returns a boolean if a field has been set.
func (*DetailedClub) HasCoverPhotoSmall ¶
func (o *DetailedClub) HasCoverPhotoSmall() bool
HasCoverPhotoSmall returns a boolean if a field has been set.
func (*DetailedClub) HasFeatured ¶
func (o *DetailedClub) HasFeatured() bool
HasFeatured returns a boolean if a field has been set.
func (*DetailedClub) HasFollowingCount ¶
func (o *DetailedClub) HasFollowingCount() bool
HasFollowingCount returns a boolean if a field has been set.
func (*DetailedClub) HasId ¶
func (o *DetailedClub) HasId() bool
HasId returns a boolean if a field has been set.
func (*DetailedClub) HasMemberCount ¶
func (o *DetailedClub) HasMemberCount() bool
HasMemberCount returns a boolean if a field has been set.
func (*DetailedClub) HasMembership ¶
func (o *DetailedClub) HasMembership() bool
HasMembership returns a boolean if a field has been set.
func (*DetailedClub) HasName ¶
func (o *DetailedClub) HasName() bool
HasName returns a boolean if a field has been set.
func (*DetailedClub) HasOwner ¶
func (o *DetailedClub) HasOwner() bool
HasOwner returns a boolean if a field has been set.
func (*DetailedClub) HasPrivate ¶
func (o *DetailedClub) HasPrivate() bool
HasPrivate returns a boolean if a field has been set.
func (*DetailedClub) HasProfileMedium ¶
func (o *DetailedClub) HasProfileMedium() bool
HasProfileMedium returns a boolean if a field has been set.
func (*DetailedClub) HasResourceState ¶
func (o *DetailedClub) HasResourceState() bool
HasResourceState returns a boolean if a field has been set.
func (*DetailedClub) HasSportType ¶
func (o *DetailedClub) HasSportType() bool
HasSportType returns a boolean if a field has been set.
func (*DetailedClub) HasState ¶
func (o *DetailedClub) HasState() bool
HasState returns a boolean if a field has been set.
func (*DetailedClub) HasUrl ¶
func (o *DetailedClub) HasUrl() bool
HasUrl returns a boolean if a field has been set.
func (*DetailedClub) HasVerified ¶
func (o *DetailedClub) HasVerified() bool
HasVerified returns a boolean if a field has been set.
func (DetailedClub) MarshalJSON ¶
func (o DetailedClub) MarshalJSON() ([]byte, error)
func (*DetailedClub) SetActivityTypes ¶
func (o *DetailedClub) SetActivityTypes(v []ActivityType)
SetActivityTypes gets a reference to the given []ActivityType and assigns it to the ActivityTypes field.
func (*DetailedClub) SetAdmin ¶
func (o *DetailedClub) SetAdmin(v bool)
SetAdmin gets a reference to the given bool and assigns it to the Admin field.
func (*DetailedClub) SetCity ¶
func (o *DetailedClub) SetCity(v string)
SetCity gets a reference to the given string and assigns it to the City field.
func (*DetailedClub) SetCountry ¶
func (o *DetailedClub) SetCountry(v string)
SetCountry gets a reference to the given string and assigns it to the Country field.
func (*DetailedClub) SetCoverPhoto ¶
func (o *DetailedClub) SetCoverPhoto(v string)
SetCoverPhoto gets a reference to the given string and assigns it to the CoverPhoto field.
func (*DetailedClub) SetCoverPhotoSmall ¶
func (o *DetailedClub) SetCoverPhotoSmall(v string)
SetCoverPhotoSmall gets a reference to the given string and assigns it to the CoverPhotoSmall field.
func (*DetailedClub) SetFeatured ¶
func (o *DetailedClub) SetFeatured(v bool)
SetFeatured gets a reference to the given bool and assigns it to the Featured field.
func (*DetailedClub) SetFollowingCount ¶
func (o *DetailedClub) SetFollowingCount(v int32)
SetFollowingCount gets a reference to the given int32 and assigns it to the FollowingCount field.
func (*DetailedClub) SetId ¶
func (o *DetailedClub) SetId(v int64)
SetId gets a reference to the given int64 and assigns it to the Id field.
func (*DetailedClub) SetMemberCount ¶
func (o *DetailedClub) SetMemberCount(v int32)
SetMemberCount gets a reference to the given int32 and assigns it to the MemberCount field.
func (*DetailedClub) SetMembership ¶
func (o *DetailedClub) SetMembership(v string)
SetMembership gets a reference to the given string and assigns it to the Membership field.
func (*DetailedClub) SetName ¶
func (o *DetailedClub) SetName(v string)
SetName gets a reference to the given string and assigns it to the Name field.
func (*DetailedClub) SetOwner ¶
func (o *DetailedClub) SetOwner(v bool)
SetOwner gets a reference to the given bool and assigns it to the Owner field.
func (*DetailedClub) SetPrivate ¶
func (o *DetailedClub) SetPrivate(v bool)
SetPrivate gets a reference to the given bool and assigns it to the Private field.
func (*DetailedClub) SetProfileMedium ¶
func (o *DetailedClub) SetProfileMedium(v string)
SetProfileMedium gets a reference to the given string and assigns it to the ProfileMedium field.
func (*DetailedClub) SetResourceState ¶
func (o *DetailedClub) SetResourceState(v int32)
SetResourceState gets a reference to the given int32 and assigns it to the ResourceState field.
func (*DetailedClub) SetSportType ¶
func (o *DetailedClub) SetSportType(v string)
SetSportType gets a reference to the given string and assigns it to the SportType field.
func (*DetailedClub) SetState ¶
func (o *DetailedClub) SetState(v string)
SetState gets a reference to the given string and assigns it to the State field.
func (*DetailedClub) SetUrl ¶
func (o *DetailedClub) SetUrl(v string)
SetUrl gets a reference to the given string and assigns it to the Url field.
func (*DetailedClub) SetVerified ¶
func (o *DetailedClub) SetVerified(v bool)
SetVerified gets a reference to the given bool and assigns it to the Verified field.
func (DetailedClub) ToMap ¶
func (o DetailedClub) ToMap() (map[string]interface{}, error)
type DetailedGear ¶
type DetailedGear struct { // The gear's unique identifier. Id *string `json:"id,omitempty"` // Resource state, indicates level of detail. Possible values: 2 -> \"summary\", 3 -> \"detail\" ResourceState *int32 `json:"resource_state,omitempty"` // Whether this gear's is the owner's default one. Primary *bool `json:"primary,omitempty"` // The gear's name. Name *string `json:"name,omitempty"` // The distance logged with this gear. Distance *float32 `json:"distance,omitempty"` // The gear's brand name. BrandName *string `json:"brand_name,omitempty"` // The gear's model name. ModelName *string `json:"model_name,omitempty"` // The gear's frame type (bike only). FrameType *int32 `json:"frame_type,omitempty"` // The gear's description. Description *string `json:"description,omitempty"` }
DetailedGear struct for DetailedGear
func NewDetailedGear ¶
func NewDetailedGear() *DetailedGear
NewDetailedGear instantiates a new DetailedGear object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewDetailedGearWithDefaults ¶
func NewDetailedGearWithDefaults() *DetailedGear
NewDetailedGearWithDefaults instantiates a new DetailedGear object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*DetailedGear) GetBrandName ¶
func (o *DetailedGear) GetBrandName() string
GetBrandName returns the BrandName field value if set, zero value otherwise.
func (*DetailedGear) GetBrandNameOk ¶
func (o *DetailedGear) GetBrandNameOk() (*string, bool)
GetBrandNameOk returns a tuple with the BrandName field value if set, nil otherwise and a boolean to check if the value has been set.
func (*DetailedGear) GetDescription ¶
func (o *DetailedGear) GetDescription() string
GetDescription returns the Description field value if set, zero value otherwise.
func (*DetailedGear) GetDescriptionOk ¶
func (o *DetailedGear) GetDescriptionOk() (*string, bool)
GetDescriptionOk returns a tuple with the Description field value if set, nil otherwise and a boolean to check if the value has been set.
func (*DetailedGear) GetDistance ¶
func (o *DetailedGear) GetDistance() float32
GetDistance returns the Distance field value if set, zero value otherwise.
func (*DetailedGear) GetDistanceOk ¶
func (o *DetailedGear) GetDistanceOk() (*float32, bool)
GetDistanceOk returns a tuple with the Distance field value if set, nil otherwise and a boolean to check if the value has been set.
func (*DetailedGear) GetFrameType ¶
func (o *DetailedGear) GetFrameType() int32
GetFrameType returns the FrameType field value if set, zero value otherwise.
func (*DetailedGear) GetFrameTypeOk ¶
func (o *DetailedGear) GetFrameTypeOk() (*int32, bool)
GetFrameTypeOk returns a tuple with the FrameType field value if set, nil otherwise and a boolean to check if the value has been set.
func (*DetailedGear) GetId ¶
func (o *DetailedGear) GetId() string
GetId returns the Id field value if set, zero value otherwise.
func (*DetailedGear) GetIdOk ¶
func (o *DetailedGear) GetIdOk() (*string, bool)
GetIdOk returns a tuple with the Id field value if set, nil otherwise and a boolean to check if the value has been set.
func (*DetailedGear) GetModelName ¶
func (o *DetailedGear) GetModelName() string
GetModelName returns the ModelName field value if set, zero value otherwise.
func (*DetailedGear) GetModelNameOk ¶
func (o *DetailedGear) GetModelNameOk() (*string, bool)
GetModelNameOk returns a tuple with the ModelName field value if set, nil otherwise and a boolean to check if the value has been set.
func (*DetailedGear) GetName ¶
func (o *DetailedGear) GetName() string
GetName returns the Name field value if set, zero value otherwise.
func (*DetailedGear) GetNameOk ¶
func (o *DetailedGear) GetNameOk() (*string, bool)
GetNameOk returns a tuple with the Name field value if set, nil otherwise and a boolean to check if the value has been set.
func (*DetailedGear) GetPrimary ¶
func (o *DetailedGear) GetPrimary() bool
GetPrimary returns the Primary field value if set, zero value otherwise.
func (*DetailedGear) GetPrimaryOk ¶
func (o *DetailedGear) GetPrimaryOk() (*bool, bool)
GetPrimaryOk returns a tuple with the Primary field value if set, nil otherwise and a boolean to check if the value has been set.
func (*DetailedGear) GetResourceState ¶
func (o *DetailedGear) GetResourceState() int32
GetResourceState returns the ResourceState field value if set, zero value otherwise.
func (*DetailedGear) GetResourceStateOk ¶
func (o *DetailedGear) GetResourceStateOk() (*int32, bool)
GetResourceStateOk returns a tuple with the ResourceState field value if set, nil otherwise and a boolean to check if the value has been set.
func (*DetailedGear) HasBrandName ¶
func (o *DetailedGear) HasBrandName() bool
HasBrandName returns a boolean if a field has been set.
func (*DetailedGear) HasDescription ¶
func (o *DetailedGear) HasDescription() bool
HasDescription returns a boolean if a field has been set.
func (*DetailedGear) HasDistance ¶
func (o *DetailedGear) HasDistance() bool
HasDistance returns a boolean if a field has been set.
func (*DetailedGear) HasFrameType ¶
func (o *DetailedGear) HasFrameType() bool
HasFrameType returns a boolean if a field has been set.
func (*DetailedGear) HasId ¶
func (o *DetailedGear) HasId() bool
HasId returns a boolean if a field has been set.
func (*DetailedGear) HasModelName ¶
func (o *DetailedGear) HasModelName() bool
HasModelName returns a boolean if a field has been set.
func (*DetailedGear) HasName ¶
func (o *DetailedGear) HasName() bool
HasName returns a boolean if a field has been set.
func (*DetailedGear) HasPrimary ¶
func (o *DetailedGear) HasPrimary() bool
HasPrimary returns a boolean if a field has been set.
func (*DetailedGear) HasResourceState ¶
func (o *DetailedGear) HasResourceState() bool
HasResourceState returns a boolean if a field has been set.
func (DetailedGear) MarshalJSON ¶
func (o DetailedGear) MarshalJSON() ([]byte, error)
func (*DetailedGear) SetBrandName ¶
func (o *DetailedGear) SetBrandName(v string)
SetBrandName gets a reference to the given string and assigns it to the BrandName field.
func (*DetailedGear) SetDescription ¶
func (o *DetailedGear) SetDescription(v string)
SetDescription gets a reference to the given string and assigns it to the Description field.
func (*DetailedGear) SetDistance ¶
func (o *DetailedGear) SetDistance(v float32)
SetDistance gets a reference to the given float32 and assigns it to the Distance field.
func (*DetailedGear) SetFrameType ¶
func (o *DetailedGear) SetFrameType(v int32)
SetFrameType gets a reference to the given int32 and assigns it to the FrameType field.
func (*DetailedGear) SetId ¶
func (o *DetailedGear) SetId(v string)
SetId gets a reference to the given string and assigns it to the Id field.
func (*DetailedGear) SetModelName ¶
func (o *DetailedGear) SetModelName(v string)
SetModelName gets a reference to the given string and assigns it to the ModelName field.
func (*DetailedGear) SetName ¶
func (o *DetailedGear) SetName(v string)
SetName gets a reference to the given string and assigns it to the Name field.
func (*DetailedGear) SetPrimary ¶
func (o *DetailedGear) SetPrimary(v bool)
SetPrimary gets a reference to the given bool and assigns it to the Primary field.
func (*DetailedGear) SetResourceState ¶
func (o *DetailedGear) SetResourceState(v int32)
SetResourceState gets a reference to the given int32 and assigns it to the ResourceState field.
func (DetailedGear) ToMap ¶
func (o DetailedGear) ToMap() (map[string]interface{}, error)
type DetailedSegment ¶
type DetailedSegment struct { // The unique identifier of this segment Id *int64 `json:"id,omitempty"` // The name of this segment Name *string `json:"name,omitempty"` ActivityType *string `json:"activity_type,omitempty"` // The segment's distance, in meters Distance *float32 `json:"distance,omitempty"` // The segment's average grade, in percents AverageGrade *float32 `json:"average_grade,omitempty"` // The segments's maximum grade, in percents MaximumGrade *float32 `json:"maximum_grade,omitempty"` // The segments's highest elevation, in meters ElevationHigh *float32 `json:"elevation_high,omitempty"` // The segments's lowest elevation, in meters ElevationLow *float32 `json:"elevation_low,omitempty"` // A pair of latitude/longitude coordinates, represented as an array of 2 floating point numbers. StartLatlng []float32 `json:"start_latlng,omitempty"` // A pair of latitude/longitude coordinates, represented as an array of 2 floating point numbers. EndLatlng []float32 `json:"end_latlng,omitempty"` // The category of the climb [0, 5]. Higher is harder ie. 5 is Hors catégorie, 0 is uncategorized in climb_category. ClimbCategory *int32 `json:"climb_category,omitempty"` // The segments's city. City *string `json:"city,omitempty"` // The segments's state or geographical region. State *string `json:"state,omitempty"` // The segment's country. Country *string `json:"country,omitempty"` // Whether this segment is private. Private *bool `json:"private,omitempty"` AthletePrEffort *SummaryPRSegmentEffort `json:"athlete_pr_effort,omitempty"` AthleteSegmentStats *SummarySegmentEffort `json:"athlete_segment_stats,omitempty"` // The time at which the segment was created. CreatedAt *time.Time `json:"created_at,omitempty"` // The time at which the segment was last updated. UpdatedAt *time.Time `json:"updated_at,omitempty"` // The segment's total elevation gain. TotalElevationGain *float32 `json:"total_elevation_gain,omitempty"` Map *PolylineMap `json:"map,omitempty"` // The total number of efforts for this segment EffortCount *int32 `json:"effort_count,omitempty"` // The number of unique athletes who have an effort for this segment AthleteCount *int32 `json:"athlete_count,omitempty"` // Whether this segment is considered hazardous Hazardous *bool `json:"hazardous,omitempty"` // The number of stars for this segment StarCount *int32 `json:"star_count,omitempty"` }
DetailedSegment struct for DetailedSegment
func NewDetailedSegment ¶
func NewDetailedSegment() *DetailedSegment
NewDetailedSegment instantiates a new DetailedSegment object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewDetailedSegmentWithDefaults ¶
func NewDetailedSegmentWithDefaults() *DetailedSegment
NewDetailedSegmentWithDefaults instantiates a new DetailedSegment object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*DetailedSegment) GetActivityType ¶
func (o *DetailedSegment) GetActivityType() string
GetActivityType returns the ActivityType field value if set, zero value otherwise.
func (*DetailedSegment) GetActivityTypeOk ¶
func (o *DetailedSegment) GetActivityTypeOk() (*string, bool)
GetActivityTypeOk returns a tuple with the ActivityType field value if set, nil otherwise and a boolean to check if the value has been set.
func (*DetailedSegment) GetAthleteCount ¶
func (o *DetailedSegment) GetAthleteCount() int32
GetAthleteCount returns the AthleteCount field value if set, zero value otherwise.
func (*DetailedSegment) GetAthleteCountOk ¶
func (o *DetailedSegment) GetAthleteCountOk() (*int32, bool)
GetAthleteCountOk returns a tuple with the AthleteCount field value if set, nil otherwise and a boolean to check if the value has been set.
func (*DetailedSegment) GetAthletePrEffort ¶
func (o *DetailedSegment) GetAthletePrEffort() SummaryPRSegmentEffort
GetAthletePrEffort returns the AthletePrEffort field value if set, zero value otherwise.
func (*DetailedSegment) GetAthletePrEffortOk ¶
func (o *DetailedSegment) GetAthletePrEffortOk() (*SummaryPRSegmentEffort, bool)
GetAthletePrEffortOk returns a tuple with the AthletePrEffort field value if set, nil otherwise and a boolean to check if the value has been set.
func (*DetailedSegment) GetAthleteSegmentStats ¶
func (o *DetailedSegment) GetAthleteSegmentStats() SummarySegmentEffort
GetAthleteSegmentStats returns the AthleteSegmentStats field value if set, zero value otherwise.
func (*DetailedSegment) GetAthleteSegmentStatsOk ¶
func (o *DetailedSegment) GetAthleteSegmentStatsOk() (*SummarySegmentEffort, bool)
GetAthleteSegmentStatsOk returns a tuple with the AthleteSegmentStats field value if set, nil otherwise and a boolean to check if the value has been set.
func (*DetailedSegment) GetAverageGrade ¶
func (o *DetailedSegment) GetAverageGrade() float32
GetAverageGrade returns the AverageGrade field value if set, zero value otherwise.
func (*DetailedSegment) GetAverageGradeOk ¶
func (o *DetailedSegment) GetAverageGradeOk() (*float32, bool)
GetAverageGradeOk returns a tuple with the AverageGrade field value if set, nil otherwise and a boolean to check if the value has been set.
func (*DetailedSegment) GetCity ¶
func (o *DetailedSegment) GetCity() string
GetCity returns the City field value if set, zero value otherwise.
func (*DetailedSegment) GetCityOk ¶
func (o *DetailedSegment) GetCityOk() (*string, bool)
GetCityOk returns a tuple with the City field value if set, nil otherwise and a boolean to check if the value has been set.
func (*DetailedSegment) GetClimbCategory ¶
func (o *DetailedSegment) GetClimbCategory() int32
GetClimbCategory returns the ClimbCategory field value if set, zero value otherwise.
func (*DetailedSegment) GetClimbCategoryOk ¶
func (o *DetailedSegment) GetClimbCategoryOk() (*int32, bool)
GetClimbCategoryOk returns a tuple with the ClimbCategory field value if set, nil otherwise and a boolean to check if the value has been set.
func (*DetailedSegment) GetCountry ¶
func (o *DetailedSegment) GetCountry() string
GetCountry returns the Country field value if set, zero value otherwise.
func (*DetailedSegment) GetCountryOk ¶
func (o *DetailedSegment) GetCountryOk() (*string, bool)
GetCountryOk returns a tuple with the Country field value if set, nil otherwise and a boolean to check if the value has been set.
func (*DetailedSegment) GetCreatedAt ¶
func (o *DetailedSegment) GetCreatedAt() time.Time
GetCreatedAt returns the CreatedAt field value if set, zero value otherwise.
func (*DetailedSegment) GetCreatedAtOk ¶
func (o *DetailedSegment) GetCreatedAtOk() (*time.Time, bool)
GetCreatedAtOk returns a tuple with the CreatedAt field value if set, nil otherwise and a boolean to check if the value has been set.
func (*DetailedSegment) GetDistance ¶
func (o *DetailedSegment) GetDistance() float32
GetDistance returns the Distance field value if set, zero value otherwise.
func (*DetailedSegment) GetDistanceOk ¶
func (o *DetailedSegment) GetDistanceOk() (*float32, bool)
GetDistanceOk returns a tuple with the Distance field value if set, nil otherwise and a boolean to check if the value has been set.
func (*DetailedSegment) GetEffortCount ¶
func (o *DetailedSegment) GetEffortCount() int32
GetEffortCount returns the EffortCount field value if set, zero value otherwise.
func (*DetailedSegment) GetEffortCountOk ¶
func (o *DetailedSegment) GetEffortCountOk() (*int32, bool)
GetEffortCountOk returns a tuple with the EffortCount field value if set, nil otherwise and a boolean to check if the value has been set.
func (*DetailedSegment) GetElevationHigh ¶
func (o *DetailedSegment) GetElevationHigh() float32
GetElevationHigh returns the ElevationHigh field value if set, zero value otherwise.
func (*DetailedSegment) GetElevationHighOk ¶
func (o *DetailedSegment) GetElevationHighOk() (*float32, bool)
GetElevationHighOk returns a tuple with the ElevationHigh field value if set, nil otherwise and a boolean to check if the value has been set.
func (*DetailedSegment) GetElevationLow ¶
func (o *DetailedSegment) GetElevationLow() float32
GetElevationLow returns the ElevationLow field value if set, zero value otherwise.
func (*DetailedSegment) GetElevationLowOk ¶
func (o *DetailedSegment) GetElevationLowOk() (*float32, bool)
GetElevationLowOk returns a tuple with the ElevationLow field value if set, nil otherwise and a boolean to check if the value has been set.
func (*DetailedSegment) GetEndLatlng ¶
func (o *DetailedSegment) GetEndLatlng() []float32
GetEndLatlng returns the EndLatlng field value if set, zero value otherwise.
func (*DetailedSegment) GetEndLatlngOk ¶
func (o *DetailedSegment) GetEndLatlngOk() ([]float32, bool)
GetEndLatlngOk returns a tuple with the EndLatlng field value if set, nil otherwise and a boolean to check if the value has been set.
func (*DetailedSegment) GetHazardous ¶
func (o *DetailedSegment) GetHazardous() bool
GetHazardous returns the Hazardous field value if set, zero value otherwise.
func (*DetailedSegment) GetHazardousOk ¶
func (o *DetailedSegment) GetHazardousOk() (*bool, bool)
GetHazardousOk returns a tuple with the Hazardous field value if set, nil otherwise and a boolean to check if the value has been set.
func (*DetailedSegment) GetId ¶
func (o *DetailedSegment) GetId() int64
GetId returns the Id field value if set, zero value otherwise.
func (*DetailedSegment) GetIdOk ¶
func (o *DetailedSegment) GetIdOk() (*int64, bool)
GetIdOk returns a tuple with the Id field value if set, nil otherwise and a boolean to check if the value has been set.
func (*DetailedSegment) GetMap ¶
func (o *DetailedSegment) GetMap() PolylineMap
GetMap returns the Map field value if set, zero value otherwise.
func (*DetailedSegment) GetMapOk ¶
func (o *DetailedSegment) GetMapOk() (*PolylineMap, bool)
GetMapOk returns a tuple with the Map field value if set, nil otherwise and a boolean to check if the value has been set.
func (*DetailedSegment) GetMaximumGrade ¶
func (o *DetailedSegment) GetMaximumGrade() float32
GetMaximumGrade returns the MaximumGrade field value if set, zero value otherwise.
func (*DetailedSegment) GetMaximumGradeOk ¶
func (o *DetailedSegment) GetMaximumGradeOk() (*float32, bool)
GetMaximumGradeOk returns a tuple with the MaximumGrade field value if set, nil otherwise and a boolean to check if the value has been set.
func (*DetailedSegment) GetName ¶
func (o *DetailedSegment) GetName() string
GetName returns the Name field value if set, zero value otherwise.
func (*DetailedSegment) GetNameOk ¶
func (o *DetailedSegment) GetNameOk() (*string, bool)
GetNameOk returns a tuple with the Name field value if set, nil otherwise and a boolean to check if the value has been set.
func (*DetailedSegment) GetPrivate ¶
func (o *DetailedSegment) GetPrivate() bool
GetPrivate returns the Private field value if set, zero value otherwise.
func (*DetailedSegment) GetPrivateOk ¶
func (o *DetailedSegment) GetPrivateOk() (*bool, bool)
GetPrivateOk returns a tuple with the Private field value if set, nil otherwise and a boolean to check if the value has been set.
func (*DetailedSegment) GetStarCount ¶
func (o *DetailedSegment) GetStarCount() int32
GetStarCount returns the StarCount field value if set, zero value otherwise.
func (*DetailedSegment) GetStarCountOk ¶
func (o *DetailedSegment) GetStarCountOk() (*int32, bool)
GetStarCountOk returns a tuple with the StarCount field value if set, nil otherwise and a boolean to check if the value has been set.
func (*DetailedSegment) GetStartLatlng ¶
func (o *DetailedSegment) GetStartLatlng() []float32
GetStartLatlng returns the StartLatlng field value if set, zero value otherwise.
func (*DetailedSegment) GetStartLatlngOk ¶
func (o *DetailedSegment) GetStartLatlngOk() ([]float32, bool)
GetStartLatlngOk returns a tuple with the StartLatlng field value if set, nil otherwise and a boolean to check if the value has been set.
func (*DetailedSegment) GetState ¶
func (o *DetailedSegment) GetState() string
GetState returns the State field value if set, zero value otherwise.
func (*DetailedSegment) GetStateOk ¶
func (o *DetailedSegment) GetStateOk() (*string, bool)
GetStateOk returns a tuple with the State field value if set, nil otherwise and a boolean to check if the value has been set.
func (*DetailedSegment) GetTotalElevationGain ¶
func (o *DetailedSegment) GetTotalElevationGain() float32
GetTotalElevationGain returns the TotalElevationGain field value if set, zero value otherwise.
func (*DetailedSegment) GetTotalElevationGainOk ¶
func (o *DetailedSegment) GetTotalElevationGainOk() (*float32, bool)
GetTotalElevationGainOk returns a tuple with the TotalElevationGain field value if set, nil otherwise and a boolean to check if the value has been set.
func (*DetailedSegment) GetUpdatedAt ¶
func (o *DetailedSegment) GetUpdatedAt() time.Time
GetUpdatedAt returns the UpdatedAt field value if set, zero value otherwise.
func (*DetailedSegment) GetUpdatedAtOk ¶
func (o *DetailedSegment) GetUpdatedAtOk() (*time.Time, bool)
GetUpdatedAtOk returns a tuple with the UpdatedAt field value if set, nil otherwise and a boolean to check if the value has been set.
func (*DetailedSegment) HasActivityType ¶
func (o *DetailedSegment) HasActivityType() bool
HasActivityType returns a boolean if a field has been set.
func (*DetailedSegment) HasAthleteCount ¶
func (o *DetailedSegment) HasAthleteCount() bool
HasAthleteCount returns a boolean if a field has been set.
func (*DetailedSegment) HasAthletePrEffort ¶
func (o *DetailedSegment) HasAthletePrEffort() bool
HasAthletePrEffort returns a boolean if a field has been set.
func (*DetailedSegment) HasAthleteSegmentStats ¶
func (o *DetailedSegment) HasAthleteSegmentStats() bool
HasAthleteSegmentStats returns a boolean if a field has been set.
func (*DetailedSegment) HasAverageGrade ¶
func (o *DetailedSegment) HasAverageGrade() bool
HasAverageGrade returns a boolean if a field has been set.
func (*DetailedSegment) HasCity ¶
func (o *DetailedSegment) HasCity() bool
HasCity returns a boolean if a field has been set.
func (*DetailedSegment) HasClimbCategory ¶
func (o *DetailedSegment) HasClimbCategory() bool
HasClimbCategory returns a boolean if a field has been set.
func (*DetailedSegment) HasCountry ¶
func (o *DetailedSegment) HasCountry() bool
HasCountry returns a boolean if a field has been set.
func (*DetailedSegment) HasCreatedAt ¶
func (o *DetailedSegment) HasCreatedAt() bool
HasCreatedAt returns a boolean if a field has been set.
func (*DetailedSegment) HasDistance ¶
func (o *DetailedSegment) HasDistance() bool
HasDistance returns a boolean if a field has been set.
func (*DetailedSegment) HasEffortCount ¶
func (o *DetailedSegment) HasEffortCount() bool
HasEffortCount returns a boolean if a field has been set.
func (*DetailedSegment) HasElevationHigh ¶
func (o *DetailedSegment) HasElevationHigh() bool
HasElevationHigh returns a boolean if a field has been set.
func (*DetailedSegment) HasElevationLow ¶
func (o *DetailedSegment) HasElevationLow() bool
HasElevationLow returns a boolean if a field has been set.
func (*DetailedSegment) HasEndLatlng ¶
func (o *DetailedSegment) HasEndLatlng() bool
HasEndLatlng returns a boolean if a field has been set.
func (*DetailedSegment) HasHazardous ¶
func (o *DetailedSegment) HasHazardous() bool
HasHazardous returns a boolean if a field has been set.
func (*DetailedSegment) HasId ¶
func (o *DetailedSegment) HasId() bool
HasId returns a boolean if a field has been set.
func (*DetailedSegment) HasMap ¶
func (o *DetailedSegment) HasMap() bool
HasMap returns a boolean if a field has been set.
func (*DetailedSegment) HasMaximumGrade ¶
func (o *DetailedSegment) HasMaximumGrade() bool
HasMaximumGrade returns a boolean if a field has been set.
func (*DetailedSegment) HasName ¶
func (o *DetailedSegment) HasName() bool
HasName returns a boolean if a field has been set.
func (*DetailedSegment) HasPrivate ¶
func (o *DetailedSegment) HasPrivate() bool
HasPrivate returns a boolean if a field has been set.
func (*DetailedSegment) HasStarCount ¶
func (o *DetailedSegment) HasStarCount() bool
HasStarCount returns a boolean if a field has been set.
func (*DetailedSegment) HasStartLatlng ¶
func (o *DetailedSegment) HasStartLatlng() bool
HasStartLatlng returns a boolean if a field has been set.
func (*DetailedSegment) HasState ¶
func (o *DetailedSegment) HasState() bool
HasState returns a boolean if a field has been set.
func (*DetailedSegment) HasTotalElevationGain ¶
func (o *DetailedSegment) HasTotalElevationGain() bool
HasTotalElevationGain returns a boolean if a field has been set.
func (*DetailedSegment) HasUpdatedAt ¶
func (o *DetailedSegment) HasUpdatedAt() bool
HasUpdatedAt returns a boolean if a field has been set.
func (DetailedSegment) MarshalJSON ¶
func (o DetailedSegment) MarshalJSON() ([]byte, error)
func (*DetailedSegment) SetActivityType ¶
func (o *DetailedSegment) SetActivityType(v string)
SetActivityType gets a reference to the given string and assigns it to the ActivityType field.
func (*DetailedSegment) SetAthleteCount ¶
func (o *DetailedSegment) SetAthleteCount(v int32)
SetAthleteCount gets a reference to the given int32 and assigns it to the AthleteCount field.
func (*DetailedSegment) SetAthletePrEffort ¶
func (o *DetailedSegment) SetAthletePrEffort(v SummaryPRSegmentEffort)
SetAthletePrEffort gets a reference to the given SummaryPRSegmentEffort and assigns it to the AthletePrEffort field.
func (*DetailedSegment) SetAthleteSegmentStats ¶
func (o *DetailedSegment) SetAthleteSegmentStats(v SummarySegmentEffort)
SetAthleteSegmentStats gets a reference to the given SummarySegmentEffort and assigns it to the AthleteSegmentStats field.
func (*DetailedSegment) SetAverageGrade ¶
func (o *DetailedSegment) SetAverageGrade(v float32)
SetAverageGrade gets a reference to the given float32 and assigns it to the AverageGrade field.
func (*DetailedSegment) SetCity ¶
func (o *DetailedSegment) SetCity(v string)
SetCity gets a reference to the given string and assigns it to the City field.
func (*DetailedSegment) SetClimbCategory ¶
func (o *DetailedSegment) SetClimbCategory(v int32)
SetClimbCategory gets a reference to the given int32 and assigns it to the ClimbCategory field.
func (*DetailedSegment) SetCountry ¶
func (o *DetailedSegment) SetCountry(v string)
SetCountry gets a reference to the given string and assigns it to the Country field.
func (*DetailedSegment) SetCreatedAt ¶
func (o *DetailedSegment) SetCreatedAt(v time.Time)
SetCreatedAt gets a reference to the given time.Time and assigns it to the CreatedAt field.
func (*DetailedSegment) SetDistance ¶
func (o *DetailedSegment) SetDistance(v float32)
SetDistance gets a reference to the given float32 and assigns it to the Distance field.
func (*DetailedSegment) SetEffortCount ¶
func (o *DetailedSegment) SetEffortCount(v int32)
SetEffortCount gets a reference to the given int32 and assigns it to the EffortCount field.
func (*DetailedSegment) SetElevationHigh ¶
func (o *DetailedSegment) SetElevationHigh(v float32)
SetElevationHigh gets a reference to the given float32 and assigns it to the ElevationHigh field.
func (*DetailedSegment) SetElevationLow ¶
func (o *DetailedSegment) SetElevationLow(v float32)
SetElevationLow gets a reference to the given float32 and assigns it to the ElevationLow field.
func (*DetailedSegment) SetEndLatlng ¶
func (o *DetailedSegment) SetEndLatlng(v []float32)
SetEndLatlng gets a reference to the given []float32 and assigns it to the EndLatlng field.
func (*DetailedSegment) SetHazardous ¶
func (o *DetailedSegment) SetHazardous(v bool)
SetHazardous gets a reference to the given bool and assigns it to the Hazardous field.
func (*DetailedSegment) SetId ¶
func (o *DetailedSegment) SetId(v int64)
SetId gets a reference to the given int64 and assigns it to the Id field.
func (*DetailedSegment) SetMap ¶
func (o *DetailedSegment) SetMap(v PolylineMap)
SetMap gets a reference to the given PolylineMap and assigns it to the Map field.
func (*DetailedSegment) SetMaximumGrade ¶
func (o *DetailedSegment) SetMaximumGrade(v float32)
SetMaximumGrade gets a reference to the given float32 and assigns it to the MaximumGrade field.
func (*DetailedSegment) SetName ¶
func (o *DetailedSegment) SetName(v string)
SetName gets a reference to the given string and assigns it to the Name field.
func (*DetailedSegment) SetPrivate ¶
func (o *DetailedSegment) SetPrivate(v bool)
SetPrivate gets a reference to the given bool and assigns it to the Private field.
func (*DetailedSegment) SetStarCount ¶
func (o *DetailedSegment) SetStarCount(v int32)
SetStarCount gets a reference to the given int32 and assigns it to the StarCount field.
func (*DetailedSegment) SetStartLatlng ¶
func (o *DetailedSegment) SetStartLatlng(v []float32)
SetStartLatlng gets a reference to the given []float32 and assigns it to the StartLatlng field.
func (*DetailedSegment) SetState ¶
func (o *DetailedSegment) SetState(v string)
SetState gets a reference to the given string and assigns it to the State field.
func (*DetailedSegment) SetTotalElevationGain ¶
func (o *DetailedSegment) SetTotalElevationGain(v float32)
SetTotalElevationGain gets a reference to the given float32 and assigns it to the TotalElevationGain field.
func (*DetailedSegment) SetUpdatedAt ¶
func (o *DetailedSegment) SetUpdatedAt(v time.Time)
SetUpdatedAt gets a reference to the given time.Time and assigns it to the UpdatedAt field.
func (DetailedSegment) ToMap ¶
func (o DetailedSegment) ToMap() (map[string]interface{}, error)
type DetailedSegmentEffort ¶
type DetailedSegmentEffort struct { // The unique identifier of this effort Id *int64 `json:"id,omitempty"` // The unique identifier of the activity related to this effort ActivityId *int64 `json:"activity_id,omitempty"` // The effort's elapsed time ElapsedTime *int32 `json:"elapsed_time,omitempty"` // The time at which the effort was started. StartDate *time.Time `json:"start_date,omitempty"` // The time at which the effort was started in the local timezone. StartDateLocal *time.Time `json:"start_date_local,omitempty"` // The effort's distance in meters Distance *float32 `json:"distance,omitempty"` // Whether this effort is the current best on the leaderboard IsKom *bool `json:"is_kom,omitempty"` // The name of the segment on which this effort was performed Name *string `json:"name,omitempty"` Activity *MetaActivity `json:"activity,omitempty"` Athlete *MetaAthlete `json:"athlete,omitempty"` // The effort's moving time MovingTime *int32 `json:"moving_time,omitempty"` // The start index of this effort in its activity's stream StartIndex *int32 `json:"start_index,omitempty"` // The end index of this effort in its activity's stream EndIndex *int32 `json:"end_index,omitempty"` // The effort's average cadence AverageCadence *float32 `json:"average_cadence,omitempty"` // The average wattage of this effort AverageWatts *float32 `json:"average_watts,omitempty"` // For riding efforts, whether the wattage was reported by a dedicated recording device DeviceWatts *bool `json:"device_watts,omitempty"` // The heart heart rate of the athlete during this effort AverageHeartrate *float32 `json:"average_heartrate,omitempty"` // The maximum heart rate of the athlete during this effort MaxHeartrate *float32 `json:"max_heartrate,omitempty"` Segment *SummarySegment `json:"segment,omitempty"` // The rank of the effort on the global leaderboard if it belongs in the top 10 at the time of upload KomRank *int32 `json:"kom_rank,omitempty"` // The rank of the effort on the athlete's leaderboard if it belongs in the top 3 at the time of upload PrRank *int32 `json:"pr_rank,omitempty"` // Whether this effort should be hidden when viewed within an activity Hidden *bool `json:"hidden,omitempty"` }
DetailedSegmentEffort struct for DetailedSegmentEffort
func NewDetailedSegmentEffort ¶
func NewDetailedSegmentEffort() *DetailedSegmentEffort
NewDetailedSegmentEffort instantiates a new DetailedSegmentEffort object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewDetailedSegmentEffortWithDefaults ¶
func NewDetailedSegmentEffortWithDefaults() *DetailedSegmentEffort
NewDetailedSegmentEffortWithDefaults instantiates a new DetailedSegmentEffort object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*DetailedSegmentEffort) GetActivity ¶
func (o *DetailedSegmentEffort) GetActivity() MetaActivity
GetActivity returns the Activity field value if set, zero value otherwise.
func (*DetailedSegmentEffort) GetActivityId ¶
func (o *DetailedSegmentEffort) GetActivityId() int64
GetActivityId returns the ActivityId field value if set, zero value otherwise.
func (*DetailedSegmentEffort) GetActivityIdOk ¶
func (o *DetailedSegmentEffort) GetActivityIdOk() (*int64, bool)
GetActivityIdOk returns a tuple with the ActivityId field value if set, nil otherwise and a boolean to check if the value has been set.
func (*DetailedSegmentEffort) GetActivityOk ¶
func (o *DetailedSegmentEffort) GetActivityOk() (*MetaActivity, bool)
GetActivityOk returns a tuple with the Activity field value if set, nil otherwise and a boolean to check if the value has been set.
func (*DetailedSegmentEffort) GetAthlete ¶
func (o *DetailedSegmentEffort) GetAthlete() MetaAthlete
GetAthlete returns the Athlete field value if set, zero value otherwise.
func (*DetailedSegmentEffort) GetAthleteOk ¶
func (o *DetailedSegmentEffort) GetAthleteOk() (*MetaAthlete, bool)
GetAthleteOk returns a tuple with the Athlete field value if set, nil otherwise and a boolean to check if the value has been set.
func (*DetailedSegmentEffort) GetAverageCadence ¶
func (o *DetailedSegmentEffort) GetAverageCadence() float32
GetAverageCadence returns the AverageCadence field value if set, zero value otherwise.
func (*DetailedSegmentEffort) GetAverageCadenceOk ¶
func (o *DetailedSegmentEffort) GetAverageCadenceOk() (*float32, bool)
GetAverageCadenceOk returns a tuple with the AverageCadence field value if set, nil otherwise and a boolean to check if the value has been set.
func (*DetailedSegmentEffort) GetAverageHeartrate ¶
func (o *DetailedSegmentEffort) GetAverageHeartrate() float32
GetAverageHeartrate returns the AverageHeartrate field value if set, zero value otherwise.
func (*DetailedSegmentEffort) GetAverageHeartrateOk ¶
func (o *DetailedSegmentEffort) GetAverageHeartrateOk() (*float32, bool)
GetAverageHeartrateOk returns a tuple with the AverageHeartrate field value if set, nil otherwise and a boolean to check if the value has been set.
func (*DetailedSegmentEffort) GetAverageWatts ¶
func (o *DetailedSegmentEffort) GetAverageWatts() float32
GetAverageWatts returns the AverageWatts field value if set, zero value otherwise.
func (*DetailedSegmentEffort) GetAverageWattsOk ¶
func (o *DetailedSegmentEffort) GetAverageWattsOk() (*float32, bool)
GetAverageWattsOk returns a tuple with the AverageWatts field value if set, nil otherwise and a boolean to check if the value has been set.
func (*DetailedSegmentEffort) GetDeviceWatts ¶
func (o *DetailedSegmentEffort) GetDeviceWatts() bool
GetDeviceWatts returns the DeviceWatts field value if set, zero value otherwise.
func (*DetailedSegmentEffort) GetDeviceWattsOk ¶
func (o *DetailedSegmentEffort) GetDeviceWattsOk() (*bool, bool)
GetDeviceWattsOk returns a tuple with the DeviceWatts field value if set, nil otherwise and a boolean to check if the value has been set.
func (*DetailedSegmentEffort) GetDistance ¶
func (o *DetailedSegmentEffort) GetDistance() float32
GetDistance returns the Distance field value if set, zero value otherwise.
func (*DetailedSegmentEffort) GetDistanceOk ¶
func (o *DetailedSegmentEffort) GetDistanceOk() (*float32, bool)
GetDistanceOk returns a tuple with the Distance field value if set, nil otherwise and a boolean to check if the value has been set.
func (*DetailedSegmentEffort) GetElapsedTime ¶
func (o *DetailedSegmentEffort) GetElapsedTime() int32
GetElapsedTime returns the ElapsedTime field value if set, zero value otherwise.
func (*DetailedSegmentEffort) GetElapsedTimeOk ¶
func (o *DetailedSegmentEffort) GetElapsedTimeOk() (*int32, bool)
GetElapsedTimeOk returns a tuple with the ElapsedTime field value if set, nil otherwise and a boolean to check if the value has been set.
func (*DetailedSegmentEffort) GetEndIndex ¶
func (o *DetailedSegmentEffort) GetEndIndex() int32
GetEndIndex returns the EndIndex field value if set, zero value otherwise.
func (*DetailedSegmentEffort) GetEndIndexOk ¶
func (o *DetailedSegmentEffort) GetEndIndexOk() (*int32, bool)
GetEndIndexOk returns a tuple with the EndIndex field value if set, nil otherwise and a boolean to check if the value has been set.
func (*DetailedSegmentEffort) GetHidden ¶
func (o *DetailedSegmentEffort) GetHidden() bool
GetHidden returns the Hidden field value if set, zero value otherwise.
func (*DetailedSegmentEffort) GetHiddenOk ¶
func (o *DetailedSegmentEffort) GetHiddenOk() (*bool, bool)
GetHiddenOk returns a tuple with the Hidden field value if set, nil otherwise and a boolean to check if the value has been set.
func (*DetailedSegmentEffort) GetId ¶
func (o *DetailedSegmentEffort) GetId() int64
GetId returns the Id field value if set, zero value otherwise.
func (*DetailedSegmentEffort) GetIdOk ¶
func (o *DetailedSegmentEffort) GetIdOk() (*int64, bool)
GetIdOk returns a tuple with the Id field value if set, nil otherwise and a boolean to check if the value has been set.
func (*DetailedSegmentEffort) GetIsKom ¶
func (o *DetailedSegmentEffort) GetIsKom() bool
GetIsKom returns the IsKom field value if set, zero value otherwise.
func (*DetailedSegmentEffort) GetIsKomOk ¶
func (o *DetailedSegmentEffort) GetIsKomOk() (*bool, bool)
GetIsKomOk returns a tuple with the IsKom field value if set, nil otherwise and a boolean to check if the value has been set.
func (*DetailedSegmentEffort) GetKomRank ¶
func (o *DetailedSegmentEffort) GetKomRank() int32
GetKomRank returns the KomRank field value if set, zero value otherwise.
func (*DetailedSegmentEffort) GetKomRankOk ¶
func (o *DetailedSegmentEffort) GetKomRankOk() (*int32, bool)
GetKomRankOk returns a tuple with the KomRank field value if set, nil otherwise and a boolean to check if the value has been set.
func (*DetailedSegmentEffort) GetMaxHeartrate ¶
func (o *DetailedSegmentEffort) GetMaxHeartrate() float32
GetMaxHeartrate returns the MaxHeartrate field value if set, zero value otherwise.
func (*DetailedSegmentEffort) GetMaxHeartrateOk ¶
func (o *DetailedSegmentEffort) GetMaxHeartrateOk() (*float32, bool)
GetMaxHeartrateOk returns a tuple with the MaxHeartrate field value if set, nil otherwise and a boolean to check if the value has been set.
func (*DetailedSegmentEffort) GetMovingTime ¶
func (o *DetailedSegmentEffort) GetMovingTime() int32
GetMovingTime returns the MovingTime field value if set, zero value otherwise.
func (*DetailedSegmentEffort) GetMovingTimeOk ¶
func (o *DetailedSegmentEffort) GetMovingTimeOk() (*int32, bool)
GetMovingTimeOk returns a tuple with the MovingTime field value if set, nil otherwise and a boolean to check if the value has been set.
func (*DetailedSegmentEffort) GetName ¶
func (o *DetailedSegmentEffort) GetName() string
GetName returns the Name field value if set, zero value otherwise.
func (*DetailedSegmentEffort) GetNameOk ¶
func (o *DetailedSegmentEffort) GetNameOk() (*string, bool)
GetNameOk returns a tuple with the Name field value if set, nil otherwise and a boolean to check if the value has been set.
func (*DetailedSegmentEffort) GetPrRank ¶
func (o *DetailedSegmentEffort) GetPrRank() int32
GetPrRank returns the PrRank field value if set, zero value otherwise.
func (*DetailedSegmentEffort) GetPrRankOk ¶
func (o *DetailedSegmentEffort) GetPrRankOk() (*int32, bool)
GetPrRankOk returns a tuple with the PrRank field value if set, nil otherwise and a boolean to check if the value has been set.
func (*DetailedSegmentEffort) GetSegment ¶
func (o *DetailedSegmentEffort) GetSegment() SummarySegment
GetSegment returns the Segment field value if set, zero value otherwise.
func (*DetailedSegmentEffort) GetSegmentOk ¶
func (o *DetailedSegmentEffort) GetSegmentOk() (*SummarySegment, bool)
GetSegmentOk returns a tuple with the Segment field value if set, nil otherwise and a boolean to check if the value has been set.
func (*DetailedSegmentEffort) GetStartDate ¶
func (o *DetailedSegmentEffort) GetStartDate() time.Time
GetStartDate returns the StartDate field value if set, zero value otherwise.
func (*DetailedSegmentEffort) GetStartDateLocal ¶
func (o *DetailedSegmentEffort) GetStartDateLocal() time.Time
GetStartDateLocal returns the StartDateLocal field value if set, zero value otherwise.
func (*DetailedSegmentEffort) GetStartDateLocalOk ¶
func (o *DetailedSegmentEffort) GetStartDateLocalOk() (*time.Time, bool)
GetStartDateLocalOk returns a tuple with the StartDateLocal field value if set, nil otherwise and a boolean to check if the value has been set.
func (*DetailedSegmentEffort) GetStartDateOk ¶
func (o *DetailedSegmentEffort) GetStartDateOk() (*time.Time, bool)
GetStartDateOk returns a tuple with the StartDate field value if set, nil otherwise and a boolean to check if the value has been set.
func (*DetailedSegmentEffort) GetStartIndex ¶
func (o *DetailedSegmentEffort) GetStartIndex() int32
GetStartIndex returns the StartIndex field value if set, zero value otherwise.
func (*DetailedSegmentEffort) GetStartIndexOk ¶
func (o *DetailedSegmentEffort) GetStartIndexOk() (*int32, bool)
GetStartIndexOk returns a tuple with the StartIndex field value if set, nil otherwise and a boolean to check if the value has been set.
func (*DetailedSegmentEffort) HasActivity ¶
func (o *DetailedSegmentEffort) HasActivity() bool
HasActivity returns a boolean if a field has been set.
func (*DetailedSegmentEffort) HasActivityId ¶
func (o *DetailedSegmentEffort) HasActivityId() bool
HasActivityId returns a boolean if a field has been set.
func (*DetailedSegmentEffort) HasAthlete ¶
func (o *DetailedSegmentEffort) HasAthlete() bool
HasAthlete returns a boolean if a field has been set.
func (*DetailedSegmentEffort) HasAverageCadence ¶
func (o *DetailedSegmentEffort) HasAverageCadence() bool
HasAverageCadence returns a boolean if a field has been set.
func (*DetailedSegmentEffort) HasAverageHeartrate ¶
func (o *DetailedSegmentEffort) HasAverageHeartrate() bool
HasAverageHeartrate returns a boolean if a field has been set.
func (*DetailedSegmentEffort) HasAverageWatts ¶
func (o *DetailedSegmentEffort) HasAverageWatts() bool
HasAverageWatts returns a boolean if a field has been set.
func (*DetailedSegmentEffort) HasDeviceWatts ¶
func (o *DetailedSegmentEffort) HasDeviceWatts() bool
HasDeviceWatts returns a boolean if a field has been set.
func (*DetailedSegmentEffort) HasDistance ¶
func (o *DetailedSegmentEffort) HasDistance() bool
HasDistance returns a boolean if a field has been set.
func (*DetailedSegmentEffort) HasElapsedTime ¶
func (o *DetailedSegmentEffort) HasElapsedTime() bool
HasElapsedTime returns a boolean if a field has been set.
func (*DetailedSegmentEffort) HasEndIndex ¶
func (o *DetailedSegmentEffort) HasEndIndex() bool
HasEndIndex returns a boolean if a field has been set.
func (*DetailedSegmentEffort) HasHidden ¶
func (o *DetailedSegmentEffort) HasHidden() bool
HasHidden returns a boolean if a field has been set.
func (*DetailedSegmentEffort) HasId ¶
func (o *DetailedSegmentEffort) HasId() bool
HasId returns a boolean if a field has been set.
func (*DetailedSegmentEffort) HasIsKom ¶
func (o *DetailedSegmentEffort) HasIsKom() bool
HasIsKom returns a boolean if a field has been set.
func (*DetailedSegmentEffort) HasKomRank ¶
func (o *DetailedSegmentEffort) HasKomRank() bool
HasKomRank returns a boolean if a field has been set.
func (*DetailedSegmentEffort) HasMaxHeartrate ¶
func (o *DetailedSegmentEffort) HasMaxHeartrate() bool
HasMaxHeartrate returns a boolean if a field has been set.
func (*DetailedSegmentEffort) HasMovingTime ¶
func (o *DetailedSegmentEffort) HasMovingTime() bool
HasMovingTime returns a boolean if a field has been set.
func (*DetailedSegmentEffort) HasName ¶
func (o *DetailedSegmentEffort) HasName() bool
HasName returns a boolean if a field has been set.
func (*DetailedSegmentEffort) HasPrRank ¶
func (o *DetailedSegmentEffort) HasPrRank() bool
HasPrRank returns a boolean if a field has been set.
func (*DetailedSegmentEffort) HasSegment ¶
func (o *DetailedSegmentEffort) HasSegment() bool
HasSegment returns a boolean if a field has been set.
func (*DetailedSegmentEffort) HasStartDate ¶
func (o *DetailedSegmentEffort) HasStartDate() bool
HasStartDate returns a boolean if a field has been set.
func (*DetailedSegmentEffort) HasStartDateLocal ¶
func (o *DetailedSegmentEffort) HasStartDateLocal() bool
HasStartDateLocal returns a boolean if a field has been set.
func (*DetailedSegmentEffort) HasStartIndex ¶
func (o *DetailedSegmentEffort) HasStartIndex() bool
HasStartIndex returns a boolean if a field has been set.
func (DetailedSegmentEffort) MarshalJSON ¶
func (o DetailedSegmentEffort) MarshalJSON() ([]byte, error)
func (*DetailedSegmentEffort) SetActivity ¶
func (o *DetailedSegmentEffort) SetActivity(v MetaActivity)
SetActivity gets a reference to the given MetaActivity and assigns it to the Activity field.
func (*DetailedSegmentEffort) SetActivityId ¶
func (o *DetailedSegmentEffort) SetActivityId(v int64)
SetActivityId gets a reference to the given int64 and assigns it to the ActivityId field.
func (*DetailedSegmentEffort) SetAthlete ¶
func (o *DetailedSegmentEffort) SetAthlete(v MetaAthlete)
SetAthlete gets a reference to the given MetaAthlete and assigns it to the Athlete field.
func (*DetailedSegmentEffort) SetAverageCadence ¶
func (o *DetailedSegmentEffort) SetAverageCadence(v float32)
SetAverageCadence gets a reference to the given float32 and assigns it to the AverageCadence field.
func (*DetailedSegmentEffort) SetAverageHeartrate ¶
func (o *DetailedSegmentEffort) SetAverageHeartrate(v float32)
SetAverageHeartrate gets a reference to the given float32 and assigns it to the AverageHeartrate field.
func (*DetailedSegmentEffort) SetAverageWatts ¶
func (o *DetailedSegmentEffort) SetAverageWatts(v float32)
SetAverageWatts gets a reference to the given float32 and assigns it to the AverageWatts field.
func (*DetailedSegmentEffort) SetDeviceWatts ¶
func (o *DetailedSegmentEffort) SetDeviceWatts(v bool)
SetDeviceWatts gets a reference to the given bool and assigns it to the DeviceWatts field.
func (*DetailedSegmentEffort) SetDistance ¶
func (o *DetailedSegmentEffort) SetDistance(v float32)
SetDistance gets a reference to the given float32 and assigns it to the Distance field.
func (*DetailedSegmentEffort) SetElapsedTime ¶
func (o *DetailedSegmentEffort) SetElapsedTime(v int32)
SetElapsedTime gets a reference to the given int32 and assigns it to the ElapsedTime field.
func (*DetailedSegmentEffort) SetEndIndex ¶
func (o *DetailedSegmentEffort) SetEndIndex(v int32)
SetEndIndex gets a reference to the given int32 and assigns it to the EndIndex field.
func (*DetailedSegmentEffort) SetHidden ¶
func (o *DetailedSegmentEffort) SetHidden(v bool)
SetHidden gets a reference to the given bool and assigns it to the Hidden field.
func (*DetailedSegmentEffort) SetId ¶
func (o *DetailedSegmentEffort) SetId(v int64)
SetId gets a reference to the given int64 and assigns it to the Id field.
func (*DetailedSegmentEffort) SetIsKom ¶
func (o *DetailedSegmentEffort) SetIsKom(v bool)
SetIsKom gets a reference to the given bool and assigns it to the IsKom field.
func (*DetailedSegmentEffort) SetKomRank ¶
func (o *DetailedSegmentEffort) SetKomRank(v int32)
SetKomRank gets a reference to the given int32 and assigns it to the KomRank field.
func (*DetailedSegmentEffort) SetMaxHeartrate ¶
func (o *DetailedSegmentEffort) SetMaxHeartrate(v float32)
SetMaxHeartrate gets a reference to the given float32 and assigns it to the MaxHeartrate field.
func (*DetailedSegmentEffort) SetMovingTime ¶
func (o *DetailedSegmentEffort) SetMovingTime(v int32)
SetMovingTime gets a reference to the given int32 and assigns it to the MovingTime field.
func (*DetailedSegmentEffort) SetName ¶
func (o *DetailedSegmentEffort) SetName(v string)
SetName gets a reference to the given string and assigns it to the Name field.
func (*DetailedSegmentEffort) SetPrRank ¶
func (o *DetailedSegmentEffort) SetPrRank(v int32)
SetPrRank gets a reference to the given int32 and assigns it to the PrRank field.
func (*DetailedSegmentEffort) SetSegment ¶
func (o *DetailedSegmentEffort) SetSegment(v SummarySegment)
SetSegment gets a reference to the given SummarySegment and assigns it to the Segment field.
func (*DetailedSegmentEffort) SetStartDate ¶
func (o *DetailedSegmentEffort) SetStartDate(v time.Time)
SetStartDate gets a reference to the given time.Time and assigns it to the StartDate field.
func (*DetailedSegmentEffort) SetStartDateLocal ¶
func (o *DetailedSegmentEffort) SetStartDateLocal(v time.Time)
SetStartDateLocal gets a reference to the given time.Time and assigns it to the StartDateLocal field.
func (*DetailedSegmentEffort) SetStartIndex ¶
func (o *DetailedSegmentEffort) SetStartIndex(v int32)
SetStartIndex gets a reference to the given int32 and assigns it to the StartIndex field.
func (DetailedSegmentEffort) ToMap ¶
func (o DetailedSegmentEffort) ToMap() (map[string]interface{}, error)
type DistanceStream ¶
type DistanceStream struct { // The number of data points in this stream OriginalSize *int32 `json:"original_size,omitempty"` // The level of detail (sampling) in which this stream was returned Resolution *string `json:"resolution,omitempty"` // The base series used in the case the stream was downsampled SeriesType *string `json:"series_type,omitempty"` // The sequence of distance values for this stream, in meters Data []float32 `json:"data,omitempty"` }
DistanceStream struct for DistanceStream
func NewDistanceStream ¶
func NewDistanceStream() *DistanceStream
NewDistanceStream instantiates a new DistanceStream object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewDistanceStreamWithDefaults ¶
func NewDistanceStreamWithDefaults() *DistanceStream
NewDistanceStreamWithDefaults instantiates a new DistanceStream object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*DistanceStream) GetData ¶
func (o *DistanceStream) GetData() []float32
GetData returns the Data field value if set, zero value otherwise.
func (*DistanceStream) GetDataOk ¶
func (o *DistanceStream) GetDataOk() ([]float32, bool)
GetDataOk returns a tuple with the Data field value if set, nil otherwise and a boolean to check if the value has been set.
func (*DistanceStream) GetOriginalSize ¶
func (o *DistanceStream) GetOriginalSize() int32
GetOriginalSize returns the OriginalSize field value if set, zero value otherwise.
func (*DistanceStream) GetOriginalSizeOk ¶
func (o *DistanceStream) GetOriginalSizeOk() (*int32, bool)
GetOriginalSizeOk returns a tuple with the OriginalSize field value if set, nil otherwise and a boolean to check if the value has been set.
func (*DistanceStream) GetResolution ¶
func (o *DistanceStream) GetResolution() string
GetResolution returns the Resolution field value if set, zero value otherwise.
func (*DistanceStream) GetResolutionOk ¶
func (o *DistanceStream) GetResolutionOk() (*string, bool)
GetResolutionOk returns a tuple with the Resolution field value if set, nil otherwise and a boolean to check if the value has been set.
func (*DistanceStream) GetSeriesType ¶
func (o *DistanceStream) GetSeriesType() string
GetSeriesType returns the SeriesType field value if set, zero value otherwise.
func (*DistanceStream) GetSeriesTypeOk ¶
func (o *DistanceStream) GetSeriesTypeOk() (*string, bool)
GetSeriesTypeOk returns a tuple with the SeriesType field value if set, nil otherwise and a boolean to check if the value has been set.
func (*DistanceStream) HasData ¶
func (o *DistanceStream) HasData() bool
HasData returns a boolean if a field has been set.
func (*DistanceStream) HasOriginalSize ¶
func (o *DistanceStream) HasOriginalSize() bool
HasOriginalSize returns a boolean if a field has been set.
func (*DistanceStream) HasResolution ¶
func (o *DistanceStream) HasResolution() bool
HasResolution returns a boolean if a field has been set.
func (*DistanceStream) HasSeriesType ¶
func (o *DistanceStream) HasSeriesType() bool
HasSeriesType returns a boolean if a field has been set.
func (DistanceStream) MarshalJSON ¶
func (o DistanceStream) MarshalJSON() ([]byte, error)
func (*DistanceStream) SetData ¶
func (o *DistanceStream) SetData(v []float32)
SetData gets a reference to the given []float32 and assigns it to the Data field.
func (*DistanceStream) SetOriginalSize ¶
func (o *DistanceStream) SetOriginalSize(v int32)
SetOriginalSize gets a reference to the given int32 and assigns it to the OriginalSize field.
func (*DistanceStream) SetResolution ¶
func (o *DistanceStream) SetResolution(v string)
SetResolution gets a reference to the given string and assigns it to the Resolution field.
func (*DistanceStream) SetSeriesType ¶
func (o *DistanceStream) SetSeriesType(v string)
SetSeriesType gets a reference to the given string and assigns it to the SeriesType field.
func (DistanceStream) ToMap ¶
func (o DistanceStream) ToMap() (map[string]interface{}, error)
type Error ¶
type Error struct { // The code associated with this error. Code *string `json:"code,omitempty"` // The specific field or aspect of the resource associated with this error. Field *string `json:"field,omitempty"` // The type of resource associated with this error. Resource *string `json:"resource,omitempty"` }
Error struct for Error
func NewError ¶
func NewError() *Error
NewError instantiates a new Error object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewErrorWithDefaults ¶
func NewErrorWithDefaults() *Error
NewErrorWithDefaults instantiates a new Error object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*Error) GetCodeOk ¶
GetCodeOk returns a tuple with the Code field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Error) GetFieldOk ¶
GetFieldOk returns a tuple with the Field field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Error) GetResource ¶
GetResource returns the Resource field value if set, zero value otherwise.
func (*Error) GetResourceOk ¶
GetResourceOk returns a tuple with the Resource field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Error) HasResource ¶
HasResource returns a boolean if a field has been set.
func (Error) MarshalJSON ¶
func (*Error) SetCode ¶
SetCode gets a reference to the given string and assigns it to the Code field.
func (*Error) SetField ¶
SetField gets a reference to the given string and assigns it to the Field field.
func (*Error) SetResource ¶
SetResource gets a reference to the given string and assigns it to the Resource field.
type ExplorerResponse ¶
type ExplorerResponse struct { // The set of segments matching an explorer request Segments []ExplorerSegment `json:"segments,omitempty"` }
ExplorerResponse struct for ExplorerResponse
func NewExplorerResponse ¶
func NewExplorerResponse() *ExplorerResponse
NewExplorerResponse instantiates a new ExplorerResponse object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewExplorerResponseWithDefaults ¶
func NewExplorerResponseWithDefaults() *ExplorerResponse
NewExplorerResponseWithDefaults instantiates a new ExplorerResponse object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*ExplorerResponse) GetSegments ¶
func (o *ExplorerResponse) GetSegments() []ExplorerSegment
GetSegments returns the Segments field value if set, zero value otherwise.
func (*ExplorerResponse) GetSegmentsOk ¶
func (o *ExplorerResponse) GetSegmentsOk() ([]ExplorerSegment, bool)
GetSegmentsOk returns a tuple with the Segments field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ExplorerResponse) HasSegments ¶
func (o *ExplorerResponse) HasSegments() bool
HasSegments returns a boolean if a field has been set.
func (ExplorerResponse) MarshalJSON ¶
func (o ExplorerResponse) MarshalJSON() ([]byte, error)
func (*ExplorerResponse) SetSegments ¶
func (o *ExplorerResponse) SetSegments(v []ExplorerSegment)
SetSegments gets a reference to the given []ExplorerSegment and assigns it to the Segments field.
func (ExplorerResponse) ToMap ¶
func (o ExplorerResponse) ToMap() (map[string]interface{}, error)
type ExplorerSegment ¶
type ExplorerSegment struct { // The unique identifier of this segment Id *int64 `json:"id,omitempty"` // The name of this segment Name *string `json:"name,omitempty"` // The category of the climb [0, 5]. Higher is harder ie. 5 is Hors catégorie, 0 is uncategorized in climb_category. If climb_category = 5, climb_category_desc = HC. If climb_category = 2, climb_category_desc = 3. ClimbCategory *int32 `json:"climb_category,omitempty"` // The description for the category of the climb ClimbCategoryDesc *string `json:"climb_category_desc,omitempty"` // The segment's average grade, in percents AvgGrade *float32 `json:"avg_grade,omitempty"` // A pair of latitude/longitude coordinates, represented as an array of 2 floating point numbers. StartLatlng []float32 `json:"start_latlng,omitempty"` // A pair of latitude/longitude coordinates, represented as an array of 2 floating point numbers. EndLatlng []float32 `json:"end_latlng,omitempty"` // The segments's evelation difference, in meters ElevDifference *float32 `json:"elev_difference,omitempty"` // The segment's distance, in meters Distance *float32 `json:"distance,omitempty"` // The polyline of the segment Points *string `json:"points,omitempty"` }
ExplorerSegment struct for ExplorerSegment
func NewExplorerSegment ¶
func NewExplorerSegment() *ExplorerSegment
NewExplorerSegment instantiates a new ExplorerSegment object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewExplorerSegmentWithDefaults ¶
func NewExplorerSegmentWithDefaults() *ExplorerSegment
NewExplorerSegmentWithDefaults instantiates a new ExplorerSegment object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*ExplorerSegment) GetAvgGrade ¶
func (o *ExplorerSegment) GetAvgGrade() float32
GetAvgGrade returns the AvgGrade field value if set, zero value otherwise.
func (*ExplorerSegment) GetAvgGradeOk ¶
func (o *ExplorerSegment) GetAvgGradeOk() (*float32, bool)
GetAvgGradeOk returns a tuple with the AvgGrade field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ExplorerSegment) GetClimbCategory ¶
func (o *ExplorerSegment) GetClimbCategory() int32
GetClimbCategory returns the ClimbCategory field value if set, zero value otherwise.
func (*ExplorerSegment) GetClimbCategoryDesc ¶
func (o *ExplorerSegment) GetClimbCategoryDesc() string
GetClimbCategoryDesc returns the ClimbCategoryDesc field value if set, zero value otherwise.
func (*ExplorerSegment) GetClimbCategoryDescOk ¶
func (o *ExplorerSegment) GetClimbCategoryDescOk() (*string, bool)
GetClimbCategoryDescOk returns a tuple with the ClimbCategoryDesc field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ExplorerSegment) GetClimbCategoryOk ¶
func (o *ExplorerSegment) GetClimbCategoryOk() (*int32, bool)
GetClimbCategoryOk returns a tuple with the ClimbCategory field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ExplorerSegment) GetDistance ¶
func (o *ExplorerSegment) GetDistance() float32
GetDistance returns the Distance field value if set, zero value otherwise.
func (*ExplorerSegment) GetDistanceOk ¶
func (o *ExplorerSegment) GetDistanceOk() (*float32, bool)
GetDistanceOk returns a tuple with the Distance field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ExplorerSegment) GetElevDifference ¶
func (o *ExplorerSegment) GetElevDifference() float32
GetElevDifference returns the ElevDifference field value if set, zero value otherwise.
func (*ExplorerSegment) GetElevDifferenceOk ¶
func (o *ExplorerSegment) GetElevDifferenceOk() (*float32, bool)
GetElevDifferenceOk returns a tuple with the ElevDifference field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ExplorerSegment) GetEndLatlng ¶
func (o *ExplorerSegment) GetEndLatlng() []float32
GetEndLatlng returns the EndLatlng field value if set, zero value otherwise.
func (*ExplorerSegment) GetEndLatlngOk ¶
func (o *ExplorerSegment) GetEndLatlngOk() ([]float32, bool)
GetEndLatlngOk returns a tuple with the EndLatlng field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ExplorerSegment) GetId ¶
func (o *ExplorerSegment) GetId() int64
GetId returns the Id field value if set, zero value otherwise.
func (*ExplorerSegment) GetIdOk ¶
func (o *ExplorerSegment) GetIdOk() (*int64, bool)
GetIdOk returns a tuple with the Id field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ExplorerSegment) GetName ¶
func (o *ExplorerSegment) GetName() string
GetName returns the Name field value if set, zero value otherwise.
func (*ExplorerSegment) GetNameOk ¶
func (o *ExplorerSegment) GetNameOk() (*string, bool)
GetNameOk returns a tuple with the Name field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ExplorerSegment) GetPoints ¶
func (o *ExplorerSegment) GetPoints() string
GetPoints returns the Points field value if set, zero value otherwise.
func (*ExplorerSegment) GetPointsOk ¶
func (o *ExplorerSegment) GetPointsOk() (*string, bool)
GetPointsOk returns a tuple with the Points field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ExplorerSegment) GetStartLatlng ¶
func (o *ExplorerSegment) GetStartLatlng() []float32
GetStartLatlng returns the StartLatlng field value if set, zero value otherwise.
func (*ExplorerSegment) GetStartLatlngOk ¶
func (o *ExplorerSegment) GetStartLatlngOk() ([]float32, bool)
GetStartLatlngOk returns a tuple with the StartLatlng field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ExplorerSegment) HasAvgGrade ¶
func (o *ExplorerSegment) HasAvgGrade() bool
HasAvgGrade returns a boolean if a field has been set.
func (*ExplorerSegment) HasClimbCategory ¶
func (o *ExplorerSegment) HasClimbCategory() bool
HasClimbCategory returns a boolean if a field has been set.
func (*ExplorerSegment) HasClimbCategoryDesc ¶
func (o *ExplorerSegment) HasClimbCategoryDesc() bool
HasClimbCategoryDesc returns a boolean if a field has been set.
func (*ExplorerSegment) HasDistance ¶
func (o *ExplorerSegment) HasDistance() bool
HasDistance returns a boolean if a field has been set.
func (*ExplorerSegment) HasElevDifference ¶
func (o *ExplorerSegment) HasElevDifference() bool
HasElevDifference returns a boolean if a field has been set.
func (*ExplorerSegment) HasEndLatlng ¶
func (o *ExplorerSegment) HasEndLatlng() bool
HasEndLatlng returns a boolean if a field has been set.
func (*ExplorerSegment) HasId ¶
func (o *ExplorerSegment) HasId() bool
HasId returns a boolean if a field has been set.
func (*ExplorerSegment) HasName ¶
func (o *ExplorerSegment) HasName() bool
HasName returns a boolean if a field has been set.
func (*ExplorerSegment) HasPoints ¶
func (o *ExplorerSegment) HasPoints() bool
HasPoints returns a boolean if a field has been set.
func (*ExplorerSegment) HasStartLatlng ¶
func (o *ExplorerSegment) HasStartLatlng() bool
HasStartLatlng returns a boolean if a field has been set.
func (ExplorerSegment) MarshalJSON ¶
func (o ExplorerSegment) MarshalJSON() ([]byte, error)
func (*ExplorerSegment) SetAvgGrade ¶
func (o *ExplorerSegment) SetAvgGrade(v float32)
SetAvgGrade gets a reference to the given float32 and assigns it to the AvgGrade field.
func (*ExplorerSegment) SetClimbCategory ¶
func (o *ExplorerSegment) SetClimbCategory(v int32)
SetClimbCategory gets a reference to the given int32 and assigns it to the ClimbCategory field.
func (*ExplorerSegment) SetClimbCategoryDesc ¶
func (o *ExplorerSegment) SetClimbCategoryDesc(v string)
SetClimbCategoryDesc gets a reference to the given string and assigns it to the ClimbCategoryDesc field.
func (*ExplorerSegment) SetDistance ¶
func (o *ExplorerSegment) SetDistance(v float32)
SetDistance gets a reference to the given float32 and assigns it to the Distance field.
func (*ExplorerSegment) SetElevDifference ¶
func (o *ExplorerSegment) SetElevDifference(v float32)
SetElevDifference gets a reference to the given float32 and assigns it to the ElevDifference field.
func (*ExplorerSegment) SetEndLatlng ¶
func (o *ExplorerSegment) SetEndLatlng(v []float32)
SetEndLatlng gets a reference to the given []float32 and assigns it to the EndLatlng field.
func (*ExplorerSegment) SetId ¶
func (o *ExplorerSegment) SetId(v int64)
SetId gets a reference to the given int64 and assigns it to the Id field.
func (*ExplorerSegment) SetName ¶
func (o *ExplorerSegment) SetName(v string)
SetName gets a reference to the given string and assigns it to the Name field.
func (*ExplorerSegment) SetPoints ¶
func (o *ExplorerSegment) SetPoints(v string)
SetPoints gets a reference to the given string and assigns it to the Points field.
func (*ExplorerSegment) SetStartLatlng ¶
func (o *ExplorerSegment) SetStartLatlng(v []float32)
SetStartLatlng gets a reference to the given []float32 and assigns it to the StartLatlng field.
func (ExplorerSegment) ToMap ¶
func (o ExplorerSegment) ToMap() (map[string]interface{}, error)
type Fault ¶
type Fault struct { // The set of specific errors associated with this fault, if any. Errors []Error `json:"errors,omitempty"` // The message of the fault. Message *string `json:"message,omitempty"` }
Fault Encapsulates the errors that may be returned from the API.
func NewFault ¶
func NewFault() *Fault
NewFault instantiates a new Fault object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewFaultWithDefaults ¶
func NewFaultWithDefaults() *Fault
NewFaultWithDefaults instantiates a new Fault object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*Fault) GetErrorsOk ¶
GetErrorsOk returns a tuple with the Errors field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Fault) GetMessage ¶
GetMessage returns the Message field value if set, zero value otherwise.
func (*Fault) GetMessageOk ¶
GetMessageOk returns a tuple with the Message field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Fault) HasMessage ¶
HasMessage returns a boolean if a field has been set.
func (Fault) MarshalJSON ¶
func (*Fault) SetErrors ¶
SetErrors gets a reference to the given []Error and assigns it to the Errors field.
func (*Fault) SetMessage ¶
SetMessage gets a reference to the given string and assigns it to the Message field.
type GearsAPIService ¶
type GearsAPIService service
GearsAPIService GearsAPI service
func (*GearsAPIService) GetGearById ¶
func (a *GearsAPIService) GetGearById(ctx context.Context, id string) ApiGetGearByIdRequest
GetGearById Get Equipment
Returns an equipment using its identifier.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param id The identifier of the gear. @return ApiGetGearByIdRequest
func (*GearsAPIService) GetGearByIdExecute ¶
func (a *GearsAPIService) GetGearByIdExecute(r ApiGetGearByIdRequest) (*DetailedGear, *http.Response, error)
Execute executes the request
@return DetailedGear
type GenericOpenAPIError ¶
type GenericOpenAPIError struct {
// contains filtered or unexported fields
}
GenericOpenAPIError Provides access to the body, error and model on returned errors.
func (GenericOpenAPIError) Body ¶
func (e GenericOpenAPIError) Body() []byte
Body returns the raw bytes of the response
func (GenericOpenAPIError) Error ¶
func (e GenericOpenAPIError) Error() string
Error returns non-empty string if there was an error.
func (GenericOpenAPIError) Model ¶
func (e GenericOpenAPIError) Model() interface{}
Model returns the unpacked model of the error
type HeartRateZoneRanges ¶
type HeartRateZoneRanges struct { // Whether the athlete has set their own custom heart rate zones CustomZones *bool `json:"custom_zones,omitempty"` Zones []ZoneRange `json:"zones,omitempty"` }
HeartRateZoneRanges struct for HeartRateZoneRanges
func NewHeartRateZoneRanges ¶
func NewHeartRateZoneRanges() *HeartRateZoneRanges
NewHeartRateZoneRanges instantiates a new HeartRateZoneRanges object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewHeartRateZoneRangesWithDefaults ¶
func NewHeartRateZoneRangesWithDefaults() *HeartRateZoneRanges
NewHeartRateZoneRangesWithDefaults instantiates a new HeartRateZoneRanges object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*HeartRateZoneRanges) GetCustomZones ¶
func (o *HeartRateZoneRanges) GetCustomZones() bool
GetCustomZones returns the CustomZones field value if set, zero value otherwise.
func (*HeartRateZoneRanges) GetCustomZonesOk ¶
func (o *HeartRateZoneRanges) GetCustomZonesOk() (*bool, bool)
GetCustomZonesOk returns a tuple with the CustomZones field value if set, nil otherwise and a boolean to check if the value has been set.
func (*HeartRateZoneRanges) GetZones ¶
func (o *HeartRateZoneRanges) GetZones() []ZoneRange
GetZones returns the Zones field value if set, zero value otherwise.
func (*HeartRateZoneRanges) GetZonesOk ¶
func (o *HeartRateZoneRanges) GetZonesOk() ([]ZoneRange, bool)
GetZonesOk returns a tuple with the Zones field value if set, nil otherwise and a boolean to check if the value has been set.
func (*HeartRateZoneRanges) HasCustomZones ¶
func (o *HeartRateZoneRanges) HasCustomZones() bool
HasCustomZones returns a boolean if a field has been set.
func (*HeartRateZoneRanges) HasZones ¶
func (o *HeartRateZoneRanges) HasZones() bool
HasZones returns a boolean if a field has been set.
func (HeartRateZoneRanges) MarshalJSON ¶
func (o HeartRateZoneRanges) MarshalJSON() ([]byte, error)
func (*HeartRateZoneRanges) SetCustomZones ¶
func (o *HeartRateZoneRanges) SetCustomZones(v bool)
SetCustomZones gets a reference to the given bool and assigns it to the CustomZones field.
func (*HeartRateZoneRanges) SetZones ¶
func (o *HeartRateZoneRanges) SetZones(v []ZoneRange)
SetZones gets a reference to the given []ZoneRange and assigns it to the Zones field.
func (HeartRateZoneRanges) ToMap ¶
func (o HeartRateZoneRanges) ToMap() (map[string]interface{}, error)
type HeartrateStream ¶
type HeartrateStream struct { // The number of data points in this stream OriginalSize *int32 `json:"original_size,omitempty"` // The level of detail (sampling) in which this stream was returned Resolution *string `json:"resolution,omitempty"` // The base series used in the case the stream was downsampled SeriesType *string `json:"series_type,omitempty"` // The sequence of heart rate values for this stream, in beats per minute Data []int32 `json:"data,omitempty"` }
HeartrateStream struct for HeartrateStream
func NewHeartrateStream ¶
func NewHeartrateStream() *HeartrateStream
NewHeartrateStream instantiates a new HeartrateStream object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewHeartrateStreamWithDefaults ¶
func NewHeartrateStreamWithDefaults() *HeartrateStream
NewHeartrateStreamWithDefaults instantiates a new HeartrateStream object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*HeartrateStream) GetData ¶
func (o *HeartrateStream) GetData() []int32
GetData returns the Data field value if set, zero value otherwise.
func (*HeartrateStream) GetDataOk ¶
func (o *HeartrateStream) GetDataOk() ([]int32, bool)
GetDataOk returns a tuple with the Data field value if set, nil otherwise and a boolean to check if the value has been set.
func (*HeartrateStream) GetOriginalSize ¶
func (o *HeartrateStream) GetOriginalSize() int32
GetOriginalSize returns the OriginalSize field value if set, zero value otherwise.
func (*HeartrateStream) GetOriginalSizeOk ¶
func (o *HeartrateStream) GetOriginalSizeOk() (*int32, bool)
GetOriginalSizeOk returns a tuple with the OriginalSize field value if set, nil otherwise and a boolean to check if the value has been set.
func (*HeartrateStream) GetResolution ¶
func (o *HeartrateStream) GetResolution() string
GetResolution returns the Resolution field value if set, zero value otherwise.
func (*HeartrateStream) GetResolutionOk ¶
func (o *HeartrateStream) GetResolutionOk() (*string, bool)
GetResolutionOk returns a tuple with the Resolution field value if set, nil otherwise and a boolean to check if the value has been set.
func (*HeartrateStream) GetSeriesType ¶
func (o *HeartrateStream) GetSeriesType() string
GetSeriesType returns the SeriesType field value if set, zero value otherwise.
func (*HeartrateStream) GetSeriesTypeOk ¶
func (o *HeartrateStream) GetSeriesTypeOk() (*string, bool)
GetSeriesTypeOk returns a tuple with the SeriesType field value if set, nil otherwise and a boolean to check if the value has been set.
func (*HeartrateStream) HasData ¶
func (o *HeartrateStream) HasData() bool
HasData returns a boolean if a field has been set.
func (*HeartrateStream) HasOriginalSize ¶
func (o *HeartrateStream) HasOriginalSize() bool
HasOriginalSize returns a boolean if a field has been set.
func (*HeartrateStream) HasResolution ¶
func (o *HeartrateStream) HasResolution() bool
HasResolution returns a boolean if a field has been set.
func (*HeartrateStream) HasSeriesType ¶
func (o *HeartrateStream) HasSeriesType() bool
HasSeriesType returns a boolean if a field has been set.
func (HeartrateStream) MarshalJSON ¶
func (o HeartrateStream) MarshalJSON() ([]byte, error)
func (*HeartrateStream) SetData ¶
func (o *HeartrateStream) SetData(v []int32)
SetData gets a reference to the given []int32 and assigns it to the Data field.
func (*HeartrateStream) SetOriginalSize ¶
func (o *HeartrateStream) SetOriginalSize(v int32)
SetOriginalSize gets a reference to the given int32 and assigns it to the OriginalSize field.
func (*HeartrateStream) SetResolution ¶
func (o *HeartrateStream) SetResolution(v string)
SetResolution gets a reference to the given string and assigns it to the Resolution field.
func (*HeartrateStream) SetSeriesType ¶
func (o *HeartrateStream) SetSeriesType(v string)
SetSeriesType gets a reference to the given string and assigns it to the SeriesType field.
func (HeartrateStream) ToMap ¶
func (o HeartrateStream) ToMap() (map[string]interface{}, error)
type Lap ¶
type Lap struct { // The unique identifier of this lap Id *int64 `json:"id,omitempty"` Activity *MetaActivity `json:"activity,omitempty"` Athlete *MetaAthlete `json:"athlete,omitempty"` // The lap's average cadence AverageCadence *float32 `json:"average_cadence,omitempty"` // The lap's average speed AverageSpeed *float32 `json:"average_speed,omitempty"` // The lap's distance, in meters Distance *float32 `json:"distance,omitempty"` // The lap's elapsed time, in seconds ElapsedTime *int32 `json:"elapsed_time,omitempty"` // The start index of this effort in its activity's stream StartIndex *int32 `json:"start_index,omitempty"` // The end index of this effort in its activity's stream EndIndex *int32 `json:"end_index,omitempty"` // The index of this lap in the activity it belongs to LapIndex *int32 `json:"lap_index,omitempty"` // The maximum speed of this lat, in meters per second MaxSpeed *float32 `json:"max_speed,omitempty"` // The lap's moving time, in seconds MovingTime *int32 `json:"moving_time,omitempty"` // The name of the lap Name *string `json:"name,omitempty"` // The athlete's pace zone during this lap PaceZone *int32 `json:"pace_zone,omitempty"` Split *int32 `json:"split,omitempty"` // The time at which the lap was started. StartDate *time.Time `json:"start_date,omitempty"` // The time at which the lap was started in the local timezone. StartDateLocal *time.Time `json:"start_date_local,omitempty"` // The elevation gain of this lap, in meters TotalElevationGain *float32 `json:"total_elevation_gain,omitempty"` }
Lap struct for Lap
func NewLap ¶
func NewLap() *Lap
NewLap instantiates a new Lap object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewLapWithDefaults ¶
func NewLapWithDefaults() *Lap
NewLapWithDefaults instantiates a new Lap object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*Lap) GetActivity ¶
func (o *Lap) GetActivity() MetaActivity
GetActivity returns the Activity field value if set, zero value otherwise.
func (*Lap) GetActivityOk ¶
func (o *Lap) GetActivityOk() (*MetaActivity, bool)
GetActivityOk returns a tuple with the Activity field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Lap) GetAthlete ¶
func (o *Lap) GetAthlete() MetaAthlete
GetAthlete returns the Athlete field value if set, zero value otherwise.
func (*Lap) GetAthleteOk ¶
func (o *Lap) GetAthleteOk() (*MetaAthlete, bool)
GetAthleteOk returns a tuple with the Athlete field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Lap) GetAverageCadence ¶
GetAverageCadence returns the AverageCadence field value if set, zero value otherwise.
func (*Lap) GetAverageCadenceOk ¶
GetAverageCadenceOk returns a tuple with the AverageCadence field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Lap) GetAverageSpeed ¶
GetAverageSpeed returns the AverageSpeed field value if set, zero value otherwise.
func (*Lap) GetAverageSpeedOk ¶
GetAverageSpeedOk returns a tuple with the AverageSpeed field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Lap) GetDistance ¶
GetDistance returns the Distance field value if set, zero value otherwise.
func (*Lap) GetDistanceOk ¶
GetDistanceOk returns a tuple with the Distance field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Lap) GetElapsedTime ¶
GetElapsedTime returns the ElapsedTime field value if set, zero value otherwise.
func (*Lap) GetElapsedTimeOk ¶
GetElapsedTimeOk returns a tuple with the ElapsedTime field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Lap) GetEndIndex ¶
GetEndIndex returns the EndIndex field value if set, zero value otherwise.
func (*Lap) GetEndIndexOk ¶
GetEndIndexOk returns a tuple with the EndIndex field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Lap) GetIdOk ¶
GetIdOk returns a tuple with the Id field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Lap) GetLapIndex ¶
GetLapIndex returns the LapIndex field value if set, zero value otherwise.
func (*Lap) GetLapIndexOk ¶
GetLapIndexOk returns a tuple with the LapIndex field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Lap) GetMaxSpeed ¶
GetMaxSpeed returns the MaxSpeed field value if set, zero value otherwise.
func (*Lap) GetMaxSpeedOk ¶
GetMaxSpeedOk returns a tuple with the MaxSpeed field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Lap) GetMovingTime ¶
GetMovingTime returns the MovingTime field value if set, zero value otherwise.
func (*Lap) GetMovingTimeOk ¶
GetMovingTimeOk returns a tuple with the MovingTime field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Lap) GetNameOk ¶
GetNameOk returns a tuple with the Name field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Lap) GetPaceZone ¶
GetPaceZone returns the PaceZone field value if set, zero value otherwise.
func (*Lap) GetPaceZoneOk ¶
GetPaceZoneOk returns a tuple with the PaceZone field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Lap) GetSplitOk ¶
GetSplitOk returns a tuple with the Split field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Lap) GetStartDate ¶
GetStartDate returns the StartDate field value if set, zero value otherwise.
func (*Lap) GetStartDateLocal ¶
GetStartDateLocal returns the StartDateLocal field value if set, zero value otherwise.
func (*Lap) GetStartDateLocalOk ¶
GetStartDateLocalOk returns a tuple with the StartDateLocal field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Lap) GetStartDateOk ¶
GetStartDateOk returns a tuple with the StartDate field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Lap) GetStartIndex ¶
GetStartIndex returns the StartIndex field value if set, zero value otherwise.
func (*Lap) GetStartIndexOk ¶
GetStartIndexOk returns a tuple with the StartIndex field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Lap) GetTotalElevationGain ¶
GetTotalElevationGain returns the TotalElevationGain field value if set, zero value otherwise.
func (*Lap) GetTotalElevationGainOk ¶
GetTotalElevationGainOk returns a tuple with the TotalElevationGain field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Lap) HasActivity ¶
HasActivity returns a boolean if a field has been set.
func (*Lap) HasAthlete ¶
HasAthlete returns a boolean if a field has been set.
func (*Lap) HasAverageCadence ¶
HasAverageCadence returns a boolean if a field has been set.
func (*Lap) HasAverageSpeed ¶
HasAverageSpeed returns a boolean if a field has been set.
func (*Lap) HasDistance ¶
HasDistance returns a boolean if a field has been set.
func (*Lap) HasElapsedTime ¶
HasElapsedTime returns a boolean if a field has been set.
func (*Lap) HasEndIndex ¶
HasEndIndex returns a boolean if a field has been set.
func (*Lap) HasLapIndex ¶
HasLapIndex returns a boolean if a field has been set.
func (*Lap) HasMaxSpeed ¶
HasMaxSpeed returns a boolean if a field has been set.
func (*Lap) HasMovingTime ¶
HasMovingTime returns a boolean if a field has been set.
func (*Lap) HasPaceZone ¶
HasPaceZone returns a boolean if a field has been set.
func (*Lap) HasStartDate ¶
HasStartDate returns a boolean if a field has been set.
func (*Lap) HasStartDateLocal ¶
HasStartDateLocal returns a boolean if a field has been set.
func (*Lap) HasStartIndex ¶
HasStartIndex returns a boolean if a field has been set.
func (*Lap) HasTotalElevationGain ¶
HasTotalElevationGain returns a boolean if a field has been set.
func (Lap) MarshalJSON ¶
func (*Lap) SetActivity ¶
func (o *Lap) SetActivity(v MetaActivity)
SetActivity gets a reference to the given MetaActivity and assigns it to the Activity field.
func (*Lap) SetAthlete ¶
func (o *Lap) SetAthlete(v MetaAthlete)
SetAthlete gets a reference to the given MetaAthlete and assigns it to the Athlete field.
func (*Lap) SetAverageCadence ¶
SetAverageCadence gets a reference to the given float32 and assigns it to the AverageCadence field.
func (*Lap) SetAverageSpeed ¶
SetAverageSpeed gets a reference to the given float32 and assigns it to the AverageSpeed field.
func (*Lap) SetDistance ¶
SetDistance gets a reference to the given float32 and assigns it to the Distance field.
func (*Lap) SetElapsedTime ¶
SetElapsedTime gets a reference to the given int32 and assigns it to the ElapsedTime field.
func (*Lap) SetEndIndex ¶
SetEndIndex gets a reference to the given int32 and assigns it to the EndIndex field.
func (*Lap) SetLapIndex ¶
SetLapIndex gets a reference to the given int32 and assigns it to the LapIndex field.
func (*Lap) SetMaxSpeed ¶
SetMaxSpeed gets a reference to the given float32 and assigns it to the MaxSpeed field.
func (*Lap) SetMovingTime ¶
SetMovingTime gets a reference to the given int32 and assigns it to the MovingTime field.
func (*Lap) SetName ¶
SetName gets a reference to the given string and assigns it to the Name field.
func (*Lap) SetPaceZone ¶
SetPaceZone gets a reference to the given int32 and assigns it to the PaceZone field.
func (*Lap) SetSplit ¶
SetSplit gets a reference to the given int32 and assigns it to the Split field.
func (*Lap) SetStartDate ¶
SetStartDate gets a reference to the given time.Time and assigns it to the StartDate field.
func (*Lap) SetStartDateLocal ¶
SetStartDateLocal gets a reference to the given time.Time and assigns it to the StartDateLocal field.
func (*Lap) SetStartIndex ¶
SetStartIndex gets a reference to the given int32 and assigns it to the StartIndex field.
func (*Lap) SetTotalElevationGain ¶
SetTotalElevationGain gets a reference to the given float32 and assigns it to the TotalElevationGain field.
type LatLngStream ¶
type LatLngStream struct { // The number of data points in this stream OriginalSize *int32 `json:"original_size,omitempty"` // The level of detail (sampling) in which this stream was returned Resolution *string `json:"resolution,omitempty"` // The base series used in the case the stream was downsampled SeriesType *string `json:"series_type,omitempty"` // The sequence of lat/long values for this stream Data [][]float32 `json:"data,omitempty"` }
LatLngStream struct for LatLngStream
func NewLatLngStream ¶
func NewLatLngStream() *LatLngStream
NewLatLngStream instantiates a new LatLngStream object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewLatLngStreamWithDefaults ¶
func NewLatLngStreamWithDefaults() *LatLngStream
NewLatLngStreamWithDefaults instantiates a new LatLngStream object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*LatLngStream) GetData ¶
func (o *LatLngStream) GetData() [][]float32
GetData returns the Data field value if set, zero value otherwise.
func (*LatLngStream) GetDataOk ¶
func (o *LatLngStream) GetDataOk() ([][]float32, bool)
GetDataOk returns a tuple with the Data field value if set, nil otherwise and a boolean to check if the value has been set.
func (*LatLngStream) GetOriginalSize ¶
func (o *LatLngStream) GetOriginalSize() int32
GetOriginalSize returns the OriginalSize field value if set, zero value otherwise.
func (*LatLngStream) GetOriginalSizeOk ¶
func (o *LatLngStream) GetOriginalSizeOk() (*int32, bool)
GetOriginalSizeOk returns a tuple with the OriginalSize field value if set, nil otherwise and a boolean to check if the value has been set.
func (*LatLngStream) GetResolution ¶
func (o *LatLngStream) GetResolution() string
GetResolution returns the Resolution field value if set, zero value otherwise.
func (*LatLngStream) GetResolutionOk ¶
func (o *LatLngStream) GetResolutionOk() (*string, bool)
GetResolutionOk returns a tuple with the Resolution field value if set, nil otherwise and a boolean to check if the value has been set.
func (*LatLngStream) GetSeriesType ¶
func (o *LatLngStream) GetSeriesType() string
GetSeriesType returns the SeriesType field value if set, zero value otherwise.
func (*LatLngStream) GetSeriesTypeOk ¶
func (o *LatLngStream) GetSeriesTypeOk() (*string, bool)
GetSeriesTypeOk returns a tuple with the SeriesType field value if set, nil otherwise and a boolean to check if the value has been set.
func (*LatLngStream) HasData ¶
func (o *LatLngStream) HasData() bool
HasData returns a boolean if a field has been set.
func (*LatLngStream) HasOriginalSize ¶
func (o *LatLngStream) HasOriginalSize() bool
HasOriginalSize returns a boolean if a field has been set.
func (*LatLngStream) HasResolution ¶
func (o *LatLngStream) HasResolution() bool
HasResolution returns a boolean if a field has been set.
func (*LatLngStream) HasSeriesType ¶
func (o *LatLngStream) HasSeriesType() bool
HasSeriesType returns a boolean if a field has been set.
func (LatLngStream) MarshalJSON ¶
func (o LatLngStream) MarshalJSON() ([]byte, error)
func (*LatLngStream) SetData ¶
func (o *LatLngStream) SetData(v [][]float32)
SetData gets a reference to the given [][]float32 and assigns it to the Data field.
func (*LatLngStream) SetOriginalSize ¶
func (o *LatLngStream) SetOriginalSize(v int32)
SetOriginalSize gets a reference to the given int32 and assigns it to the OriginalSize field.
func (*LatLngStream) SetResolution ¶
func (o *LatLngStream) SetResolution(v string)
SetResolution gets a reference to the given string and assigns it to the Resolution field.
func (*LatLngStream) SetSeriesType ¶
func (o *LatLngStream) SetSeriesType(v string)
SetSeriesType gets a reference to the given string and assigns it to the SeriesType field.
func (LatLngStream) ToMap ¶
func (o LatLngStream) ToMap() (map[string]interface{}, error)
type MappedNullable ¶
type MetaActivity ¶
type MetaActivity struct { // The unique identifier of the activity Id *int64 `json:"id,omitempty"` }
MetaActivity struct for MetaActivity
func NewMetaActivity ¶
func NewMetaActivity() *MetaActivity
NewMetaActivity instantiates a new MetaActivity object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewMetaActivityWithDefaults ¶
func NewMetaActivityWithDefaults() *MetaActivity
NewMetaActivityWithDefaults instantiates a new MetaActivity object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*MetaActivity) GetId ¶
func (o *MetaActivity) GetId() int64
GetId returns the Id field value if set, zero value otherwise.
func (*MetaActivity) GetIdOk ¶
func (o *MetaActivity) GetIdOk() (*int64, bool)
GetIdOk returns a tuple with the Id field value if set, nil otherwise and a boolean to check if the value has been set.
func (*MetaActivity) HasId ¶
func (o *MetaActivity) HasId() bool
HasId returns a boolean if a field has been set.
func (MetaActivity) MarshalJSON ¶
func (o MetaActivity) MarshalJSON() ([]byte, error)
func (*MetaActivity) SetId ¶
func (o *MetaActivity) SetId(v int64)
SetId gets a reference to the given int64 and assigns it to the Id field.
func (MetaActivity) ToMap ¶
func (o MetaActivity) ToMap() (map[string]interface{}, error)
type MetaAthlete ¶
type MetaAthlete struct { // The unique identifier of the athlete Id *int64 `json:"id,omitempty"` }
MetaAthlete struct for MetaAthlete
func NewMetaAthlete ¶
func NewMetaAthlete() *MetaAthlete
NewMetaAthlete instantiates a new MetaAthlete object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewMetaAthleteWithDefaults ¶
func NewMetaAthleteWithDefaults() *MetaAthlete
NewMetaAthleteWithDefaults instantiates a new MetaAthlete object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*MetaAthlete) GetId ¶
func (o *MetaAthlete) GetId() int64
GetId returns the Id field value if set, zero value otherwise.
func (*MetaAthlete) GetIdOk ¶
func (o *MetaAthlete) GetIdOk() (*int64, bool)
GetIdOk returns a tuple with the Id field value if set, nil otherwise and a boolean to check if the value has been set.
func (*MetaAthlete) HasId ¶
func (o *MetaAthlete) HasId() bool
HasId returns a boolean if a field has been set.
func (MetaAthlete) MarshalJSON ¶
func (o MetaAthlete) MarshalJSON() ([]byte, error)
func (*MetaAthlete) SetId ¶
func (o *MetaAthlete) SetId(v int64)
SetId gets a reference to the given int64 and assigns it to the Id field.
func (MetaAthlete) ToMap ¶
func (o MetaAthlete) ToMap() (map[string]interface{}, error)
type MetaClub ¶
type MetaClub struct { // The club's unique identifier. Id *int64 `json:"id,omitempty"` // Resource state, indicates level of detail. Possible values: 1 -> \"meta\", 2 -> \"summary\", 3 -> \"detail\" ResourceState *int32 `json:"resource_state,omitempty"` // The club's name. Name *string `json:"name,omitempty"` }
MetaClub struct for MetaClub
func NewMetaClub ¶
func NewMetaClub() *MetaClub
NewMetaClub instantiates a new MetaClub object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewMetaClubWithDefaults ¶
func NewMetaClubWithDefaults() *MetaClub
NewMetaClubWithDefaults instantiates a new MetaClub object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*MetaClub) GetIdOk ¶
GetIdOk returns a tuple with the Id field value if set, nil otherwise and a boolean to check if the value has been set.
func (*MetaClub) GetNameOk ¶
GetNameOk returns a tuple with the Name field value if set, nil otherwise and a boolean to check if the value has been set.
func (*MetaClub) GetResourceState ¶
GetResourceState returns the ResourceState field value if set, zero value otherwise.
func (*MetaClub) GetResourceStateOk ¶
GetResourceStateOk returns a tuple with the ResourceState field value if set, nil otherwise and a boolean to check if the value has been set.
func (*MetaClub) HasResourceState ¶
HasResourceState returns a boolean if a field has been set.
func (MetaClub) MarshalJSON ¶
func (*MetaClub) SetName ¶
SetName gets a reference to the given string and assigns it to the Name field.
func (*MetaClub) SetResourceState ¶
SetResourceState gets a reference to the given int32 and assigns it to the ResourceState field.
type MovingStream ¶
type MovingStream struct { // The number of data points in this stream OriginalSize *int32 `json:"original_size,omitempty"` // The level of detail (sampling) in which this stream was returned Resolution *string `json:"resolution,omitempty"` // The base series used in the case the stream was downsampled SeriesType *string `json:"series_type,omitempty"` // The sequence of moving values for this stream, as boolean values Data []bool `json:"data,omitempty"` }
MovingStream struct for MovingStream
func NewMovingStream ¶
func NewMovingStream() *MovingStream
NewMovingStream instantiates a new MovingStream object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewMovingStreamWithDefaults ¶
func NewMovingStreamWithDefaults() *MovingStream
NewMovingStreamWithDefaults instantiates a new MovingStream object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*MovingStream) GetData ¶
func (o *MovingStream) GetData() []bool
GetData returns the Data field value if set, zero value otherwise.
func (*MovingStream) GetDataOk ¶
func (o *MovingStream) GetDataOk() ([]bool, bool)
GetDataOk returns a tuple with the Data field value if set, nil otherwise and a boolean to check if the value has been set.
func (*MovingStream) GetOriginalSize ¶
func (o *MovingStream) GetOriginalSize() int32
GetOriginalSize returns the OriginalSize field value if set, zero value otherwise.
func (*MovingStream) GetOriginalSizeOk ¶
func (o *MovingStream) GetOriginalSizeOk() (*int32, bool)
GetOriginalSizeOk returns a tuple with the OriginalSize field value if set, nil otherwise and a boolean to check if the value has been set.
func (*MovingStream) GetResolution ¶
func (o *MovingStream) GetResolution() string
GetResolution returns the Resolution field value if set, zero value otherwise.
func (*MovingStream) GetResolutionOk ¶
func (o *MovingStream) GetResolutionOk() (*string, bool)
GetResolutionOk returns a tuple with the Resolution field value if set, nil otherwise and a boolean to check if the value has been set.
func (*MovingStream) GetSeriesType ¶
func (o *MovingStream) GetSeriesType() string
GetSeriesType returns the SeriesType field value if set, zero value otherwise.
func (*MovingStream) GetSeriesTypeOk ¶
func (o *MovingStream) GetSeriesTypeOk() (*string, bool)
GetSeriesTypeOk returns a tuple with the SeriesType field value if set, nil otherwise and a boolean to check if the value has been set.
func (*MovingStream) HasData ¶
func (o *MovingStream) HasData() bool
HasData returns a boolean if a field has been set.
func (*MovingStream) HasOriginalSize ¶
func (o *MovingStream) HasOriginalSize() bool
HasOriginalSize returns a boolean if a field has been set.
func (*MovingStream) HasResolution ¶
func (o *MovingStream) HasResolution() bool
HasResolution returns a boolean if a field has been set.
func (*MovingStream) HasSeriesType ¶
func (o *MovingStream) HasSeriesType() bool
HasSeriesType returns a boolean if a field has been set.
func (MovingStream) MarshalJSON ¶
func (o MovingStream) MarshalJSON() ([]byte, error)
func (*MovingStream) SetData ¶
func (o *MovingStream) SetData(v []bool)
SetData gets a reference to the given []bool and assigns it to the Data field.
func (*MovingStream) SetOriginalSize ¶
func (o *MovingStream) SetOriginalSize(v int32)
SetOriginalSize gets a reference to the given int32 and assigns it to the OriginalSize field.
func (*MovingStream) SetResolution ¶
func (o *MovingStream) SetResolution(v string)
SetResolution gets a reference to the given string and assigns it to the Resolution field.
func (*MovingStream) SetSeriesType ¶
func (o *MovingStream) SetSeriesType(v string)
SetSeriesType gets a reference to the given string and assigns it to the SeriesType field.
func (MovingStream) ToMap ¶
func (o MovingStream) ToMap() (map[string]interface{}, error)
type NullableActivityStats ¶
type NullableActivityStats struct {
// contains filtered or unexported fields
}
func NewNullableActivityStats ¶
func NewNullableActivityStats(val *ActivityStats) *NullableActivityStats
func (NullableActivityStats) Get ¶
func (v NullableActivityStats) Get() *ActivityStats
func (NullableActivityStats) IsSet ¶
func (v NullableActivityStats) IsSet() bool
func (NullableActivityStats) MarshalJSON ¶
func (v NullableActivityStats) MarshalJSON() ([]byte, error)
func (*NullableActivityStats) Set ¶
func (v *NullableActivityStats) Set(val *ActivityStats)
func (*NullableActivityStats) UnmarshalJSON ¶
func (v *NullableActivityStats) UnmarshalJSON(src []byte) error
func (*NullableActivityStats) Unset ¶
func (v *NullableActivityStats) Unset()
type NullableActivityTotal ¶
type NullableActivityTotal struct {
// contains filtered or unexported fields
}
func NewNullableActivityTotal ¶
func NewNullableActivityTotal(val *ActivityTotal) *NullableActivityTotal
func (NullableActivityTotal) Get ¶
func (v NullableActivityTotal) Get() *ActivityTotal
func (NullableActivityTotal) IsSet ¶
func (v NullableActivityTotal) IsSet() bool
func (NullableActivityTotal) MarshalJSON ¶
func (v NullableActivityTotal) MarshalJSON() ([]byte, error)
func (*NullableActivityTotal) Set ¶
func (v *NullableActivityTotal) Set(val *ActivityTotal)
func (*NullableActivityTotal) UnmarshalJSON ¶
func (v *NullableActivityTotal) UnmarshalJSON(src []byte) error
func (*NullableActivityTotal) Unset ¶
func (v *NullableActivityTotal) Unset()
type NullableActivityType ¶
type NullableActivityType struct {
// contains filtered or unexported fields
}
func NewNullableActivityType ¶
func NewNullableActivityType(val *ActivityType) *NullableActivityType
func (NullableActivityType) Get ¶
func (v NullableActivityType) Get() *ActivityType
func (NullableActivityType) IsSet ¶
func (v NullableActivityType) IsSet() bool
func (NullableActivityType) MarshalJSON ¶
func (v NullableActivityType) MarshalJSON() ([]byte, error)
func (*NullableActivityType) Set ¶
func (v *NullableActivityType) Set(val *ActivityType)
func (*NullableActivityType) UnmarshalJSON ¶
func (v *NullableActivityType) UnmarshalJSON(src []byte) error
func (*NullableActivityType) Unset ¶
func (v *NullableActivityType) Unset()
type NullableActivityZone ¶
type NullableActivityZone struct {
// contains filtered or unexported fields
}
func NewNullableActivityZone ¶
func NewNullableActivityZone(val *ActivityZone) *NullableActivityZone
func (NullableActivityZone) Get ¶
func (v NullableActivityZone) Get() *ActivityZone
func (NullableActivityZone) IsSet ¶
func (v NullableActivityZone) IsSet() bool
func (NullableActivityZone) MarshalJSON ¶
func (v NullableActivityZone) MarshalJSON() ([]byte, error)
func (*NullableActivityZone) Set ¶
func (v *NullableActivityZone) Set(val *ActivityZone)
func (*NullableActivityZone) UnmarshalJSON ¶
func (v *NullableActivityZone) UnmarshalJSON(src []byte) error
func (*NullableActivityZone) Unset ¶
func (v *NullableActivityZone) Unset()
type NullableAltitudeStream ¶
type NullableAltitudeStream struct {
// contains filtered or unexported fields
}
func NewNullableAltitudeStream ¶
func NewNullableAltitudeStream(val *AltitudeStream) *NullableAltitudeStream
func (NullableAltitudeStream) Get ¶
func (v NullableAltitudeStream) Get() *AltitudeStream
func (NullableAltitudeStream) IsSet ¶
func (v NullableAltitudeStream) IsSet() bool
func (NullableAltitudeStream) MarshalJSON ¶
func (v NullableAltitudeStream) MarshalJSON() ([]byte, error)
func (*NullableAltitudeStream) Set ¶
func (v *NullableAltitudeStream) Set(val *AltitudeStream)
func (*NullableAltitudeStream) UnmarshalJSON ¶
func (v *NullableAltitudeStream) UnmarshalJSON(src []byte) error
func (*NullableAltitudeStream) Unset ¶
func (v *NullableAltitudeStream) Unset()
type NullableBaseStream ¶
type NullableBaseStream struct {
// contains filtered or unexported fields
}
func NewNullableBaseStream ¶
func NewNullableBaseStream(val *BaseStream) *NullableBaseStream
func (NullableBaseStream) Get ¶
func (v NullableBaseStream) Get() *BaseStream
func (NullableBaseStream) IsSet ¶
func (v NullableBaseStream) IsSet() bool
func (NullableBaseStream) MarshalJSON ¶
func (v NullableBaseStream) MarshalJSON() ([]byte, error)
func (*NullableBaseStream) Set ¶
func (v *NullableBaseStream) Set(val *BaseStream)
func (*NullableBaseStream) UnmarshalJSON ¶
func (v *NullableBaseStream) UnmarshalJSON(src []byte) error
func (*NullableBaseStream) Unset ¶
func (v *NullableBaseStream) Unset()
type NullableBool ¶
type NullableBool struct {
// contains filtered or unexported fields
}
func NewNullableBool ¶
func NewNullableBool(val *bool) *NullableBool
func (NullableBool) Get ¶
func (v NullableBool) Get() *bool
func (NullableBool) IsSet ¶
func (v NullableBool) IsSet() bool
func (NullableBool) MarshalJSON ¶
func (v NullableBool) MarshalJSON() ([]byte, error)
func (*NullableBool) Set ¶
func (v *NullableBool) Set(val *bool)
func (*NullableBool) UnmarshalJSON ¶
func (v *NullableBool) UnmarshalJSON(src []byte) error
func (*NullableBool) Unset ¶
func (v *NullableBool) Unset()
type NullableCadenceStream ¶
type NullableCadenceStream struct {
// contains filtered or unexported fields
}
func NewNullableCadenceStream ¶
func NewNullableCadenceStream(val *CadenceStream) *NullableCadenceStream
func (NullableCadenceStream) Get ¶
func (v NullableCadenceStream) Get() *CadenceStream
func (NullableCadenceStream) IsSet ¶
func (v NullableCadenceStream) IsSet() bool
func (NullableCadenceStream) MarshalJSON ¶
func (v NullableCadenceStream) MarshalJSON() ([]byte, error)
func (*NullableCadenceStream) Set ¶
func (v *NullableCadenceStream) Set(val *CadenceStream)
func (*NullableCadenceStream) UnmarshalJSON ¶
func (v *NullableCadenceStream) UnmarshalJSON(src []byte) error
func (*NullableCadenceStream) Unset ¶
func (v *NullableCadenceStream) Unset()
type NullableClubActivity ¶
type NullableClubActivity struct {
// contains filtered or unexported fields
}
func NewNullableClubActivity ¶
func NewNullableClubActivity(val *ClubActivity) *NullableClubActivity
func (NullableClubActivity) Get ¶
func (v NullableClubActivity) Get() *ClubActivity
func (NullableClubActivity) IsSet ¶
func (v NullableClubActivity) IsSet() bool
func (NullableClubActivity) MarshalJSON ¶
func (v NullableClubActivity) MarshalJSON() ([]byte, error)
func (*NullableClubActivity) Set ¶
func (v *NullableClubActivity) Set(val *ClubActivity)
func (*NullableClubActivity) UnmarshalJSON ¶
func (v *NullableClubActivity) UnmarshalJSON(src []byte) error
func (*NullableClubActivity) Unset ¶
func (v *NullableClubActivity) Unset()
type NullableClubAthlete ¶
type NullableClubAthlete struct {
// contains filtered or unexported fields
}
func NewNullableClubAthlete ¶
func NewNullableClubAthlete(val *ClubAthlete) *NullableClubAthlete
func (NullableClubAthlete) Get ¶
func (v NullableClubAthlete) Get() *ClubAthlete
func (NullableClubAthlete) IsSet ¶
func (v NullableClubAthlete) IsSet() bool
func (NullableClubAthlete) MarshalJSON ¶
func (v NullableClubAthlete) MarshalJSON() ([]byte, error)
func (*NullableClubAthlete) Set ¶
func (v *NullableClubAthlete) Set(val *ClubAthlete)
func (*NullableClubAthlete) UnmarshalJSON ¶
func (v *NullableClubAthlete) UnmarshalJSON(src []byte) error
func (*NullableClubAthlete) Unset ¶
func (v *NullableClubAthlete) Unset()
type NullableComment ¶
type NullableComment struct {
// contains filtered or unexported fields
}
func NewNullableComment ¶
func NewNullableComment(val *Comment) *NullableComment
func (NullableComment) Get ¶
func (v NullableComment) Get() *Comment
func (NullableComment) IsSet ¶
func (v NullableComment) IsSet() bool
func (NullableComment) MarshalJSON ¶
func (v NullableComment) MarshalJSON() ([]byte, error)
func (*NullableComment) Set ¶
func (v *NullableComment) Set(val *Comment)
func (*NullableComment) UnmarshalJSON ¶
func (v *NullableComment) UnmarshalJSON(src []byte) error
func (*NullableComment) Unset ¶
func (v *NullableComment) Unset()
type NullableDetailedActivity ¶
type NullableDetailedActivity struct {
// contains filtered or unexported fields
}
func NewNullableDetailedActivity ¶
func NewNullableDetailedActivity(val *DetailedActivity) *NullableDetailedActivity
func (NullableDetailedActivity) Get ¶
func (v NullableDetailedActivity) Get() *DetailedActivity
func (NullableDetailedActivity) IsSet ¶
func (v NullableDetailedActivity) IsSet() bool
func (NullableDetailedActivity) MarshalJSON ¶
func (v NullableDetailedActivity) MarshalJSON() ([]byte, error)
func (*NullableDetailedActivity) Set ¶
func (v *NullableDetailedActivity) Set(val *DetailedActivity)
func (*NullableDetailedActivity) UnmarshalJSON ¶
func (v *NullableDetailedActivity) UnmarshalJSON(src []byte) error
func (*NullableDetailedActivity) Unset ¶
func (v *NullableDetailedActivity) Unset()
type NullableDetailedAthlete ¶
type NullableDetailedAthlete struct {
// contains filtered or unexported fields
}
func NewNullableDetailedAthlete ¶
func NewNullableDetailedAthlete(val *DetailedAthlete) *NullableDetailedAthlete
func (NullableDetailedAthlete) Get ¶
func (v NullableDetailedAthlete) Get() *DetailedAthlete
func (NullableDetailedAthlete) IsSet ¶
func (v NullableDetailedAthlete) IsSet() bool
func (NullableDetailedAthlete) MarshalJSON ¶
func (v NullableDetailedAthlete) MarshalJSON() ([]byte, error)
func (*NullableDetailedAthlete) Set ¶
func (v *NullableDetailedAthlete) Set(val *DetailedAthlete)
func (*NullableDetailedAthlete) UnmarshalJSON ¶
func (v *NullableDetailedAthlete) UnmarshalJSON(src []byte) error
func (*NullableDetailedAthlete) Unset ¶
func (v *NullableDetailedAthlete) Unset()
type NullableDetailedClub ¶
type NullableDetailedClub struct {
// contains filtered or unexported fields
}
func NewNullableDetailedClub ¶
func NewNullableDetailedClub(val *DetailedClub) *NullableDetailedClub
func (NullableDetailedClub) Get ¶
func (v NullableDetailedClub) Get() *DetailedClub
func (NullableDetailedClub) IsSet ¶
func (v NullableDetailedClub) IsSet() bool
func (NullableDetailedClub) MarshalJSON ¶
func (v NullableDetailedClub) MarshalJSON() ([]byte, error)
func (*NullableDetailedClub) Set ¶
func (v *NullableDetailedClub) Set(val *DetailedClub)
func (*NullableDetailedClub) UnmarshalJSON ¶
func (v *NullableDetailedClub) UnmarshalJSON(src []byte) error
func (*NullableDetailedClub) Unset ¶
func (v *NullableDetailedClub) Unset()
type NullableDetailedGear ¶
type NullableDetailedGear struct {
// contains filtered or unexported fields
}
func NewNullableDetailedGear ¶
func NewNullableDetailedGear(val *DetailedGear) *NullableDetailedGear
func (NullableDetailedGear) Get ¶
func (v NullableDetailedGear) Get() *DetailedGear
func (NullableDetailedGear) IsSet ¶
func (v NullableDetailedGear) IsSet() bool
func (NullableDetailedGear) MarshalJSON ¶
func (v NullableDetailedGear) MarshalJSON() ([]byte, error)
func (*NullableDetailedGear) Set ¶
func (v *NullableDetailedGear) Set(val *DetailedGear)
func (*NullableDetailedGear) UnmarshalJSON ¶
func (v *NullableDetailedGear) UnmarshalJSON(src []byte) error
func (*NullableDetailedGear) Unset ¶
func (v *NullableDetailedGear) Unset()
type NullableDetailedSegment ¶
type NullableDetailedSegment struct {
// contains filtered or unexported fields
}
func NewNullableDetailedSegment ¶
func NewNullableDetailedSegment(val *DetailedSegment) *NullableDetailedSegment
func (NullableDetailedSegment) Get ¶
func (v NullableDetailedSegment) Get() *DetailedSegment
func (NullableDetailedSegment) IsSet ¶
func (v NullableDetailedSegment) IsSet() bool
func (NullableDetailedSegment) MarshalJSON ¶
func (v NullableDetailedSegment) MarshalJSON() ([]byte, error)
func (*NullableDetailedSegment) Set ¶
func (v *NullableDetailedSegment) Set(val *DetailedSegment)
func (*NullableDetailedSegment) UnmarshalJSON ¶
func (v *NullableDetailedSegment) UnmarshalJSON(src []byte) error
func (*NullableDetailedSegment) Unset ¶
func (v *NullableDetailedSegment) Unset()
type NullableDetailedSegmentEffort ¶
type NullableDetailedSegmentEffort struct {
// contains filtered or unexported fields
}
func NewNullableDetailedSegmentEffort ¶
func NewNullableDetailedSegmentEffort(val *DetailedSegmentEffort) *NullableDetailedSegmentEffort
func (NullableDetailedSegmentEffort) Get ¶
func (v NullableDetailedSegmentEffort) Get() *DetailedSegmentEffort
func (NullableDetailedSegmentEffort) IsSet ¶
func (v NullableDetailedSegmentEffort) IsSet() bool
func (NullableDetailedSegmentEffort) MarshalJSON ¶
func (v NullableDetailedSegmentEffort) MarshalJSON() ([]byte, error)
func (*NullableDetailedSegmentEffort) Set ¶
func (v *NullableDetailedSegmentEffort) Set(val *DetailedSegmentEffort)
func (*NullableDetailedSegmentEffort) UnmarshalJSON ¶
func (v *NullableDetailedSegmentEffort) UnmarshalJSON(src []byte) error
func (*NullableDetailedSegmentEffort) Unset ¶
func (v *NullableDetailedSegmentEffort) Unset()
type NullableDistanceStream ¶
type NullableDistanceStream struct {
// contains filtered or unexported fields
}
func NewNullableDistanceStream ¶
func NewNullableDistanceStream(val *DistanceStream) *NullableDistanceStream
func (NullableDistanceStream) Get ¶
func (v NullableDistanceStream) Get() *DistanceStream
func (NullableDistanceStream) IsSet ¶
func (v NullableDistanceStream) IsSet() bool
func (NullableDistanceStream) MarshalJSON ¶
func (v NullableDistanceStream) MarshalJSON() ([]byte, error)
func (*NullableDistanceStream) Set ¶
func (v *NullableDistanceStream) Set(val *DistanceStream)
func (*NullableDistanceStream) UnmarshalJSON ¶
func (v *NullableDistanceStream) UnmarshalJSON(src []byte) error
func (*NullableDistanceStream) Unset ¶
func (v *NullableDistanceStream) Unset()
type NullableError ¶
type NullableError struct {
// contains filtered or unexported fields
}
func NewNullableError ¶
func NewNullableError(val *Error) *NullableError
func (NullableError) Get ¶
func (v NullableError) Get() *Error
func (NullableError) IsSet ¶
func (v NullableError) IsSet() bool
func (NullableError) MarshalJSON ¶
func (v NullableError) MarshalJSON() ([]byte, error)
func (*NullableError) Set ¶
func (v *NullableError) Set(val *Error)
func (*NullableError) UnmarshalJSON ¶
func (v *NullableError) UnmarshalJSON(src []byte) error
func (*NullableError) Unset ¶
func (v *NullableError) Unset()
type NullableExplorerResponse ¶
type NullableExplorerResponse struct {
// contains filtered or unexported fields
}
func NewNullableExplorerResponse ¶
func NewNullableExplorerResponse(val *ExplorerResponse) *NullableExplorerResponse
func (NullableExplorerResponse) Get ¶
func (v NullableExplorerResponse) Get() *ExplorerResponse
func (NullableExplorerResponse) IsSet ¶
func (v NullableExplorerResponse) IsSet() bool
func (NullableExplorerResponse) MarshalJSON ¶
func (v NullableExplorerResponse) MarshalJSON() ([]byte, error)
func (*NullableExplorerResponse) Set ¶
func (v *NullableExplorerResponse) Set(val *ExplorerResponse)
func (*NullableExplorerResponse) UnmarshalJSON ¶
func (v *NullableExplorerResponse) UnmarshalJSON(src []byte) error
func (*NullableExplorerResponse) Unset ¶
func (v *NullableExplorerResponse) Unset()
type NullableExplorerSegment ¶
type NullableExplorerSegment struct {
// contains filtered or unexported fields
}
func NewNullableExplorerSegment ¶
func NewNullableExplorerSegment(val *ExplorerSegment) *NullableExplorerSegment
func (NullableExplorerSegment) Get ¶
func (v NullableExplorerSegment) Get() *ExplorerSegment
func (NullableExplorerSegment) IsSet ¶
func (v NullableExplorerSegment) IsSet() bool
func (NullableExplorerSegment) MarshalJSON ¶
func (v NullableExplorerSegment) MarshalJSON() ([]byte, error)
func (*NullableExplorerSegment) Set ¶
func (v *NullableExplorerSegment) Set(val *ExplorerSegment)
func (*NullableExplorerSegment) UnmarshalJSON ¶
func (v *NullableExplorerSegment) UnmarshalJSON(src []byte) error
func (*NullableExplorerSegment) Unset ¶
func (v *NullableExplorerSegment) Unset()
type NullableFault ¶
type NullableFault struct {
// contains filtered or unexported fields
}
func NewNullableFault ¶
func NewNullableFault(val *Fault) *NullableFault
func (NullableFault) Get ¶
func (v NullableFault) Get() *Fault
func (NullableFault) IsSet ¶
func (v NullableFault) IsSet() bool
func (NullableFault) MarshalJSON ¶
func (v NullableFault) MarshalJSON() ([]byte, error)
func (*NullableFault) Set ¶
func (v *NullableFault) Set(val *Fault)
func (*NullableFault) UnmarshalJSON ¶
func (v *NullableFault) UnmarshalJSON(src []byte) error
func (*NullableFault) Unset ¶
func (v *NullableFault) Unset()
type NullableFloat32 ¶
type NullableFloat32 struct {
// contains filtered or unexported fields
}
func NewNullableFloat32 ¶
func NewNullableFloat32(val *float32) *NullableFloat32
func (NullableFloat32) Get ¶
func (v NullableFloat32) Get() *float32
func (NullableFloat32) IsSet ¶
func (v NullableFloat32) IsSet() bool
func (NullableFloat32) MarshalJSON ¶
func (v NullableFloat32) MarshalJSON() ([]byte, error)
func (*NullableFloat32) Set ¶
func (v *NullableFloat32) Set(val *float32)
func (*NullableFloat32) UnmarshalJSON ¶
func (v *NullableFloat32) UnmarshalJSON(src []byte) error
func (*NullableFloat32) Unset ¶
func (v *NullableFloat32) Unset()
type NullableFloat64 ¶
type NullableFloat64 struct {
// contains filtered or unexported fields
}
func NewNullableFloat64 ¶
func NewNullableFloat64(val *float64) *NullableFloat64
func (NullableFloat64) Get ¶
func (v NullableFloat64) Get() *float64
func (NullableFloat64) IsSet ¶
func (v NullableFloat64) IsSet() bool
func (NullableFloat64) MarshalJSON ¶
func (v NullableFloat64) MarshalJSON() ([]byte, error)
func (*NullableFloat64) Set ¶
func (v *NullableFloat64) Set(val *float64)
func (*NullableFloat64) UnmarshalJSON ¶
func (v *NullableFloat64) UnmarshalJSON(src []byte) error
func (*NullableFloat64) Unset ¶
func (v *NullableFloat64) Unset()
type NullableHeartRateZoneRanges ¶
type NullableHeartRateZoneRanges struct {
// contains filtered or unexported fields
}
func NewNullableHeartRateZoneRanges ¶
func NewNullableHeartRateZoneRanges(val *HeartRateZoneRanges) *NullableHeartRateZoneRanges
func (NullableHeartRateZoneRanges) Get ¶
func (v NullableHeartRateZoneRanges) Get() *HeartRateZoneRanges
func (NullableHeartRateZoneRanges) IsSet ¶
func (v NullableHeartRateZoneRanges) IsSet() bool
func (NullableHeartRateZoneRanges) MarshalJSON ¶
func (v NullableHeartRateZoneRanges) MarshalJSON() ([]byte, error)
func (*NullableHeartRateZoneRanges) Set ¶
func (v *NullableHeartRateZoneRanges) Set(val *HeartRateZoneRanges)
func (*NullableHeartRateZoneRanges) UnmarshalJSON ¶
func (v *NullableHeartRateZoneRanges) UnmarshalJSON(src []byte) error
func (*NullableHeartRateZoneRanges) Unset ¶
func (v *NullableHeartRateZoneRanges) Unset()
type NullableHeartrateStream ¶
type NullableHeartrateStream struct {
// contains filtered or unexported fields
}
func NewNullableHeartrateStream ¶
func NewNullableHeartrateStream(val *HeartrateStream) *NullableHeartrateStream
func (NullableHeartrateStream) Get ¶
func (v NullableHeartrateStream) Get() *HeartrateStream
func (NullableHeartrateStream) IsSet ¶
func (v NullableHeartrateStream) IsSet() bool
func (NullableHeartrateStream) MarshalJSON ¶
func (v NullableHeartrateStream) MarshalJSON() ([]byte, error)
func (*NullableHeartrateStream) Set ¶
func (v *NullableHeartrateStream) Set(val *HeartrateStream)
func (*NullableHeartrateStream) UnmarshalJSON ¶
func (v *NullableHeartrateStream) UnmarshalJSON(src []byte) error
func (*NullableHeartrateStream) Unset ¶
func (v *NullableHeartrateStream) Unset()
type NullableInt ¶
type NullableInt struct {
// contains filtered or unexported fields
}
func NewNullableInt ¶
func NewNullableInt(val *int) *NullableInt
func (NullableInt) Get ¶
func (v NullableInt) Get() *int
func (NullableInt) IsSet ¶
func (v NullableInt) IsSet() bool
func (NullableInt) MarshalJSON ¶
func (v NullableInt) MarshalJSON() ([]byte, error)
func (*NullableInt) Set ¶
func (v *NullableInt) Set(val *int)
func (*NullableInt) UnmarshalJSON ¶
func (v *NullableInt) UnmarshalJSON(src []byte) error
func (*NullableInt) Unset ¶
func (v *NullableInt) Unset()
type NullableInt32 ¶
type NullableInt32 struct {
// contains filtered or unexported fields
}
func NewNullableInt32 ¶
func NewNullableInt32(val *int32) *NullableInt32
func (NullableInt32) Get ¶
func (v NullableInt32) Get() *int32
func (NullableInt32) IsSet ¶
func (v NullableInt32) IsSet() bool
func (NullableInt32) MarshalJSON ¶
func (v NullableInt32) MarshalJSON() ([]byte, error)
func (*NullableInt32) Set ¶
func (v *NullableInt32) Set(val *int32)
func (*NullableInt32) UnmarshalJSON ¶
func (v *NullableInt32) UnmarshalJSON(src []byte) error
func (*NullableInt32) Unset ¶
func (v *NullableInt32) Unset()
type NullableInt64 ¶
type NullableInt64 struct {
// contains filtered or unexported fields
}
func NewNullableInt64 ¶
func NewNullableInt64(val *int64) *NullableInt64
func (NullableInt64) Get ¶
func (v NullableInt64) Get() *int64
func (NullableInt64) IsSet ¶
func (v NullableInt64) IsSet() bool
func (NullableInt64) MarshalJSON ¶
func (v NullableInt64) MarshalJSON() ([]byte, error)
func (*NullableInt64) Set ¶
func (v *NullableInt64) Set(val *int64)
func (*NullableInt64) UnmarshalJSON ¶
func (v *NullableInt64) UnmarshalJSON(src []byte) error
func (*NullableInt64) Unset ¶
func (v *NullableInt64) Unset()
type NullableLap ¶
type NullableLap struct {
// contains filtered or unexported fields
}
func NewNullableLap ¶
func NewNullableLap(val *Lap) *NullableLap
func (NullableLap) Get ¶
func (v NullableLap) Get() *Lap
func (NullableLap) IsSet ¶
func (v NullableLap) IsSet() bool
func (NullableLap) MarshalJSON ¶
func (v NullableLap) MarshalJSON() ([]byte, error)
func (*NullableLap) Set ¶
func (v *NullableLap) Set(val *Lap)
func (*NullableLap) UnmarshalJSON ¶
func (v *NullableLap) UnmarshalJSON(src []byte) error
func (*NullableLap) Unset ¶
func (v *NullableLap) Unset()
type NullableLatLngStream ¶
type NullableLatLngStream struct {
// contains filtered or unexported fields
}
func NewNullableLatLngStream ¶
func NewNullableLatLngStream(val *LatLngStream) *NullableLatLngStream
func (NullableLatLngStream) Get ¶
func (v NullableLatLngStream) Get() *LatLngStream
func (NullableLatLngStream) IsSet ¶
func (v NullableLatLngStream) IsSet() bool
func (NullableLatLngStream) MarshalJSON ¶
func (v NullableLatLngStream) MarshalJSON() ([]byte, error)
func (*NullableLatLngStream) Set ¶
func (v *NullableLatLngStream) Set(val *LatLngStream)
func (*NullableLatLngStream) UnmarshalJSON ¶
func (v *NullableLatLngStream) UnmarshalJSON(src []byte) error
func (*NullableLatLngStream) Unset ¶
func (v *NullableLatLngStream) Unset()
type NullableMetaActivity ¶
type NullableMetaActivity struct {
// contains filtered or unexported fields
}
func NewNullableMetaActivity ¶
func NewNullableMetaActivity(val *MetaActivity) *NullableMetaActivity
func (NullableMetaActivity) Get ¶
func (v NullableMetaActivity) Get() *MetaActivity
func (NullableMetaActivity) IsSet ¶
func (v NullableMetaActivity) IsSet() bool
func (NullableMetaActivity) MarshalJSON ¶
func (v NullableMetaActivity) MarshalJSON() ([]byte, error)
func (*NullableMetaActivity) Set ¶
func (v *NullableMetaActivity) Set(val *MetaActivity)
func (*NullableMetaActivity) UnmarshalJSON ¶
func (v *NullableMetaActivity) UnmarshalJSON(src []byte) error
func (*NullableMetaActivity) Unset ¶
func (v *NullableMetaActivity) Unset()
type NullableMetaAthlete ¶
type NullableMetaAthlete struct {
// contains filtered or unexported fields
}
func NewNullableMetaAthlete ¶
func NewNullableMetaAthlete(val *MetaAthlete) *NullableMetaAthlete
func (NullableMetaAthlete) Get ¶
func (v NullableMetaAthlete) Get() *MetaAthlete
func (NullableMetaAthlete) IsSet ¶
func (v NullableMetaAthlete) IsSet() bool
func (NullableMetaAthlete) MarshalJSON ¶
func (v NullableMetaAthlete) MarshalJSON() ([]byte, error)
func (*NullableMetaAthlete) Set ¶
func (v *NullableMetaAthlete) Set(val *MetaAthlete)
func (*NullableMetaAthlete) UnmarshalJSON ¶
func (v *NullableMetaAthlete) UnmarshalJSON(src []byte) error
func (*NullableMetaAthlete) Unset ¶
func (v *NullableMetaAthlete) Unset()
type NullableMetaClub ¶
type NullableMetaClub struct {
// contains filtered or unexported fields
}
func NewNullableMetaClub ¶
func NewNullableMetaClub(val *MetaClub) *NullableMetaClub
func (NullableMetaClub) Get ¶
func (v NullableMetaClub) Get() *MetaClub
func (NullableMetaClub) IsSet ¶
func (v NullableMetaClub) IsSet() bool
func (NullableMetaClub) MarshalJSON ¶
func (v NullableMetaClub) MarshalJSON() ([]byte, error)
func (*NullableMetaClub) Set ¶
func (v *NullableMetaClub) Set(val *MetaClub)
func (*NullableMetaClub) UnmarshalJSON ¶
func (v *NullableMetaClub) UnmarshalJSON(src []byte) error
func (*NullableMetaClub) Unset ¶
func (v *NullableMetaClub) Unset()
type NullableMovingStream ¶
type NullableMovingStream struct {
// contains filtered or unexported fields
}
func NewNullableMovingStream ¶
func NewNullableMovingStream(val *MovingStream) *NullableMovingStream
func (NullableMovingStream) Get ¶
func (v NullableMovingStream) Get() *MovingStream
func (NullableMovingStream) IsSet ¶
func (v NullableMovingStream) IsSet() bool
func (NullableMovingStream) MarshalJSON ¶
func (v NullableMovingStream) MarshalJSON() ([]byte, error)
func (*NullableMovingStream) Set ¶
func (v *NullableMovingStream) Set(val *MovingStream)
func (*NullableMovingStream) UnmarshalJSON ¶
func (v *NullableMovingStream) UnmarshalJSON(src []byte) error
func (*NullableMovingStream) Unset ¶
func (v *NullableMovingStream) Unset()
type NullablePhotosSummary ¶
type NullablePhotosSummary struct {
// contains filtered or unexported fields
}
func NewNullablePhotosSummary ¶
func NewNullablePhotosSummary(val *PhotosSummary) *NullablePhotosSummary
func (NullablePhotosSummary) Get ¶
func (v NullablePhotosSummary) Get() *PhotosSummary
func (NullablePhotosSummary) IsSet ¶
func (v NullablePhotosSummary) IsSet() bool
func (NullablePhotosSummary) MarshalJSON ¶
func (v NullablePhotosSummary) MarshalJSON() ([]byte, error)
func (*NullablePhotosSummary) Set ¶
func (v *NullablePhotosSummary) Set(val *PhotosSummary)
func (*NullablePhotosSummary) UnmarshalJSON ¶
func (v *NullablePhotosSummary) UnmarshalJSON(src []byte) error
func (*NullablePhotosSummary) Unset ¶
func (v *NullablePhotosSummary) Unset()
type NullablePhotosSummaryPrimary ¶
type NullablePhotosSummaryPrimary struct {
// contains filtered or unexported fields
}
func NewNullablePhotosSummaryPrimary ¶
func NewNullablePhotosSummaryPrimary(val *PhotosSummaryPrimary) *NullablePhotosSummaryPrimary
func (NullablePhotosSummaryPrimary) Get ¶
func (v NullablePhotosSummaryPrimary) Get() *PhotosSummaryPrimary
func (NullablePhotosSummaryPrimary) IsSet ¶
func (v NullablePhotosSummaryPrimary) IsSet() bool
func (NullablePhotosSummaryPrimary) MarshalJSON ¶
func (v NullablePhotosSummaryPrimary) MarshalJSON() ([]byte, error)
func (*NullablePhotosSummaryPrimary) Set ¶
func (v *NullablePhotosSummaryPrimary) Set(val *PhotosSummaryPrimary)
func (*NullablePhotosSummaryPrimary) UnmarshalJSON ¶
func (v *NullablePhotosSummaryPrimary) UnmarshalJSON(src []byte) error
func (*NullablePhotosSummaryPrimary) Unset ¶
func (v *NullablePhotosSummaryPrimary) Unset()
type NullablePolylineMap ¶
type NullablePolylineMap struct {
// contains filtered or unexported fields
}
func NewNullablePolylineMap ¶
func NewNullablePolylineMap(val *PolylineMap) *NullablePolylineMap
func (NullablePolylineMap) Get ¶
func (v NullablePolylineMap) Get() *PolylineMap
func (NullablePolylineMap) IsSet ¶
func (v NullablePolylineMap) IsSet() bool
func (NullablePolylineMap) MarshalJSON ¶
func (v NullablePolylineMap) MarshalJSON() ([]byte, error)
func (*NullablePolylineMap) Set ¶
func (v *NullablePolylineMap) Set(val *PolylineMap)
func (*NullablePolylineMap) UnmarshalJSON ¶
func (v *NullablePolylineMap) UnmarshalJSON(src []byte) error
func (*NullablePolylineMap) Unset ¶
func (v *NullablePolylineMap) Unset()
type NullablePowerStream ¶
type NullablePowerStream struct {
// contains filtered or unexported fields
}
func NewNullablePowerStream ¶
func NewNullablePowerStream(val *PowerStream) *NullablePowerStream
func (NullablePowerStream) Get ¶
func (v NullablePowerStream) Get() *PowerStream
func (NullablePowerStream) IsSet ¶
func (v NullablePowerStream) IsSet() bool
func (NullablePowerStream) MarshalJSON ¶
func (v NullablePowerStream) MarshalJSON() ([]byte, error)
func (*NullablePowerStream) Set ¶
func (v *NullablePowerStream) Set(val *PowerStream)
func (*NullablePowerStream) UnmarshalJSON ¶
func (v *NullablePowerStream) UnmarshalJSON(src []byte) error
func (*NullablePowerStream) Unset ¶
func (v *NullablePowerStream) Unset()
type NullablePowerZoneRanges ¶
type NullablePowerZoneRanges struct {
// contains filtered or unexported fields
}
func NewNullablePowerZoneRanges ¶
func NewNullablePowerZoneRanges(val *PowerZoneRanges) *NullablePowerZoneRanges
func (NullablePowerZoneRanges) Get ¶
func (v NullablePowerZoneRanges) Get() *PowerZoneRanges
func (NullablePowerZoneRanges) IsSet ¶
func (v NullablePowerZoneRanges) IsSet() bool
func (NullablePowerZoneRanges) MarshalJSON ¶
func (v NullablePowerZoneRanges) MarshalJSON() ([]byte, error)
func (*NullablePowerZoneRanges) Set ¶
func (v *NullablePowerZoneRanges) Set(val *PowerZoneRanges)
func (*NullablePowerZoneRanges) UnmarshalJSON ¶
func (v *NullablePowerZoneRanges) UnmarshalJSON(src []byte) error
func (*NullablePowerZoneRanges) Unset ¶
func (v *NullablePowerZoneRanges) Unset()
type NullableRoute ¶
type NullableRoute struct {
// contains filtered or unexported fields
}
func NewNullableRoute ¶
func NewNullableRoute(val *Route) *NullableRoute
func (NullableRoute) Get ¶
func (v NullableRoute) Get() *Route
func (NullableRoute) IsSet ¶
func (v NullableRoute) IsSet() bool
func (NullableRoute) MarshalJSON ¶
func (v NullableRoute) MarshalJSON() ([]byte, error)
func (*NullableRoute) Set ¶
func (v *NullableRoute) Set(val *Route)
func (*NullableRoute) UnmarshalJSON ¶
func (v *NullableRoute) UnmarshalJSON(src []byte) error
func (*NullableRoute) Unset ¶
func (v *NullableRoute) Unset()
type NullableSmoothGradeStream ¶
type NullableSmoothGradeStream struct {
// contains filtered or unexported fields
}
func NewNullableSmoothGradeStream ¶
func NewNullableSmoothGradeStream(val *SmoothGradeStream) *NullableSmoothGradeStream
func (NullableSmoothGradeStream) Get ¶
func (v NullableSmoothGradeStream) Get() *SmoothGradeStream
func (NullableSmoothGradeStream) IsSet ¶
func (v NullableSmoothGradeStream) IsSet() bool
func (NullableSmoothGradeStream) MarshalJSON ¶
func (v NullableSmoothGradeStream) MarshalJSON() ([]byte, error)
func (*NullableSmoothGradeStream) Set ¶
func (v *NullableSmoothGradeStream) Set(val *SmoothGradeStream)
func (*NullableSmoothGradeStream) UnmarshalJSON ¶
func (v *NullableSmoothGradeStream) UnmarshalJSON(src []byte) error
func (*NullableSmoothGradeStream) Unset ¶
func (v *NullableSmoothGradeStream) Unset()
type NullableSmoothVelocityStream ¶
type NullableSmoothVelocityStream struct {
// contains filtered or unexported fields
}
func NewNullableSmoothVelocityStream ¶
func NewNullableSmoothVelocityStream(val *SmoothVelocityStream) *NullableSmoothVelocityStream
func (NullableSmoothVelocityStream) Get ¶
func (v NullableSmoothVelocityStream) Get() *SmoothVelocityStream
func (NullableSmoothVelocityStream) IsSet ¶
func (v NullableSmoothVelocityStream) IsSet() bool
func (NullableSmoothVelocityStream) MarshalJSON ¶
func (v NullableSmoothVelocityStream) MarshalJSON() ([]byte, error)
func (*NullableSmoothVelocityStream) Set ¶
func (v *NullableSmoothVelocityStream) Set(val *SmoothVelocityStream)
func (*NullableSmoothVelocityStream) UnmarshalJSON ¶
func (v *NullableSmoothVelocityStream) UnmarshalJSON(src []byte) error
func (*NullableSmoothVelocityStream) Unset ¶
func (v *NullableSmoothVelocityStream) Unset()
type NullableSplit ¶
type NullableSplit struct {
// contains filtered or unexported fields
}
func NewNullableSplit ¶
func NewNullableSplit(val *Split) *NullableSplit
func (NullableSplit) Get ¶
func (v NullableSplit) Get() *Split
func (NullableSplit) IsSet ¶
func (v NullableSplit) IsSet() bool
func (NullableSplit) MarshalJSON ¶
func (v NullableSplit) MarshalJSON() ([]byte, error)
func (*NullableSplit) Set ¶
func (v *NullableSplit) Set(val *Split)
func (*NullableSplit) UnmarshalJSON ¶
func (v *NullableSplit) UnmarshalJSON(src []byte) error
func (*NullableSplit) Unset ¶
func (v *NullableSplit) Unset()
type NullableSportType ¶
type NullableSportType struct {
// contains filtered or unexported fields
}
func NewNullableSportType ¶
func NewNullableSportType(val *SportType) *NullableSportType
func (NullableSportType) Get ¶
func (v NullableSportType) Get() *SportType
func (NullableSportType) IsSet ¶
func (v NullableSportType) IsSet() bool
func (NullableSportType) MarshalJSON ¶
func (v NullableSportType) MarshalJSON() ([]byte, error)
func (*NullableSportType) Set ¶
func (v *NullableSportType) Set(val *SportType)
func (*NullableSportType) UnmarshalJSON ¶
func (v *NullableSportType) UnmarshalJSON(src []byte) error
func (*NullableSportType) Unset ¶
func (v *NullableSportType) Unset()
type NullableStreamSet ¶
type NullableStreamSet struct {
// contains filtered or unexported fields
}
func NewNullableStreamSet ¶
func NewNullableStreamSet(val *StreamSet) *NullableStreamSet
func (NullableStreamSet) Get ¶
func (v NullableStreamSet) Get() *StreamSet
func (NullableStreamSet) IsSet ¶
func (v NullableStreamSet) IsSet() bool
func (NullableStreamSet) MarshalJSON ¶
func (v NullableStreamSet) MarshalJSON() ([]byte, error)
func (*NullableStreamSet) Set ¶
func (v *NullableStreamSet) Set(val *StreamSet)
func (*NullableStreamSet) UnmarshalJSON ¶
func (v *NullableStreamSet) UnmarshalJSON(src []byte) error
func (*NullableStreamSet) Unset ¶
func (v *NullableStreamSet) Unset()
type NullableString ¶
type NullableString struct {
// contains filtered or unexported fields
}
func NewNullableString ¶
func NewNullableString(val *string) *NullableString
func (NullableString) Get ¶
func (v NullableString) Get() *string
func (NullableString) IsSet ¶
func (v NullableString) IsSet() bool
func (NullableString) MarshalJSON ¶
func (v NullableString) MarshalJSON() ([]byte, error)
func (*NullableString) Set ¶
func (v *NullableString) Set(val *string)
func (*NullableString) UnmarshalJSON ¶
func (v *NullableString) UnmarshalJSON(src []byte) error
func (*NullableString) Unset ¶
func (v *NullableString) Unset()
type NullableSummaryActivity ¶
type NullableSummaryActivity struct {
// contains filtered or unexported fields
}
func NewNullableSummaryActivity ¶
func NewNullableSummaryActivity(val *SummaryActivity) *NullableSummaryActivity
func (NullableSummaryActivity) Get ¶
func (v NullableSummaryActivity) Get() *SummaryActivity
func (NullableSummaryActivity) IsSet ¶
func (v NullableSummaryActivity) IsSet() bool
func (NullableSummaryActivity) MarshalJSON ¶
func (v NullableSummaryActivity) MarshalJSON() ([]byte, error)
func (*NullableSummaryActivity) Set ¶
func (v *NullableSummaryActivity) Set(val *SummaryActivity)
func (*NullableSummaryActivity) UnmarshalJSON ¶
func (v *NullableSummaryActivity) UnmarshalJSON(src []byte) error
func (*NullableSummaryActivity) Unset ¶
func (v *NullableSummaryActivity) Unset()
type NullableSummaryAthlete ¶
type NullableSummaryAthlete struct {
// contains filtered or unexported fields
}
func NewNullableSummaryAthlete ¶
func NewNullableSummaryAthlete(val *SummaryAthlete) *NullableSummaryAthlete
func (NullableSummaryAthlete) Get ¶
func (v NullableSummaryAthlete) Get() *SummaryAthlete
func (NullableSummaryAthlete) IsSet ¶
func (v NullableSummaryAthlete) IsSet() bool
func (NullableSummaryAthlete) MarshalJSON ¶
func (v NullableSummaryAthlete) MarshalJSON() ([]byte, error)
func (*NullableSummaryAthlete) Set ¶
func (v *NullableSummaryAthlete) Set(val *SummaryAthlete)
func (*NullableSummaryAthlete) UnmarshalJSON ¶
func (v *NullableSummaryAthlete) UnmarshalJSON(src []byte) error
func (*NullableSummaryAthlete) Unset ¶
func (v *NullableSummaryAthlete) Unset()
type NullableSummaryClub ¶
type NullableSummaryClub struct {
// contains filtered or unexported fields
}
func NewNullableSummaryClub ¶
func NewNullableSummaryClub(val *SummaryClub) *NullableSummaryClub
func (NullableSummaryClub) Get ¶
func (v NullableSummaryClub) Get() *SummaryClub
func (NullableSummaryClub) IsSet ¶
func (v NullableSummaryClub) IsSet() bool
func (NullableSummaryClub) MarshalJSON ¶
func (v NullableSummaryClub) MarshalJSON() ([]byte, error)
func (*NullableSummaryClub) Set ¶
func (v *NullableSummaryClub) Set(val *SummaryClub)
func (*NullableSummaryClub) UnmarshalJSON ¶
func (v *NullableSummaryClub) UnmarshalJSON(src []byte) error
func (*NullableSummaryClub) Unset ¶
func (v *NullableSummaryClub) Unset()
type NullableSummaryGear ¶
type NullableSummaryGear struct {
// contains filtered or unexported fields
}
func NewNullableSummaryGear ¶
func NewNullableSummaryGear(val *SummaryGear) *NullableSummaryGear
func (NullableSummaryGear) Get ¶
func (v NullableSummaryGear) Get() *SummaryGear
func (NullableSummaryGear) IsSet ¶
func (v NullableSummaryGear) IsSet() bool
func (NullableSummaryGear) MarshalJSON ¶
func (v NullableSummaryGear) MarshalJSON() ([]byte, error)
func (*NullableSummaryGear) Set ¶
func (v *NullableSummaryGear) Set(val *SummaryGear)
func (*NullableSummaryGear) UnmarshalJSON ¶
func (v *NullableSummaryGear) UnmarshalJSON(src []byte) error
func (*NullableSummaryGear) Unset ¶
func (v *NullableSummaryGear) Unset()
type NullableSummaryPRSegmentEffort ¶
type NullableSummaryPRSegmentEffort struct {
// contains filtered or unexported fields
}
func NewNullableSummaryPRSegmentEffort ¶
func NewNullableSummaryPRSegmentEffort(val *SummaryPRSegmentEffort) *NullableSummaryPRSegmentEffort
func (NullableSummaryPRSegmentEffort) Get ¶
func (v NullableSummaryPRSegmentEffort) Get() *SummaryPRSegmentEffort
func (NullableSummaryPRSegmentEffort) IsSet ¶
func (v NullableSummaryPRSegmentEffort) IsSet() bool
func (NullableSummaryPRSegmentEffort) MarshalJSON ¶
func (v NullableSummaryPRSegmentEffort) MarshalJSON() ([]byte, error)
func (*NullableSummaryPRSegmentEffort) Set ¶
func (v *NullableSummaryPRSegmentEffort) Set(val *SummaryPRSegmentEffort)
func (*NullableSummaryPRSegmentEffort) UnmarshalJSON ¶
func (v *NullableSummaryPRSegmentEffort) UnmarshalJSON(src []byte) error
func (*NullableSummaryPRSegmentEffort) Unset ¶
func (v *NullableSummaryPRSegmentEffort) Unset()
type NullableSummarySegment ¶
type NullableSummarySegment struct {
// contains filtered or unexported fields
}
func NewNullableSummarySegment ¶
func NewNullableSummarySegment(val *SummarySegment) *NullableSummarySegment
func (NullableSummarySegment) Get ¶
func (v NullableSummarySegment) Get() *SummarySegment
func (NullableSummarySegment) IsSet ¶
func (v NullableSummarySegment) IsSet() bool
func (NullableSummarySegment) MarshalJSON ¶
func (v NullableSummarySegment) MarshalJSON() ([]byte, error)
func (*NullableSummarySegment) Set ¶
func (v *NullableSummarySegment) Set(val *SummarySegment)
func (*NullableSummarySegment) UnmarshalJSON ¶
func (v *NullableSummarySegment) UnmarshalJSON(src []byte) error
func (*NullableSummarySegment) Unset ¶
func (v *NullableSummarySegment) Unset()
type NullableSummarySegmentEffort ¶
type NullableSummarySegmentEffort struct {
// contains filtered or unexported fields
}
func NewNullableSummarySegmentEffort ¶
func NewNullableSummarySegmentEffort(val *SummarySegmentEffort) *NullableSummarySegmentEffort
func (NullableSummarySegmentEffort) Get ¶
func (v NullableSummarySegmentEffort) Get() *SummarySegmentEffort
func (NullableSummarySegmentEffort) IsSet ¶
func (v NullableSummarySegmentEffort) IsSet() bool
func (NullableSummarySegmentEffort) MarshalJSON ¶
func (v NullableSummarySegmentEffort) MarshalJSON() ([]byte, error)
func (*NullableSummarySegmentEffort) Set ¶
func (v *NullableSummarySegmentEffort) Set(val *SummarySegmentEffort)
func (*NullableSummarySegmentEffort) UnmarshalJSON ¶
func (v *NullableSummarySegmentEffort) UnmarshalJSON(src []byte) error
func (*NullableSummarySegmentEffort) Unset ¶
func (v *NullableSummarySegmentEffort) Unset()
type NullableTemperatureStream ¶
type NullableTemperatureStream struct {
// contains filtered or unexported fields
}
func NewNullableTemperatureStream ¶
func NewNullableTemperatureStream(val *TemperatureStream) *NullableTemperatureStream
func (NullableTemperatureStream) Get ¶
func (v NullableTemperatureStream) Get() *TemperatureStream
func (NullableTemperatureStream) IsSet ¶
func (v NullableTemperatureStream) IsSet() bool
func (NullableTemperatureStream) MarshalJSON ¶
func (v NullableTemperatureStream) MarshalJSON() ([]byte, error)
func (*NullableTemperatureStream) Set ¶
func (v *NullableTemperatureStream) Set(val *TemperatureStream)
func (*NullableTemperatureStream) UnmarshalJSON ¶
func (v *NullableTemperatureStream) UnmarshalJSON(src []byte) error
func (*NullableTemperatureStream) Unset ¶
func (v *NullableTemperatureStream) Unset()
type NullableTime ¶
type NullableTime struct {
// contains filtered or unexported fields
}
func NewNullableTime ¶
func NewNullableTime(val *time.Time) *NullableTime
func (NullableTime) Get ¶
func (v NullableTime) Get() *time.Time
func (NullableTime) IsSet ¶
func (v NullableTime) IsSet() bool
func (NullableTime) MarshalJSON ¶
func (v NullableTime) MarshalJSON() ([]byte, error)
func (*NullableTime) Set ¶
func (v *NullableTime) Set(val *time.Time)
func (*NullableTime) UnmarshalJSON ¶
func (v *NullableTime) UnmarshalJSON(src []byte) error
func (*NullableTime) Unset ¶
func (v *NullableTime) Unset()
type NullableTimeStream ¶
type NullableTimeStream struct {
// contains filtered or unexported fields
}
func NewNullableTimeStream ¶
func NewNullableTimeStream(val *TimeStream) *NullableTimeStream
func (NullableTimeStream) Get ¶
func (v NullableTimeStream) Get() *TimeStream
func (NullableTimeStream) IsSet ¶
func (v NullableTimeStream) IsSet() bool
func (NullableTimeStream) MarshalJSON ¶
func (v NullableTimeStream) MarshalJSON() ([]byte, error)
func (*NullableTimeStream) Set ¶
func (v *NullableTimeStream) Set(val *TimeStream)
func (*NullableTimeStream) UnmarshalJSON ¶
func (v *NullableTimeStream) UnmarshalJSON(src []byte) error
func (*NullableTimeStream) Unset ¶
func (v *NullableTimeStream) Unset()
type NullableTimedZoneRange ¶
type NullableTimedZoneRange struct {
// contains filtered or unexported fields
}
func NewNullableTimedZoneRange ¶
func NewNullableTimedZoneRange(val *TimedZoneRange) *NullableTimedZoneRange
func (NullableTimedZoneRange) Get ¶
func (v NullableTimedZoneRange) Get() *TimedZoneRange
func (NullableTimedZoneRange) IsSet ¶
func (v NullableTimedZoneRange) IsSet() bool
func (NullableTimedZoneRange) MarshalJSON ¶
func (v NullableTimedZoneRange) MarshalJSON() ([]byte, error)
func (*NullableTimedZoneRange) Set ¶
func (v *NullableTimedZoneRange) Set(val *TimedZoneRange)
func (*NullableTimedZoneRange) UnmarshalJSON ¶
func (v *NullableTimedZoneRange) UnmarshalJSON(src []byte) error
func (*NullableTimedZoneRange) Unset ¶
func (v *NullableTimedZoneRange) Unset()
type NullableUpdatableActivity ¶
type NullableUpdatableActivity struct {
// contains filtered or unexported fields
}
func NewNullableUpdatableActivity ¶
func NewNullableUpdatableActivity(val *UpdatableActivity) *NullableUpdatableActivity
func (NullableUpdatableActivity) Get ¶
func (v NullableUpdatableActivity) Get() *UpdatableActivity
func (NullableUpdatableActivity) IsSet ¶
func (v NullableUpdatableActivity) IsSet() bool
func (NullableUpdatableActivity) MarshalJSON ¶
func (v NullableUpdatableActivity) MarshalJSON() ([]byte, error)
func (*NullableUpdatableActivity) Set ¶
func (v *NullableUpdatableActivity) Set(val *UpdatableActivity)
func (*NullableUpdatableActivity) UnmarshalJSON ¶
func (v *NullableUpdatableActivity) UnmarshalJSON(src []byte) error
func (*NullableUpdatableActivity) Unset ¶
func (v *NullableUpdatableActivity) Unset()
type NullableUpload ¶
type NullableUpload struct {
// contains filtered or unexported fields
}
func NewNullableUpload ¶
func NewNullableUpload(val *Upload) *NullableUpload
func (NullableUpload) Get ¶
func (v NullableUpload) Get() *Upload
func (NullableUpload) IsSet ¶
func (v NullableUpload) IsSet() bool
func (NullableUpload) MarshalJSON ¶
func (v NullableUpload) MarshalJSON() ([]byte, error)
func (*NullableUpload) Set ¶
func (v *NullableUpload) Set(val *Upload)
func (*NullableUpload) UnmarshalJSON ¶
func (v *NullableUpload) UnmarshalJSON(src []byte) error
func (*NullableUpload) Unset ¶
func (v *NullableUpload) Unset()
type NullableZoneRange ¶
type NullableZoneRange struct {
// contains filtered or unexported fields
}
func NewNullableZoneRange ¶
func NewNullableZoneRange(val *ZoneRange) *NullableZoneRange
func (NullableZoneRange) Get ¶
func (v NullableZoneRange) Get() *ZoneRange
func (NullableZoneRange) IsSet ¶
func (v NullableZoneRange) IsSet() bool
func (NullableZoneRange) MarshalJSON ¶
func (v NullableZoneRange) MarshalJSON() ([]byte, error)
func (*NullableZoneRange) Set ¶
func (v *NullableZoneRange) Set(val *ZoneRange)
func (*NullableZoneRange) UnmarshalJSON ¶
func (v *NullableZoneRange) UnmarshalJSON(src []byte) error
func (*NullableZoneRange) Unset ¶
func (v *NullableZoneRange) Unset()
type NullableZones ¶
type NullableZones struct {
// contains filtered or unexported fields
}
func NewNullableZones ¶
func NewNullableZones(val *Zones) *NullableZones
func (NullableZones) Get ¶
func (v NullableZones) Get() *Zones
func (NullableZones) IsSet ¶
func (v NullableZones) IsSet() bool
func (NullableZones) MarshalJSON ¶
func (v NullableZones) MarshalJSON() ([]byte, error)
func (*NullableZones) Set ¶
func (v *NullableZones) Set(val *Zones)
func (*NullableZones) UnmarshalJSON ¶
func (v *NullableZones) UnmarshalJSON(src []byte) error
func (*NullableZones) Unset ¶
func (v *NullableZones) Unset()
type PhotosSummary ¶
type PhotosSummary struct { // The number of photos Count *int32 `json:"count,omitempty"` Primary *PhotosSummaryPrimary `json:"primary,omitempty"` }
PhotosSummary struct for PhotosSummary
func NewPhotosSummary ¶
func NewPhotosSummary() *PhotosSummary
NewPhotosSummary instantiates a new PhotosSummary object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewPhotosSummaryWithDefaults ¶
func NewPhotosSummaryWithDefaults() *PhotosSummary
NewPhotosSummaryWithDefaults instantiates a new PhotosSummary object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*PhotosSummary) GetCount ¶
func (o *PhotosSummary) GetCount() int32
GetCount returns the Count field value if set, zero value otherwise.
func (*PhotosSummary) GetCountOk ¶
func (o *PhotosSummary) GetCountOk() (*int32, bool)
GetCountOk returns a tuple with the Count field value if set, nil otherwise and a boolean to check if the value has been set.
func (*PhotosSummary) GetPrimary ¶
func (o *PhotosSummary) GetPrimary() PhotosSummaryPrimary
GetPrimary returns the Primary field value if set, zero value otherwise.
func (*PhotosSummary) GetPrimaryOk ¶
func (o *PhotosSummary) GetPrimaryOk() (*PhotosSummaryPrimary, bool)
GetPrimaryOk returns a tuple with the Primary field value if set, nil otherwise and a boolean to check if the value has been set.
func (*PhotosSummary) HasCount ¶
func (o *PhotosSummary) HasCount() bool
HasCount returns a boolean if a field has been set.
func (*PhotosSummary) HasPrimary ¶
func (o *PhotosSummary) HasPrimary() bool
HasPrimary returns a boolean if a field has been set.
func (PhotosSummary) MarshalJSON ¶
func (o PhotosSummary) MarshalJSON() ([]byte, error)
func (*PhotosSummary) SetCount ¶
func (o *PhotosSummary) SetCount(v int32)
SetCount gets a reference to the given int32 and assigns it to the Count field.
func (*PhotosSummary) SetPrimary ¶
func (o *PhotosSummary) SetPrimary(v PhotosSummaryPrimary)
SetPrimary gets a reference to the given PhotosSummaryPrimary and assigns it to the Primary field.
func (PhotosSummary) ToMap ¶
func (o PhotosSummary) ToMap() (map[string]interface{}, error)
type PhotosSummaryPrimary ¶
type PhotosSummaryPrimary struct { Id *int64 `json:"id,omitempty"` Source *int32 `json:"source,omitempty"` UniqueId *string `json:"unique_id,omitempty"` Urls *map[string]string `json:"urls,omitempty"` }
PhotosSummaryPrimary struct for PhotosSummaryPrimary
func NewPhotosSummaryPrimary ¶
func NewPhotosSummaryPrimary() *PhotosSummaryPrimary
NewPhotosSummaryPrimary instantiates a new PhotosSummaryPrimary object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewPhotosSummaryPrimaryWithDefaults ¶
func NewPhotosSummaryPrimaryWithDefaults() *PhotosSummaryPrimary
NewPhotosSummaryPrimaryWithDefaults instantiates a new PhotosSummaryPrimary object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*PhotosSummaryPrimary) GetId ¶
func (o *PhotosSummaryPrimary) GetId() int64
GetId returns the Id field value if set, zero value otherwise.
func (*PhotosSummaryPrimary) GetIdOk ¶
func (o *PhotosSummaryPrimary) GetIdOk() (*int64, bool)
GetIdOk returns a tuple with the Id field value if set, nil otherwise and a boolean to check if the value has been set.
func (*PhotosSummaryPrimary) GetSource ¶
func (o *PhotosSummaryPrimary) GetSource() int32
GetSource returns the Source field value if set, zero value otherwise.
func (*PhotosSummaryPrimary) GetSourceOk ¶
func (o *PhotosSummaryPrimary) GetSourceOk() (*int32, bool)
GetSourceOk returns a tuple with the Source field value if set, nil otherwise and a boolean to check if the value has been set.
func (*PhotosSummaryPrimary) GetUniqueId ¶
func (o *PhotosSummaryPrimary) GetUniqueId() string
GetUniqueId returns the UniqueId field value if set, zero value otherwise.
func (*PhotosSummaryPrimary) GetUniqueIdOk ¶
func (o *PhotosSummaryPrimary) GetUniqueIdOk() (*string, bool)
GetUniqueIdOk returns a tuple with the UniqueId field value if set, nil otherwise and a boolean to check if the value has been set.
func (*PhotosSummaryPrimary) GetUrls ¶
func (o *PhotosSummaryPrimary) GetUrls() map[string]string
GetUrls returns the Urls field value if set, zero value otherwise.
func (*PhotosSummaryPrimary) GetUrlsOk ¶
func (o *PhotosSummaryPrimary) GetUrlsOk() (*map[string]string, bool)
GetUrlsOk returns a tuple with the Urls field value if set, nil otherwise and a boolean to check if the value has been set.
func (*PhotosSummaryPrimary) HasId ¶
func (o *PhotosSummaryPrimary) HasId() bool
HasId returns a boolean if a field has been set.
func (*PhotosSummaryPrimary) HasSource ¶
func (o *PhotosSummaryPrimary) HasSource() bool
HasSource returns a boolean if a field has been set.
func (*PhotosSummaryPrimary) HasUniqueId ¶
func (o *PhotosSummaryPrimary) HasUniqueId() bool
HasUniqueId returns a boolean if a field has been set.
func (*PhotosSummaryPrimary) HasUrls ¶
func (o *PhotosSummaryPrimary) HasUrls() bool
HasUrls returns a boolean if a field has been set.
func (PhotosSummaryPrimary) MarshalJSON ¶
func (o PhotosSummaryPrimary) MarshalJSON() ([]byte, error)
func (*PhotosSummaryPrimary) SetId ¶
func (o *PhotosSummaryPrimary) SetId(v int64)
SetId gets a reference to the given int64 and assigns it to the Id field.
func (*PhotosSummaryPrimary) SetSource ¶
func (o *PhotosSummaryPrimary) SetSource(v int32)
SetSource gets a reference to the given int32 and assigns it to the Source field.
func (*PhotosSummaryPrimary) SetUniqueId ¶
func (o *PhotosSummaryPrimary) SetUniqueId(v string)
SetUniqueId gets a reference to the given string and assigns it to the UniqueId field.
func (*PhotosSummaryPrimary) SetUrls ¶
func (o *PhotosSummaryPrimary) SetUrls(v map[string]string)
SetUrls gets a reference to the given map[string]string and assigns it to the Urls field.
func (PhotosSummaryPrimary) ToMap ¶
func (o PhotosSummaryPrimary) ToMap() (map[string]interface{}, error)
type PolylineMap ¶
type PolylineMap struct { // The identifier of the map Id *string `json:"id,omitempty"` // The polyline of the map, only returned on detailed representation of an object Polyline *string `json:"polyline,omitempty"` // The summary polyline of the map SummaryPolyline *string `json:"summary_polyline,omitempty"` }
PolylineMap struct for PolylineMap
func NewPolylineMap ¶
func NewPolylineMap() *PolylineMap
NewPolylineMap instantiates a new PolylineMap object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewPolylineMapWithDefaults ¶
func NewPolylineMapWithDefaults() *PolylineMap
NewPolylineMapWithDefaults instantiates a new PolylineMap object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*PolylineMap) GetId ¶
func (o *PolylineMap) GetId() string
GetId returns the Id field value if set, zero value otherwise.
func (*PolylineMap) GetIdOk ¶
func (o *PolylineMap) GetIdOk() (*string, bool)
GetIdOk returns a tuple with the Id field value if set, nil otherwise and a boolean to check if the value has been set.
func (*PolylineMap) GetPolyline ¶
func (o *PolylineMap) GetPolyline() string
GetPolyline returns the Polyline field value if set, zero value otherwise.
func (*PolylineMap) GetPolylineOk ¶
func (o *PolylineMap) GetPolylineOk() (*string, bool)
GetPolylineOk returns a tuple with the Polyline field value if set, nil otherwise and a boolean to check if the value has been set.
func (*PolylineMap) GetSummaryPolyline ¶
func (o *PolylineMap) GetSummaryPolyline() string
GetSummaryPolyline returns the SummaryPolyline field value if set, zero value otherwise.
func (*PolylineMap) GetSummaryPolylineOk ¶
func (o *PolylineMap) GetSummaryPolylineOk() (*string, bool)
GetSummaryPolylineOk returns a tuple with the SummaryPolyline field value if set, nil otherwise and a boolean to check if the value has been set.
func (*PolylineMap) HasId ¶
func (o *PolylineMap) HasId() bool
HasId returns a boolean if a field has been set.
func (*PolylineMap) HasPolyline ¶
func (o *PolylineMap) HasPolyline() bool
HasPolyline returns a boolean if a field has been set.
func (*PolylineMap) HasSummaryPolyline ¶
func (o *PolylineMap) HasSummaryPolyline() bool
HasSummaryPolyline returns a boolean if a field has been set.
func (PolylineMap) MarshalJSON ¶
func (o PolylineMap) MarshalJSON() ([]byte, error)
func (*PolylineMap) SetId ¶
func (o *PolylineMap) SetId(v string)
SetId gets a reference to the given string and assigns it to the Id field.
func (*PolylineMap) SetPolyline ¶
func (o *PolylineMap) SetPolyline(v string)
SetPolyline gets a reference to the given string and assigns it to the Polyline field.
func (*PolylineMap) SetSummaryPolyline ¶
func (o *PolylineMap) SetSummaryPolyline(v string)
SetSummaryPolyline gets a reference to the given string and assigns it to the SummaryPolyline field.
func (PolylineMap) ToMap ¶
func (o PolylineMap) ToMap() (map[string]interface{}, error)
type PowerStream ¶
type PowerStream struct { // The number of data points in this stream OriginalSize *int32 `json:"original_size,omitempty"` // The level of detail (sampling) in which this stream was returned Resolution *string `json:"resolution,omitempty"` // The base series used in the case the stream was downsampled SeriesType *string `json:"series_type,omitempty"` // The sequence of power values for this stream, in watts Data []int32 `json:"data,omitempty"` }
PowerStream struct for PowerStream
func NewPowerStream ¶
func NewPowerStream() *PowerStream
NewPowerStream instantiates a new PowerStream object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewPowerStreamWithDefaults ¶
func NewPowerStreamWithDefaults() *PowerStream
NewPowerStreamWithDefaults instantiates a new PowerStream object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*PowerStream) GetData ¶
func (o *PowerStream) GetData() []int32
GetData returns the Data field value if set, zero value otherwise.
func (*PowerStream) GetDataOk ¶
func (o *PowerStream) GetDataOk() ([]int32, bool)
GetDataOk returns a tuple with the Data field value if set, nil otherwise and a boolean to check if the value has been set.
func (*PowerStream) GetOriginalSize ¶
func (o *PowerStream) GetOriginalSize() int32
GetOriginalSize returns the OriginalSize field value if set, zero value otherwise.
func (*PowerStream) GetOriginalSizeOk ¶
func (o *PowerStream) GetOriginalSizeOk() (*int32, bool)
GetOriginalSizeOk returns a tuple with the OriginalSize field value if set, nil otherwise and a boolean to check if the value has been set.
func (*PowerStream) GetResolution ¶
func (o *PowerStream) GetResolution() string
GetResolution returns the Resolution field value if set, zero value otherwise.
func (*PowerStream) GetResolutionOk ¶
func (o *PowerStream) GetResolutionOk() (*string, bool)
GetResolutionOk returns a tuple with the Resolution field value if set, nil otherwise and a boolean to check if the value has been set.
func (*PowerStream) GetSeriesType ¶
func (o *PowerStream) GetSeriesType() string
GetSeriesType returns the SeriesType field value if set, zero value otherwise.
func (*PowerStream) GetSeriesTypeOk ¶
func (o *PowerStream) GetSeriesTypeOk() (*string, bool)
GetSeriesTypeOk returns a tuple with the SeriesType field value if set, nil otherwise and a boolean to check if the value has been set.
func (*PowerStream) HasData ¶
func (o *PowerStream) HasData() bool
HasData returns a boolean if a field has been set.
func (*PowerStream) HasOriginalSize ¶
func (o *PowerStream) HasOriginalSize() bool
HasOriginalSize returns a boolean if a field has been set.
func (*PowerStream) HasResolution ¶
func (o *PowerStream) HasResolution() bool
HasResolution returns a boolean if a field has been set.
func (*PowerStream) HasSeriesType ¶
func (o *PowerStream) HasSeriesType() bool
HasSeriesType returns a boolean if a field has been set.
func (PowerStream) MarshalJSON ¶
func (o PowerStream) MarshalJSON() ([]byte, error)
func (*PowerStream) SetData ¶
func (o *PowerStream) SetData(v []int32)
SetData gets a reference to the given []int32 and assigns it to the Data field.
func (*PowerStream) SetOriginalSize ¶
func (o *PowerStream) SetOriginalSize(v int32)
SetOriginalSize gets a reference to the given int32 and assigns it to the OriginalSize field.
func (*PowerStream) SetResolution ¶
func (o *PowerStream) SetResolution(v string)
SetResolution gets a reference to the given string and assigns it to the Resolution field.
func (*PowerStream) SetSeriesType ¶
func (o *PowerStream) SetSeriesType(v string)
SetSeriesType gets a reference to the given string and assigns it to the SeriesType field.
func (PowerStream) ToMap ¶
func (o PowerStream) ToMap() (map[string]interface{}, error)
type PowerZoneRanges ¶
type PowerZoneRanges struct {
Zones []ZoneRange `json:"zones,omitempty"`
}
PowerZoneRanges struct for PowerZoneRanges
func NewPowerZoneRanges ¶
func NewPowerZoneRanges() *PowerZoneRanges
NewPowerZoneRanges instantiates a new PowerZoneRanges object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewPowerZoneRangesWithDefaults ¶
func NewPowerZoneRangesWithDefaults() *PowerZoneRanges
NewPowerZoneRangesWithDefaults instantiates a new PowerZoneRanges object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*PowerZoneRanges) GetZones ¶
func (o *PowerZoneRanges) GetZones() []ZoneRange
GetZones returns the Zones field value if set, zero value otherwise.
func (*PowerZoneRanges) GetZonesOk ¶
func (o *PowerZoneRanges) GetZonesOk() ([]ZoneRange, bool)
GetZonesOk returns a tuple with the Zones field value if set, nil otherwise and a boolean to check if the value has been set.
func (*PowerZoneRanges) HasZones ¶
func (o *PowerZoneRanges) HasZones() bool
HasZones returns a boolean if a field has been set.
func (PowerZoneRanges) MarshalJSON ¶
func (o PowerZoneRanges) MarshalJSON() ([]byte, error)
func (*PowerZoneRanges) SetZones ¶
func (o *PowerZoneRanges) SetZones(v []ZoneRange)
SetZones gets a reference to the given []ZoneRange and assigns it to the Zones field.
func (PowerZoneRanges) ToMap ¶
func (o PowerZoneRanges) ToMap() (map[string]interface{}, error)
type Route ¶
type Route struct { Athlete *SummaryAthlete `json:"athlete,omitempty"` // The description of the route Description *string `json:"description,omitempty"` // The route's distance, in meters Distance *float32 `json:"distance,omitempty"` // The route's elevation gain. ElevationGain *float32 `json:"elevation_gain,omitempty"` // The unique identifier of this route Id *int64 `json:"id,omitempty"` // The unique identifier of the route in string format IdStr *string `json:"id_str,omitempty"` Map *PolylineMap `json:"map,omitempty"` // The name of this route Name *string `json:"name,omitempty"` // Whether this route is private Private *bool `json:"private,omitempty"` // Whether this route is starred by the logged-in athlete Starred *bool `json:"starred,omitempty"` // An epoch timestamp of when the route was created Timestamp *int32 `json:"timestamp,omitempty"` // This route's type (1 for ride, 2 for runs) Type *int32 `json:"type,omitempty"` // This route's sub-type (1 for road, 2 for mountain bike, 3 for cross, 4 for trail, 5 for mixed) SubType *int32 `json:"sub_type,omitempty"` // The time at which the route was created CreatedAt *time.Time `json:"created_at,omitempty"` // The time at which the route was last updated UpdatedAt *time.Time `json:"updated_at,omitempty"` // Estimated time in seconds for the authenticated athlete to complete route EstimatedMovingTime *int32 `json:"estimated_moving_time,omitempty"` // The segments traversed by this route Segments []SummarySegment `json:"segments,omitempty"` }
Route struct for Route
func NewRoute ¶
func NewRoute() *Route
NewRoute instantiates a new Route object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewRouteWithDefaults ¶
func NewRouteWithDefaults() *Route
NewRouteWithDefaults instantiates a new Route object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*Route) GetAthlete ¶
func (o *Route) GetAthlete() SummaryAthlete
GetAthlete returns the Athlete field value if set, zero value otherwise.
func (*Route) GetAthleteOk ¶
func (o *Route) GetAthleteOk() (*SummaryAthlete, bool)
GetAthleteOk returns a tuple with the Athlete field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Route) GetCreatedAt ¶
GetCreatedAt returns the CreatedAt field value if set, zero value otherwise.
func (*Route) GetCreatedAtOk ¶
GetCreatedAtOk returns a tuple with the CreatedAt field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Route) GetDescription ¶
GetDescription returns the Description field value if set, zero value otherwise.
func (*Route) GetDescriptionOk ¶
GetDescriptionOk returns a tuple with the Description field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Route) GetDistance ¶
GetDistance returns the Distance field value if set, zero value otherwise.
func (*Route) GetDistanceOk ¶
GetDistanceOk returns a tuple with the Distance field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Route) GetElevationGain ¶
GetElevationGain returns the ElevationGain field value if set, zero value otherwise.
func (*Route) GetElevationGainOk ¶
GetElevationGainOk returns a tuple with the ElevationGain field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Route) GetEstimatedMovingTime ¶
GetEstimatedMovingTime returns the EstimatedMovingTime field value if set, zero value otherwise.
func (*Route) GetEstimatedMovingTimeOk ¶
GetEstimatedMovingTimeOk returns a tuple with the EstimatedMovingTime field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Route) GetIdOk ¶
GetIdOk returns a tuple with the Id field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Route) GetIdStrOk ¶
GetIdStrOk returns a tuple with the IdStr field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Route) GetMap ¶
func (o *Route) GetMap() PolylineMap
GetMap returns the Map field value if set, zero value otherwise.
func (*Route) GetMapOk ¶
func (o *Route) GetMapOk() (*PolylineMap, bool)
GetMapOk returns a tuple with the Map field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Route) GetNameOk ¶
GetNameOk returns a tuple with the Name field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Route) GetPrivate ¶
GetPrivate returns the Private field value if set, zero value otherwise.
func (*Route) GetPrivateOk ¶
GetPrivateOk returns a tuple with the Private field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Route) GetSegments ¶
func (o *Route) GetSegments() []SummarySegment
GetSegments returns the Segments field value if set, zero value otherwise.
func (*Route) GetSegmentsOk ¶
func (o *Route) GetSegmentsOk() ([]SummarySegment, bool)
GetSegmentsOk returns a tuple with the Segments field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Route) GetStarred ¶
GetStarred returns the Starred field value if set, zero value otherwise.
func (*Route) GetStarredOk ¶
GetStarredOk returns a tuple with the Starred field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Route) GetSubType ¶
GetSubType returns the SubType field value if set, zero value otherwise.
func (*Route) GetSubTypeOk ¶
GetSubTypeOk returns a tuple with the SubType field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Route) GetTimestamp ¶
GetTimestamp returns the Timestamp field value if set, zero value otherwise.
func (*Route) GetTimestampOk ¶
GetTimestampOk returns a tuple with the Timestamp field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Route) GetTypeOk ¶
GetTypeOk returns a tuple with the Type field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Route) GetUpdatedAt ¶
GetUpdatedAt returns the UpdatedAt field value if set, zero value otherwise.
func (*Route) GetUpdatedAtOk ¶
GetUpdatedAtOk returns a tuple with the UpdatedAt field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Route) HasAthlete ¶
HasAthlete returns a boolean if a field has been set.
func (*Route) HasCreatedAt ¶
HasCreatedAt returns a boolean if a field has been set.
func (*Route) HasDescription ¶
HasDescription returns a boolean if a field has been set.
func (*Route) HasDistance ¶
HasDistance returns a boolean if a field has been set.
func (*Route) HasElevationGain ¶
HasElevationGain returns a boolean if a field has been set.
func (*Route) HasEstimatedMovingTime ¶
HasEstimatedMovingTime returns a boolean if a field has been set.
func (*Route) HasPrivate ¶
HasPrivate returns a boolean if a field has been set.
func (*Route) HasSegments ¶
HasSegments returns a boolean if a field has been set.
func (*Route) HasStarred ¶
HasStarred returns a boolean if a field has been set.
func (*Route) HasSubType ¶
HasSubType returns a boolean if a field has been set.
func (*Route) HasTimestamp ¶
HasTimestamp returns a boolean if a field has been set.
func (*Route) HasUpdatedAt ¶
HasUpdatedAt returns a boolean if a field has been set.
func (Route) MarshalJSON ¶
func (*Route) SetAthlete ¶
func (o *Route) SetAthlete(v SummaryAthlete)
SetAthlete gets a reference to the given SummaryAthlete and assigns it to the Athlete field.
func (*Route) SetCreatedAt ¶
SetCreatedAt gets a reference to the given time.Time and assigns it to the CreatedAt field.
func (*Route) SetDescription ¶
SetDescription gets a reference to the given string and assigns it to the Description field.
func (*Route) SetDistance ¶
SetDistance gets a reference to the given float32 and assigns it to the Distance field.
func (*Route) SetElevationGain ¶
SetElevationGain gets a reference to the given float32 and assigns it to the ElevationGain field.
func (*Route) SetEstimatedMovingTime ¶
SetEstimatedMovingTime gets a reference to the given int32 and assigns it to the EstimatedMovingTime field.
func (*Route) SetIdStr ¶
SetIdStr gets a reference to the given string and assigns it to the IdStr field.
func (*Route) SetMap ¶
func (o *Route) SetMap(v PolylineMap)
SetMap gets a reference to the given PolylineMap and assigns it to the Map field.
func (*Route) SetName ¶
SetName gets a reference to the given string and assigns it to the Name field.
func (*Route) SetPrivate ¶
SetPrivate gets a reference to the given bool and assigns it to the Private field.
func (*Route) SetSegments ¶
func (o *Route) SetSegments(v []SummarySegment)
SetSegments gets a reference to the given []SummarySegment and assigns it to the Segments field.
func (*Route) SetStarred ¶
SetStarred gets a reference to the given bool and assigns it to the Starred field.
func (*Route) SetSubType ¶
SetSubType gets a reference to the given int32 and assigns it to the SubType field.
func (*Route) SetTimestamp ¶
SetTimestamp gets a reference to the given int32 and assigns it to the Timestamp field.
func (*Route) SetType ¶
SetType gets a reference to the given int32 and assigns it to the Type field.
func (*Route) SetUpdatedAt ¶
SetUpdatedAt gets a reference to the given time.Time and assigns it to the UpdatedAt field.
type RoutesAPIService ¶
type RoutesAPIService service
RoutesAPIService RoutesAPI service
func (*RoutesAPIService) GetRouteAsGPX ¶
func (a *RoutesAPIService) GetRouteAsGPX(ctx context.Context, id int64) ApiGetRouteAsGPXRequest
GetRouteAsGPX Export Route GPX
Returns a GPX file of the route. Requires read_all scope for private routes.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param id The identifier of the route. @return ApiGetRouteAsGPXRequest
func (*RoutesAPIService) GetRouteAsGPXExecute ¶
func (a *RoutesAPIService) GetRouteAsGPXExecute(r ApiGetRouteAsGPXRequest) (*http.Response, error)
Execute executes the request
func (*RoutesAPIService) GetRouteAsTCX ¶
func (a *RoutesAPIService) GetRouteAsTCX(ctx context.Context, id int64) ApiGetRouteAsTCXRequest
GetRouteAsTCX Export Route TCX
Returns a TCX file of the route. Requires read_all scope for private routes.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param id The identifier of the route. @return ApiGetRouteAsTCXRequest
func (*RoutesAPIService) GetRouteAsTCXExecute ¶
func (a *RoutesAPIService) GetRouteAsTCXExecute(r ApiGetRouteAsTCXRequest) (*http.Response, error)
Execute executes the request
func (*RoutesAPIService) GetRouteById ¶
func (a *RoutesAPIService) GetRouteById(ctx context.Context, id int64) ApiGetRouteByIdRequest
GetRouteById Get Route
Returns a route using its identifier. Requires read_all scope for private routes.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param id The identifier of the route. @return ApiGetRouteByIdRequest
func (*RoutesAPIService) GetRouteByIdExecute ¶
func (a *RoutesAPIService) GetRouteByIdExecute(r ApiGetRouteByIdRequest) (*Route, *http.Response, error)
Execute executes the request
@return Route
func (*RoutesAPIService) GetRoutesByAthleteId ¶
func (a *RoutesAPIService) GetRoutesByAthleteId(ctx context.Context) ApiGetRoutesByAthleteIdRequest
GetRoutesByAthleteId List Athlete Routes
Returns a list of the routes created by the authenticated athlete. Private routes are filtered out unless requested by a token with read_all scope.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiGetRoutesByAthleteIdRequest
func (*RoutesAPIService) GetRoutesByAthleteIdExecute ¶
func (a *RoutesAPIService) GetRoutesByAthleteIdExecute(r ApiGetRoutesByAthleteIdRequest) ([]Route, *http.Response, error)
Execute executes the request
@return []Route
type SegmentEffortsAPIService ¶
type SegmentEffortsAPIService service
SegmentEffortsAPIService SegmentEffortsAPI service
func (*SegmentEffortsAPIService) GetEffortsBySegmentId ¶
func (a *SegmentEffortsAPIService) GetEffortsBySegmentId(ctx context.Context) ApiGetEffortsBySegmentIdRequest
GetEffortsBySegmentId List Segment Efforts
Returns a set of the authenticated athlete's segment efforts for a given segment. Requires subscription.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiGetEffortsBySegmentIdRequest
func (*SegmentEffortsAPIService) GetEffortsBySegmentIdExecute ¶
func (a *SegmentEffortsAPIService) GetEffortsBySegmentIdExecute(r ApiGetEffortsBySegmentIdRequest) ([]DetailedSegmentEffort, *http.Response, error)
Execute executes the request
@return []DetailedSegmentEffort
func (*SegmentEffortsAPIService) GetSegmentEffortById ¶
func (a *SegmentEffortsAPIService) GetSegmentEffortById(ctx context.Context, id int64) ApiGetSegmentEffortByIdRequest
GetSegmentEffortById Get Segment Effort
Returns a segment effort from an activity that is owned by the authenticated athlete. Requires subscription.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param id The identifier of the segment effort. @return ApiGetSegmentEffortByIdRequest
func (*SegmentEffortsAPIService) GetSegmentEffortByIdExecute ¶
func (a *SegmentEffortsAPIService) GetSegmentEffortByIdExecute(r ApiGetSegmentEffortByIdRequest) (*DetailedSegmentEffort, *http.Response, error)
Execute executes the request
@return DetailedSegmentEffort
type SegmentsAPIService ¶
type SegmentsAPIService service
SegmentsAPIService SegmentsAPI service
func (*SegmentsAPIService) ExploreSegments ¶
func (a *SegmentsAPIService) ExploreSegments(ctx context.Context) ApiExploreSegmentsRequest
ExploreSegments Explore segments
Returns the top 10 segments matching a specified query.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiExploreSegmentsRequest
func (*SegmentsAPIService) ExploreSegmentsExecute ¶
func (a *SegmentsAPIService) ExploreSegmentsExecute(r ApiExploreSegmentsRequest) (*ExplorerResponse, *http.Response, error)
Execute executes the request
@return ExplorerResponse
func (*SegmentsAPIService) GetLoggedInAthleteStarredSegments ¶
func (a *SegmentsAPIService) GetLoggedInAthleteStarredSegments(ctx context.Context) ApiGetLoggedInAthleteStarredSegmentsRequest
GetLoggedInAthleteStarredSegments List Starred Segments
List of the authenticated athlete's starred segments. Private segments are filtered out unless requested by a token with read_all scope.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiGetLoggedInAthleteStarredSegmentsRequest
func (*SegmentsAPIService) GetLoggedInAthleteStarredSegmentsExecute ¶
func (a *SegmentsAPIService) GetLoggedInAthleteStarredSegmentsExecute(r ApiGetLoggedInAthleteStarredSegmentsRequest) ([]SummarySegment, *http.Response, error)
Execute executes the request
@return []SummarySegment
func (*SegmentsAPIService) GetSegmentById ¶
func (a *SegmentsAPIService) GetSegmentById(ctx context.Context, id int64) ApiGetSegmentByIdRequest
GetSegmentById Get Segment
Returns the specified segment. read_all scope required in order to retrieve athlete-specific segment information, or to retrieve private segments.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param id The identifier of the segment. @return ApiGetSegmentByIdRequest
func (*SegmentsAPIService) GetSegmentByIdExecute ¶
func (a *SegmentsAPIService) GetSegmentByIdExecute(r ApiGetSegmentByIdRequest) (*DetailedSegment, *http.Response, error)
Execute executes the request
@return DetailedSegment
func (*SegmentsAPIService) StarSegment ¶
func (a *SegmentsAPIService) StarSegment(ctx context.Context, id int64) ApiStarSegmentRequest
StarSegment Star Segment
Stars/Unstars the given segment for the authenticated athlete. Requires profile:write scope.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param id The identifier of the segment to star. @return ApiStarSegmentRequest
func (*SegmentsAPIService) StarSegmentExecute ¶
func (a *SegmentsAPIService) StarSegmentExecute(r ApiStarSegmentRequest) (*DetailedSegment, *http.Response, error)
Execute executes the request
@return DetailedSegment
type ServerConfiguration ¶
type ServerConfiguration struct { URL string Description string Variables map[string]ServerVariable }
ServerConfiguration stores the information about a server
type ServerConfigurations ¶
type ServerConfigurations []ServerConfiguration
ServerConfigurations stores multiple ServerConfiguration items
type ServerVariable ¶
ServerVariable stores the information about a server variable
type SmoothGradeStream ¶
type SmoothGradeStream struct { // The number of data points in this stream OriginalSize *int32 `json:"original_size,omitempty"` // The level of detail (sampling) in which this stream was returned Resolution *string `json:"resolution,omitempty"` // The base series used in the case the stream was downsampled SeriesType *string `json:"series_type,omitempty"` // The sequence of grade values for this stream, as percents of a grade Data []float32 `json:"data,omitempty"` }
SmoothGradeStream struct for SmoothGradeStream
func NewSmoothGradeStream ¶
func NewSmoothGradeStream() *SmoothGradeStream
NewSmoothGradeStream instantiates a new SmoothGradeStream object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewSmoothGradeStreamWithDefaults ¶
func NewSmoothGradeStreamWithDefaults() *SmoothGradeStream
NewSmoothGradeStreamWithDefaults instantiates a new SmoothGradeStream object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*SmoothGradeStream) GetData ¶
func (o *SmoothGradeStream) GetData() []float32
GetData returns the Data field value if set, zero value otherwise.
func (*SmoothGradeStream) GetDataOk ¶
func (o *SmoothGradeStream) GetDataOk() ([]float32, bool)
GetDataOk returns a tuple with the Data field value if set, nil otherwise and a boolean to check if the value has been set.
func (*SmoothGradeStream) GetOriginalSize ¶
func (o *SmoothGradeStream) GetOriginalSize() int32
GetOriginalSize returns the OriginalSize field value if set, zero value otherwise.
func (*SmoothGradeStream) GetOriginalSizeOk ¶
func (o *SmoothGradeStream) GetOriginalSizeOk() (*int32, bool)
GetOriginalSizeOk returns a tuple with the OriginalSize field value if set, nil otherwise and a boolean to check if the value has been set.
func (*SmoothGradeStream) GetResolution ¶
func (o *SmoothGradeStream) GetResolution() string
GetResolution returns the Resolution field value if set, zero value otherwise.
func (*SmoothGradeStream) GetResolutionOk ¶
func (o *SmoothGradeStream) GetResolutionOk() (*string, bool)
GetResolutionOk returns a tuple with the Resolution field value if set, nil otherwise and a boolean to check if the value has been set.
func (*SmoothGradeStream) GetSeriesType ¶
func (o *SmoothGradeStream) GetSeriesType() string
GetSeriesType returns the SeriesType field value if set, zero value otherwise.
func (*SmoothGradeStream) GetSeriesTypeOk ¶
func (o *SmoothGradeStream) GetSeriesTypeOk() (*string, bool)
GetSeriesTypeOk returns a tuple with the SeriesType field value if set, nil otherwise and a boolean to check if the value has been set.
func (*SmoothGradeStream) HasData ¶
func (o *SmoothGradeStream) HasData() bool
HasData returns a boolean if a field has been set.
func (*SmoothGradeStream) HasOriginalSize ¶
func (o *SmoothGradeStream) HasOriginalSize() bool
HasOriginalSize returns a boolean if a field has been set.
func (*SmoothGradeStream) HasResolution ¶
func (o *SmoothGradeStream) HasResolution() bool
HasResolution returns a boolean if a field has been set.
func (*SmoothGradeStream) HasSeriesType ¶
func (o *SmoothGradeStream) HasSeriesType() bool
HasSeriesType returns a boolean if a field has been set.
func (SmoothGradeStream) MarshalJSON ¶
func (o SmoothGradeStream) MarshalJSON() ([]byte, error)
func (*SmoothGradeStream) SetData ¶
func (o *SmoothGradeStream) SetData(v []float32)
SetData gets a reference to the given []float32 and assigns it to the Data field.
func (*SmoothGradeStream) SetOriginalSize ¶
func (o *SmoothGradeStream) SetOriginalSize(v int32)
SetOriginalSize gets a reference to the given int32 and assigns it to the OriginalSize field.
func (*SmoothGradeStream) SetResolution ¶
func (o *SmoothGradeStream) SetResolution(v string)
SetResolution gets a reference to the given string and assigns it to the Resolution field.
func (*SmoothGradeStream) SetSeriesType ¶
func (o *SmoothGradeStream) SetSeriesType(v string)
SetSeriesType gets a reference to the given string and assigns it to the SeriesType field.
func (SmoothGradeStream) ToMap ¶
func (o SmoothGradeStream) ToMap() (map[string]interface{}, error)
type SmoothVelocityStream ¶
type SmoothVelocityStream struct { // The number of data points in this stream OriginalSize *int32 `json:"original_size,omitempty"` // The level of detail (sampling) in which this stream was returned Resolution *string `json:"resolution,omitempty"` // The base series used in the case the stream was downsampled SeriesType *string `json:"series_type,omitempty"` // The sequence of velocity values for this stream, in meters per second Data []float32 `json:"data,omitempty"` }
SmoothVelocityStream struct for SmoothVelocityStream
func NewSmoothVelocityStream ¶
func NewSmoothVelocityStream() *SmoothVelocityStream
NewSmoothVelocityStream instantiates a new SmoothVelocityStream object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewSmoothVelocityStreamWithDefaults ¶
func NewSmoothVelocityStreamWithDefaults() *SmoothVelocityStream
NewSmoothVelocityStreamWithDefaults instantiates a new SmoothVelocityStream object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*SmoothVelocityStream) GetData ¶
func (o *SmoothVelocityStream) GetData() []float32
GetData returns the Data field value if set, zero value otherwise.
func (*SmoothVelocityStream) GetDataOk ¶
func (o *SmoothVelocityStream) GetDataOk() ([]float32, bool)
GetDataOk returns a tuple with the Data field value if set, nil otherwise and a boolean to check if the value has been set.
func (*SmoothVelocityStream) GetOriginalSize ¶
func (o *SmoothVelocityStream) GetOriginalSize() int32
GetOriginalSize returns the OriginalSize field value if set, zero value otherwise.
func (*SmoothVelocityStream) GetOriginalSizeOk ¶
func (o *SmoothVelocityStream) GetOriginalSizeOk() (*int32, bool)
GetOriginalSizeOk returns a tuple with the OriginalSize field value if set, nil otherwise and a boolean to check if the value has been set.
func (*SmoothVelocityStream) GetResolution ¶
func (o *SmoothVelocityStream) GetResolution() string
GetResolution returns the Resolution field value if set, zero value otherwise.
func (*SmoothVelocityStream) GetResolutionOk ¶
func (o *SmoothVelocityStream) GetResolutionOk() (*string, bool)
GetResolutionOk returns a tuple with the Resolution field value if set, nil otherwise and a boolean to check if the value has been set.
func (*SmoothVelocityStream) GetSeriesType ¶
func (o *SmoothVelocityStream) GetSeriesType() string
GetSeriesType returns the SeriesType field value if set, zero value otherwise.
func (*SmoothVelocityStream) GetSeriesTypeOk ¶
func (o *SmoothVelocityStream) GetSeriesTypeOk() (*string, bool)
GetSeriesTypeOk returns a tuple with the SeriesType field value if set, nil otherwise and a boolean to check if the value has been set.
func (*SmoothVelocityStream) HasData ¶
func (o *SmoothVelocityStream) HasData() bool
HasData returns a boolean if a field has been set.
func (*SmoothVelocityStream) HasOriginalSize ¶
func (o *SmoothVelocityStream) HasOriginalSize() bool
HasOriginalSize returns a boolean if a field has been set.
func (*SmoothVelocityStream) HasResolution ¶
func (o *SmoothVelocityStream) HasResolution() bool
HasResolution returns a boolean if a field has been set.
func (*SmoothVelocityStream) HasSeriesType ¶
func (o *SmoothVelocityStream) HasSeriesType() bool
HasSeriesType returns a boolean if a field has been set.
func (SmoothVelocityStream) MarshalJSON ¶
func (o SmoothVelocityStream) MarshalJSON() ([]byte, error)
func (*SmoothVelocityStream) SetData ¶
func (o *SmoothVelocityStream) SetData(v []float32)
SetData gets a reference to the given []float32 and assigns it to the Data field.
func (*SmoothVelocityStream) SetOriginalSize ¶
func (o *SmoothVelocityStream) SetOriginalSize(v int32)
SetOriginalSize gets a reference to the given int32 and assigns it to the OriginalSize field.
func (*SmoothVelocityStream) SetResolution ¶
func (o *SmoothVelocityStream) SetResolution(v string)
SetResolution gets a reference to the given string and assigns it to the Resolution field.
func (*SmoothVelocityStream) SetSeriesType ¶
func (o *SmoothVelocityStream) SetSeriesType(v string)
SetSeriesType gets a reference to the given string and assigns it to the SeriesType field.
func (SmoothVelocityStream) ToMap ¶
func (o SmoothVelocityStream) ToMap() (map[string]interface{}, error)
type Split ¶
type Split struct { // The average speed of this split, in meters per second AverageSpeed *float32 `json:"average_speed,omitempty"` // The distance of this split, in meters Distance *float32 `json:"distance,omitempty"` // The elapsed time of this split, in seconds ElapsedTime *int32 `json:"elapsed_time,omitempty"` // The elevation difference of this split, in meters ElevationDifference *float32 `json:"elevation_difference,omitempty"` // The pacing zone of this split PaceZone *int32 `json:"pace_zone,omitempty"` // The moving time of this split, in seconds MovingTime *int32 `json:"moving_time,omitempty"` // N/A Split *int32 `json:"split,omitempty"` }
Split struct for Split
func NewSplit ¶
func NewSplit() *Split
NewSplit instantiates a new Split object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewSplitWithDefaults ¶
func NewSplitWithDefaults() *Split
NewSplitWithDefaults instantiates a new Split object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*Split) GetAverageSpeed ¶
GetAverageSpeed returns the AverageSpeed field value if set, zero value otherwise.
func (*Split) GetAverageSpeedOk ¶
GetAverageSpeedOk returns a tuple with the AverageSpeed field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Split) GetDistance ¶
GetDistance returns the Distance field value if set, zero value otherwise.
func (*Split) GetDistanceOk ¶
GetDistanceOk returns a tuple with the Distance field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Split) GetElapsedTime ¶
GetElapsedTime returns the ElapsedTime field value if set, zero value otherwise.
func (*Split) GetElapsedTimeOk ¶
GetElapsedTimeOk returns a tuple with the ElapsedTime field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Split) GetElevationDifference ¶
GetElevationDifference returns the ElevationDifference field value if set, zero value otherwise.
func (*Split) GetElevationDifferenceOk ¶
GetElevationDifferenceOk returns a tuple with the ElevationDifference field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Split) GetMovingTime ¶
GetMovingTime returns the MovingTime field value if set, zero value otherwise.
func (*Split) GetMovingTimeOk ¶
GetMovingTimeOk returns a tuple with the MovingTime field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Split) GetPaceZone ¶
GetPaceZone returns the PaceZone field value if set, zero value otherwise.
func (*Split) GetPaceZoneOk ¶
GetPaceZoneOk returns a tuple with the PaceZone field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Split) GetSplitOk ¶
GetSplitOk returns a tuple with the Split field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Split) HasAverageSpeed ¶
HasAverageSpeed returns a boolean if a field has been set.
func (*Split) HasDistance ¶
HasDistance returns a boolean if a field has been set.
func (*Split) HasElapsedTime ¶
HasElapsedTime returns a boolean if a field has been set.
func (*Split) HasElevationDifference ¶
HasElevationDifference returns a boolean if a field has been set.
func (*Split) HasMovingTime ¶
HasMovingTime returns a boolean if a field has been set.
func (*Split) HasPaceZone ¶
HasPaceZone returns a boolean if a field has been set.
func (Split) MarshalJSON ¶
func (*Split) SetAverageSpeed ¶
SetAverageSpeed gets a reference to the given float32 and assigns it to the AverageSpeed field.
func (*Split) SetDistance ¶
SetDistance gets a reference to the given float32 and assigns it to the Distance field.
func (*Split) SetElapsedTime ¶
SetElapsedTime gets a reference to the given int32 and assigns it to the ElapsedTime field.
func (*Split) SetElevationDifference ¶
SetElevationDifference gets a reference to the given float32 and assigns it to the ElevationDifference field.
func (*Split) SetMovingTime ¶
SetMovingTime gets a reference to the given int32 and assigns it to the MovingTime field.
func (*Split) SetPaceZone ¶
SetPaceZone gets a reference to the given int32 and assigns it to the PaceZone field.
type SportType ¶
type SportType string
SportType An enumeration of the sport types an activity may have. Distinct from ActivityType in that it has new types (e.g. MountainBikeRide)
const ( SPORTTYPE_ALPINE_SKI SportType = "AlpineSki" SPORTTYPE_BACKCOUNTRY_SKI SportType = "BackcountrySki" SPORTTYPE_BADMINTON SportType = "Badminton" SPORTTYPE_CANOEING SportType = "Canoeing" SPORTTYPE_CROSSFIT SportType = "Crossfit" SPORTTYPE_E_BIKE_RIDE SportType = "EBikeRide" SPORTTYPE_ELLIPTICAL SportType = "Elliptical" SPORTTYPE_E_MOUNTAIN_BIKE_RIDE SportType = "EMountainBikeRide" SPORTTYPE_GOLF SportType = "Golf" SPORTTYPE_GRAVEL_RIDE SportType = "GravelRide" SPORTTYPE_HANDCYCLE SportType = "Handcycle" SPORTTYPE_HIGH_INTENSITY_INTERVAL_TRAINING SportType = "HighIntensityIntervalTraining" SPORTTYPE_HIKE SportType = "Hike" SPORTTYPE_ICE_SKATE SportType = "IceSkate" SPORTTYPE_INLINE_SKATE SportType = "InlineSkate" SPORTTYPE_KAYAKING SportType = "Kayaking" SPORTTYPE_KITESURF SportType = "Kitesurf" SPORTTYPE_MOUNTAIN_BIKE_RIDE SportType = "MountainBikeRide" SPORTTYPE_NORDIC_SKI SportType = "NordicSki" SPORTTYPE_PICKLEBALL SportType = "Pickleball" SPORTTYPE_PILATES SportType = "Pilates" SPORTTYPE_RACQUETBALL SportType = "Racquetball" SPORTTYPE_RIDE SportType = "Ride" SPORTTYPE_ROCK_CLIMBING SportType = "RockClimbing" SPORTTYPE_ROLLER_SKI SportType = "RollerSki" SPORTTYPE_ROWING SportType = "Rowing" SPORTTYPE_RUN SportType = "Run" SPORTTYPE_SAIL SportType = "Sail" SPORTTYPE_SKATEBOARD SportType = "Skateboard" SPORTTYPE_SNOWBOARD SportType = "Snowboard" SPORTTYPE_SNOWSHOE SportType = "Snowshoe" SPORTTYPE_SOCCER SportType = "Soccer" SPORTTYPE_SQUASH SportType = "Squash" SPORTTYPE_STAIR_STEPPER SportType = "StairStepper" SPORTTYPE_STAND_UP_PADDLING SportType = "StandUpPaddling" SPORTTYPE_SURFING SportType = "Surfing" SPORTTYPE_SWIM SportType = "Swim" SPORTTYPE_TABLE_TENNIS SportType = "TableTennis" SPORTTYPE_TENNIS SportType = "Tennis" SPORTTYPE_TRAIL_RUN SportType = "TrailRun" SPORTTYPE_VELOMOBILE SportType = "Velomobile" SPORTTYPE_VIRTUAL_RIDE SportType = "VirtualRide" SPORTTYPE_VIRTUAL_ROW SportType = "VirtualRow" SPORTTYPE_VIRTUAL_RUN SportType = "VirtualRun" SPORTTYPE_WALK SportType = "Walk" SPORTTYPE_WEIGHT_TRAINING SportType = "WeightTraining" SPORTTYPE_WHEELCHAIR SportType = "Wheelchair" SPORTTYPE_WINDSURF SportType = "Windsurf" SPORTTYPE_WORKOUT SportType = "Workout" SPORTTYPE_YOGA SportType = "Yoga" )
List of SportType
func NewSportTypeFromValue ¶
NewSportTypeFromValue returns a pointer to a valid SportType for the value passed as argument, or an error if the value passed is not allowed by the enum
func (*SportType) UnmarshalJSON ¶
type StreamSet ¶
type StreamSet struct { Time *TimeStream `json:"time,omitempty"` Distance *DistanceStream `json:"distance,omitempty"` Latlng *LatLngStream `json:"latlng,omitempty"` Altitude *AltitudeStream `json:"altitude,omitempty"` VelocitySmooth *SmoothVelocityStream `json:"velocity_smooth,omitempty"` Heartrate *HeartrateStream `json:"heartrate,omitempty"` Cadence *CadenceStream `json:"cadence,omitempty"` Watts *PowerStream `json:"watts,omitempty"` Temp *TemperatureStream `json:"temp,omitempty"` Moving *MovingStream `json:"moving,omitempty"` GradeSmooth *SmoothGradeStream `json:"grade_smooth,omitempty"` }
StreamSet struct for StreamSet
func NewStreamSet ¶
func NewStreamSet() *StreamSet
NewStreamSet instantiates a new StreamSet object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewStreamSetWithDefaults ¶
func NewStreamSetWithDefaults() *StreamSet
NewStreamSetWithDefaults instantiates a new StreamSet object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*StreamSet) GetAltitude ¶
func (o *StreamSet) GetAltitude() AltitudeStream
GetAltitude returns the Altitude field value if set, zero value otherwise.
func (*StreamSet) GetAltitudeOk ¶
func (o *StreamSet) GetAltitudeOk() (*AltitudeStream, bool)
GetAltitudeOk returns a tuple with the Altitude field value if set, nil otherwise and a boolean to check if the value has been set.
func (*StreamSet) GetCadence ¶
func (o *StreamSet) GetCadence() CadenceStream
GetCadence returns the Cadence field value if set, zero value otherwise.
func (*StreamSet) GetCadenceOk ¶
func (o *StreamSet) GetCadenceOk() (*CadenceStream, bool)
GetCadenceOk returns a tuple with the Cadence field value if set, nil otherwise and a boolean to check if the value has been set.
func (*StreamSet) GetDistance ¶
func (o *StreamSet) GetDistance() DistanceStream
GetDistance returns the Distance field value if set, zero value otherwise.
func (*StreamSet) GetDistanceOk ¶
func (o *StreamSet) GetDistanceOk() (*DistanceStream, bool)
GetDistanceOk returns a tuple with the Distance field value if set, nil otherwise and a boolean to check if the value has been set.
func (*StreamSet) GetGradeSmooth ¶
func (o *StreamSet) GetGradeSmooth() SmoothGradeStream
GetGradeSmooth returns the GradeSmooth field value if set, zero value otherwise.
func (*StreamSet) GetGradeSmoothOk ¶
func (o *StreamSet) GetGradeSmoothOk() (*SmoothGradeStream, bool)
GetGradeSmoothOk returns a tuple with the GradeSmooth field value if set, nil otherwise and a boolean to check if the value has been set.
func (*StreamSet) GetHeartrate ¶
func (o *StreamSet) GetHeartrate() HeartrateStream
GetHeartrate returns the Heartrate field value if set, zero value otherwise.
func (*StreamSet) GetHeartrateOk ¶
func (o *StreamSet) GetHeartrateOk() (*HeartrateStream, bool)
GetHeartrateOk returns a tuple with the Heartrate field value if set, nil otherwise and a boolean to check if the value has been set.
func (*StreamSet) GetLatlng ¶
func (o *StreamSet) GetLatlng() LatLngStream
GetLatlng returns the Latlng field value if set, zero value otherwise.
func (*StreamSet) GetLatlngOk ¶
func (o *StreamSet) GetLatlngOk() (*LatLngStream, bool)
GetLatlngOk returns a tuple with the Latlng field value if set, nil otherwise and a boolean to check if the value has been set.
func (*StreamSet) GetMoving ¶
func (o *StreamSet) GetMoving() MovingStream
GetMoving returns the Moving field value if set, zero value otherwise.
func (*StreamSet) GetMovingOk ¶
func (o *StreamSet) GetMovingOk() (*MovingStream, bool)
GetMovingOk returns a tuple with the Moving field value if set, nil otherwise and a boolean to check if the value has been set.
func (*StreamSet) GetTemp ¶
func (o *StreamSet) GetTemp() TemperatureStream
GetTemp returns the Temp field value if set, zero value otherwise.
func (*StreamSet) GetTempOk ¶
func (o *StreamSet) GetTempOk() (*TemperatureStream, bool)
GetTempOk returns a tuple with the Temp field value if set, nil otherwise and a boolean to check if the value has been set.
func (*StreamSet) GetTime ¶
func (o *StreamSet) GetTime() TimeStream
GetTime returns the Time field value if set, zero value otherwise.
func (*StreamSet) GetTimeOk ¶
func (o *StreamSet) GetTimeOk() (*TimeStream, bool)
GetTimeOk returns a tuple with the Time field value if set, nil otherwise and a boolean to check if the value has been set.
func (*StreamSet) GetVelocitySmooth ¶
func (o *StreamSet) GetVelocitySmooth() SmoothVelocityStream
GetVelocitySmooth returns the VelocitySmooth field value if set, zero value otherwise.
func (*StreamSet) GetVelocitySmoothOk ¶
func (o *StreamSet) GetVelocitySmoothOk() (*SmoothVelocityStream, bool)
GetVelocitySmoothOk returns a tuple with the VelocitySmooth field value if set, nil otherwise and a boolean to check if the value has been set.
func (*StreamSet) GetWatts ¶
func (o *StreamSet) GetWatts() PowerStream
GetWatts returns the Watts field value if set, zero value otherwise.
func (*StreamSet) GetWattsOk ¶
func (o *StreamSet) GetWattsOk() (*PowerStream, bool)
GetWattsOk returns a tuple with the Watts field value if set, nil otherwise and a boolean to check if the value has been set.
func (*StreamSet) HasAltitude ¶
HasAltitude returns a boolean if a field has been set.
func (*StreamSet) HasCadence ¶
HasCadence returns a boolean if a field has been set.
func (*StreamSet) HasDistance ¶
HasDistance returns a boolean if a field has been set.
func (*StreamSet) HasGradeSmooth ¶
HasGradeSmooth returns a boolean if a field has been set.
func (*StreamSet) HasHeartrate ¶
HasHeartrate returns a boolean if a field has been set.
func (*StreamSet) HasVelocitySmooth ¶
HasVelocitySmooth returns a boolean if a field has been set.
func (StreamSet) MarshalJSON ¶
func (*StreamSet) SetAltitude ¶
func (o *StreamSet) SetAltitude(v AltitudeStream)
SetAltitude gets a reference to the given AltitudeStream and assigns it to the Altitude field.
func (*StreamSet) SetCadence ¶
func (o *StreamSet) SetCadence(v CadenceStream)
SetCadence gets a reference to the given CadenceStream and assigns it to the Cadence field.
func (*StreamSet) SetDistance ¶
func (o *StreamSet) SetDistance(v DistanceStream)
SetDistance gets a reference to the given DistanceStream and assigns it to the Distance field.
func (*StreamSet) SetGradeSmooth ¶
func (o *StreamSet) SetGradeSmooth(v SmoothGradeStream)
SetGradeSmooth gets a reference to the given SmoothGradeStream and assigns it to the GradeSmooth field.
func (*StreamSet) SetHeartrate ¶
func (o *StreamSet) SetHeartrate(v HeartrateStream)
SetHeartrate gets a reference to the given HeartrateStream and assigns it to the Heartrate field.
func (*StreamSet) SetLatlng ¶
func (o *StreamSet) SetLatlng(v LatLngStream)
SetLatlng gets a reference to the given LatLngStream and assigns it to the Latlng field.
func (*StreamSet) SetMoving ¶
func (o *StreamSet) SetMoving(v MovingStream)
SetMoving gets a reference to the given MovingStream and assigns it to the Moving field.
func (*StreamSet) SetTemp ¶
func (o *StreamSet) SetTemp(v TemperatureStream)
SetTemp gets a reference to the given TemperatureStream and assigns it to the Temp field.
func (*StreamSet) SetTime ¶
func (o *StreamSet) SetTime(v TimeStream)
SetTime gets a reference to the given TimeStream and assigns it to the Time field.
func (*StreamSet) SetVelocitySmooth ¶
func (o *StreamSet) SetVelocitySmooth(v SmoothVelocityStream)
SetVelocitySmooth gets a reference to the given SmoothVelocityStream and assigns it to the VelocitySmooth field.
func (*StreamSet) SetWatts ¶
func (o *StreamSet) SetWatts(v PowerStream)
SetWatts gets a reference to the given PowerStream and assigns it to the Watts field.
type StreamsAPIService ¶
type StreamsAPIService service
StreamsAPIService StreamsAPI service
func (*StreamsAPIService) GetActivityStreams ¶
func (a *StreamsAPIService) GetActivityStreams(ctx context.Context, id int64) ApiGetActivityStreamsRequest
GetActivityStreams Get Activity Streams
Returns the given activity's streams. Requires activity:read scope. Requires activity:read_all scope for Only Me activities.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param id The identifier of the activity. @return ApiGetActivityStreamsRequest
func (*StreamsAPIService) GetActivityStreamsExecute ¶
func (a *StreamsAPIService) GetActivityStreamsExecute(r ApiGetActivityStreamsRequest) (*StreamSet, *http.Response, error)
Execute executes the request
@return StreamSet
func (*StreamsAPIService) GetRouteStreams ¶
func (a *StreamsAPIService) GetRouteStreams(ctx context.Context, id int64) ApiGetRouteStreamsRequest
GetRouteStreams Get Route Streams
Returns the given route's streams. Requires read_all scope for private routes.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param id The identifier of the route. @return ApiGetRouteStreamsRequest
func (*StreamsAPIService) GetRouteStreamsExecute ¶
func (a *StreamsAPIService) GetRouteStreamsExecute(r ApiGetRouteStreamsRequest) (*StreamSet, *http.Response, error)
Execute executes the request
@return StreamSet
func (*StreamsAPIService) GetSegmentEffortStreams ¶
func (a *StreamsAPIService) GetSegmentEffortStreams(ctx context.Context, id int64) ApiGetSegmentEffortStreamsRequest
GetSegmentEffortStreams Get Segment Effort Streams
Returns a set of streams for a segment effort completed by the authenticated athlete. Requires read_all scope.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param id The identifier of the segment effort. @return ApiGetSegmentEffortStreamsRequest
func (*StreamsAPIService) GetSegmentEffortStreamsExecute ¶
func (a *StreamsAPIService) GetSegmentEffortStreamsExecute(r ApiGetSegmentEffortStreamsRequest) (*StreamSet, *http.Response, error)
Execute executes the request
@return StreamSet
func (*StreamsAPIService) GetSegmentStreams ¶
func (a *StreamsAPIService) GetSegmentStreams(ctx context.Context, id int64) ApiGetSegmentStreamsRequest
GetSegmentStreams Get Segment Streams
Returns the given segment's streams. Requires read_all scope for private segments.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param id The identifier of the segment. @return ApiGetSegmentStreamsRequest
func (*StreamsAPIService) GetSegmentStreamsExecute ¶
func (a *StreamsAPIService) GetSegmentStreamsExecute(r ApiGetSegmentStreamsRequest) (*StreamSet, *http.Response, error)
Execute executes the request
@return StreamSet
type SummaryActivity ¶
type SummaryActivity struct { // The unique identifier of the activity Id *int64 `json:"id,omitempty"` // The identifier provided at upload time ExternalId *string `json:"external_id,omitempty"` // The identifier of the upload that resulted in this activity UploadId *int64 `json:"upload_id,omitempty"` Athlete *MetaAthlete `json:"athlete,omitempty"` // The name of the activity Name *string `json:"name,omitempty"` // The activity's distance, in meters Distance *float32 `json:"distance,omitempty"` // The activity's moving time, in seconds MovingTime *int32 `json:"moving_time,omitempty"` // The activity's elapsed time, in seconds ElapsedTime *int32 `json:"elapsed_time,omitempty"` // The activity's total elevation gain. TotalElevationGain *float32 `json:"total_elevation_gain,omitempty"` // The activity's highest elevation, in meters ElevHigh *float32 `json:"elev_high,omitempty"` // The activity's lowest elevation, in meters ElevLow *float32 `json:"elev_low,omitempty"` Type *ActivityType `json:"type,omitempty"` SportType *SportType `json:"sport_type,omitempty"` // The time at which the activity was started. StartDate *time.Time `json:"start_date,omitempty"` // The time at which the activity was started in the local timezone. StartDateLocal *time.Time `json:"start_date_local,omitempty"` // The timezone of the activity Timezone *string `json:"timezone,omitempty"` // A pair of latitude/longitude coordinates, represented as an array of 2 floating point numbers. StartLatlng []float32 `json:"start_latlng,omitempty"` // A pair of latitude/longitude coordinates, represented as an array of 2 floating point numbers. EndLatlng []float32 `json:"end_latlng,omitempty"` // The number of achievements gained during this activity AchievementCount *int32 `json:"achievement_count,omitempty"` // The number of kudos given for this activity KudosCount *int32 `json:"kudos_count,omitempty"` // The number of comments for this activity CommentCount *int32 `json:"comment_count,omitempty"` // The number of athletes for taking part in a group activity AthleteCount *int32 `json:"athlete_count,omitempty"` // The number of Instagram photos for this activity PhotoCount *int32 `json:"photo_count,omitempty"` // The number of Instagram and Strava photos for this activity TotalPhotoCount *int32 `json:"total_photo_count,omitempty"` Map *PolylineMap `json:"map,omitempty"` // Whether this activity was recorded on a training machine Trainer *bool `json:"trainer,omitempty"` // Whether this activity is a commute Commute *bool `json:"commute,omitempty"` // Whether this activity was created manually Manual *bool `json:"manual,omitempty"` // Whether this activity is private Private *bool `json:"private,omitempty"` // Whether this activity is flagged Flagged *bool `json:"flagged,omitempty"` // The activity's workout type WorkoutType *int32 `json:"workout_type,omitempty"` // The unique identifier of the upload in string format UploadIdStr *string `json:"upload_id_str,omitempty"` // The activity's average speed, in meters per second AverageSpeed *float32 `json:"average_speed,omitempty"` // The activity's max speed, in meters per second MaxSpeed *float32 `json:"max_speed,omitempty"` // Whether the logged-in athlete has kudoed this activity HasKudoed *bool `json:"has_kudoed,omitempty"` // Whether the activity is muted HideFromHome *bool `json:"hide_from_home,omitempty"` // The id of the gear for the activity GearId *string `json:"gear_id,omitempty"` // The total work done in kilojoules during this activity. Rides only Kilojoules *float32 `json:"kilojoules,omitempty"` // Average power output in watts during this activity. Rides only AverageWatts *float32 `json:"average_watts,omitempty"` // Whether the watts are from a power meter, false if estimated DeviceWatts *bool `json:"device_watts,omitempty"` // Rides with power meter data only MaxWatts *int32 `json:"max_watts,omitempty"` // Similar to Normalized Power. Rides with power meter data only WeightedAverageWatts *int32 `json:"weighted_average_watts,omitempty"` }
SummaryActivity struct for SummaryActivity
func NewSummaryActivity ¶
func NewSummaryActivity() *SummaryActivity
NewSummaryActivity instantiates a new SummaryActivity object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewSummaryActivityWithDefaults ¶
func NewSummaryActivityWithDefaults() *SummaryActivity
NewSummaryActivityWithDefaults instantiates a new SummaryActivity object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*SummaryActivity) GetAchievementCount ¶
func (o *SummaryActivity) GetAchievementCount() int32
GetAchievementCount returns the AchievementCount field value if set, zero value otherwise.
func (*SummaryActivity) GetAchievementCountOk ¶
func (o *SummaryActivity) GetAchievementCountOk() (*int32, bool)
GetAchievementCountOk returns a tuple with the AchievementCount field value if set, nil otherwise and a boolean to check if the value has been set.
func (*SummaryActivity) GetAthlete ¶
func (o *SummaryActivity) GetAthlete() MetaAthlete
GetAthlete returns the Athlete field value if set, zero value otherwise.
func (*SummaryActivity) GetAthleteCount ¶
func (o *SummaryActivity) GetAthleteCount() int32
GetAthleteCount returns the AthleteCount field value if set, zero value otherwise.
func (*SummaryActivity) GetAthleteCountOk ¶
func (o *SummaryActivity) GetAthleteCountOk() (*int32, bool)
GetAthleteCountOk returns a tuple with the AthleteCount field value if set, nil otherwise and a boolean to check if the value has been set.
func (*SummaryActivity) GetAthleteOk ¶
func (o *SummaryActivity) GetAthleteOk() (*MetaAthlete, bool)
GetAthleteOk returns a tuple with the Athlete field value if set, nil otherwise and a boolean to check if the value has been set.
func (*SummaryActivity) GetAverageSpeed ¶
func (o *SummaryActivity) GetAverageSpeed() float32
GetAverageSpeed returns the AverageSpeed field value if set, zero value otherwise.
func (*SummaryActivity) GetAverageSpeedOk ¶
func (o *SummaryActivity) GetAverageSpeedOk() (*float32, bool)
GetAverageSpeedOk returns a tuple with the AverageSpeed field value if set, nil otherwise and a boolean to check if the value has been set.
func (*SummaryActivity) GetAverageWatts ¶
func (o *SummaryActivity) GetAverageWatts() float32
GetAverageWatts returns the AverageWatts field value if set, zero value otherwise.
func (*SummaryActivity) GetAverageWattsOk ¶
func (o *SummaryActivity) GetAverageWattsOk() (*float32, bool)
GetAverageWattsOk returns a tuple with the AverageWatts field value if set, nil otherwise and a boolean to check if the value has been set.
func (*SummaryActivity) GetCommentCount ¶
func (o *SummaryActivity) GetCommentCount() int32
GetCommentCount returns the CommentCount field value if set, zero value otherwise.
func (*SummaryActivity) GetCommentCountOk ¶
func (o *SummaryActivity) GetCommentCountOk() (*int32, bool)
GetCommentCountOk returns a tuple with the CommentCount field value if set, nil otherwise and a boolean to check if the value has been set.
func (*SummaryActivity) GetCommute ¶
func (o *SummaryActivity) GetCommute() bool
GetCommute returns the Commute field value if set, zero value otherwise.
func (*SummaryActivity) GetCommuteOk ¶
func (o *SummaryActivity) GetCommuteOk() (*bool, bool)
GetCommuteOk returns a tuple with the Commute field value if set, nil otherwise and a boolean to check if the value has been set.
func (*SummaryActivity) GetDeviceWatts ¶
func (o *SummaryActivity) GetDeviceWatts() bool
GetDeviceWatts returns the DeviceWatts field value if set, zero value otherwise.
func (*SummaryActivity) GetDeviceWattsOk ¶
func (o *SummaryActivity) GetDeviceWattsOk() (*bool, bool)
GetDeviceWattsOk returns a tuple with the DeviceWatts field value if set, nil otherwise and a boolean to check if the value has been set.
func (*SummaryActivity) GetDistance ¶
func (o *SummaryActivity) GetDistance() float32
GetDistance returns the Distance field value if set, zero value otherwise.
func (*SummaryActivity) GetDistanceOk ¶
func (o *SummaryActivity) GetDistanceOk() (*float32, bool)
GetDistanceOk returns a tuple with the Distance field value if set, nil otherwise and a boolean to check if the value has been set.
func (*SummaryActivity) GetElapsedTime ¶
func (o *SummaryActivity) GetElapsedTime() int32
GetElapsedTime returns the ElapsedTime field value if set, zero value otherwise.
func (*SummaryActivity) GetElapsedTimeOk ¶
func (o *SummaryActivity) GetElapsedTimeOk() (*int32, bool)
GetElapsedTimeOk returns a tuple with the ElapsedTime field value if set, nil otherwise and a boolean to check if the value has been set.
func (*SummaryActivity) GetElevHigh ¶
func (o *SummaryActivity) GetElevHigh() float32
GetElevHigh returns the ElevHigh field value if set, zero value otherwise.
func (*SummaryActivity) GetElevHighOk ¶
func (o *SummaryActivity) GetElevHighOk() (*float32, bool)
GetElevHighOk returns a tuple with the ElevHigh field value if set, nil otherwise and a boolean to check if the value has been set.
func (*SummaryActivity) GetElevLow ¶
func (o *SummaryActivity) GetElevLow() float32
GetElevLow returns the ElevLow field value if set, zero value otherwise.
func (*SummaryActivity) GetElevLowOk ¶
func (o *SummaryActivity) GetElevLowOk() (*float32, bool)
GetElevLowOk returns a tuple with the ElevLow field value if set, nil otherwise and a boolean to check if the value has been set.
func (*SummaryActivity) GetEndLatlng ¶
func (o *SummaryActivity) GetEndLatlng() []float32
GetEndLatlng returns the EndLatlng field value if set, zero value otherwise.
func (*SummaryActivity) GetEndLatlngOk ¶
func (o *SummaryActivity) GetEndLatlngOk() ([]float32, bool)
GetEndLatlngOk returns a tuple with the EndLatlng field value if set, nil otherwise and a boolean to check if the value has been set.
func (*SummaryActivity) GetExternalId ¶
func (o *SummaryActivity) GetExternalId() string
GetExternalId returns the ExternalId field value if set, zero value otherwise.
func (*SummaryActivity) GetExternalIdOk ¶
func (o *SummaryActivity) GetExternalIdOk() (*string, bool)
GetExternalIdOk returns a tuple with the ExternalId field value if set, nil otherwise and a boolean to check if the value has been set.
func (*SummaryActivity) GetFlagged ¶
func (o *SummaryActivity) GetFlagged() bool
GetFlagged returns the Flagged field value if set, zero value otherwise.
func (*SummaryActivity) GetFlaggedOk ¶
func (o *SummaryActivity) GetFlaggedOk() (*bool, bool)
GetFlaggedOk returns a tuple with the Flagged field value if set, nil otherwise and a boolean to check if the value has been set.
func (*SummaryActivity) GetGearId ¶
func (o *SummaryActivity) GetGearId() string
GetGearId returns the GearId field value if set, zero value otherwise.
func (*SummaryActivity) GetGearIdOk ¶
func (o *SummaryActivity) GetGearIdOk() (*string, bool)
GetGearIdOk returns a tuple with the GearId field value if set, nil otherwise and a boolean to check if the value has been set.
func (*SummaryActivity) GetHasKudoed ¶
func (o *SummaryActivity) GetHasKudoed() bool
GetHasKudoed returns the HasKudoed field value if set, zero value otherwise.
func (*SummaryActivity) GetHasKudoedOk ¶
func (o *SummaryActivity) GetHasKudoedOk() (*bool, bool)
GetHasKudoedOk returns a tuple with the HasKudoed field value if set, nil otherwise and a boolean to check if the value has been set.
func (*SummaryActivity) GetHideFromHome ¶
func (o *SummaryActivity) GetHideFromHome() bool
GetHideFromHome returns the HideFromHome field value if set, zero value otherwise.
func (*SummaryActivity) GetHideFromHomeOk ¶
func (o *SummaryActivity) GetHideFromHomeOk() (*bool, bool)
GetHideFromHomeOk returns a tuple with the HideFromHome field value if set, nil otherwise and a boolean to check if the value has been set.
func (*SummaryActivity) GetId ¶
func (o *SummaryActivity) GetId() int64
GetId returns the Id field value if set, zero value otherwise.
func (*SummaryActivity) GetIdOk ¶
func (o *SummaryActivity) GetIdOk() (*int64, bool)
GetIdOk returns a tuple with the Id field value if set, nil otherwise and a boolean to check if the value has been set.
func (*SummaryActivity) GetKilojoules ¶
func (o *SummaryActivity) GetKilojoules() float32
GetKilojoules returns the Kilojoules field value if set, zero value otherwise.
func (*SummaryActivity) GetKilojoulesOk ¶
func (o *SummaryActivity) GetKilojoulesOk() (*float32, bool)
GetKilojoulesOk returns a tuple with the Kilojoules field value if set, nil otherwise and a boolean to check if the value has been set.
func (*SummaryActivity) GetKudosCount ¶
func (o *SummaryActivity) GetKudosCount() int32
GetKudosCount returns the KudosCount field value if set, zero value otherwise.
func (*SummaryActivity) GetKudosCountOk ¶
func (o *SummaryActivity) GetKudosCountOk() (*int32, bool)
GetKudosCountOk returns a tuple with the KudosCount field value if set, nil otherwise and a boolean to check if the value has been set.
func (*SummaryActivity) GetManual ¶
func (o *SummaryActivity) GetManual() bool
GetManual returns the Manual field value if set, zero value otherwise.
func (*SummaryActivity) GetManualOk ¶
func (o *SummaryActivity) GetManualOk() (*bool, bool)
GetManualOk returns a tuple with the Manual field value if set, nil otherwise and a boolean to check if the value has been set.
func (*SummaryActivity) GetMap ¶
func (o *SummaryActivity) GetMap() PolylineMap
GetMap returns the Map field value if set, zero value otherwise.
func (*SummaryActivity) GetMapOk ¶
func (o *SummaryActivity) GetMapOk() (*PolylineMap, bool)
GetMapOk returns a tuple with the Map field value if set, nil otherwise and a boolean to check if the value has been set.
func (*SummaryActivity) GetMaxSpeed ¶
func (o *SummaryActivity) GetMaxSpeed() float32
GetMaxSpeed returns the MaxSpeed field value if set, zero value otherwise.
func (*SummaryActivity) GetMaxSpeedOk ¶
func (o *SummaryActivity) GetMaxSpeedOk() (*float32, bool)
GetMaxSpeedOk returns a tuple with the MaxSpeed field value if set, nil otherwise and a boolean to check if the value has been set.
func (*SummaryActivity) GetMaxWatts ¶
func (o *SummaryActivity) GetMaxWatts() int32
GetMaxWatts returns the MaxWatts field value if set, zero value otherwise.
func (*SummaryActivity) GetMaxWattsOk ¶
func (o *SummaryActivity) GetMaxWattsOk() (*int32, bool)
GetMaxWattsOk returns a tuple with the MaxWatts field value if set, nil otherwise and a boolean to check if the value has been set.
func (*SummaryActivity) GetMovingTime ¶
func (o *SummaryActivity) GetMovingTime() int32
GetMovingTime returns the MovingTime field value if set, zero value otherwise.
func (*SummaryActivity) GetMovingTimeOk ¶
func (o *SummaryActivity) GetMovingTimeOk() (*int32, bool)
GetMovingTimeOk returns a tuple with the MovingTime field value if set, nil otherwise and a boolean to check if the value has been set.
func (*SummaryActivity) GetName ¶
func (o *SummaryActivity) GetName() string
GetName returns the Name field value if set, zero value otherwise.
func (*SummaryActivity) GetNameOk ¶
func (o *SummaryActivity) GetNameOk() (*string, bool)
GetNameOk returns a tuple with the Name field value if set, nil otherwise and a boolean to check if the value has been set.
func (*SummaryActivity) GetPhotoCount ¶
func (o *SummaryActivity) GetPhotoCount() int32
GetPhotoCount returns the PhotoCount field value if set, zero value otherwise.
func (*SummaryActivity) GetPhotoCountOk ¶
func (o *SummaryActivity) GetPhotoCountOk() (*int32, bool)
GetPhotoCountOk returns a tuple with the PhotoCount field value if set, nil otherwise and a boolean to check if the value has been set.
func (*SummaryActivity) GetPrivate ¶
func (o *SummaryActivity) GetPrivate() bool
GetPrivate returns the Private field value if set, zero value otherwise.
func (*SummaryActivity) GetPrivateOk ¶
func (o *SummaryActivity) GetPrivateOk() (*bool, bool)
GetPrivateOk returns a tuple with the Private field value if set, nil otherwise and a boolean to check if the value has been set.
func (*SummaryActivity) GetSportType ¶
func (o *SummaryActivity) GetSportType() SportType
GetSportType returns the SportType field value if set, zero value otherwise.
func (*SummaryActivity) GetSportTypeOk ¶
func (o *SummaryActivity) GetSportTypeOk() (*SportType, bool)
GetSportTypeOk returns a tuple with the SportType field value if set, nil otherwise and a boolean to check if the value has been set.
func (*SummaryActivity) GetStartDate ¶
func (o *SummaryActivity) GetStartDate() time.Time
GetStartDate returns the StartDate field value if set, zero value otherwise.
func (*SummaryActivity) GetStartDateLocal ¶
func (o *SummaryActivity) GetStartDateLocal() time.Time
GetStartDateLocal returns the StartDateLocal field value if set, zero value otherwise.
func (*SummaryActivity) GetStartDateLocalOk ¶
func (o *SummaryActivity) GetStartDateLocalOk() (*time.Time, bool)
GetStartDateLocalOk returns a tuple with the StartDateLocal field value if set, nil otherwise and a boolean to check if the value has been set.
func (*SummaryActivity) GetStartDateOk ¶
func (o *SummaryActivity) GetStartDateOk() (*time.Time, bool)
GetStartDateOk returns a tuple with the StartDate field value if set, nil otherwise and a boolean to check if the value has been set.
func (*SummaryActivity) GetStartLatlng ¶
func (o *SummaryActivity) GetStartLatlng() []float32
GetStartLatlng returns the StartLatlng field value if set, zero value otherwise.
func (*SummaryActivity) GetStartLatlngOk ¶
func (o *SummaryActivity) GetStartLatlngOk() ([]float32, bool)
GetStartLatlngOk returns a tuple with the StartLatlng field value if set, nil otherwise and a boolean to check if the value has been set.
func (*SummaryActivity) GetTimezone ¶
func (o *SummaryActivity) GetTimezone() string
GetTimezone returns the Timezone field value if set, zero value otherwise.
func (*SummaryActivity) GetTimezoneOk ¶
func (o *SummaryActivity) GetTimezoneOk() (*string, bool)
GetTimezoneOk returns a tuple with the Timezone field value if set, nil otherwise and a boolean to check if the value has been set.
func (*SummaryActivity) GetTotalElevationGain ¶
func (o *SummaryActivity) GetTotalElevationGain() float32
GetTotalElevationGain returns the TotalElevationGain field value if set, zero value otherwise.
func (*SummaryActivity) GetTotalElevationGainOk ¶
func (o *SummaryActivity) GetTotalElevationGainOk() (*float32, bool)
GetTotalElevationGainOk returns a tuple with the TotalElevationGain field value if set, nil otherwise and a boolean to check if the value has been set.
func (*SummaryActivity) GetTotalPhotoCount ¶
func (o *SummaryActivity) GetTotalPhotoCount() int32
GetTotalPhotoCount returns the TotalPhotoCount field value if set, zero value otherwise.
func (*SummaryActivity) GetTotalPhotoCountOk ¶
func (o *SummaryActivity) GetTotalPhotoCountOk() (*int32, bool)
GetTotalPhotoCountOk returns a tuple with the TotalPhotoCount field value if set, nil otherwise and a boolean to check if the value has been set.
func (*SummaryActivity) GetTrainer ¶
func (o *SummaryActivity) GetTrainer() bool
GetTrainer returns the Trainer field value if set, zero value otherwise.
func (*SummaryActivity) GetTrainerOk ¶
func (o *SummaryActivity) GetTrainerOk() (*bool, bool)
GetTrainerOk returns a tuple with the Trainer field value if set, nil otherwise and a boolean to check if the value has been set.
func (*SummaryActivity) GetType ¶
func (o *SummaryActivity) GetType() ActivityType
GetType returns the Type field value if set, zero value otherwise.
func (*SummaryActivity) GetTypeOk ¶
func (o *SummaryActivity) GetTypeOk() (*ActivityType, bool)
GetTypeOk returns a tuple with the Type field value if set, nil otherwise and a boolean to check if the value has been set.
func (*SummaryActivity) GetUploadId ¶
func (o *SummaryActivity) GetUploadId() int64
GetUploadId returns the UploadId field value if set, zero value otherwise.
func (*SummaryActivity) GetUploadIdOk ¶
func (o *SummaryActivity) GetUploadIdOk() (*int64, bool)
GetUploadIdOk returns a tuple with the UploadId field value if set, nil otherwise and a boolean to check if the value has been set.
func (*SummaryActivity) GetUploadIdStr ¶
func (o *SummaryActivity) GetUploadIdStr() string
GetUploadIdStr returns the UploadIdStr field value if set, zero value otherwise.
func (*SummaryActivity) GetUploadIdStrOk ¶
func (o *SummaryActivity) GetUploadIdStrOk() (*string, bool)
GetUploadIdStrOk returns a tuple with the UploadIdStr field value if set, nil otherwise and a boolean to check if the value has been set.
func (*SummaryActivity) GetWeightedAverageWatts ¶
func (o *SummaryActivity) GetWeightedAverageWatts() int32
GetWeightedAverageWatts returns the WeightedAverageWatts field value if set, zero value otherwise.
func (*SummaryActivity) GetWeightedAverageWattsOk ¶
func (o *SummaryActivity) GetWeightedAverageWattsOk() (*int32, bool)
GetWeightedAverageWattsOk returns a tuple with the WeightedAverageWatts field value if set, nil otherwise and a boolean to check if the value has been set.
func (*SummaryActivity) GetWorkoutType ¶
func (o *SummaryActivity) GetWorkoutType() int32
GetWorkoutType returns the WorkoutType field value if set, zero value otherwise.
func (*SummaryActivity) GetWorkoutTypeOk ¶
func (o *SummaryActivity) GetWorkoutTypeOk() (*int32, bool)
GetWorkoutTypeOk returns a tuple with the WorkoutType field value if set, nil otherwise and a boolean to check if the value has been set.
func (*SummaryActivity) HasAchievementCount ¶
func (o *SummaryActivity) HasAchievementCount() bool
HasAchievementCount returns a boolean if a field has been set.
func (*SummaryActivity) HasAthlete ¶
func (o *SummaryActivity) HasAthlete() bool
HasAthlete returns a boolean if a field has been set.
func (*SummaryActivity) HasAthleteCount ¶
func (o *SummaryActivity) HasAthleteCount() bool
HasAthleteCount returns a boolean if a field has been set.
func (*SummaryActivity) HasAverageSpeed ¶
func (o *SummaryActivity) HasAverageSpeed() bool
HasAverageSpeed returns a boolean if a field has been set.
func (*SummaryActivity) HasAverageWatts ¶
func (o *SummaryActivity) HasAverageWatts() bool
HasAverageWatts returns a boolean if a field has been set.
func (*SummaryActivity) HasCommentCount ¶
func (o *SummaryActivity) HasCommentCount() bool
HasCommentCount returns a boolean if a field has been set.
func (*SummaryActivity) HasCommute ¶
func (o *SummaryActivity) HasCommute() bool
HasCommute returns a boolean if a field has been set.
func (*SummaryActivity) HasDeviceWatts ¶
func (o *SummaryActivity) HasDeviceWatts() bool
HasDeviceWatts returns a boolean if a field has been set.
func (*SummaryActivity) HasDistance ¶
func (o *SummaryActivity) HasDistance() bool
HasDistance returns a boolean if a field has been set.
func (*SummaryActivity) HasElapsedTime ¶
func (o *SummaryActivity) HasElapsedTime() bool
HasElapsedTime returns a boolean if a field has been set.
func (*SummaryActivity) HasElevHigh ¶
func (o *SummaryActivity) HasElevHigh() bool
HasElevHigh returns a boolean if a field has been set.
func (*SummaryActivity) HasElevLow ¶
func (o *SummaryActivity) HasElevLow() bool
HasElevLow returns a boolean if a field has been set.
func (*SummaryActivity) HasEndLatlng ¶
func (o *SummaryActivity) HasEndLatlng() bool
HasEndLatlng returns a boolean if a field has been set.
func (*SummaryActivity) HasExternalId ¶
func (o *SummaryActivity) HasExternalId() bool
HasExternalId returns a boolean if a field has been set.
func (*SummaryActivity) HasFlagged ¶
func (o *SummaryActivity) HasFlagged() bool
HasFlagged returns a boolean if a field has been set.
func (*SummaryActivity) HasGearId ¶
func (o *SummaryActivity) HasGearId() bool
HasGearId returns a boolean if a field has been set.
func (*SummaryActivity) HasHasKudoed ¶
func (o *SummaryActivity) HasHasKudoed() bool
HasHasKudoed returns a boolean if a field has been set.
func (*SummaryActivity) HasHideFromHome ¶
func (o *SummaryActivity) HasHideFromHome() bool
HasHideFromHome returns a boolean if a field has been set.
func (*SummaryActivity) HasId ¶
func (o *SummaryActivity) HasId() bool
HasId returns a boolean if a field has been set.
func (*SummaryActivity) HasKilojoules ¶
func (o *SummaryActivity) HasKilojoules() bool
HasKilojoules returns a boolean if a field has been set.
func (*SummaryActivity) HasKudosCount ¶
func (o *SummaryActivity) HasKudosCount() bool
HasKudosCount returns a boolean if a field has been set.
func (*SummaryActivity) HasManual ¶
func (o *SummaryActivity) HasManual() bool
HasManual returns a boolean if a field has been set.
func (*SummaryActivity) HasMap ¶
func (o *SummaryActivity) HasMap() bool
HasMap returns a boolean if a field has been set.
func (*SummaryActivity) HasMaxSpeed ¶
func (o *SummaryActivity) HasMaxSpeed() bool
HasMaxSpeed returns a boolean if a field has been set.
func (*SummaryActivity) HasMaxWatts ¶
func (o *SummaryActivity) HasMaxWatts() bool
HasMaxWatts returns a boolean if a field has been set.
func (*SummaryActivity) HasMovingTime ¶
func (o *SummaryActivity) HasMovingTime() bool
HasMovingTime returns a boolean if a field has been set.
func (*SummaryActivity) HasName ¶
func (o *SummaryActivity) HasName() bool
HasName returns a boolean if a field has been set.
func (*SummaryActivity) HasPhotoCount ¶
func (o *SummaryActivity) HasPhotoCount() bool
HasPhotoCount returns a boolean if a field has been set.
func (*SummaryActivity) HasPrivate ¶
func (o *SummaryActivity) HasPrivate() bool
HasPrivate returns a boolean if a field has been set.
func (*SummaryActivity) HasSportType ¶
func (o *SummaryActivity) HasSportType() bool
HasSportType returns a boolean if a field has been set.
func (*SummaryActivity) HasStartDate ¶
func (o *SummaryActivity) HasStartDate() bool
HasStartDate returns a boolean if a field has been set.
func (*SummaryActivity) HasStartDateLocal ¶
func (o *SummaryActivity) HasStartDateLocal() bool
HasStartDateLocal returns a boolean if a field has been set.
func (*SummaryActivity) HasStartLatlng ¶
func (o *SummaryActivity) HasStartLatlng() bool
HasStartLatlng returns a boolean if a field has been set.
func (*SummaryActivity) HasTimezone ¶
func (o *SummaryActivity) HasTimezone() bool
HasTimezone returns a boolean if a field has been set.
func (*SummaryActivity) HasTotalElevationGain ¶
func (o *SummaryActivity) HasTotalElevationGain() bool
HasTotalElevationGain returns a boolean if a field has been set.
func (*SummaryActivity) HasTotalPhotoCount ¶
func (o *SummaryActivity) HasTotalPhotoCount() bool
HasTotalPhotoCount returns a boolean if a field has been set.
func (*SummaryActivity) HasTrainer ¶
func (o *SummaryActivity) HasTrainer() bool
HasTrainer returns a boolean if a field has been set.
func (*SummaryActivity) HasType ¶
func (o *SummaryActivity) HasType() bool
HasType returns a boolean if a field has been set.
func (*SummaryActivity) HasUploadId ¶
func (o *SummaryActivity) HasUploadId() bool
HasUploadId returns a boolean if a field has been set.
func (*SummaryActivity) HasUploadIdStr ¶
func (o *SummaryActivity) HasUploadIdStr() bool
HasUploadIdStr returns a boolean if a field has been set.
func (*SummaryActivity) HasWeightedAverageWatts ¶
func (o *SummaryActivity) HasWeightedAverageWatts() bool
HasWeightedAverageWatts returns a boolean if a field has been set.
func (*SummaryActivity) HasWorkoutType ¶
func (o *SummaryActivity) HasWorkoutType() bool
HasWorkoutType returns a boolean if a field has been set.
func (SummaryActivity) MarshalJSON ¶
func (o SummaryActivity) MarshalJSON() ([]byte, error)
func (*SummaryActivity) SetAchievementCount ¶
func (o *SummaryActivity) SetAchievementCount(v int32)
SetAchievementCount gets a reference to the given int32 and assigns it to the AchievementCount field.
func (*SummaryActivity) SetAthlete ¶
func (o *SummaryActivity) SetAthlete(v MetaAthlete)
SetAthlete gets a reference to the given MetaAthlete and assigns it to the Athlete field.
func (*SummaryActivity) SetAthleteCount ¶
func (o *SummaryActivity) SetAthleteCount(v int32)
SetAthleteCount gets a reference to the given int32 and assigns it to the AthleteCount field.
func (*SummaryActivity) SetAverageSpeed ¶
func (o *SummaryActivity) SetAverageSpeed(v float32)
SetAverageSpeed gets a reference to the given float32 and assigns it to the AverageSpeed field.
func (*SummaryActivity) SetAverageWatts ¶
func (o *SummaryActivity) SetAverageWatts(v float32)
SetAverageWatts gets a reference to the given float32 and assigns it to the AverageWatts field.
func (*SummaryActivity) SetCommentCount ¶
func (o *SummaryActivity) SetCommentCount(v int32)
SetCommentCount gets a reference to the given int32 and assigns it to the CommentCount field.
func (*SummaryActivity) SetCommute ¶
func (o *SummaryActivity) SetCommute(v bool)
SetCommute gets a reference to the given bool and assigns it to the Commute field.
func (*SummaryActivity) SetDeviceWatts ¶
func (o *SummaryActivity) SetDeviceWatts(v bool)
SetDeviceWatts gets a reference to the given bool and assigns it to the DeviceWatts field.
func (*SummaryActivity) SetDistance ¶
func (o *SummaryActivity) SetDistance(v float32)
SetDistance gets a reference to the given float32 and assigns it to the Distance field.
func (*SummaryActivity) SetElapsedTime ¶
func (o *SummaryActivity) SetElapsedTime(v int32)
SetElapsedTime gets a reference to the given int32 and assigns it to the ElapsedTime field.
func (*SummaryActivity) SetElevHigh ¶
func (o *SummaryActivity) SetElevHigh(v float32)
SetElevHigh gets a reference to the given float32 and assigns it to the ElevHigh field.
func (*SummaryActivity) SetElevLow ¶
func (o *SummaryActivity) SetElevLow(v float32)
SetElevLow gets a reference to the given float32 and assigns it to the ElevLow field.
func (*SummaryActivity) SetEndLatlng ¶
func (o *SummaryActivity) SetEndLatlng(v []float32)
SetEndLatlng gets a reference to the given []float32 and assigns it to the EndLatlng field.
func (*SummaryActivity) SetExternalId ¶
func (o *SummaryActivity) SetExternalId(v string)
SetExternalId gets a reference to the given string and assigns it to the ExternalId field.
func (*SummaryActivity) SetFlagged ¶
func (o *SummaryActivity) SetFlagged(v bool)
SetFlagged gets a reference to the given bool and assigns it to the Flagged field.
func (*SummaryActivity) SetGearId ¶
func (o *SummaryActivity) SetGearId(v string)
SetGearId gets a reference to the given string and assigns it to the GearId field.
func (*SummaryActivity) SetHasKudoed ¶
func (o *SummaryActivity) SetHasKudoed(v bool)
SetHasKudoed gets a reference to the given bool and assigns it to the HasKudoed field.
func (*SummaryActivity) SetHideFromHome ¶
func (o *SummaryActivity) SetHideFromHome(v bool)
SetHideFromHome gets a reference to the given bool and assigns it to the HideFromHome field.
func (*SummaryActivity) SetId ¶
func (o *SummaryActivity) SetId(v int64)
SetId gets a reference to the given int64 and assigns it to the Id field.
func (*SummaryActivity) SetKilojoules ¶
func (o *SummaryActivity) SetKilojoules(v float32)
SetKilojoules gets a reference to the given float32 and assigns it to the Kilojoules field.
func (*SummaryActivity) SetKudosCount ¶
func (o *SummaryActivity) SetKudosCount(v int32)
SetKudosCount gets a reference to the given int32 and assigns it to the KudosCount field.
func (*SummaryActivity) SetManual ¶
func (o *SummaryActivity) SetManual(v bool)
SetManual gets a reference to the given bool and assigns it to the Manual field.
func (*SummaryActivity) SetMap ¶
func (o *SummaryActivity) SetMap(v PolylineMap)
SetMap gets a reference to the given PolylineMap and assigns it to the Map field.
func (*SummaryActivity) SetMaxSpeed ¶
func (o *SummaryActivity) SetMaxSpeed(v float32)
SetMaxSpeed gets a reference to the given float32 and assigns it to the MaxSpeed field.
func (*SummaryActivity) SetMaxWatts ¶
func (o *SummaryActivity) SetMaxWatts(v int32)
SetMaxWatts gets a reference to the given int32 and assigns it to the MaxWatts field.
func (*SummaryActivity) SetMovingTime ¶
func (o *SummaryActivity) SetMovingTime(v int32)
SetMovingTime gets a reference to the given int32 and assigns it to the MovingTime field.
func (*SummaryActivity) SetName ¶
func (o *SummaryActivity) SetName(v string)
SetName gets a reference to the given string and assigns it to the Name field.
func (*SummaryActivity) SetPhotoCount ¶
func (o *SummaryActivity) SetPhotoCount(v int32)
SetPhotoCount gets a reference to the given int32 and assigns it to the PhotoCount field.
func (*SummaryActivity) SetPrivate ¶
func (o *SummaryActivity) SetPrivate(v bool)
SetPrivate gets a reference to the given bool and assigns it to the Private field.
func (*SummaryActivity) SetSportType ¶
func (o *SummaryActivity) SetSportType(v SportType)
SetSportType gets a reference to the given SportType and assigns it to the SportType field.
func (*SummaryActivity) SetStartDate ¶
func (o *SummaryActivity) SetStartDate(v time.Time)
SetStartDate gets a reference to the given time.Time and assigns it to the StartDate field.
func (*SummaryActivity) SetStartDateLocal ¶
func (o *SummaryActivity) SetStartDateLocal(v time.Time)
SetStartDateLocal gets a reference to the given time.Time and assigns it to the StartDateLocal field.
func (*SummaryActivity) SetStartLatlng ¶
func (o *SummaryActivity) SetStartLatlng(v []float32)
SetStartLatlng gets a reference to the given []float32 and assigns it to the StartLatlng field.
func (*SummaryActivity) SetTimezone ¶
func (o *SummaryActivity) SetTimezone(v string)
SetTimezone gets a reference to the given string and assigns it to the Timezone field.
func (*SummaryActivity) SetTotalElevationGain ¶
func (o *SummaryActivity) SetTotalElevationGain(v float32)
SetTotalElevationGain gets a reference to the given float32 and assigns it to the TotalElevationGain field.
func (*SummaryActivity) SetTotalPhotoCount ¶
func (o *SummaryActivity) SetTotalPhotoCount(v int32)
SetTotalPhotoCount gets a reference to the given int32 and assigns it to the TotalPhotoCount field.
func (*SummaryActivity) SetTrainer ¶
func (o *SummaryActivity) SetTrainer(v bool)
SetTrainer gets a reference to the given bool and assigns it to the Trainer field.
func (*SummaryActivity) SetType ¶
func (o *SummaryActivity) SetType(v ActivityType)
SetType gets a reference to the given ActivityType and assigns it to the Type field.
func (*SummaryActivity) SetUploadId ¶
func (o *SummaryActivity) SetUploadId(v int64)
SetUploadId gets a reference to the given int64 and assigns it to the UploadId field.
func (*SummaryActivity) SetUploadIdStr ¶
func (o *SummaryActivity) SetUploadIdStr(v string)
SetUploadIdStr gets a reference to the given string and assigns it to the UploadIdStr field.
func (*SummaryActivity) SetWeightedAverageWatts ¶
func (o *SummaryActivity) SetWeightedAverageWatts(v int32)
SetWeightedAverageWatts gets a reference to the given int32 and assigns it to the WeightedAverageWatts field.
func (*SummaryActivity) SetWorkoutType ¶
func (o *SummaryActivity) SetWorkoutType(v int32)
SetWorkoutType gets a reference to the given int32 and assigns it to the WorkoutType field.
func (SummaryActivity) ToMap ¶
func (o SummaryActivity) ToMap() (map[string]interface{}, error)
type SummaryAthlete ¶
type SummaryAthlete struct { // The unique identifier of the athlete Id *int64 `json:"id,omitempty"` // Resource state, indicates level of detail. Possible values: 1 -> \"meta\", 2 -> \"summary\", 3 -> \"detail\" ResourceState *int32 `json:"resource_state,omitempty"` // The athlete's first name. Firstname *string `json:"firstname,omitempty"` // The athlete's last name. Lastname *string `json:"lastname,omitempty"` // URL to a 62x62 pixel profile picture. ProfileMedium *string `json:"profile_medium,omitempty"` // URL to a 124x124 pixel profile picture. Profile *string `json:"profile,omitempty"` // The athlete's city. City *string `json:"city,omitempty"` // The athlete's state or geographical region. State *string `json:"state,omitempty"` // The athlete's country. Country *string `json:"country,omitempty"` // The athlete's sex. Sex *string `json:"sex,omitempty"` // Deprecated. Use summit field instead. Whether the athlete has any Summit subscription. Premium *bool `json:"premium,omitempty"` // Whether the athlete has any Summit subscription. Summit *bool `json:"summit,omitempty"` // The time at which the athlete was created. CreatedAt *time.Time `json:"created_at,omitempty"` // The time at which the athlete was last updated. UpdatedAt *time.Time `json:"updated_at,omitempty"` }
SummaryAthlete struct for SummaryAthlete
func NewSummaryAthlete ¶
func NewSummaryAthlete() *SummaryAthlete
NewSummaryAthlete instantiates a new SummaryAthlete object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewSummaryAthleteWithDefaults ¶
func NewSummaryAthleteWithDefaults() *SummaryAthlete
NewSummaryAthleteWithDefaults instantiates a new SummaryAthlete object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*SummaryAthlete) GetCity ¶
func (o *SummaryAthlete) GetCity() string
GetCity returns the City field value if set, zero value otherwise.
func (*SummaryAthlete) GetCityOk ¶
func (o *SummaryAthlete) GetCityOk() (*string, bool)
GetCityOk returns a tuple with the City field value if set, nil otherwise and a boolean to check if the value has been set.
func (*SummaryAthlete) GetCountry ¶
func (o *SummaryAthlete) GetCountry() string
GetCountry returns the Country field value if set, zero value otherwise.
func (*SummaryAthlete) GetCountryOk ¶
func (o *SummaryAthlete) GetCountryOk() (*string, bool)
GetCountryOk returns a tuple with the Country field value if set, nil otherwise and a boolean to check if the value has been set.
func (*SummaryAthlete) GetCreatedAt ¶
func (o *SummaryAthlete) GetCreatedAt() time.Time
GetCreatedAt returns the CreatedAt field value if set, zero value otherwise.
func (*SummaryAthlete) GetCreatedAtOk ¶
func (o *SummaryAthlete) GetCreatedAtOk() (*time.Time, bool)
GetCreatedAtOk returns a tuple with the CreatedAt field value if set, nil otherwise and a boolean to check if the value has been set.
func (*SummaryAthlete) GetFirstname ¶
func (o *SummaryAthlete) GetFirstname() string
GetFirstname returns the Firstname field value if set, zero value otherwise.
func (*SummaryAthlete) GetFirstnameOk ¶
func (o *SummaryAthlete) GetFirstnameOk() (*string, bool)
GetFirstnameOk returns a tuple with the Firstname field value if set, nil otherwise and a boolean to check if the value has been set.
func (*SummaryAthlete) GetId ¶
func (o *SummaryAthlete) GetId() int64
GetId returns the Id field value if set, zero value otherwise.
func (*SummaryAthlete) GetIdOk ¶
func (o *SummaryAthlete) GetIdOk() (*int64, bool)
GetIdOk returns a tuple with the Id field value if set, nil otherwise and a boolean to check if the value has been set.
func (*SummaryAthlete) GetLastname ¶
func (o *SummaryAthlete) GetLastname() string
GetLastname returns the Lastname field value if set, zero value otherwise.
func (*SummaryAthlete) GetLastnameOk ¶
func (o *SummaryAthlete) GetLastnameOk() (*string, bool)
GetLastnameOk returns a tuple with the Lastname field value if set, nil otherwise and a boolean to check if the value has been set.
func (*SummaryAthlete) GetPremium ¶
func (o *SummaryAthlete) GetPremium() bool
GetPremium returns the Premium field value if set, zero value otherwise.
func (*SummaryAthlete) GetPremiumOk ¶
func (o *SummaryAthlete) GetPremiumOk() (*bool, bool)
GetPremiumOk returns a tuple with the Premium field value if set, nil otherwise and a boolean to check if the value has been set.
func (*SummaryAthlete) GetProfile ¶
func (o *SummaryAthlete) GetProfile() string
GetProfile returns the Profile field value if set, zero value otherwise.
func (*SummaryAthlete) GetProfileMedium ¶
func (o *SummaryAthlete) GetProfileMedium() string
GetProfileMedium returns the ProfileMedium field value if set, zero value otherwise.
func (*SummaryAthlete) GetProfileMediumOk ¶
func (o *SummaryAthlete) GetProfileMediumOk() (*string, bool)
GetProfileMediumOk returns a tuple with the ProfileMedium field value if set, nil otherwise and a boolean to check if the value has been set.
func (*SummaryAthlete) GetProfileOk ¶
func (o *SummaryAthlete) GetProfileOk() (*string, bool)
GetProfileOk returns a tuple with the Profile field value if set, nil otherwise and a boolean to check if the value has been set.
func (*SummaryAthlete) GetResourceState ¶
func (o *SummaryAthlete) GetResourceState() int32
GetResourceState returns the ResourceState field value if set, zero value otherwise.
func (*SummaryAthlete) GetResourceStateOk ¶
func (o *SummaryAthlete) GetResourceStateOk() (*int32, bool)
GetResourceStateOk returns a tuple with the ResourceState field value if set, nil otherwise and a boolean to check if the value has been set.
func (*SummaryAthlete) GetSex ¶
func (o *SummaryAthlete) GetSex() string
GetSex returns the Sex field value if set, zero value otherwise.
func (*SummaryAthlete) GetSexOk ¶
func (o *SummaryAthlete) GetSexOk() (*string, bool)
GetSexOk returns a tuple with the Sex field value if set, nil otherwise and a boolean to check if the value has been set.
func (*SummaryAthlete) GetState ¶
func (o *SummaryAthlete) GetState() string
GetState returns the State field value if set, zero value otherwise.
func (*SummaryAthlete) GetStateOk ¶
func (o *SummaryAthlete) GetStateOk() (*string, bool)
GetStateOk returns a tuple with the State field value if set, nil otherwise and a boolean to check if the value has been set.
func (*SummaryAthlete) GetSummit ¶
func (o *SummaryAthlete) GetSummit() bool
GetSummit returns the Summit field value if set, zero value otherwise.
func (*SummaryAthlete) GetSummitOk ¶
func (o *SummaryAthlete) GetSummitOk() (*bool, bool)
GetSummitOk returns a tuple with the Summit field value if set, nil otherwise and a boolean to check if the value has been set.
func (*SummaryAthlete) GetUpdatedAt ¶
func (o *SummaryAthlete) GetUpdatedAt() time.Time
GetUpdatedAt returns the UpdatedAt field value if set, zero value otherwise.
func (*SummaryAthlete) GetUpdatedAtOk ¶
func (o *SummaryAthlete) GetUpdatedAtOk() (*time.Time, bool)
GetUpdatedAtOk returns a tuple with the UpdatedAt field value if set, nil otherwise and a boolean to check if the value has been set.
func (*SummaryAthlete) HasCity ¶
func (o *SummaryAthlete) HasCity() bool
HasCity returns a boolean if a field has been set.
func (*SummaryAthlete) HasCountry ¶
func (o *SummaryAthlete) HasCountry() bool
HasCountry returns a boolean if a field has been set.
func (*SummaryAthlete) HasCreatedAt ¶
func (o *SummaryAthlete) HasCreatedAt() bool
HasCreatedAt returns a boolean if a field has been set.
func (*SummaryAthlete) HasFirstname ¶
func (o *SummaryAthlete) HasFirstname() bool
HasFirstname returns a boolean if a field has been set.
func (*SummaryAthlete) HasId ¶
func (o *SummaryAthlete) HasId() bool
HasId returns a boolean if a field has been set.
func (*SummaryAthlete) HasLastname ¶
func (o *SummaryAthlete) HasLastname() bool
HasLastname returns a boolean if a field has been set.
func (*SummaryAthlete) HasPremium ¶
func (o *SummaryAthlete) HasPremium() bool
HasPremium returns a boolean if a field has been set.
func (*SummaryAthlete) HasProfile ¶
func (o *SummaryAthlete) HasProfile() bool
HasProfile returns a boolean if a field has been set.
func (*SummaryAthlete) HasProfileMedium ¶
func (o *SummaryAthlete) HasProfileMedium() bool
HasProfileMedium returns a boolean if a field has been set.
func (*SummaryAthlete) HasResourceState ¶
func (o *SummaryAthlete) HasResourceState() bool
HasResourceState returns a boolean if a field has been set.
func (*SummaryAthlete) HasSex ¶
func (o *SummaryAthlete) HasSex() bool
HasSex returns a boolean if a field has been set.
func (*SummaryAthlete) HasState ¶
func (o *SummaryAthlete) HasState() bool
HasState returns a boolean if a field has been set.
func (*SummaryAthlete) HasSummit ¶
func (o *SummaryAthlete) HasSummit() bool
HasSummit returns a boolean if a field has been set.
func (*SummaryAthlete) HasUpdatedAt ¶
func (o *SummaryAthlete) HasUpdatedAt() bool
HasUpdatedAt returns a boolean if a field has been set.
func (SummaryAthlete) MarshalJSON ¶
func (o SummaryAthlete) MarshalJSON() ([]byte, error)
func (*SummaryAthlete) SetCity ¶
func (o *SummaryAthlete) SetCity(v string)
SetCity gets a reference to the given string and assigns it to the City field.
func (*SummaryAthlete) SetCountry ¶
func (o *SummaryAthlete) SetCountry(v string)
SetCountry gets a reference to the given string and assigns it to the Country field.
func (*SummaryAthlete) SetCreatedAt ¶
func (o *SummaryAthlete) SetCreatedAt(v time.Time)
SetCreatedAt gets a reference to the given time.Time and assigns it to the CreatedAt field.
func (*SummaryAthlete) SetFirstname ¶
func (o *SummaryAthlete) SetFirstname(v string)
SetFirstname gets a reference to the given string and assigns it to the Firstname field.
func (*SummaryAthlete) SetId ¶
func (o *SummaryAthlete) SetId(v int64)
SetId gets a reference to the given int64 and assigns it to the Id field.
func (*SummaryAthlete) SetLastname ¶
func (o *SummaryAthlete) SetLastname(v string)
SetLastname gets a reference to the given string and assigns it to the Lastname field.
func (*SummaryAthlete) SetPremium ¶
func (o *SummaryAthlete) SetPremium(v bool)
SetPremium gets a reference to the given bool and assigns it to the Premium field.
func (*SummaryAthlete) SetProfile ¶
func (o *SummaryAthlete) SetProfile(v string)
SetProfile gets a reference to the given string and assigns it to the Profile field.
func (*SummaryAthlete) SetProfileMedium ¶
func (o *SummaryAthlete) SetProfileMedium(v string)
SetProfileMedium gets a reference to the given string and assigns it to the ProfileMedium field.
func (*SummaryAthlete) SetResourceState ¶
func (o *SummaryAthlete) SetResourceState(v int32)
SetResourceState gets a reference to the given int32 and assigns it to the ResourceState field.
func (*SummaryAthlete) SetSex ¶
func (o *SummaryAthlete) SetSex(v string)
SetSex gets a reference to the given string and assigns it to the Sex field.
func (*SummaryAthlete) SetState ¶
func (o *SummaryAthlete) SetState(v string)
SetState gets a reference to the given string and assigns it to the State field.
func (*SummaryAthlete) SetSummit ¶
func (o *SummaryAthlete) SetSummit(v bool)
SetSummit gets a reference to the given bool and assigns it to the Summit field.
func (*SummaryAthlete) SetUpdatedAt ¶
func (o *SummaryAthlete) SetUpdatedAt(v time.Time)
SetUpdatedAt gets a reference to the given time.Time and assigns it to the UpdatedAt field.
func (SummaryAthlete) ToMap ¶
func (o SummaryAthlete) ToMap() (map[string]interface{}, error)
type SummaryClub ¶
type SummaryClub struct { // The club's unique identifier. Id *int64 `json:"id,omitempty"` // Resource state, indicates level of detail. Possible values: 1 -> \"meta\", 2 -> \"summary\", 3 -> \"detail\" ResourceState *int32 `json:"resource_state,omitempty"` // The club's name. Name *string `json:"name,omitempty"` // URL to a 60x60 pixel profile picture. ProfileMedium *string `json:"profile_medium,omitempty"` // URL to a ~1185x580 pixel cover photo. CoverPhoto *string `json:"cover_photo,omitempty"` // URL to a ~360x176 pixel cover photo. CoverPhotoSmall *string `json:"cover_photo_small,omitempty"` // Deprecated. Prefer to use activity_types. SportType *string `json:"sport_type,omitempty"` // The activity types that count for a club. This takes precedence over sport_type. ActivityTypes []ActivityType `json:"activity_types,omitempty"` // The club's city. City *string `json:"city,omitempty"` // The club's state or geographical region. State *string `json:"state,omitempty"` // The club's country. Country *string `json:"country,omitempty"` // Whether the club is private. Private *bool `json:"private,omitempty"` // The club's member count. MemberCount *int32 `json:"member_count,omitempty"` // Whether the club is featured or not. Featured *bool `json:"featured,omitempty"` // Whether the club is verified or not. Verified *bool `json:"verified,omitempty"` // The club's vanity URL. Url *string `json:"url,omitempty"` }
SummaryClub struct for SummaryClub
func NewSummaryClub ¶
func NewSummaryClub() *SummaryClub
NewSummaryClub instantiates a new SummaryClub object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewSummaryClubWithDefaults ¶
func NewSummaryClubWithDefaults() *SummaryClub
NewSummaryClubWithDefaults instantiates a new SummaryClub object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*SummaryClub) GetActivityTypes ¶
func (o *SummaryClub) GetActivityTypes() []ActivityType
GetActivityTypes returns the ActivityTypes field value if set, zero value otherwise.
func (*SummaryClub) GetActivityTypesOk ¶
func (o *SummaryClub) GetActivityTypesOk() ([]ActivityType, bool)
GetActivityTypesOk returns a tuple with the ActivityTypes field value if set, nil otherwise and a boolean to check if the value has been set.
func (*SummaryClub) GetCity ¶
func (o *SummaryClub) GetCity() string
GetCity returns the City field value if set, zero value otherwise.
func (*SummaryClub) GetCityOk ¶
func (o *SummaryClub) GetCityOk() (*string, bool)
GetCityOk returns a tuple with the City field value if set, nil otherwise and a boolean to check if the value has been set.
func (*SummaryClub) GetCountry ¶
func (o *SummaryClub) GetCountry() string
GetCountry returns the Country field value if set, zero value otherwise.
func (*SummaryClub) GetCountryOk ¶
func (o *SummaryClub) GetCountryOk() (*string, bool)
GetCountryOk returns a tuple with the Country field value if set, nil otherwise and a boolean to check if the value has been set.
func (*SummaryClub) GetCoverPhoto ¶
func (o *SummaryClub) GetCoverPhoto() string
GetCoverPhoto returns the CoverPhoto field value if set, zero value otherwise.
func (*SummaryClub) GetCoverPhotoOk ¶
func (o *SummaryClub) GetCoverPhotoOk() (*string, bool)
GetCoverPhotoOk returns a tuple with the CoverPhoto field value if set, nil otherwise and a boolean to check if the value has been set.
func (*SummaryClub) GetCoverPhotoSmall ¶
func (o *SummaryClub) GetCoverPhotoSmall() string
GetCoverPhotoSmall returns the CoverPhotoSmall field value if set, zero value otherwise.
func (*SummaryClub) GetCoverPhotoSmallOk ¶
func (o *SummaryClub) GetCoverPhotoSmallOk() (*string, bool)
GetCoverPhotoSmallOk returns a tuple with the CoverPhotoSmall field value if set, nil otherwise and a boolean to check if the value has been set.
func (*SummaryClub) GetFeatured ¶
func (o *SummaryClub) GetFeatured() bool
GetFeatured returns the Featured field value if set, zero value otherwise.
func (*SummaryClub) GetFeaturedOk ¶
func (o *SummaryClub) GetFeaturedOk() (*bool, bool)
GetFeaturedOk returns a tuple with the Featured field value if set, nil otherwise and a boolean to check if the value has been set.
func (*SummaryClub) GetId ¶
func (o *SummaryClub) GetId() int64
GetId returns the Id field value if set, zero value otherwise.
func (*SummaryClub) GetIdOk ¶
func (o *SummaryClub) GetIdOk() (*int64, bool)
GetIdOk returns a tuple with the Id field value if set, nil otherwise and a boolean to check if the value has been set.
func (*SummaryClub) GetMemberCount ¶
func (o *SummaryClub) GetMemberCount() int32
GetMemberCount returns the MemberCount field value if set, zero value otherwise.
func (*SummaryClub) GetMemberCountOk ¶
func (o *SummaryClub) GetMemberCountOk() (*int32, bool)
GetMemberCountOk returns a tuple with the MemberCount field value if set, nil otherwise and a boolean to check if the value has been set.
func (*SummaryClub) GetName ¶
func (o *SummaryClub) GetName() string
GetName returns the Name field value if set, zero value otherwise.
func (*SummaryClub) GetNameOk ¶
func (o *SummaryClub) GetNameOk() (*string, bool)
GetNameOk returns a tuple with the Name field value if set, nil otherwise and a boolean to check if the value has been set.
func (*SummaryClub) GetPrivate ¶
func (o *SummaryClub) GetPrivate() bool
GetPrivate returns the Private field value if set, zero value otherwise.
func (*SummaryClub) GetPrivateOk ¶
func (o *SummaryClub) GetPrivateOk() (*bool, bool)
GetPrivateOk returns a tuple with the Private field value if set, nil otherwise and a boolean to check if the value has been set.
func (*SummaryClub) GetProfileMedium ¶
func (o *SummaryClub) GetProfileMedium() string
GetProfileMedium returns the ProfileMedium field value if set, zero value otherwise.
func (*SummaryClub) GetProfileMediumOk ¶
func (o *SummaryClub) GetProfileMediumOk() (*string, bool)
GetProfileMediumOk returns a tuple with the ProfileMedium field value if set, nil otherwise and a boolean to check if the value has been set.
func (*SummaryClub) GetResourceState ¶
func (o *SummaryClub) GetResourceState() int32
GetResourceState returns the ResourceState field value if set, zero value otherwise.
func (*SummaryClub) GetResourceStateOk ¶
func (o *SummaryClub) GetResourceStateOk() (*int32, bool)
GetResourceStateOk returns a tuple with the ResourceState field value if set, nil otherwise and a boolean to check if the value has been set.
func (*SummaryClub) GetSportType ¶
func (o *SummaryClub) GetSportType() string
GetSportType returns the SportType field value if set, zero value otherwise.
func (*SummaryClub) GetSportTypeOk ¶
func (o *SummaryClub) GetSportTypeOk() (*string, bool)
GetSportTypeOk returns a tuple with the SportType field value if set, nil otherwise and a boolean to check if the value has been set.
func (*SummaryClub) GetState ¶
func (o *SummaryClub) GetState() string
GetState returns the State field value if set, zero value otherwise.
func (*SummaryClub) GetStateOk ¶
func (o *SummaryClub) GetStateOk() (*string, bool)
GetStateOk returns a tuple with the State field value if set, nil otherwise and a boolean to check if the value has been set.
func (*SummaryClub) GetUrl ¶
func (o *SummaryClub) GetUrl() string
GetUrl returns the Url field value if set, zero value otherwise.
func (*SummaryClub) GetUrlOk ¶
func (o *SummaryClub) GetUrlOk() (*string, bool)
GetUrlOk returns a tuple with the Url field value if set, nil otherwise and a boolean to check if the value has been set.
func (*SummaryClub) GetVerified ¶
func (o *SummaryClub) GetVerified() bool
GetVerified returns the Verified field value if set, zero value otherwise.
func (*SummaryClub) GetVerifiedOk ¶
func (o *SummaryClub) GetVerifiedOk() (*bool, bool)
GetVerifiedOk returns a tuple with the Verified field value if set, nil otherwise and a boolean to check if the value has been set.
func (*SummaryClub) HasActivityTypes ¶
func (o *SummaryClub) HasActivityTypes() bool
HasActivityTypes returns a boolean if a field has been set.
func (*SummaryClub) HasCity ¶
func (o *SummaryClub) HasCity() bool
HasCity returns a boolean if a field has been set.
func (*SummaryClub) HasCountry ¶
func (o *SummaryClub) HasCountry() bool
HasCountry returns a boolean if a field has been set.
func (*SummaryClub) HasCoverPhoto ¶
func (o *SummaryClub) HasCoverPhoto() bool
HasCoverPhoto returns a boolean if a field has been set.
func (*SummaryClub) HasCoverPhotoSmall ¶
func (o *SummaryClub) HasCoverPhotoSmall() bool
HasCoverPhotoSmall returns a boolean if a field has been set.
func (*SummaryClub) HasFeatured ¶
func (o *SummaryClub) HasFeatured() bool
HasFeatured returns a boolean if a field has been set.
func (*SummaryClub) HasId ¶
func (o *SummaryClub) HasId() bool
HasId returns a boolean if a field has been set.
func (*SummaryClub) HasMemberCount ¶
func (o *SummaryClub) HasMemberCount() bool
HasMemberCount returns a boolean if a field has been set.
func (*SummaryClub) HasName ¶
func (o *SummaryClub) HasName() bool
HasName returns a boolean if a field has been set.
func (*SummaryClub) HasPrivate ¶
func (o *SummaryClub) HasPrivate() bool
HasPrivate returns a boolean if a field has been set.
func (*SummaryClub) HasProfileMedium ¶
func (o *SummaryClub) HasProfileMedium() bool
HasProfileMedium returns a boolean if a field has been set.
func (*SummaryClub) HasResourceState ¶
func (o *SummaryClub) HasResourceState() bool
HasResourceState returns a boolean if a field has been set.
func (*SummaryClub) HasSportType ¶
func (o *SummaryClub) HasSportType() bool
HasSportType returns a boolean if a field has been set.
func (*SummaryClub) HasState ¶
func (o *SummaryClub) HasState() bool
HasState returns a boolean if a field has been set.
func (*SummaryClub) HasUrl ¶
func (o *SummaryClub) HasUrl() bool
HasUrl returns a boolean if a field has been set.
func (*SummaryClub) HasVerified ¶
func (o *SummaryClub) HasVerified() bool
HasVerified returns a boolean if a field has been set.
func (SummaryClub) MarshalJSON ¶
func (o SummaryClub) MarshalJSON() ([]byte, error)
func (*SummaryClub) SetActivityTypes ¶
func (o *SummaryClub) SetActivityTypes(v []ActivityType)
SetActivityTypes gets a reference to the given []ActivityType and assigns it to the ActivityTypes field.
func (*SummaryClub) SetCity ¶
func (o *SummaryClub) SetCity(v string)
SetCity gets a reference to the given string and assigns it to the City field.
func (*SummaryClub) SetCountry ¶
func (o *SummaryClub) SetCountry(v string)
SetCountry gets a reference to the given string and assigns it to the Country field.
func (*SummaryClub) SetCoverPhoto ¶
func (o *SummaryClub) SetCoverPhoto(v string)
SetCoverPhoto gets a reference to the given string and assigns it to the CoverPhoto field.
func (*SummaryClub) SetCoverPhotoSmall ¶
func (o *SummaryClub) SetCoverPhotoSmall(v string)
SetCoverPhotoSmall gets a reference to the given string and assigns it to the CoverPhotoSmall field.
func (*SummaryClub) SetFeatured ¶
func (o *SummaryClub) SetFeatured(v bool)
SetFeatured gets a reference to the given bool and assigns it to the Featured field.
func (*SummaryClub) SetId ¶
func (o *SummaryClub) SetId(v int64)
SetId gets a reference to the given int64 and assigns it to the Id field.
func (*SummaryClub) SetMemberCount ¶
func (o *SummaryClub) SetMemberCount(v int32)
SetMemberCount gets a reference to the given int32 and assigns it to the MemberCount field.
func (*SummaryClub) SetName ¶
func (o *SummaryClub) SetName(v string)
SetName gets a reference to the given string and assigns it to the Name field.
func (*SummaryClub) SetPrivate ¶
func (o *SummaryClub) SetPrivate(v bool)
SetPrivate gets a reference to the given bool and assigns it to the Private field.
func (*SummaryClub) SetProfileMedium ¶
func (o *SummaryClub) SetProfileMedium(v string)
SetProfileMedium gets a reference to the given string and assigns it to the ProfileMedium field.
func (*SummaryClub) SetResourceState ¶
func (o *SummaryClub) SetResourceState(v int32)
SetResourceState gets a reference to the given int32 and assigns it to the ResourceState field.
func (*SummaryClub) SetSportType ¶
func (o *SummaryClub) SetSportType(v string)
SetSportType gets a reference to the given string and assigns it to the SportType field.
func (*SummaryClub) SetState ¶
func (o *SummaryClub) SetState(v string)
SetState gets a reference to the given string and assigns it to the State field.
func (*SummaryClub) SetUrl ¶
func (o *SummaryClub) SetUrl(v string)
SetUrl gets a reference to the given string and assigns it to the Url field.
func (*SummaryClub) SetVerified ¶
func (o *SummaryClub) SetVerified(v bool)
SetVerified gets a reference to the given bool and assigns it to the Verified field.
func (SummaryClub) ToMap ¶
func (o SummaryClub) ToMap() (map[string]interface{}, error)
type SummaryGear ¶
type SummaryGear struct { // The gear's unique identifier. Id *string `json:"id,omitempty"` // Resource state, indicates level of detail. Possible values: 2 -> \"summary\", 3 -> \"detail\" ResourceState *int32 `json:"resource_state,omitempty"` // Whether this gear's is the owner's default one. Primary *bool `json:"primary,omitempty"` // The gear's name. Name *string `json:"name,omitempty"` // The distance logged with this gear. Distance *float32 `json:"distance,omitempty"` }
SummaryGear struct for SummaryGear
func NewSummaryGear ¶
func NewSummaryGear() *SummaryGear
NewSummaryGear instantiates a new SummaryGear object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewSummaryGearWithDefaults ¶
func NewSummaryGearWithDefaults() *SummaryGear
NewSummaryGearWithDefaults instantiates a new SummaryGear object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*SummaryGear) GetDistance ¶
func (o *SummaryGear) GetDistance() float32
GetDistance returns the Distance field value if set, zero value otherwise.
func (*SummaryGear) GetDistanceOk ¶
func (o *SummaryGear) GetDistanceOk() (*float32, bool)
GetDistanceOk returns a tuple with the Distance field value if set, nil otherwise and a boolean to check if the value has been set.
func (*SummaryGear) GetId ¶
func (o *SummaryGear) GetId() string
GetId returns the Id field value if set, zero value otherwise.
func (*SummaryGear) GetIdOk ¶
func (o *SummaryGear) GetIdOk() (*string, bool)
GetIdOk returns a tuple with the Id field value if set, nil otherwise and a boolean to check if the value has been set.
func (*SummaryGear) GetName ¶
func (o *SummaryGear) GetName() string
GetName returns the Name field value if set, zero value otherwise.
func (*SummaryGear) GetNameOk ¶
func (o *SummaryGear) GetNameOk() (*string, bool)
GetNameOk returns a tuple with the Name field value if set, nil otherwise and a boolean to check if the value has been set.
func (*SummaryGear) GetPrimary ¶
func (o *SummaryGear) GetPrimary() bool
GetPrimary returns the Primary field value if set, zero value otherwise.
func (*SummaryGear) GetPrimaryOk ¶
func (o *SummaryGear) GetPrimaryOk() (*bool, bool)
GetPrimaryOk returns a tuple with the Primary field value if set, nil otherwise and a boolean to check if the value has been set.
func (*SummaryGear) GetResourceState ¶
func (o *SummaryGear) GetResourceState() int32
GetResourceState returns the ResourceState field value if set, zero value otherwise.
func (*SummaryGear) GetResourceStateOk ¶
func (o *SummaryGear) GetResourceStateOk() (*int32, bool)
GetResourceStateOk returns a tuple with the ResourceState field value if set, nil otherwise and a boolean to check if the value has been set.
func (*SummaryGear) HasDistance ¶
func (o *SummaryGear) HasDistance() bool
HasDistance returns a boolean if a field has been set.
func (*SummaryGear) HasId ¶
func (o *SummaryGear) HasId() bool
HasId returns a boolean if a field has been set.
func (*SummaryGear) HasName ¶
func (o *SummaryGear) HasName() bool
HasName returns a boolean if a field has been set.
func (*SummaryGear) HasPrimary ¶
func (o *SummaryGear) HasPrimary() bool
HasPrimary returns a boolean if a field has been set.
func (*SummaryGear) HasResourceState ¶
func (o *SummaryGear) HasResourceState() bool
HasResourceState returns a boolean if a field has been set.
func (SummaryGear) MarshalJSON ¶
func (o SummaryGear) MarshalJSON() ([]byte, error)
func (*SummaryGear) SetDistance ¶
func (o *SummaryGear) SetDistance(v float32)
SetDistance gets a reference to the given float32 and assigns it to the Distance field.
func (*SummaryGear) SetId ¶
func (o *SummaryGear) SetId(v string)
SetId gets a reference to the given string and assigns it to the Id field.
func (*SummaryGear) SetName ¶
func (o *SummaryGear) SetName(v string)
SetName gets a reference to the given string and assigns it to the Name field.
func (*SummaryGear) SetPrimary ¶
func (o *SummaryGear) SetPrimary(v bool)
SetPrimary gets a reference to the given bool and assigns it to the Primary field.
func (*SummaryGear) SetResourceState ¶
func (o *SummaryGear) SetResourceState(v int32)
SetResourceState gets a reference to the given int32 and assigns it to the ResourceState field.
func (SummaryGear) ToMap ¶
func (o SummaryGear) ToMap() (map[string]interface{}, error)
type SummaryPRSegmentEffort ¶
type SummaryPRSegmentEffort struct { // The unique identifier of the activity related to the PR effort. PrActivityId *int64 `json:"pr_activity_id,omitempty"` // The elapsed time ot the PR effort. PrElapsedTime *int32 `json:"pr_elapsed_time,omitempty"` // The time at which the PR effort was started. PrDate *time.Time `json:"pr_date,omitempty"` // Number of efforts by the authenticated athlete on this segment. EffortCount *int32 `json:"effort_count,omitempty"` }
SummaryPRSegmentEffort struct for SummaryPRSegmentEffort
func NewSummaryPRSegmentEffort ¶
func NewSummaryPRSegmentEffort() *SummaryPRSegmentEffort
NewSummaryPRSegmentEffort instantiates a new SummaryPRSegmentEffort object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewSummaryPRSegmentEffortWithDefaults ¶
func NewSummaryPRSegmentEffortWithDefaults() *SummaryPRSegmentEffort
NewSummaryPRSegmentEffortWithDefaults instantiates a new SummaryPRSegmentEffort object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*SummaryPRSegmentEffort) GetEffortCount ¶
func (o *SummaryPRSegmentEffort) GetEffortCount() int32
GetEffortCount returns the EffortCount field value if set, zero value otherwise.
func (*SummaryPRSegmentEffort) GetEffortCountOk ¶
func (o *SummaryPRSegmentEffort) GetEffortCountOk() (*int32, bool)
GetEffortCountOk returns a tuple with the EffortCount field value if set, nil otherwise and a boolean to check if the value has been set.
func (*SummaryPRSegmentEffort) GetPrActivityId ¶
func (o *SummaryPRSegmentEffort) GetPrActivityId() int64
GetPrActivityId returns the PrActivityId field value if set, zero value otherwise.
func (*SummaryPRSegmentEffort) GetPrActivityIdOk ¶
func (o *SummaryPRSegmentEffort) GetPrActivityIdOk() (*int64, bool)
GetPrActivityIdOk returns a tuple with the PrActivityId field value if set, nil otherwise and a boolean to check if the value has been set.
func (*SummaryPRSegmentEffort) GetPrDate ¶
func (o *SummaryPRSegmentEffort) GetPrDate() time.Time
GetPrDate returns the PrDate field value if set, zero value otherwise.
func (*SummaryPRSegmentEffort) GetPrDateOk ¶
func (o *SummaryPRSegmentEffort) GetPrDateOk() (*time.Time, bool)
GetPrDateOk returns a tuple with the PrDate field value if set, nil otherwise and a boolean to check if the value has been set.
func (*SummaryPRSegmentEffort) GetPrElapsedTime ¶
func (o *SummaryPRSegmentEffort) GetPrElapsedTime() int32
GetPrElapsedTime returns the PrElapsedTime field value if set, zero value otherwise.
func (*SummaryPRSegmentEffort) GetPrElapsedTimeOk ¶
func (o *SummaryPRSegmentEffort) GetPrElapsedTimeOk() (*int32, bool)
GetPrElapsedTimeOk returns a tuple with the PrElapsedTime field value if set, nil otherwise and a boolean to check if the value has been set.
func (*SummaryPRSegmentEffort) HasEffortCount ¶
func (o *SummaryPRSegmentEffort) HasEffortCount() bool
HasEffortCount returns a boolean if a field has been set.
func (*SummaryPRSegmentEffort) HasPrActivityId ¶
func (o *SummaryPRSegmentEffort) HasPrActivityId() bool
HasPrActivityId returns a boolean if a field has been set.
func (*SummaryPRSegmentEffort) HasPrDate ¶
func (o *SummaryPRSegmentEffort) HasPrDate() bool
HasPrDate returns a boolean if a field has been set.
func (*SummaryPRSegmentEffort) HasPrElapsedTime ¶
func (o *SummaryPRSegmentEffort) HasPrElapsedTime() bool
HasPrElapsedTime returns a boolean if a field has been set.
func (SummaryPRSegmentEffort) MarshalJSON ¶
func (o SummaryPRSegmentEffort) MarshalJSON() ([]byte, error)
func (*SummaryPRSegmentEffort) SetEffortCount ¶
func (o *SummaryPRSegmentEffort) SetEffortCount(v int32)
SetEffortCount gets a reference to the given int32 and assigns it to the EffortCount field.
func (*SummaryPRSegmentEffort) SetPrActivityId ¶
func (o *SummaryPRSegmentEffort) SetPrActivityId(v int64)
SetPrActivityId gets a reference to the given int64 and assigns it to the PrActivityId field.
func (*SummaryPRSegmentEffort) SetPrDate ¶
func (o *SummaryPRSegmentEffort) SetPrDate(v time.Time)
SetPrDate gets a reference to the given time.Time and assigns it to the PrDate field.
func (*SummaryPRSegmentEffort) SetPrElapsedTime ¶
func (o *SummaryPRSegmentEffort) SetPrElapsedTime(v int32)
SetPrElapsedTime gets a reference to the given int32 and assigns it to the PrElapsedTime field.
func (SummaryPRSegmentEffort) ToMap ¶
func (o SummaryPRSegmentEffort) ToMap() (map[string]interface{}, error)
type SummarySegment ¶
type SummarySegment struct { // The unique identifier of this segment Id *int64 `json:"id,omitempty"` // The name of this segment Name *string `json:"name,omitempty"` ActivityType *string `json:"activity_type,omitempty"` // The segment's distance, in meters Distance *float32 `json:"distance,omitempty"` // The segment's average grade, in percents AverageGrade *float32 `json:"average_grade,omitempty"` // The segments's maximum grade, in percents MaximumGrade *float32 `json:"maximum_grade,omitempty"` // The segments's highest elevation, in meters ElevationHigh *float32 `json:"elevation_high,omitempty"` // The segments's lowest elevation, in meters ElevationLow *float32 `json:"elevation_low,omitempty"` // A pair of latitude/longitude coordinates, represented as an array of 2 floating point numbers. StartLatlng []float32 `json:"start_latlng,omitempty"` // A pair of latitude/longitude coordinates, represented as an array of 2 floating point numbers. EndLatlng []float32 `json:"end_latlng,omitempty"` // The category of the climb [0, 5]. Higher is harder ie. 5 is Hors catégorie, 0 is uncategorized in climb_category. ClimbCategory *int32 `json:"climb_category,omitempty"` // The segments's city. City *string `json:"city,omitempty"` // The segments's state or geographical region. State *string `json:"state,omitempty"` // The segment's country. Country *string `json:"country,omitempty"` // Whether this segment is private. Private *bool `json:"private,omitempty"` AthletePrEffort *SummaryPRSegmentEffort `json:"athlete_pr_effort,omitempty"` AthleteSegmentStats *SummarySegmentEffort `json:"athlete_segment_stats,omitempty"` }
SummarySegment struct for SummarySegment
func NewSummarySegment ¶
func NewSummarySegment() *SummarySegment
NewSummarySegment instantiates a new SummarySegment object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewSummarySegmentWithDefaults ¶
func NewSummarySegmentWithDefaults() *SummarySegment
NewSummarySegmentWithDefaults instantiates a new SummarySegment object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*SummarySegment) GetActivityType ¶
func (o *SummarySegment) GetActivityType() string
GetActivityType returns the ActivityType field value if set, zero value otherwise.
func (*SummarySegment) GetActivityTypeOk ¶
func (o *SummarySegment) GetActivityTypeOk() (*string, bool)
GetActivityTypeOk returns a tuple with the ActivityType field value if set, nil otherwise and a boolean to check if the value has been set.
func (*SummarySegment) GetAthletePrEffort ¶
func (o *SummarySegment) GetAthletePrEffort() SummaryPRSegmentEffort
GetAthletePrEffort returns the AthletePrEffort field value if set, zero value otherwise.
func (*SummarySegment) GetAthletePrEffortOk ¶
func (o *SummarySegment) GetAthletePrEffortOk() (*SummaryPRSegmentEffort, bool)
GetAthletePrEffortOk returns a tuple with the AthletePrEffort field value if set, nil otherwise and a boolean to check if the value has been set.
func (*SummarySegment) GetAthleteSegmentStats ¶
func (o *SummarySegment) GetAthleteSegmentStats() SummarySegmentEffort
GetAthleteSegmentStats returns the AthleteSegmentStats field value if set, zero value otherwise.
func (*SummarySegment) GetAthleteSegmentStatsOk ¶
func (o *SummarySegment) GetAthleteSegmentStatsOk() (*SummarySegmentEffort, bool)
GetAthleteSegmentStatsOk returns a tuple with the AthleteSegmentStats field value if set, nil otherwise and a boolean to check if the value has been set.
func (*SummarySegment) GetAverageGrade ¶
func (o *SummarySegment) GetAverageGrade() float32
GetAverageGrade returns the AverageGrade field value if set, zero value otherwise.
func (*SummarySegment) GetAverageGradeOk ¶
func (o *SummarySegment) GetAverageGradeOk() (*float32, bool)
GetAverageGradeOk returns a tuple with the AverageGrade field value if set, nil otherwise and a boolean to check if the value has been set.
func (*SummarySegment) GetCity ¶
func (o *SummarySegment) GetCity() string
GetCity returns the City field value if set, zero value otherwise.
func (*SummarySegment) GetCityOk ¶
func (o *SummarySegment) GetCityOk() (*string, bool)
GetCityOk returns a tuple with the City field value if set, nil otherwise and a boolean to check if the value has been set.
func (*SummarySegment) GetClimbCategory ¶
func (o *SummarySegment) GetClimbCategory() int32
GetClimbCategory returns the ClimbCategory field value if set, zero value otherwise.
func (*SummarySegment) GetClimbCategoryOk ¶
func (o *SummarySegment) GetClimbCategoryOk() (*int32, bool)
GetClimbCategoryOk returns a tuple with the ClimbCategory field value if set, nil otherwise and a boolean to check if the value has been set.
func (*SummarySegment) GetCountry ¶
func (o *SummarySegment) GetCountry() string
GetCountry returns the Country field value if set, zero value otherwise.
func (*SummarySegment) GetCountryOk ¶
func (o *SummarySegment) GetCountryOk() (*string, bool)
GetCountryOk returns a tuple with the Country field value if set, nil otherwise and a boolean to check if the value has been set.
func (*SummarySegment) GetDistance ¶
func (o *SummarySegment) GetDistance() float32
GetDistance returns the Distance field value if set, zero value otherwise.
func (*SummarySegment) GetDistanceOk ¶
func (o *SummarySegment) GetDistanceOk() (*float32, bool)
GetDistanceOk returns a tuple with the Distance field value if set, nil otherwise and a boolean to check if the value has been set.
func (*SummarySegment) GetElevationHigh ¶
func (o *SummarySegment) GetElevationHigh() float32
GetElevationHigh returns the ElevationHigh field value if set, zero value otherwise.
func (*SummarySegment) GetElevationHighOk ¶
func (o *SummarySegment) GetElevationHighOk() (*float32, bool)
GetElevationHighOk returns a tuple with the ElevationHigh field value if set, nil otherwise and a boolean to check if the value has been set.
func (*SummarySegment) GetElevationLow ¶
func (o *SummarySegment) GetElevationLow() float32
GetElevationLow returns the ElevationLow field value if set, zero value otherwise.
func (*SummarySegment) GetElevationLowOk ¶
func (o *SummarySegment) GetElevationLowOk() (*float32, bool)
GetElevationLowOk returns a tuple with the ElevationLow field value if set, nil otherwise and a boolean to check if the value has been set.
func (*SummarySegment) GetEndLatlng ¶
func (o *SummarySegment) GetEndLatlng() []float32
GetEndLatlng returns the EndLatlng field value if set, zero value otherwise.
func (*SummarySegment) GetEndLatlngOk ¶
func (o *SummarySegment) GetEndLatlngOk() ([]float32, bool)
GetEndLatlngOk returns a tuple with the EndLatlng field value if set, nil otherwise and a boolean to check if the value has been set.
func (*SummarySegment) GetId ¶
func (o *SummarySegment) GetId() int64
GetId returns the Id field value if set, zero value otherwise.
func (*SummarySegment) GetIdOk ¶
func (o *SummarySegment) GetIdOk() (*int64, bool)
GetIdOk returns a tuple with the Id field value if set, nil otherwise and a boolean to check if the value has been set.
func (*SummarySegment) GetMaximumGrade ¶
func (o *SummarySegment) GetMaximumGrade() float32
GetMaximumGrade returns the MaximumGrade field value if set, zero value otherwise.
func (*SummarySegment) GetMaximumGradeOk ¶
func (o *SummarySegment) GetMaximumGradeOk() (*float32, bool)
GetMaximumGradeOk returns a tuple with the MaximumGrade field value if set, nil otherwise and a boolean to check if the value has been set.
func (*SummarySegment) GetName ¶
func (o *SummarySegment) GetName() string
GetName returns the Name field value if set, zero value otherwise.
func (*SummarySegment) GetNameOk ¶
func (o *SummarySegment) GetNameOk() (*string, bool)
GetNameOk returns a tuple with the Name field value if set, nil otherwise and a boolean to check if the value has been set.
func (*SummarySegment) GetPrivate ¶
func (o *SummarySegment) GetPrivate() bool
GetPrivate returns the Private field value if set, zero value otherwise.
func (*SummarySegment) GetPrivateOk ¶
func (o *SummarySegment) GetPrivateOk() (*bool, bool)
GetPrivateOk returns a tuple with the Private field value if set, nil otherwise and a boolean to check if the value has been set.
func (*SummarySegment) GetStartLatlng ¶
func (o *SummarySegment) GetStartLatlng() []float32
GetStartLatlng returns the StartLatlng field value if set, zero value otherwise.
func (*SummarySegment) GetStartLatlngOk ¶
func (o *SummarySegment) GetStartLatlngOk() ([]float32, bool)
GetStartLatlngOk returns a tuple with the StartLatlng field value if set, nil otherwise and a boolean to check if the value has been set.
func (*SummarySegment) GetState ¶
func (o *SummarySegment) GetState() string
GetState returns the State field value if set, zero value otherwise.
func (*SummarySegment) GetStateOk ¶
func (o *SummarySegment) GetStateOk() (*string, bool)
GetStateOk returns a tuple with the State field value if set, nil otherwise and a boolean to check if the value has been set.
func (*SummarySegment) HasActivityType ¶
func (o *SummarySegment) HasActivityType() bool
HasActivityType returns a boolean if a field has been set.
func (*SummarySegment) HasAthletePrEffort ¶
func (o *SummarySegment) HasAthletePrEffort() bool
HasAthletePrEffort returns a boolean if a field has been set.
func (*SummarySegment) HasAthleteSegmentStats ¶
func (o *SummarySegment) HasAthleteSegmentStats() bool
HasAthleteSegmentStats returns a boolean if a field has been set.
func (*SummarySegment) HasAverageGrade ¶
func (o *SummarySegment) HasAverageGrade() bool
HasAverageGrade returns a boolean if a field has been set.
func (*SummarySegment) HasCity ¶
func (o *SummarySegment) HasCity() bool
HasCity returns a boolean if a field has been set.
func (*SummarySegment) HasClimbCategory ¶
func (o *SummarySegment) HasClimbCategory() bool
HasClimbCategory returns a boolean if a field has been set.
func (*SummarySegment) HasCountry ¶
func (o *SummarySegment) HasCountry() bool
HasCountry returns a boolean if a field has been set.
func (*SummarySegment) HasDistance ¶
func (o *SummarySegment) HasDistance() bool
HasDistance returns a boolean if a field has been set.
func (*SummarySegment) HasElevationHigh ¶
func (o *SummarySegment) HasElevationHigh() bool
HasElevationHigh returns a boolean if a field has been set.
func (*SummarySegment) HasElevationLow ¶
func (o *SummarySegment) HasElevationLow() bool
HasElevationLow returns a boolean if a field has been set.
func (*SummarySegment) HasEndLatlng ¶
func (o *SummarySegment) HasEndLatlng() bool
HasEndLatlng returns a boolean if a field has been set.
func (*SummarySegment) HasId ¶
func (o *SummarySegment) HasId() bool
HasId returns a boolean if a field has been set.
func (*SummarySegment) HasMaximumGrade ¶
func (o *SummarySegment) HasMaximumGrade() bool
HasMaximumGrade returns a boolean if a field has been set.
func (*SummarySegment) HasName ¶
func (o *SummarySegment) HasName() bool
HasName returns a boolean if a field has been set.
func (*SummarySegment) HasPrivate ¶
func (o *SummarySegment) HasPrivate() bool
HasPrivate returns a boolean if a field has been set.
func (*SummarySegment) HasStartLatlng ¶
func (o *SummarySegment) HasStartLatlng() bool
HasStartLatlng returns a boolean if a field has been set.
func (*SummarySegment) HasState ¶
func (o *SummarySegment) HasState() bool
HasState returns a boolean if a field has been set.
func (SummarySegment) MarshalJSON ¶
func (o SummarySegment) MarshalJSON() ([]byte, error)
func (*SummarySegment) SetActivityType ¶
func (o *SummarySegment) SetActivityType(v string)
SetActivityType gets a reference to the given string and assigns it to the ActivityType field.
func (*SummarySegment) SetAthletePrEffort ¶
func (o *SummarySegment) SetAthletePrEffort(v SummaryPRSegmentEffort)
SetAthletePrEffort gets a reference to the given SummaryPRSegmentEffort and assigns it to the AthletePrEffort field.
func (*SummarySegment) SetAthleteSegmentStats ¶
func (o *SummarySegment) SetAthleteSegmentStats(v SummarySegmentEffort)
SetAthleteSegmentStats gets a reference to the given SummarySegmentEffort and assigns it to the AthleteSegmentStats field.
func (*SummarySegment) SetAverageGrade ¶
func (o *SummarySegment) SetAverageGrade(v float32)
SetAverageGrade gets a reference to the given float32 and assigns it to the AverageGrade field.
func (*SummarySegment) SetCity ¶
func (o *SummarySegment) SetCity(v string)
SetCity gets a reference to the given string and assigns it to the City field.
func (*SummarySegment) SetClimbCategory ¶
func (o *SummarySegment) SetClimbCategory(v int32)
SetClimbCategory gets a reference to the given int32 and assigns it to the ClimbCategory field.
func (*SummarySegment) SetCountry ¶
func (o *SummarySegment) SetCountry(v string)
SetCountry gets a reference to the given string and assigns it to the Country field.
func (*SummarySegment) SetDistance ¶
func (o *SummarySegment) SetDistance(v float32)
SetDistance gets a reference to the given float32 and assigns it to the Distance field.
func (*SummarySegment) SetElevationHigh ¶
func (o *SummarySegment) SetElevationHigh(v float32)
SetElevationHigh gets a reference to the given float32 and assigns it to the ElevationHigh field.
func (*SummarySegment) SetElevationLow ¶
func (o *SummarySegment) SetElevationLow(v float32)
SetElevationLow gets a reference to the given float32 and assigns it to the ElevationLow field.
func (*SummarySegment) SetEndLatlng ¶
func (o *SummarySegment) SetEndLatlng(v []float32)
SetEndLatlng gets a reference to the given []float32 and assigns it to the EndLatlng field.
func (*SummarySegment) SetId ¶
func (o *SummarySegment) SetId(v int64)
SetId gets a reference to the given int64 and assigns it to the Id field.
func (*SummarySegment) SetMaximumGrade ¶
func (o *SummarySegment) SetMaximumGrade(v float32)
SetMaximumGrade gets a reference to the given float32 and assigns it to the MaximumGrade field.
func (*SummarySegment) SetName ¶
func (o *SummarySegment) SetName(v string)
SetName gets a reference to the given string and assigns it to the Name field.
func (*SummarySegment) SetPrivate ¶
func (o *SummarySegment) SetPrivate(v bool)
SetPrivate gets a reference to the given bool and assigns it to the Private field.
func (*SummarySegment) SetStartLatlng ¶
func (o *SummarySegment) SetStartLatlng(v []float32)
SetStartLatlng gets a reference to the given []float32 and assigns it to the StartLatlng field.
func (*SummarySegment) SetState ¶
func (o *SummarySegment) SetState(v string)
SetState gets a reference to the given string and assigns it to the State field.
func (SummarySegment) ToMap ¶
func (o SummarySegment) ToMap() (map[string]interface{}, error)
type SummarySegmentEffort ¶
type SummarySegmentEffort struct { // The unique identifier of this effort Id *int64 `json:"id,omitempty"` // The unique identifier of the activity related to this effort ActivityId *int64 `json:"activity_id,omitempty"` // The effort's elapsed time ElapsedTime *int32 `json:"elapsed_time,omitempty"` // The time at which the effort was started. StartDate *time.Time `json:"start_date,omitempty"` // The time at which the effort was started in the local timezone. StartDateLocal *time.Time `json:"start_date_local,omitempty"` // The effort's distance in meters Distance *float32 `json:"distance,omitempty"` // Whether this effort is the current best on the leaderboard IsKom *bool `json:"is_kom,omitempty"` }
SummarySegmentEffort struct for SummarySegmentEffort
func NewSummarySegmentEffort ¶
func NewSummarySegmentEffort() *SummarySegmentEffort
NewSummarySegmentEffort instantiates a new SummarySegmentEffort object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewSummarySegmentEffortWithDefaults ¶
func NewSummarySegmentEffortWithDefaults() *SummarySegmentEffort
NewSummarySegmentEffortWithDefaults instantiates a new SummarySegmentEffort object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*SummarySegmentEffort) GetActivityId ¶
func (o *SummarySegmentEffort) GetActivityId() int64
GetActivityId returns the ActivityId field value if set, zero value otherwise.
func (*SummarySegmentEffort) GetActivityIdOk ¶
func (o *SummarySegmentEffort) GetActivityIdOk() (*int64, bool)
GetActivityIdOk returns a tuple with the ActivityId field value if set, nil otherwise and a boolean to check if the value has been set.
func (*SummarySegmentEffort) GetDistance ¶
func (o *SummarySegmentEffort) GetDistance() float32
GetDistance returns the Distance field value if set, zero value otherwise.
func (*SummarySegmentEffort) GetDistanceOk ¶
func (o *SummarySegmentEffort) GetDistanceOk() (*float32, bool)
GetDistanceOk returns a tuple with the Distance field value if set, nil otherwise and a boolean to check if the value has been set.
func (*SummarySegmentEffort) GetElapsedTime ¶
func (o *SummarySegmentEffort) GetElapsedTime() int32
GetElapsedTime returns the ElapsedTime field value if set, zero value otherwise.
func (*SummarySegmentEffort) GetElapsedTimeOk ¶
func (o *SummarySegmentEffort) GetElapsedTimeOk() (*int32, bool)
GetElapsedTimeOk returns a tuple with the ElapsedTime field value if set, nil otherwise and a boolean to check if the value has been set.
func (*SummarySegmentEffort) GetId ¶
func (o *SummarySegmentEffort) GetId() int64
GetId returns the Id field value if set, zero value otherwise.
func (*SummarySegmentEffort) GetIdOk ¶
func (o *SummarySegmentEffort) GetIdOk() (*int64, bool)
GetIdOk returns a tuple with the Id field value if set, nil otherwise and a boolean to check if the value has been set.
func (*SummarySegmentEffort) GetIsKom ¶
func (o *SummarySegmentEffort) GetIsKom() bool
GetIsKom returns the IsKom field value if set, zero value otherwise.
func (*SummarySegmentEffort) GetIsKomOk ¶
func (o *SummarySegmentEffort) GetIsKomOk() (*bool, bool)
GetIsKomOk returns a tuple with the IsKom field value if set, nil otherwise and a boolean to check if the value has been set.
func (*SummarySegmentEffort) GetStartDate ¶
func (o *SummarySegmentEffort) GetStartDate() time.Time
GetStartDate returns the StartDate field value if set, zero value otherwise.
func (*SummarySegmentEffort) GetStartDateLocal ¶
func (o *SummarySegmentEffort) GetStartDateLocal() time.Time
GetStartDateLocal returns the StartDateLocal field value if set, zero value otherwise.
func (*SummarySegmentEffort) GetStartDateLocalOk ¶
func (o *SummarySegmentEffort) GetStartDateLocalOk() (*time.Time, bool)
GetStartDateLocalOk returns a tuple with the StartDateLocal field value if set, nil otherwise and a boolean to check if the value has been set.
func (*SummarySegmentEffort) GetStartDateOk ¶
func (o *SummarySegmentEffort) GetStartDateOk() (*time.Time, bool)
GetStartDateOk returns a tuple with the StartDate field value if set, nil otherwise and a boolean to check if the value has been set.
func (*SummarySegmentEffort) HasActivityId ¶
func (o *SummarySegmentEffort) HasActivityId() bool
HasActivityId returns a boolean if a field has been set.
func (*SummarySegmentEffort) HasDistance ¶
func (o *SummarySegmentEffort) HasDistance() bool
HasDistance returns a boolean if a field has been set.
func (*SummarySegmentEffort) HasElapsedTime ¶
func (o *SummarySegmentEffort) HasElapsedTime() bool
HasElapsedTime returns a boolean if a field has been set.
func (*SummarySegmentEffort) HasId ¶
func (o *SummarySegmentEffort) HasId() bool
HasId returns a boolean if a field has been set.
func (*SummarySegmentEffort) HasIsKom ¶
func (o *SummarySegmentEffort) HasIsKom() bool
HasIsKom returns a boolean if a field has been set.
func (*SummarySegmentEffort) HasStartDate ¶
func (o *SummarySegmentEffort) HasStartDate() bool
HasStartDate returns a boolean if a field has been set.
func (*SummarySegmentEffort) HasStartDateLocal ¶
func (o *SummarySegmentEffort) HasStartDateLocal() bool
HasStartDateLocal returns a boolean if a field has been set.
func (SummarySegmentEffort) MarshalJSON ¶
func (o SummarySegmentEffort) MarshalJSON() ([]byte, error)
func (*SummarySegmentEffort) SetActivityId ¶
func (o *SummarySegmentEffort) SetActivityId(v int64)
SetActivityId gets a reference to the given int64 and assigns it to the ActivityId field.
func (*SummarySegmentEffort) SetDistance ¶
func (o *SummarySegmentEffort) SetDistance(v float32)
SetDistance gets a reference to the given float32 and assigns it to the Distance field.
func (*SummarySegmentEffort) SetElapsedTime ¶
func (o *SummarySegmentEffort) SetElapsedTime(v int32)
SetElapsedTime gets a reference to the given int32 and assigns it to the ElapsedTime field.
func (*SummarySegmentEffort) SetId ¶
func (o *SummarySegmentEffort) SetId(v int64)
SetId gets a reference to the given int64 and assigns it to the Id field.
func (*SummarySegmentEffort) SetIsKom ¶
func (o *SummarySegmentEffort) SetIsKom(v bool)
SetIsKom gets a reference to the given bool and assigns it to the IsKom field.
func (*SummarySegmentEffort) SetStartDate ¶
func (o *SummarySegmentEffort) SetStartDate(v time.Time)
SetStartDate gets a reference to the given time.Time and assigns it to the StartDate field.
func (*SummarySegmentEffort) SetStartDateLocal ¶
func (o *SummarySegmentEffort) SetStartDateLocal(v time.Time)
SetStartDateLocal gets a reference to the given time.Time and assigns it to the StartDateLocal field.
func (SummarySegmentEffort) ToMap ¶
func (o SummarySegmentEffort) ToMap() (map[string]interface{}, error)
type TemperatureStream ¶
type TemperatureStream struct { // The number of data points in this stream OriginalSize *int32 `json:"original_size,omitempty"` // The level of detail (sampling) in which this stream was returned Resolution *string `json:"resolution,omitempty"` // The base series used in the case the stream was downsampled SeriesType *string `json:"series_type,omitempty"` // The sequence of temperature values for this stream, in celsius degrees Data []int32 `json:"data,omitempty"` }
TemperatureStream struct for TemperatureStream
func NewTemperatureStream ¶
func NewTemperatureStream() *TemperatureStream
NewTemperatureStream instantiates a new TemperatureStream object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewTemperatureStreamWithDefaults ¶
func NewTemperatureStreamWithDefaults() *TemperatureStream
NewTemperatureStreamWithDefaults instantiates a new TemperatureStream object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*TemperatureStream) GetData ¶
func (o *TemperatureStream) GetData() []int32
GetData returns the Data field value if set, zero value otherwise.
func (*TemperatureStream) GetDataOk ¶
func (o *TemperatureStream) GetDataOk() ([]int32, bool)
GetDataOk returns a tuple with the Data field value if set, nil otherwise and a boolean to check if the value has been set.
func (*TemperatureStream) GetOriginalSize ¶
func (o *TemperatureStream) GetOriginalSize() int32
GetOriginalSize returns the OriginalSize field value if set, zero value otherwise.
func (*TemperatureStream) GetOriginalSizeOk ¶
func (o *TemperatureStream) GetOriginalSizeOk() (*int32, bool)
GetOriginalSizeOk returns a tuple with the OriginalSize field value if set, nil otherwise and a boolean to check if the value has been set.
func (*TemperatureStream) GetResolution ¶
func (o *TemperatureStream) GetResolution() string
GetResolution returns the Resolution field value if set, zero value otherwise.
func (*TemperatureStream) GetResolutionOk ¶
func (o *TemperatureStream) GetResolutionOk() (*string, bool)
GetResolutionOk returns a tuple with the Resolution field value if set, nil otherwise and a boolean to check if the value has been set.
func (*TemperatureStream) GetSeriesType ¶
func (o *TemperatureStream) GetSeriesType() string
GetSeriesType returns the SeriesType field value if set, zero value otherwise.
func (*TemperatureStream) GetSeriesTypeOk ¶
func (o *TemperatureStream) GetSeriesTypeOk() (*string, bool)
GetSeriesTypeOk returns a tuple with the SeriesType field value if set, nil otherwise and a boolean to check if the value has been set.
func (*TemperatureStream) HasData ¶
func (o *TemperatureStream) HasData() bool
HasData returns a boolean if a field has been set.
func (*TemperatureStream) HasOriginalSize ¶
func (o *TemperatureStream) HasOriginalSize() bool
HasOriginalSize returns a boolean if a field has been set.
func (*TemperatureStream) HasResolution ¶
func (o *TemperatureStream) HasResolution() bool
HasResolution returns a boolean if a field has been set.
func (*TemperatureStream) HasSeriesType ¶
func (o *TemperatureStream) HasSeriesType() bool
HasSeriesType returns a boolean if a field has been set.
func (TemperatureStream) MarshalJSON ¶
func (o TemperatureStream) MarshalJSON() ([]byte, error)
func (*TemperatureStream) SetData ¶
func (o *TemperatureStream) SetData(v []int32)
SetData gets a reference to the given []int32 and assigns it to the Data field.
func (*TemperatureStream) SetOriginalSize ¶
func (o *TemperatureStream) SetOriginalSize(v int32)
SetOriginalSize gets a reference to the given int32 and assigns it to the OriginalSize field.
func (*TemperatureStream) SetResolution ¶
func (o *TemperatureStream) SetResolution(v string)
SetResolution gets a reference to the given string and assigns it to the Resolution field.
func (*TemperatureStream) SetSeriesType ¶
func (o *TemperatureStream) SetSeriesType(v string)
SetSeriesType gets a reference to the given string and assigns it to the SeriesType field.
func (TemperatureStream) ToMap ¶
func (o TemperatureStream) ToMap() (map[string]interface{}, error)
type TimeStream ¶
type TimeStream struct { // The number of data points in this stream OriginalSize *int32 `json:"original_size,omitempty"` // The level of detail (sampling) in which this stream was returned Resolution *string `json:"resolution,omitempty"` // The base series used in the case the stream was downsampled SeriesType *string `json:"series_type,omitempty"` // The sequence of time values for this stream, in seconds Data []int32 `json:"data,omitempty"` }
TimeStream struct for TimeStream
func NewTimeStream ¶
func NewTimeStream() *TimeStream
NewTimeStream instantiates a new TimeStream object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewTimeStreamWithDefaults ¶
func NewTimeStreamWithDefaults() *TimeStream
NewTimeStreamWithDefaults instantiates a new TimeStream object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*TimeStream) GetData ¶
func (o *TimeStream) GetData() []int32
GetData returns the Data field value if set, zero value otherwise.
func (*TimeStream) GetDataOk ¶
func (o *TimeStream) GetDataOk() ([]int32, bool)
GetDataOk returns a tuple with the Data field value if set, nil otherwise and a boolean to check if the value has been set.
func (*TimeStream) GetOriginalSize ¶
func (o *TimeStream) GetOriginalSize() int32
GetOriginalSize returns the OriginalSize field value if set, zero value otherwise.
func (*TimeStream) GetOriginalSizeOk ¶
func (o *TimeStream) GetOriginalSizeOk() (*int32, bool)
GetOriginalSizeOk returns a tuple with the OriginalSize field value if set, nil otherwise and a boolean to check if the value has been set.
func (*TimeStream) GetResolution ¶
func (o *TimeStream) GetResolution() string
GetResolution returns the Resolution field value if set, zero value otherwise.
func (*TimeStream) GetResolutionOk ¶
func (o *TimeStream) GetResolutionOk() (*string, bool)
GetResolutionOk returns a tuple with the Resolution field value if set, nil otherwise and a boolean to check if the value has been set.
func (*TimeStream) GetSeriesType ¶
func (o *TimeStream) GetSeriesType() string
GetSeriesType returns the SeriesType field value if set, zero value otherwise.
func (*TimeStream) GetSeriesTypeOk ¶
func (o *TimeStream) GetSeriesTypeOk() (*string, bool)
GetSeriesTypeOk returns a tuple with the SeriesType field value if set, nil otherwise and a boolean to check if the value has been set.
func (*TimeStream) HasData ¶
func (o *TimeStream) HasData() bool
HasData returns a boolean if a field has been set.
func (*TimeStream) HasOriginalSize ¶
func (o *TimeStream) HasOriginalSize() bool
HasOriginalSize returns a boolean if a field has been set.
func (*TimeStream) HasResolution ¶
func (o *TimeStream) HasResolution() bool
HasResolution returns a boolean if a field has been set.
func (*TimeStream) HasSeriesType ¶
func (o *TimeStream) HasSeriesType() bool
HasSeriesType returns a boolean if a field has been set.
func (TimeStream) MarshalJSON ¶
func (o TimeStream) MarshalJSON() ([]byte, error)
func (*TimeStream) SetData ¶
func (o *TimeStream) SetData(v []int32)
SetData gets a reference to the given []int32 and assigns it to the Data field.
func (*TimeStream) SetOriginalSize ¶
func (o *TimeStream) SetOriginalSize(v int32)
SetOriginalSize gets a reference to the given int32 and assigns it to the OriginalSize field.
func (*TimeStream) SetResolution ¶
func (o *TimeStream) SetResolution(v string)
SetResolution gets a reference to the given string and assigns it to the Resolution field.
func (*TimeStream) SetSeriesType ¶
func (o *TimeStream) SetSeriesType(v string)
SetSeriesType gets a reference to the given string and assigns it to the SeriesType field.
func (TimeStream) ToMap ¶
func (o TimeStream) ToMap() (map[string]interface{}, error)
type TimedZoneRange ¶
type TimedZoneRange struct { // The minimum value in the range. Min *int32 `json:"min,omitempty"` // The maximum value in the range. Max *int32 `json:"max,omitempty"` // The number of seconds spent in this zone Time *int32 `json:"time,omitempty"` }
TimedZoneRange A union type representing the time spent in a given zone.
func NewTimedZoneRange ¶
func NewTimedZoneRange() *TimedZoneRange
NewTimedZoneRange instantiates a new TimedZoneRange object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewTimedZoneRangeWithDefaults ¶
func NewTimedZoneRangeWithDefaults() *TimedZoneRange
NewTimedZoneRangeWithDefaults instantiates a new TimedZoneRange object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*TimedZoneRange) GetMax ¶
func (o *TimedZoneRange) GetMax() int32
GetMax returns the Max field value if set, zero value otherwise.
func (*TimedZoneRange) GetMaxOk ¶
func (o *TimedZoneRange) GetMaxOk() (*int32, bool)
GetMaxOk returns a tuple with the Max field value if set, nil otherwise and a boolean to check if the value has been set.
func (*TimedZoneRange) GetMin ¶
func (o *TimedZoneRange) GetMin() int32
GetMin returns the Min field value if set, zero value otherwise.
func (*TimedZoneRange) GetMinOk ¶
func (o *TimedZoneRange) GetMinOk() (*int32, bool)
GetMinOk returns a tuple with the Min field value if set, nil otherwise and a boolean to check if the value has been set.
func (*TimedZoneRange) GetTime ¶
func (o *TimedZoneRange) GetTime() int32
GetTime returns the Time field value if set, zero value otherwise.
func (*TimedZoneRange) GetTimeOk ¶
func (o *TimedZoneRange) GetTimeOk() (*int32, bool)
GetTimeOk returns a tuple with the Time field value if set, nil otherwise and a boolean to check if the value has been set.
func (*TimedZoneRange) HasMax ¶
func (o *TimedZoneRange) HasMax() bool
HasMax returns a boolean if a field has been set.
func (*TimedZoneRange) HasMin ¶
func (o *TimedZoneRange) HasMin() bool
HasMin returns a boolean if a field has been set.
func (*TimedZoneRange) HasTime ¶
func (o *TimedZoneRange) HasTime() bool
HasTime returns a boolean if a field has been set.
func (TimedZoneRange) MarshalJSON ¶
func (o TimedZoneRange) MarshalJSON() ([]byte, error)
func (*TimedZoneRange) SetMax ¶
func (o *TimedZoneRange) SetMax(v int32)
SetMax gets a reference to the given int32 and assigns it to the Max field.
func (*TimedZoneRange) SetMin ¶
func (o *TimedZoneRange) SetMin(v int32)
SetMin gets a reference to the given int32 and assigns it to the Min field.
func (*TimedZoneRange) SetTime ¶
func (o *TimedZoneRange) SetTime(v int32)
SetTime gets a reference to the given int32 and assigns it to the Time field.
func (TimedZoneRange) ToMap ¶
func (o TimedZoneRange) ToMap() (map[string]interface{}, error)
type UpdatableActivity ¶
type UpdatableActivity struct { // Whether this activity is a commute Commute *bool `json:"commute,omitempty"` // Whether this activity was recorded on a training machine Trainer *bool `json:"trainer,omitempty"` // Whether this activity is muted HideFromHome *bool `json:"hide_from_home,omitempty"` // The description of the activity Description *string `json:"description,omitempty"` // The name of the activity Name *string `json:"name,omitempty"` Type *ActivityType `json:"type,omitempty"` SportType *SportType `json:"sport_type,omitempty"` // Identifier for the gear associated with the activity. ‘none’ clears gear from activity GearId *string `json:"gear_id,omitempty"` }
UpdatableActivity struct for UpdatableActivity
func NewUpdatableActivity ¶
func NewUpdatableActivity() *UpdatableActivity
NewUpdatableActivity instantiates a new UpdatableActivity object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewUpdatableActivityWithDefaults ¶
func NewUpdatableActivityWithDefaults() *UpdatableActivity
NewUpdatableActivityWithDefaults instantiates a new UpdatableActivity object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*UpdatableActivity) GetCommute ¶
func (o *UpdatableActivity) GetCommute() bool
GetCommute returns the Commute field value if set, zero value otherwise.
func (*UpdatableActivity) GetCommuteOk ¶
func (o *UpdatableActivity) GetCommuteOk() (*bool, bool)
GetCommuteOk returns a tuple with the Commute field value if set, nil otherwise and a boolean to check if the value has been set.
func (*UpdatableActivity) GetDescription ¶
func (o *UpdatableActivity) GetDescription() string
GetDescription returns the Description field value if set, zero value otherwise.
func (*UpdatableActivity) GetDescriptionOk ¶
func (o *UpdatableActivity) GetDescriptionOk() (*string, bool)
GetDescriptionOk returns a tuple with the Description field value if set, nil otherwise and a boolean to check if the value has been set.
func (*UpdatableActivity) GetGearId ¶
func (o *UpdatableActivity) GetGearId() string
GetGearId returns the GearId field value if set, zero value otherwise.
func (*UpdatableActivity) GetGearIdOk ¶
func (o *UpdatableActivity) GetGearIdOk() (*string, bool)
GetGearIdOk returns a tuple with the GearId field value if set, nil otherwise and a boolean to check if the value has been set.
func (*UpdatableActivity) GetHideFromHome ¶
func (o *UpdatableActivity) GetHideFromHome() bool
GetHideFromHome returns the HideFromHome field value if set, zero value otherwise.
func (*UpdatableActivity) GetHideFromHomeOk ¶
func (o *UpdatableActivity) GetHideFromHomeOk() (*bool, bool)
GetHideFromHomeOk returns a tuple with the HideFromHome field value if set, nil otherwise and a boolean to check if the value has been set.
func (*UpdatableActivity) GetName ¶
func (o *UpdatableActivity) GetName() string
GetName returns the Name field value if set, zero value otherwise.
func (*UpdatableActivity) GetNameOk ¶
func (o *UpdatableActivity) GetNameOk() (*string, bool)
GetNameOk returns a tuple with the Name field value if set, nil otherwise and a boolean to check if the value has been set.
func (*UpdatableActivity) GetSportType ¶
func (o *UpdatableActivity) GetSportType() SportType
GetSportType returns the SportType field value if set, zero value otherwise.
func (*UpdatableActivity) GetSportTypeOk ¶
func (o *UpdatableActivity) GetSportTypeOk() (*SportType, bool)
GetSportTypeOk returns a tuple with the SportType field value if set, nil otherwise and a boolean to check if the value has been set.
func (*UpdatableActivity) GetTrainer ¶
func (o *UpdatableActivity) GetTrainer() bool
GetTrainer returns the Trainer field value if set, zero value otherwise.
func (*UpdatableActivity) GetTrainerOk ¶
func (o *UpdatableActivity) GetTrainerOk() (*bool, bool)
GetTrainerOk returns a tuple with the Trainer field value if set, nil otherwise and a boolean to check if the value has been set.
func (*UpdatableActivity) GetType ¶
func (o *UpdatableActivity) GetType() ActivityType
GetType returns the Type field value if set, zero value otherwise.
func (*UpdatableActivity) GetTypeOk ¶
func (o *UpdatableActivity) GetTypeOk() (*ActivityType, bool)
GetTypeOk returns a tuple with the Type field value if set, nil otherwise and a boolean to check if the value has been set.
func (*UpdatableActivity) HasCommute ¶
func (o *UpdatableActivity) HasCommute() bool
HasCommute returns a boolean if a field has been set.
func (*UpdatableActivity) HasDescription ¶
func (o *UpdatableActivity) HasDescription() bool
HasDescription returns a boolean if a field has been set.
func (*UpdatableActivity) HasGearId ¶
func (o *UpdatableActivity) HasGearId() bool
HasGearId returns a boolean if a field has been set.
func (*UpdatableActivity) HasHideFromHome ¶
func (o *UpdatableActivity) HasHideFromHome() bool
HasHideFromHome returns a boolean if a field has been set.
func (*UpdatableActivity) HasName ¶
func (o *UpdatableActivity) HasName() bool
HasName returns a boolean if a field has been set.
func (*UpdatableActivity) HasSportType ¶
func (o *UpdatableActivity) HasSportType() bool
HasSportType returns a boolean if a field has been set.
func (*UpdatableActivity) HasTrainer ¶
func (o *UpdatableActivity) HasTrainer() bool
HasTrainer returns a boolean if a field has been set.
func (*UpdatableActivity) HasType ¶
func (o *UpdatableActivity) HasType() bool
HasType returns a boolean if a field has been set.
func (UpdatableActivity) MarshalJSON ¶
func (o UpdatableActivity) MarshalJSON() ([]byte, error)
func (*UpdatableActivity) SetCommute ¶
func (o *UpdatableActivity) SetCommute(v bool)
SetCommute gets a reference to the given bool and assigns it to the Commute field.
func (*UpdatableActivity) SetDescription ¶
func (o *UpdatableActivity) SetDescription(v string)
SetDescription gets a reference to the given string and assigns it to the Description field.
func (*UpdatableActivity) SetGearId ¶
func (o *UpdatableActivity) SetGearId(v string)
SetGearId gets a reference to the given string and assigns it to the GearId field.
func (*UpdatableActivity) SetHideFromHome ¶
func (o *UpdatableActivity) SetHideFromHome(v bool)
SetHideFromHome gets a reference to the given bool and assigns it to the HideFromHome field.
func (*UpdatableActivity) SetName ¶
func (o *UpdatableActivity) SetName(v string)
SetName gets a reference to the given string and assigns it to the Name field.
func (*UpdatableActivity) SetSportType ¶
func (o *UpdatableActivity) SetSportType(v SportType)
SetSportType gets a reference to the given SportType and assigns it to the SportType field.
func (*UpdatableActivity) SetTrainer ¶
func (o *UpdatableActivity) SetTrainer(v bool)
SetTrainer gets a reference to the given bool and assigns it to the Trainer field.
func (*UpdatableActivity) SetType ¶
func (o *UpdatableActivity) SetType(v ActivityType)
SetType gets a reference to the given ActivityType and assigns it to the Type field.
func (UpdatableActivity) ToMap ¶
func (o UpdatableActivity) ToMap() (map[string]interface{}, error)
type Upload ¶
type Upload struct { // The unique identifier of the upload Id *int64 `json:"id,omitempty"` // The unique identifier of the upload in string format IdStr *string `json:"id_str,omitempty"` // The external identifier of the upload ExternalId *string `json:"external_id,omitempty"` // The error associated with this upload Error *string `json:"error,omitempty"` // The status of this upload Status *string `json:"status,omitempty"` // The identifier of the activity this upload resulted into ActivityId *int64 `json:"activity_id,omitempty"` }
Upload struct for Upload
func NewUpload ¶
func NewUpload() *Upload
NewUpload instantiates a new Upload object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewUploadWithDefaults ¶
func NewUploadWithDefaults() *Upload
NewUploadWithDefaults instantiates a new Upload object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*Upload) GetActivityId ¶
GetActivityId returns the ActivityId field value if set, zero value otherwise.
func (*Upload) GetActivityIdOk ¶
GetActivityIdOk returns a tuple with the ActivityId field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Upload) GetErrorOk ¶
GetErrorOk returns a tuple with the Error field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Upload) GetExternalId ¶
GetExternalId returns the ExternalId field value if set, zero value otherwise.
func (*Upload) GetExternalIdOk ¶
GetExternalIdOk returns a tuple with the ExternalId field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Upload) GetIdOk ¶
GetIdOk returns a tuple with the Id field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Upload) GetIdStrOk ¶
GetIdStrOk returns a tuple with the IdStr field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Upload) GetStatusOk ¶
GetStatusOk returns a tuple with the Status field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Upload) HasActivityId ¶
HasActivityId returns a boolean if a field has been set.
func (*Upload) HasExternalId ¶
HasExternalId returns a boolean if a field has been set.
func (Upload) MarshalJSON ¶
func (*Upload) SetActivityId ¶
SetActivityId gets a reference to the given int64 and assigns it to the ActivityId field.
func (*Upload) SetError ¶
SetError gets a reference to the given string and assigns it to the Error field.
func (*Upload) SetExternalId ¶
SetExternalId gets a reference to the given string and assigns it to the ExternalId field.
func (*Upload) SetIdStr ¶
SetIdStr gets a reference to the given string and assigns it to the IdStr field.
type UploadsAPIService ¶
type UploadsAPIService service
UploadsAPIService UploadsAPI service
func (*UploadsAPIService) CreateUpload ¶
func (a *UploadsAPIService) CreateUpload(ctx context.Context) ApiCreateUploadRequest
CreateUpload Upload Activity
Uploads a new data file to create an activity from. Requires activity:write scope.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @return ApiCreateUploadRequest
func (*UploadsAPIService) CreateUploadExecute ¶
func (a *UploadsAPIService) CreateUploadExecute(r ApiCreateUploadRequest) (*Upload, *http.Response, error)
Execute executes the request
@return Upload
func (*UploadsAPIService) GetUploadById ¶
func (a *UploadsAPIService) GetUploadById(ctx context.Context, uploadId int64) ApiGetUploadByIdRequest
GetUploadById Get Upload
Returns an upload for a given identifier. Requires activity:write scope.
@param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background(). @param uploadId The identifier of the upload. @return ApiGetUploadByIdRequest
func (*UploadsAPIService) GetUploadByIdExecute ¶
func (a *UploadsAPIService) GetUploadByIdExecute(r ApiGetUploadByIdRequest) (*Upload, *http.Response, error)
Execute executes the request
@return Upload
type ZoneRange ¶
type ZoneRange struct { // The minimum value in the range. Min *int32 `json:"min,omitempty"` // The maximum value in the range. Max *int32 `json:"max,omitempty"` }
ZoneRange struct for ZoneRange
func NewZoneRange ¶
func NewZoneRange() *ZoneRange
NewZoneRange instantiates a new ZoneRange object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewZoneRangeWithDefaults ¶
func NewZoneRangeWithDefaults() *ZoneRange
NewZoneRangeWithDefaults instantiates a new ZoneRange object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*ZoneRange) GetMaxOk ¶
GetMaxOk returns a tuple with the Max field value if set, nil otherwise and a boolean to check if the value has been set.
func (*ZoneRange) GetMinOk ¶
GetMinOk returns a tuple with the Min field value if set, nil otherwise and a boolean to check if the value has been set.
func (ZoneRange) MarshalJSON ¶
func (*ZoneRange) SetMax ¶
SetMax gets a reference to the given int32 and assigns it to the Max field.
type Zones ¶
type Zones struct { HeartRate *HeartRateZoneRanges `json:"heart_rate,omitempty"` Power *PowerZoneRanges `json:"power,omitempty"` }
Zones struct for Zones
func NewZones ¶
func NewZones() *Zones
NewZones instantiates a new Zones object This constructor will assign default values to properties that have it defined, and makes sure properties required by API are set, but the set of arguments will change when the set of required properties is changed
func NewZonesWithDefaults ¶
func NewZonesWithDefaults() *Zones
NewZonesWithDefaults instantiates a new Zones object This constructor will only assign default values to properties that have it defined, but it doesn't guarantee that properties required by API are set
func (*Zones) GetHeartRate ¶
func (o *Zones) GetHeartRate() HeartRateZoneRanges
GetHeartRate returns the HeartRate field value if set, zero value otherwise.
func (*Zones) GetHeartRateOk ¶
func (o *Zones) GetHeartRateOk() (*HeartRateZoneRanges, bool)
GetHeartRateOk returns a tuple with the HeartRate field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Zones) GetPower ¶
func (o *Zones) GetPower() PowerZoneRanges
GetPower returns the Power field value if set, zero value otherwise.
func (*Zones) GetPowerOk ¶
func (o *Zones) GetPowerOk() (*PowerZoneRanges, bool)
GetPowerOk returns a tuple with the Power field value if set, nil otherwise and a boolean to check if the value has been set.
func (*Zones) HasHeartRate ¶
HasHeartRate returns a boolean if a field has been set.
func (Zones) MarshalJSON ¶
func (*Zones) SetHeartRate ¶
func (o *Zones) SetHeartRate(v HeartRateZoneRanges)
SetHeartRate gets a reference to the given HeartRateZoneRanges and assigns it to the HeartRate field.
func (*Zones) SetPower ¶
func (o *Zones) SetPower(v PowerZoneRanges)
SetPower gets a reference to the given PowerZoneRanges and assigns it to the Power field.
Source Files ¶
- api_activities.go
- api_athletes.go
- api_clubs.go
- api_gears.go
- api_routes.go
- api_segment_efforts.go
- api_segments.go
- api_streams.go
- api_uploads.go
- client.go
- configuration.go
- model_activity_stats.go
- model_activity_total.go
- model_activity_type.go
- model_activity_zone.go
- model_altitude_stream.go
- model_base_stream.go
- model_cadence_stream.go
- model_club_activity.go
- model_club_athlete.go
- model_comment.go
- model_detailed_activity.go
- model_detailed_athlete.go
- model_detailed_club.go
- model_detailed_gear.go
- model_detailed_segment.go
- model_detailed_segment_effort.go
- model_distance_stream.go
- model_error.go
- model_explorer_response.go
- model_explorer_segment.go
- model_fault.go
- model_heart_rate_zone_ranges.go
- model_heartrate_stream.go
- model_lap.go
- model_lat_lng_stream.go
- model_meta_activity.go
- model_meta_athlete.go
- model_meta_club.go
- model_moving_stream.go
- model_photos_summary.go
- model_photos_summary_primary.go
- model_polyline_map.go
- model_power_stream.go
- model_power_zone_ranges.go
- model_route.go
- model_smooth_grade_stream.go
- model_smooth_velocity_stream.go
- model_split.go
- model_sport_type.go
- model_stream_set.go
- model_summary_activity.go
- model_summary_athlete.go
- model_summary_club.go
- model_summary_gear.go
- model_summary_pr_segment_effort.go
- model_summary_segment.go
- model_summary_segment_effort.go
- model_temperature_stream.go
- model_time_stream.go
- model_timed_zone_range.go
- model_updatable_activity.go
- model_upload.go
- model_zone_range.go
- model_zones.go
- response.go
- utils.go