forked from wbrefvem/go-bitbucket
/
commit.go
36 lines (24 loc) · 857 Bytes
/
commit.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
/*
* Bitbucket API
*
* Code against the Bitbucket API to automate simple tasks, embed Bitbucket data into your own site, build mobile or desktop apps, or even add custom UI add-ons into Bitbucket itself using the Connect framework.
*
* API version: 2.0
* Contact: support@bitbucket.org
* Generated by: Swagger Codegen (https://github.com/swagger-api/swagger-codegen.git)
*/
package bitbucket
import (
"time"
)
type Commit struct {
Type_ string `json:"type"`
Hash string `json:"hash,omitempty"`
Date time.Time `json:"date,omitempty"`
Author *Author `json:"author,omitempty"`
Message string `json:"message,omitempty"`
Summary *IssueContent `json:"summary,omitempty"`
Parents []BaseCommit `json:"parents,omitempty"`
Repository *Repository `json:"repository,omitempty"`
Participants []Participant `json:"participants,omitempty"`
}