Play around with github app credentials

This commit is contained in:
Roberto Hidalgo
2020-03-06 13:30:42 -05:00
committed by Roberto Hidalgo
parent 25cd66daa5
commit 199cdfe192
144 changed files with 35896 additions and 82 deletions

View File

@@ -644,6 +644,14 @@ func (c *CheckRunAnnotation) GetBlobHRef() string {
return *c.BlobHRef
}
// GetEndColumn returns the EndColumn field if it's non-nil, zero value otherwise.
func (c *CheckRunAnnotation) GetEndColumn() int {
if c == nil || c.EndColumn == nil {
return 0
}
return *c.EndColumn
}
// GetEndLine returns the EndLine field if it's non-nil, zero value otherwise.
func (c *CheckRunAnnotation) GetEndLine() int {
if c == nil || c.EndLine == nil {
@@ -676,6 +684,14 @@ func (c *CheckRunAnnotation) GetRawDetails() string {
return *c.RawDetails
}
// GetStartColumn returns the StartColumn field if it's non-nil, zero value otherwise.
func (c *CheckRunAnnotation) GetStartColumn() int {
if c == nil || c.StartColumn == nil {
return 0
}
return *c.StartColumn
}
// GetStartLine returns the StartLine field if it's non-nil, zero value otherwise.
func (c *CheckRunAnnotation) GetStartLine() int {
if c == nil || c.StartLine == nil {
@@ -7644,6 +7660,14 @@ func (p *PullRequest) GetLinks() *PRLinks {
return p.Links
}
// GetLocked returns the Locked field if it's non-nil, zero value otherwise.
func (p *PullRequest) GetLocked() bool {
if p == nil || p.Locked == nil {
return false
}
return *p.Locked
}
// GetMaintainerCanModify returns the MaintainerCanModify field if it's non-nil, zero value otherwise.
func (p *PullRequest) GetMaintainerCanModify() bool {
if p == nil || p.MaintainerCanModify == nil {
@@ -7732,6 +7756,14 @@ func (p *PullRequest) GetPatchURL() string {
return *p.PatchURL
}
// GetRebaseable returns the Rebaseable field if it's non-nil, zero value otherwise.
func (p *PullRequest) GetRebaseable() bool {
if p == nil || p.Rebaseable == nil {
return false
}
return *p.Rebaseable
}
// GetReviewComments returns the ReviewComments field if it's non-nil, zero value otherwise.
func (p *PullRequest) GetReviewComments() int {
if p == nil || p.ReviewComments == nil {