Update go modules

Signed-off-by: Gabriel Adrian Samfira <gsamfira@cloudbasesolutions.com>
This commit is contained in:
Gabriel Adrian Samfira 2023-03-12 16:22:37 +02:00
parent 829db87f15
commit c61b7fd268
No known key found for this signature in database
GPG key ID: 7D073DCC2C074CB5
698 changed files with 69376 additions and 29461 deletions

View file

@ -206,6 +206,38 @@ func (a *AdvancedSecurityCommittersBreakdown) GetUserLogin() string {
return *a.UserLogin
}
// GetScore returns the Score field.
func (a *AdvisoryCVSs) GetScore() *float64 {
if a == nil {
return nil
}
return a.Score
}
// GetVectorString returns the VectorString field if it's non-nil, zero value otherwise.
func (a *AdvisoryCVSs) GetVectorString() string {
if a == nil || a.VectorString == nil {
return ""
}
return *a.VectorString
}
// GetCWEID returns the CWEID field if it's non-nil, zero value otherwise.
func (a *AdvisoryCWEs) GetCWEID() string {
if a == nil || a.CWEID == nil {
return ""
}
return *a.CWEID
}
// GetName returns the Name field if it's non-nil, zero value otherwise.
func (a *AdvisoryCWEs) GetName() string {
if a == nil || a.Name == nil {
return ""
}
return *a.Name
}
// GetType returns the Type field if it's non-nil, zero value otherwise.
func (a *AdvisoryIdentifier) GetType() string {
if a == nil || a.Type == nil {
@ -302,6 +334,14 @@ func (a *Alert) GetDismissedBy() *User {
return a.DismissedBy
}
// GetDismissedComment returns the DismissedComment field if it's non-nil, zero value otherwise.
func (a *Alert) GetDismissedComment() string {
if a == nil || a.DismissedComment == nil {
return ""
}
return *a.DismissedComment
}
// GetDismissedReason returns the DismissedReason field if it's non-nil, zero value otherwise.
func (a *Alert) GetDismissedReason() string {
if a == nil || a.DismissedReason == nil {
@ -3614,6 +3654,14 @@ func (c *CreateRunnerGroupRequest) GetName() string {
return *c.Name
}
// GetRestrictedToWorkflows returns the RestrictedToWorkflows field if it's non-nil, zero value otherwise.
func (c *CreateRunnerGroupRequest) GetRestrictedToWorkflows() bool {
if c == nil || c.RestrictedToWorkflows == nil {
return false
}
return *c.RestrictedToWorkflows
}
// GetVisibility returns the Visibility field if it's non-nil, zero value otherwise.
func (c *CreateRunnerGroupRequest) GetVisibility() string {
if c == nil || c.Visibility == nil {
@ -3726,6 +3774,214 @@ func (d *DeleteEvent) GetSender() *User {
return d.Sender
}
// GetCreatedAt returns the CreatedAt field if it's non-nil, zero value otherwise.
func (d *DependabotAlert) GetCreatedAt() Timestamp {
if d == nil || d.CreatedAt == nil {
return Timestamp{}
}
return *d.CreatedAt
}
// GetDependency returns the Dependency field.
func (d *DependabotAlert) GetDependency() *Dependency {
if d == nil {
return nil
}
return d.Dependency
}
// GetDismissedAt returns the DismissedAt field if it's non-nil, zero value otherwise.
func (d *DependabotAlert) GetDismissedAt() Timestamp {
if d == nil || d.DismissedAt == nil {
return Timestamp{}
}
return *d.DismissedAt
}
// GetDismissedBy returns the DismissedBy field.
func (d *DependabotAlert) GetDismissedBy() *User {
if d == nil {
return nil
}
return d.DismissedBy
}
// GetDismissedComment returns the DismissedComment field if it's non-nil, zero value otherwise.
func (d *DependabotAlert) GetDismissedComment() string {
if d == nil || d.DismissedComment == nil {
return ""
}
return *d.DismissedComment
}
// GetDismissedReason returns the DismissedReason field if it's non-nil, zero value otherwise.
func (d *DependabotAlert) GetDismissedReason() string {
if d == nil || d.DismissedReason == nil {
return ""
}
return *d.DismissedReason
}
// GetFixedAt returns the FixedAt field if it's non-nil, zero value otherwise.
func (d *DependabotAlert) GetFixedAt() Timestamp {
if d == nil || d.FixedAt == nil {
return Timestamp{}
}
return *d.FixedAt
}
// GetHTMLURL returns the HTMLURL field if it's non-nil, zero value otherwise.
func (d *DependabotAlert) GetHTMLURL() string {
if d == nil || d.HTMLURL == nil {
return ""
}
return *d.HTMLURL
}
// GetNumber returns the Number field if it's non-nil, zero value otherwise.
func (d *DependabotAlert) GetNumber() int {
if d == nil || d.Number == nil {
return 0
}
return *d.Number
}
// GetSecurityAdvisory returns the SecurityAdvisory field.
func (d *DependabotAlert) GetSecurityAdvisory() *DependabotSecurityAdvisory {
if d == nil {
return nil
}
return d.SecurityAdvisory
}
// GetSecurityVulnerability returns the SecurityVulnerability field.
func (d *DependabotAlert) GetSecurityVulnerability() *AdvisoryVulnerability {
if d == nil {
return nil
}
return d.SecurityVulnerability
}
// GetState returns the State field if it's non-nil, zero value otherwise.
func (d *DependabotAlert) GetState() string {
if d == nil || d.State == nil {
return ""
}
return *d.State
}
// GetUpdatedAt returns the UpdatedAt field if it's non-nil, zero value otherwise.
func (d *DependabotAlert) GetUpdatedAt() Timestamp {
if d == nil || d.UpdatedAt == nil {
return Timestamp{}
}
return *d.UpdatedAt
}
// GetURL returns the URL field if it's non-nil, zero value otherwise.
func (d *DependabotAlert) GetURL() string {
if d == nil || d.URL == nil {
return ""
}
return *d.URL
}
// GetCVEID returns the CVEID field if it's non-nil, zero value otherwise.
func (d *DependabotSecurityAdvisory) GetCVEID() string {
if d == nil || d.CVEID == nil {
return ""
}
return *d.CVEID
}
// GetCVSs returns the CVSs field.
func (d *DependabotSecurityAdvisory) GetCVSs() *AdvisoryCVSs {
if d == nil {
return nil
}
return d.CVSs
}
// GetDescription returns the Description field if it's non-nil, zero value otherwise.
func (d *DependabotSecurityAdvisory) GetDescription() string {
if d == nil || d.Description == nil {
return ""
}
return *d.Description
}
// GetGHSAID returns the GHSAID field if it's non-nil, zero value otherwise.
func (d *DependabotSecurityAdvisory) GetGHSAID() string {
if d == nil || d.GHSAID == nil {
return ""
}
return *d.GHSAID
}
// GetPublishedAt returns the PublishedAt field if it's non-nil, zero value otherwise.
func (d *DependabotSecurityAdvisory) GetPublishedAt() Timestamp {
if d == nil || d.PublishedAt == nil {
return Timestamp{}
}
return *d.PublishedAt
}
// GetSeverity returns the Severity field if it's non-nil, zero value otherwise.
func (d *DependabotSecurityAdvisory) GetSeverity() string {
if d == nil || d.Severity == nil {
return ""
}
return *d.Severity
}
// GetSummary returns the Summary field if it's non-nil, zero value otherwise.
func (d *DependabotSecurityAdvisory) GetSummary() string {
if d == nil || d.Summary == nil {
return ""
}
return *d.Summary
}
// GetUpdatedAt returns the UpdatedAt field if it's non-nil, zero value otherwise.
func (d *DependabotSecurityAdvisory) GetUpdatedAt() Timestamp {
if d == nil || d.UpdatedAt == nil {
return Timestamp{}
}
return *d.UpdatedAt
}
// GetWithdrawnAt returns the WithdrawnAt field if it's non-nil, zero value otherwise.
func (d *DependabotSecurityAdvisory) GetWithdrawnAt() Timestamp {
if d == nil || d.WithdrawnAt == nil {
return Timestamp{}
}
return *d.WithdrawnAt
}
// GetManifestPath returns the ManifestPath field if it's non-nil, zero value otherwise.
func (d *Dependency) GetManifestPath() string {
if d == nil || d.ManifestPath == nil {
return ""
}
return *d.ManifestPath
}
// GetPackage returns the Package field.
func (d *Dependency) GetPackage() *VulnerabilityPackage {
if d == nil {
return nil
}
return d.Package
}
// GetScope returns the Scope field if it's non-nil, zero value otherwise.
func (d *Dependency) GetScope() string {
if d == nil || d.Scope == nil {
return ""
}
return *d.Scope
}
// GetAction returns the Action field if it's non-nil, zero value otherwise.
func (d *DeployKeyEvent) GetAction() string {
if d == nil || d.Action == nil {
@ -4558,6 +4814,14 @@ func (d *DiscussionEvent) GetSender() *User {
return d.Sender
}
// GetApps returns the Apps field if it's non-nil, zero value otherwise.
func (d *DismissalRestrictionsRequest) GetApps() []string {
if d == nil || d.Apps == nil {
return nil
}
return *d.Apps
}
// GetTeams returns the Teams field if it's non-nil, zero value otherwise.
func (d *DismissalRestrictionsRequest) GetTeams() []string {
if d == nil || d.Teams == nil {
@ -7206,6 +7470,14 @@ func (i *Issue) GetState() string {
return *i.State
}
// GetStateReason returns the StateReason field if it's non-nil, zero value otherwise.
func (i *Issue) GetStateReason() string {
if i == nil || i.StateReason == nil {
return ""
}
return *i.StateReason
}
// GetTitle returns the Title field if it's non-nil, zero value otherwise.
func (i *Issue) GetTitle() string {
if i == nil || i.Title == nil {
@ -8262,6 +8534,62 @@ func (l *LinearHistoryRequirementEnforcementLevelChanges) GetFrom() string {
return *l.From
}
// GetDirection returns the Direction field if it's non-nil, zero value otherwise.
func (l *ListAlertsOptions) GetDirection() string {
if l == nil || l.Direction == nil {
return ""
}
return *l.Direction
}
// GetEcosystem returns the Ecosystem field if it's non-nil, zero value otherwise.
func (l *ListAlertsOptions) GetEcosystem() string {
if l == nil || l.Ecosystem == nil {
return ""
}
return *l.Ecosystem
}
// GetPackage returns the Package field if it's non-nil, zero value otherwise.
func (l *ListAlertsOptions) GetPackage() string {
if l == nil || l.Package == nil {
return ""
}
return *l.Package
}
// GetScope returns the Scope field if it's non-nil, zero value otherwise.
func (l *ListAlertsOptions) GetScope() string {
if l == nil || l.Scope == nil {
return ""
}
return *l.Scope
}
// GetSeverity returns the Severity field if it's non-nil, zero value otherwise.
func (l *ListAlertsOptions) GetSeverity() string {
if l == nil || l.Severity == nil {
return ""
}
return *l.Severity
}
// GetSort returns the Sort field if it's non-nil, zero value otherwise.
func (l *ListAlertsOptions) GetSort() string {
if l == nil || l.Sort == nil {
return ""
}
return *l.Sort
}
// GetState returns the State field if it's non-nil, zero value otherwise.
func (l *ListAlertsOptions) GetState() string {
if l == nil || l.State == nil {
return ""
}
return *l.State
}
// GetAppID returns the AppID field if it's non-nil, zero value otherwise.
func (l *ListCheckRunsOptions) GetAppID() int64 {
if l == nil || l.AppID == nil {
@ -8862,6 +9190,94 @@ func (m *MembershipEvent) GetTeam() *Team {
return m.Team
}
// GetBaseRef returns the BaseRef field if it's non-nil, zero value otherwise.
func (m *MergeGroup) GetBaseRef() string {
if m == nil || m.BaseRef == nil {
return ""
}
return *m.BaseRef
}
// GetBaseSHA returns the BaseSHA field if it's non-nil, zero value otherwise.
func (m *MergeGroup) GetBaseSHA() string {
if m == nil || m.BaseSHA == nil {
return ""
}
return *m.BaseSHA
}
// GetHeadCommit returns the HeadCommit field.
func (m *MergeGroup) GetHeadCommit() *Commit {
if m == nil {
return nil
}
return m.HeadCommit
}
// GetHeadRef returns the HeadRef field if it's non-nil, zero value otherwise.
func (m *MergeGroup) GetHeadRef() string {
if m == nil || m.HeadRef == nil {
return ""
}
return *m.HeadRef
}
// GetHeadSHA returns the HeadSHA field if it's non-nil, zero value otherwise.
func (m *MergeGroup) GetHeadSHA() string {
if m == nil || m.HeadSHA == nil {
return ""
}
return *m.HeadSHA
}
// GetAction returns the Action field if it's non-nil, zero value otherwise.
func (m *MergeGroupEvent) GetAction() string {
if m == nil || m.Action == nil {
return ""
}
return *m.Action
}
// GetInstallation returns the Installation field.
func (m *MergeGroupEvent) GetInstallation() *Installation {
if m == nil {
return nil
}
return m.Installation
}
// GetMergeGroup returns the MergeGroup field.
func (m *MergeGroupEvent) GetMergeGroup() *MergeGroup {
if m == nil {
return nil
}
return m.MergeGroup
}
// GetOrg returns the Org field.
func (m *MergeGroupEvent) GetOrg() *Organization {
if m == nil {
return nil
}
return m.Org
}
// GetRepo returns the Repo field.
func (m *MergeGroupEvent) GetRepo() *Repository {
if m == nil {
return nil
}
return m.Repo
}
// GetSender returns the Sender field.
func (m *MergeGroupEvent) GetSender() *User {
if m == nil {
return nil
}
return m.Sender
}
// GetText returns the Text field if it's non-nil, zero value otherwise.
func (m *Message) GetText() string {
if m == nil || m.Text == nil {
@ -11846,6 +12262,14 @@ func (p *Protection) GetAllowForcePushes() *AllowForcePushes {
return p.AllowForcePushes
}
// GetAllowForkSyncing returns the AllowForkSyncing field if it's non-nil, zero value otherwise.
func (p *Protection) GetAllowForkSyncing() bool {
if p == nil || p.AllowForkSyncing == nil {
return false
}
return *p.AllowForkSyncing
}
// GetEnforceAdmins returns the EnforceAdmins field.
func (p *Protection) GetEnforceAdmins() *AdminEnforcement {
if p == nil {
@ -11854,6 +12278,14 @@ func (p *Protection) GetEnforceAdmins() *AdminEnforcement {
return p.EnforceAdmins
}
// GetLockBranch returns the LockBranch field if it's non-nil, zero value otherwise.
func (p *Protection) GetLockBranch() bool {
if p == nil || p.LockBranch == nil {
return false
}
return *p.LockBranch
}
// GetRequiredConversationResolution returns the RequiredConversationResolution field.
func (p *Protection) GetRequiredConversationResolution() *RequiredConversationResolution {
if p == nil {
@ -13262,6 +13694,14 @@ func (p *PullRequestReviewsEnforcementUpdate) GetRequireCodeOwnerReviews() bool
return *p.RequireCodeOwnerReviews
}
// GetRequireLastPushApproval returns the RequireLastPushApproval field if it's non-nil, zero value otherwise.
func (p *PullRequestReviewsEnforcementUpdate) GetRequireLastPushApproval() bool {
if p == nil || p.RequireLastPushApproval == nil {
return false
}
return *p.RequireLastPushApproval
}
// GetAction returns the Action field if it's non-nil, zero value otherwise.
func (p *PullRequestReviewThreadEvent) GetAction() string {
if p == nil || p.Action == nil {
@ -14718,6 +15158,14 @@ func (r *Repository) GetGitURL() string {
return *r.GitURL
}
// GetHasDiscussions returns the HasDiscussions field if it's non-nil, zero value otherwise.
func (r *Repository) GetHasDiscussions() bool {
if r == nil || r.HasDiscussions == nil {
return false
}
return *r.HasDiscussions
}
// GetHasDownloads returns the HasDownloads field if it's non-nil, zero value otherwise.
func (r *Repository) GetHasDownloads() bool {
if r == nil || r.HasDownloads == nil {
@ -15230,6 +15678,14 @@ func (r *Repository) GetWatchersCount() int {
return *r.WatchersCount
}
// GetAccessLevel returns the AccessLevel field if it's non-nil, zero value otherwise.
func (r *RepositoryActionsAccessLevel) GetAccessLevel() string {
if r == nil || r.AccessLevel == nil {
return ""
}
return *r.AccessLevel
}
// GetAdvancedSecurityCommitters returns the AdvancedSecurityCommitters field if it's non-nil, zero value otherwise.
func (r *RepositoryActiveCommitters) GetAdvancedSecurityCommitters() int {
if r == nil || r.AdvancedSecurityCommitters == nil {
@ -15950,6 +16406,14 @@ func (r *RepositoryRelease) GetID() int64 {
return *r.ID
}
// GetMakeLatest returns the MakeLatest field if it's non-nil, zero value otherwise.
func (r *RepositoryRelease) GetMakeLatest() string {
if r == nil || r.MakeLatest == nil {
return ""
}
return *r.MakeLatest
}
// GetName returns the Name field if it's non-nil, zero value otherwise.
func (r *RepositoryRelease) GetName() string {
if r == nil || r.Name == nil {
@ -16582,6 +17046,14 @@ func (r *RunnerGroup) GetName() string {
return *r.Name
}
// GetRestrictedToWorkflows returns the RestrictedToWorkflows field if it's non-nil, zero value otherwise.
func (r *RunnerGroup) GetRestrictedToWorkflows() bool {
if r == nil || r.RestrictedToWorkflows == nil {
return false
}
return *r.RestrictedToWorkflows
}
// GetRunnersURL returns the RunnersURL field if it's non-nil, zero value otherwise.
func (r *RunnerGroup) GetRunnersURL() string {
if r == nil || r.RunnersURL == nil {
@ -16606,6 +17078,14 @@ func (r *RunnerGroup) GetVisibility() string {
return *r.Visibility
}
// GetWorkflowRestrictionsReadOnly returns the WorkflowRestrictionsReadOnly field if it's non-nil, zero value otherwise.
func (r *RunnerGroup) GetWorkflowRestrictionsReadOnly() bool {
if r == nil || r.WorkflowRestrictionsReadOnly == nil {
return false
}
return *r.WorkflowRestrictionsReadOnly
}
// GetID returns the ID field if it's non-nil, zero value otherwise.
func (r *RunnerLabels) GetID() int64 {
if r == nil || r.ID == nil {
@ -19070,6 +19550,14 @@ func (u *UpdateRunnerGroupRequest) GetName() string {
return *u.Name
}
// GetRestrictedToWorkflows returns the RestrictedToWorkflows field if it's non-nil, zero value otherwise.
func (u *UpdateRunnerGroupRequest) GetRestrictedToWorkflows() bool {
if u == nil || u.RestrictedToWorkflows == nil {
return false
}
return *u.RestrictedToWorkflows
}
// GetVisibility returns the Visibility field if it's non-nil, zero value otherwise.
func (u *UpdateRunnerGroupRequest) GetVisibility() string {
if u == nil || u.Visibility == nil {
@ -20166,6 +20654,14 @@ func (w *WorkflowJob) GetNodeID() string {
return *w.NodeID
}
// GetRunAttempt returns the RunAttempt field if it's non-nil, zero value otherwise.
func (w *WorkflowJob) GetRunAttempt() int64 {
if w == nil || w.RunAttempt == nil {
return 0
}
return *w.RunAttempt
}
// GetRunID returns the RunID field if it's non-nil, zero value otherwise.
func (w *WorkflowJob) GetRunID() int64 {
if w == nil || w.RunID == nil {