-
-
Notifications
You must be signed in to change notification settings - Fork 64
Expand file tree
/
Copy pathmodel.go
More file actions
17 lines (15 loc) · 661 Bytes
/
model.go
File metadata and controls
17 lines (15 loc) · 661 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
package resource
import "github.com/shurcooL/githubv4"
// ReleaseObject represent the graphql release object
// https://developer.github.com/v4/object/release
type ReleaseObject struct {
CreatedAt githubv4.DateTime `graphql:"createdAt"`
PublishedAt githubv4.DateTime `graphql:"publishedAt"`
ID string `graphql:"id"`
DatabaseId githubv4.Int `graphql:"databaseId"`
IsDraft bool `graphql:"isDraft"`
IsPrerelease bool `graphql:"isPrerelease"`
Name string `graphql:"name"`
TagName string `graphql:"tagName"`
URL string `graphql:"url"`
}