-
Notifications
You must be signed in to change notification settings - Fork 1
/
model_award.go
23 lines (22 loc) · 1.17 KB
/
model_award.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
/*
* The Blue Alliance API v3
*
* # Overview Information and statistics about FIRST Robotics Competition teams and events. # Authentication All endpoints require an Auth Key to be passed in the header `X-TBA-Auth-Key`. If you do not have an auth key yet, you can obtain one from your [Account Page](/account). A `User-Agent` header may need to be set to prevent a 403 Unauthorized error.
*
* API version: 3.5
* Generated by: OpenAPI Generator (https://openapi-generator.tech)
*/
package openapi
// Award struct for Award
type Award struct {
// The name of the award as provided by FIRST. May vary for the same award type.
Name string `json:"name"`
// Type of award given. See https://github.com/the-blue-alliance/the-blue-alliance/blob/master/consts/award_type.py#L6
AwardType int32 `json:"award_type"`
// The event_key of the event the award was won at.
EventKey string `json:"event_key"`
// A list of recipients of the award at the event. May have either a team_key or an awardee, both, or neither (in the case the award wasn't awarded at the event).
RecipientList []AwardRecipient `json:"recipient_list"`
// The year this award was won.
Year int32 `json:"year"`
}