/
model_detailed_gear.go
31 lines (29 loc) · 1.64 KB
/
model_detailed_gear.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
/*
* Strava API v3
*
* The [Swagger Playground](https://developers.strava.com/playground) is the easiest way to familiarize yourself with the Strava API by submitting HTTP requests and observing the responses before you write any client code. It will show what a response will look like with different endpoints depending on the authorization scope you receive from your athletes. To use the Playground, go to https://www.strava.com/settings/api and change your “Authorization Callback Domain” to developers.strava.com. Please note, we only support Swagger 2.0. There is a known issue where you can only select one scope at a time. For more information, please check the section “client code” at https://developers.strava.com/docs.
*
* API version: 3.0.0
* Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
*/
package swagger
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"`
}