-
Notifications
You must be signed in to change notification settings - Fork 2
/
model_detailed_athlete.go
67 lines (64 loc) · 2.47 KB
/
model_detailed_athlete.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
/*
* Strava API v3
*
* Strava API
*
* API version: 3.0.0
* Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
*/
package strava
import (
"time"
)
type DetailedAthlete struct {
// The unique identifier of the athlete
Id int32 `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"`
// Whether the currently logged-in athlete follows this athlete.
Friend string `json:"friend,omitempty"`
// Whether this athlete follows the currently logged-in athlete.
Follower string `json:"follower,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 number or athletes mutually followed by this athlete and the currently logged-in athlete.
MutualFriendCount int32 `json:"mutual_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"`
}