/
model_updatable_activity.go
24 lines (22 loc) · 1.4 KB
/
model_updatable_activity.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
/*
* 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 strava
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"`
// 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"`
// Identifier for the gear associated with the activity. ‘none’ clears gear from activity
GearId string `json:"gear_id,omitempty"`
}