mirror of
https://git.vectorsigma.ru/public/atlantis.git
synced 2026-07-31 19:39:01 +00:00
Vendor using dep
This commit is contained in:
40
vendor/github.com/google/go-github/github/github-accessors.go
generated
vendored
40
vendor/github.com/google/go-github/github/github-accessors.go
generated
vendored
@@ -100,12 +100,12 @@ func (a *Authorization) GetTokenLastEight() string {
|
||||
return *a.TokenLastEight
|
||||
}
|
||||
|
||||
// GetUpdateAt returns the UpdateAt field if it's non-nil, zero value otherwise.
|
||||
func (a *Authorization) GetUpdateAt() Timestamp {
|
||||
if a == nil || a.UpdateAt == nil {
|
||||
// GetUpdatedAt returns the UpdatedAt field if it's non-nil, zero value otherwise.
|
||||
func (a *Authorization) GetUpdatedAt() Timestamp {
|
||||
if a == nil || a.UpdatedAt == nil {
|
||||
return Timestamp{}
|
||||
}
|
||||
return *a.UpdateAt
|
||||
return *a.UpdatedAt
|
||||
}
|
||||
|
||||
// GetURL returns the URL field if it's non-nil, zero value otherwise.
|
||||
@@ -3516,6 +3516,14 @@ func (p *Project) GetURL() string {
|
||||
return *p.URL
|
||||
}
|
||||
|
||||
// GetColumnID returns the ColumnID field if it's non-nil, zero value otherwise.
|
||||
func (p *ProjectCard) GetColumnID() int {
|
||||
if p == nil || p.ColumnID == nil {
|
||||
return 0
|
||||
}
|
||||
return *p.ColumnID
|
||||
}
|
||||
|
||||
// GetColumnURL returns the ColumnURL field if it's non-nil, zero value otherwise.
|
||||
func (p *ProjectCard) GetColumnURL() string {
|
||||
if p == nil || p.ColumnURL == nil {
|
||||
@@ -3564,6 +3572,14 @@ func (p *ProjectCard) GetUpdatedAt() Timestamp {
|
||||
return *p.UpdatedAt
|
||||
}
|
||||
|
||||
// GetURL returns the URL field if it's non-nil, zero value otherwise.
|
||||
func (p *ProjectCard) GetURL() string {
|
||||
if p == nil || p.URL == nil {
|
||||
return ""
|
||||
}
|
||||
return *p.URL
|
||||
}
|
||||
|
||||
// GetAction returns the Action field if it's non-nil, zero value otherwise.
|
||||
func (p *ProjectCardEvent) GetAction() string {
|
||||
if p == nil || p.Action == nil {
|
||||
@@ -4148,6 +4164,14 @@ func (p *PullRequestReviewRequest) GetBody() string {
|
||||
return *p.Body
|
||||
}
|
||||
|
||||
// GetCommitID returns the CommitID field if it's non-nil, zero value otherwise.
|
||||
func (p *PullRequestReviewRequest) GetCommitID() string {
|
||||
if p == nil || p.CommitID == nil {
|
||||
return ""
|
||||
}
|
||||
return *p.CommitID
|
||||
}
|
||||
|
||||
// GetEvent returns the Event field if it's non-nil, zero value otherwise.
|
||||
func (p *PullRequestReviewRequest) GetEvent() string {
|
||||
if p == nil || p.Event == nil {
|
||||
@@ -4156,6 +4180,14 @@ func (p *PullRequestReviewRequest) GetEvent() string {
|
||||
return *p.Event
|
||||
}
|
||||
|
||||
// GetDismissStaleReviews returns the DismissStaleReviews field if it's non-nil, zero value otherwise.
|
||||
func (p *PullRequestReviewsEnforcementUpdate) GetDismissStaleReviews() bool {
|
||||
if p == nil || p.DismissStaleReviews == nil {
|
||||
return false
|
||||
}
|
||||
return *p.DismissStaleReviews
|
||||
}
|
||||
|
||||
// GetBase returns the Base field if it's non-nil, zero value otherwise.
|
||||
func (p *pullRequestUpdate) GetBase() string {
|
||||
if p == nil || p.Base == nil {
|
||||
|
||||
Reference in New Issue
Block a user