diff --git a/github/apps.go b/github/apps.go index 4757dedfaa9..8b7ed454161 100644 --- a/github/apps.go +++ b/github/apps.go @@ -80,29 +80,47 @@ type InstallationPermissions struct { Actions *string `json:"actions,omitempty"` ActionsVariables *string `json:"actions_variables,omitempty"` Administration *string `json:"administration,omitempty"` + Attestations *string `json:"attestations,omitempty"` Blocking *string `json:"blocking,omitempty"` Checks *string `json:"checks,omitempty"` Codespaces *string `json:"codespaces,omitempty"` CodespacesLifecycleAdmin *string `json:"codespaces_lifecycle_admin,omitempty"` CodespacesMetadata *string `json:"codespaces_metadata,omitempty"` CodespacesSecrets *string `json:"codespaces_secrets,omitempty"` + CodespacesUserSecrets *string `json:"codespaces_user_secrets,omitempty"` Contents *string `json:"contents,omitempty"` ContentReferences *string `json:"content_references,omitempty"` + CopilotMessages *string `json:"copilot_messages,omitempty"` DependabotSecrets *string `json:"dependabot_secrets,omitempty"` Deployments *string `json:"deployments,omitempty"` Discussions *string `json:"discussions,omitempty"` Emails *string `json:"emails,omitempty"` Environments *string `json:"environments,omitempty"` Followers *string `json:"followers,omitempty"` + Gists *string `json:"gists,omitempty"` + GitSigningSSHPublicKeys *string `json:"git_signing_ssh_public_keys,omitempty"` + GPGKeys *string `json:"gpg_keys,omitempty"` + InteractionLimits *string `json:"interaction_limits,omitempty"` Issues *string `json:"issues,omitempty"` + Keys *string `json:"keys,omitempty"` Metadata *string `json:"metadata,omitempty"` Members *string `json:"members,omitempty"` MergeQueues *string `json:"merge_queues,omitempty"` + OrganizationActionsVariables *string `json:"organization_actions_variables,omitempty"` OrganizationAdministration *string `json:"organization_administration,omitempty"` + OrganizationAnnouncementBanners *string `json:"organization_announcement_banners,omitempty"` + OrganizationAPIInsights *string `json:"organization_api_insights,omitempty"` + OrganizationCodespaces *string `json:"organization_codespaces,omitempty"` + OrganizationCodespacesSecrets *string `json:"organization_codespaces_secrets,omitempty"` + OrganizationCodespacesSettings *string `json:"organization_codespaces_settings,omitempty"` + OrganizationCopilotSeatManagement *string `json:"organization_copilot_seat_management,omitempty"` OrganizationCustomProperties *string `json:"organization_custom_properties,omitempty"` OrganizationCustomRoles *string `json:"organization_custom_roles,omitempty"` OrganizationCustomOrgRoles *string `json:"organization_custom_org_roles,omitempty"` + OrganizationDependabotSecrets *string `json:"organization_dependabot_secrets,omitempty"` + OrganizationEvents *string `json:"organization_events,omitempty"` OrganizationHooks *string `json:"organization_hooks,omitempty"` + OrganizationKnowledgeBases *string `json:"organization_knowledge_bases,omitempty"` OrganizationPackages *string `json:"organization_packages,omitempty"` OrganizationPersonalAccessTokens *string `json:"organization_personal_access_tokens,omitempty"` OrganizationPersonalAccessTokenRequests *string `json:"organization_personal_access_token_requests,omitempty"` @@ -114,6 +132,8 @@ type InstallationPermissions struct { OrganizationUserBlocking *string `json:"organization_user_blocking,omitempty"` Packages *string `json:"packages,omitempty"` Pages *string `json:"pages,omitempty"` + Plan *string `json:"plan,omitempty"` + Profile *string `json:"profile,omitempty"` PullRequests *string `json:"pull_requests,omitempty"` RepositoryAdvisories *string `json:"repository_advisories,omitempty"` RepositoryCustomProperties *string `json:"repository_custom_properties,omitempty"` @@ -124,9 +144,12 @@ type InstallationPermissions struct { SecretScanningAlerts *string `json:"secret_scanning_alerts,omitempty"` SecurityEvents *string `json:"security_events,omitempty"` SingleFile *string `json:"single_file,omitempty"` + Starring *string `json:"starring,omitempty"` Statuses *string `json:"statuses,omitempty"` TeamDiscussions *string `json:"team_discussions,omitempty"` + UserEvents *string `json:"user_events,omitempty"` VulnerabilityAlerts *string `json:"vulnerability_alerts,omitempty"` + Watching *string `json:"watching,omitempty"` Workflows *string `json:"workflows,omitempty"` } diff --git a/github/github-accessors.go b/github/github-accessors.go index 0782ba2f326..7fa93d8ae97 100644 --- a/github/github-accessors.go +++ b/github/github-accessors.go @@ -9366,6 +9366,14 @@ func (i *InstallationPermissions) GetAdministration() string { return *i.Administration } +// GetAttestations returns the Attestations field if it's non-nil, zero value otherwise. +func (i *InstallationPermissions) GetAttestations() string { + if i == nil || i.Attestations == nil { + return "" + } + return *i.Attestations +} + // GetBlocking returns the Blocking field if it's non-nil, zero value otherwise. func (i *InstallationPermissions) GetBlocking() string { if i == nil || i.Blocking == nil { @@ -9414,6 +9422,14 @@ func (i *InstallationPermissions) GetCodespacesSecrets() string { return *i.CodespacesSecrets } +// GetCodespacesUserSecrets returns the CodespacesUserSecrets field if it's non-nil, zero value otherwise. +func (i *InstallationPermissions) GetCodespacesUserSecrets() string { + if i == nil || i.CodespacesUserSecrets == nil { + return "" + } + return *i.CodespacesUserSecrets +} + // GetContentReferences returns the ContentReferences field if it's non-nil, zero value otherwise. func (i *InstallationPermissions) GetContentReferences() string { if i == nil || i.ContentReferences == nil { @@ -9430,6 +9446,14 @@ func (i *InstallationPermissions) GetContents() string { return *i.Contents } +// GetCopilotMessages returns the CopilotMessages field if it's non-nil, zero value otherwise. +func (i *InstallationPermissions) GetCopilotMessages() string { + if i == nil || i.CopilotMessages == nil { + return "" + } + return *i.CopilotMessages +} + // GetDependabotSecrets returns the DependabotSecrets field if it's non-nil, zero value otherwise. func (i *InstallationPermissions) GetDependabotSecrets() string { if i == nil || i.DependabotSecrets == nil { @@ -9478,6 +9502,38 @@ func (i *InstallationPermissions) GetFollowers() string { return *i.Followers } +// GetGists returns the Gists field if it's non-nil, zero value otherwise. +func (i *InstallationPermissions) GetGists() string { + if i == nil || i.Gists == nil { + return "" + } + return *i.Gists +} + +// GetGitSigningSSHPublicKeys returns the GitSigningSSHPublicKeys field if it's non-nil, zero value otherwise. +func (i *InstallationPermissions) GetGitSigningSSHPublicKeys() string { + if i == nil || i.GitSigningSSHPublicKeys == nil { + return "" + } + return *i.GitSigningSSHPublicKeys +} + +// GetGPGKeys returns the GPGKeys field if it's non-nil, zero value otherwise. +func (i *InstallationPermissions) GetGPGKeys() string { + if i == nil || i.GPGKeys == nil { + return "" + } + return *i.GPGKeys +} + +// GetInteractionLimits returns the InteractionLimits field if it's non-nil, zero value otherwise. +func (i *InstallationPermissions) GetInteractionLimits() string { + if i == nil || i.InteractionLimits == nil { + return "" + } + return *i.InteractionLimits +} + // GetIssues returns the Issues field if it's non-nil, zero value otherwise. func (i *InstallationPermissions) GetIssues() string { if i == nil || i.Issues == nil { @@ -9486,6 +9542,14 @@ func (i *InstallationPermissions) GetIssues() string { return *i.Issues } +// GetKeys returns the Keys field if it's non-nil, zero value otherwise. +func (i *InstallationPermissions) GetKeys() string { + if i == nil || i.Keys == nil { + return "" + } + return *i.Keys +} + // GetMembers returns the Members field if it's non-nil, zero value otherwise. func (i *InstallationPermissions) GetMembers() string { if i == nil || i.Members == nil { @@ -9510,6 +9574,14 @@ func (i *InstallationPermissions) GetMetadata() string { return *i.Metadata } +// GetOrganizationActionsVariables returns the OrganizationActionsVariables field if it's non-nil, zero value otherwise. +func (i *InstallationPermissions) GetOrganizationActionsVariables() string { + if i == nil || i.OrganizationActionsVariables == nil { + return "" + } + return *i.OrganizationActionsVariables +} + // GetOrganizationAdministration returns the OrganizationAdministration field if it's non-nil, zero value otherwise. func (i *InstallationPermissions) GetOrganizationAdministration() string { if i == nil || i.OrganizationAdministration == nil { @@ -9518,6 +9590,54 @@ func (i *InstallationPermissions) GetOrganizationAdministration() string { return *i.OrganizationAdministration } +// GetOrganizationAnnouncementBanners returns the OrganizationAnnouncementBanners field if it's non-nil, zero value otherwise. +func (i *InstallationPermissions) GetOrganizationAnnouncementBanners() string { + if i == nil || i.OrganizationAnnouncementBanners == nil { + return "" + } + return *i.OrganizationAnnouncementBanners +} + +// GetOrganizationAPIInsights returns the OrganizationAPIInsights field if it's non-nil, zero value otherwise. +func (i *InstallationPermissions) GetOrganizationAPIInsights() string { + if i == nil || i.OrganizationAPIInsights == nil { + return "" + } + return *i.OrganizationAPIInsights +} + +// GetOrganizationCodespaces returns the OrganizationCodespaces field if it's non-nil, zero value otherwise. +func (i *InstallationPermissions) GetOrganizationCodespaces() string { + if i == nil || i.OrganizationCodespaces == nil { + return "" + } + return *i.OrganizationCodespaces +} + +// GetOrganizationCodespacesSecrets returns the OrganizationCodespacesSecrets field if it's non-nil, zero value otherwise. +func (i *InstallationPermissions) GetOrganizationCodespacesSecrets() string { + if i == nil || i.OrganizationCodespacesSecrets == nil { + return "" + } + return *i.OrganizationCodespacesSecrets +} + +// GetOrganizationCodespacesSettings returns the OrganizationCodespacesSettings field if it's non-nil, zero value otherwise. +func (i *InstallationPermissions) GetOrganizationCodespacesSettings() string { + if i == nil || i.OrganizationCodespacesSettings == nil { + return "" + } + return *i.OrganizationCodespacesSettings +} + +// GetOrganizationCopilotSeatManagement returns the OrganizationCopilotSeatManagement field if it's non-nil, zero value otherwise. +func (i *InstallationPermissions) GetOrganizationCopilotSeatManagement() string { + if i == nil || i.OrganizationCopilotSeatManagement == nil { + return "" + } + return *i.OrganizationCopilotSeatManagement +} + // GetOrganizationCustomOrgRoles returns the OrganizationCustomOrgRoles field if it's non-nil, zero value otherwise. func (i *InstallationPermissions) GetOrganizationCustomOrgRoles() string { if i == nil || i.OrganizationCustomOrgRoles == nil { @@ -9542,6 +9662,22 @@ func (i *InstallationPermissions) GetOrganizationCustomRoles() string { return *i.OrganizationCustomRoles } +// GetOrganizationDependabotSecrets returns the OrganizationDependabotSecrets field if it's non-nil, zero value otherwise. +func (i *InstallationPermissions) GetOrganizationDependabotSecrets() string { + if i == nil || i.OrganizationDependabotSecrets == nil { + return "" + } + return *i.OrganizationDependabotSecrets +} + +// GetOrganizationEvents returns the OrganizationEvents field if it's non-nil, zero value otherwise. +func (i *InstallationPermissions) GetOrganizationEvents() string { + if i == nil || i.OrganizationEvents == nil { + return "" + } + return *i.OrganizationEvents +} + // GetOrganizationHooks returns the OrganizationHooks field if it's non-nil, zero value otherwise. func (i *InstallationPermissions) GetOrganizationHooks() string { if i == nil || i.OrganizationHooks == nil { @@ -9550,6 +9686,14 @@ func (i *InstallationPermissions) GetOrganizationHooks() string { return *i.OrganizationHooks } +// GetOrganizationKnowledgeBases returns the OrganizationKnowledgeBases field if it's non-nil, zero value otherwise. +func (i *InstallationPermissions) GetOrganizationKnowledgeBases() string { + if i == nil || i.OrganizationKnowledgeBases == nil { + return "" + } + return *i.OrganizationKnowledgeBases +} + // GetOrganizationPackages returns the OrganizationPackages field if it's non-nil, zero value otherwise. func (i *InstallationPermissions) GetOrganizationPackages() string { if i == nil || i.OrganizationPackages == nil { @@ -9638,6 +9782,22 @@ func (i *InstallationPermissions) GetPages() string { return *i.Pages } +// GetPlan returns the Plan field if it's non-nil, zero value otherwise. +func (i *InstallationPermissions) GetPlan() string { + if i == nil || i.Plan == nil { + return "" + } + return *i.Plan +} + +// GetProfile returns the Profile field if it's non-nil, zero value otherwise. +func (i *InstallationPermissions) GetProfile() string { + if i == nil || i.Profile == nil { + return "" + } + return *i.Profile +} + // GetPullRequests returns the PullRequests field if it's non-nil, zero value otherwise. func (i *InstallationPermissions) GetPullRequests() string { if i == nil || i.PullRequests == nil { @@ -9718,6 +9878,14 @@ func (i *InstallationPermissions) GetSingleFile() string { return *i.SingleFile } +// GetStarring returns the Starring field if it's non-nil, zero value otherwise. +func (i *InstallationPermissions) GetStarring() string { + if i == nil || i.Starring == nil { + return "" + } + return *i.Starring +} + // GetStatuses returns the Statuses field if it's non-nil, zero value otherwise. func (i *InstallationPermissions) GetStatuses() string { if i == nil || i.Statuses == nil { @@ -9734,6 +9902,14 @@ func (i *InstallationPermissions) GetTeamDiscussions() string { return *i.TeamDiscussions } +// GetUserEvents returns the UserEvents field if it's non-nil, zero value otherwise. +func (i *InstallationPermissions) GetUserEvents() string { + if i == nil || i.UserEvents == nil { + return "" + } + return *i.UserEvents +} + // GetVulnerabilityAlerts returns the VulnerabilityAlerts field if it's non-nil, zero value otherwise. func (i *InstallationPermissions) GetVulnerabilityAlerts() string { if i == nil || i.VulnerabilityAlerts == nil { @@ -9742,6 +9918,14 @@ func (i *InstallationPermissions) GetVulnerabilityAlerts() string { return *i.VulnerabilityAlerts } +// GetWatching returns the Watching field if it's non-nil, zero value otherwise. +func (i *InstallationPermissions) GetWatching() string { + if i == nil || i.Watching == nil { + return "" + } + return *i.Watching +} + // GetWorkflows returns the Workflows field if it's non-nil, zero value otherwise. func (i *InstallationPermissions) GetWorkflows() string { if i == nil || i.Workflows == nil { diff --git a/github/github-accessors_test.go b/github/github-accessors_test.go index b0a96dea810..51c4f86142d 100644 --- a/github/github-accessors_test.go +++ b/github/github-accessors_test.go @@ -12115,6 +12115,17 @@ func TestInstallationPermissions_GetAdministration(tt *testing.T) { i.GetAdministration() } +func TestInstallationPermissions_GetAttestations(tt *testing.T) { + tt.Parallel() + var zeroValue string + i := &InstallationPermissions{Attestations: &zeroValue} + i.GetAttestations() + i = &InstallationPermissions{} + i.GetAttestations() + i = nil + i.GetAttestations() +} + func TestInstallationPermissions_GetBlocking(tt *testing.T) { tt.Parallel() var zeroValue string @@ -12181,6 +12192,17 @@ func TestInstallationPermissions_GetCodespacesSecrets(tt *testing.T) { i.GetCodespacesSecrets() } +func TestInstallationPermissions_GetCodespacesUserSecrets(tt *testing.T) { + tt.Parallel() + var zeroValue string + i := &InstallationPermissions{CodespacesUserSecrets: &zeroValue} + i.GetCodespacesUserSecrets() + i = &InstallationPermissions{} + i.GetCodespacesUserSecrets() + i = nil + i.GetCodespacesUserSecrets() +} + func TestInstallationPermissions_GetContentReferences(tt *testing.T) { tt.Parallel() var zeroValue string @@ -12203,6 +12225,17 @@ func TestInstallationPermissions_GetContents(tt *testing.T) { i.GetContents() } +func TestInstallationPermissions_GetCopilotMessages(tt *testing.T) { + tt.Parallel() + var zeroValue string + i := &InstallationPermissions{CopilotMessages: &zeroValue} + i.GetCopilotMessages() + i = &InstallationPermissions{} + i.GetCopilotMessages() + i = nil + i.GetCopilotMessages() +} + func TestInstallationPermissions_GetDependabotSecrets(tt *testing.T) { tt.Parallel() var zeroValue string @@ -12269,6 +12302,50 @@ func TestInstallationPermissions_GetFollowers(tt *testing.T) { i.GetFollowers() } +func TestInstallationPermissions_GetGists(tt *testing.T) { + tt.Parallel() + var zeroValue string + i := &InstallationPermissions{Gists: &zeroValue} + i.GetGists() + i = &InstallationPermissions{} + i.GetGists() + i = nil + i.GetGists() +} + +func TestInstallationPermissions_GetGitSigningSSHPublicKeys(tt *testing.T) { + tt.Parallel() + var zeroValue string + i := &InstallationPermissions{GitSigningSSHPublicKeys: &zeroValue} + i.GetGitSigningSSHPublicKeys() + i = &InstallationPermissions{} + i.GetGitSigningSSHPublicKeys() + i = nil + i.GetGitSigningSSHPublicKeys() +} + +func TestInstallationPermissions_GetGPGKeys(tt *testing.T) { + tt.Parallel() + var zeroValue string + i := &InstallationPermissions{GPGKeys: &zeroValue} + i.GetGPGKeys() + i = &InstallationPermissions{} + i.GetGPGKeys() + i = nil + i.GetGPGKeys() +} + +func TestInstallationPermissions_GetInteractionLimits(tt *testing.T) { + tt.Parallel() + var zeroValue string + i := &InstallationPermissions{InteractionLimits: &zeroValue} + i.GetInteractionLimits() + i = &InstallationPermissions{} + i.GetInteractionLimits() + i = nil + i.GetInteractionLimits() +} + func TestInstallationPermissions_GetIssues(tt *testing.T) { tt.Parallel() var zeroValue string @@ -12280,6 +12357,17 @@ func TestInstallationPermissions_GetIssues(tt *testing.T) { i.GetIssues() } +func TestInstallationPermissions_GetKeys(tt *testing.T) { + tt.Parallel() + var zeroValue string + i := &InstallationPermissions{Keys: &zeroValue} + i.GetKeys() + i = &InstallationPermissions{} + i.GetKeys() + i = nil + i.GetKeys() +} + func TestInstallationPermissions_GetMembers(tt *testing.T) { tt.Parallel() var zeroValue string @@ -12313,6 +12401,17 @@ func TestInstallationPermissions_GetMetadata(tt *testing.T) { i.GetMetadata() } +func TestInstallationPermissions_GetOrganizationActionsVariables(tt *testing.T) { + tt.Parallel() + var zeroValue string + i := &InstallationPermissions{OrganizationActionsVariables: &zeroValue} + i.GetOrganizationActionsVariables() + i = &InstallationPermissions{} + i.GetOrganizationActionsVariables() + i = nil + i.GetOrganizationActionsVariables() +} + func TestInstallationPermissions_GetOrganizationAdministration(tt *testing.T) { tt.Parallel() var zeroValue string @@ -12324,6 +12423,72 @@ func TestInstallationPermissions_GetOrganizationAdministration(tt *testing.T) { i.GetOrganizationAdministration() } +func TestInstallationPermissions_GetOrganizationAnnouncementBanners(tt *testing.T) { + tt.Parallel() + var zeroValue string + i := &InstallationPermissions{OrganizationAnnouncementBanners: &zeroValue} + i.GetOrganizationAnnouncementBanners() + i = &InstallationPermissions{} + i.GetOrganizationAnnouncementBanners() + i = nil + i.GetOrganizationAnnouncementBanners() +} + +func TestInstallationPermissions_GetOrganizationAPIInsights(tt *testing.T) { + tt.Parallel() + var zeroValue string + i := &InstallationPermissions{OrganizationAPIInsights: &zeroValue} + i.GetOrganizationAPIInsights() + i = &InstallationPermissions{} + i.GetOrganizationAPIInsights() + i = nil + i.GetOrganizationAPIInsights() +} + +func TestInstallationPermissions_GetOrganizationCodespaces(tt *testing.T) { + tt.Parallel() + var zeroValue string + i := &InstallationPermissions{OrganizationCodespaces: &zeroValue} + i.GetOrganizationCodespaces() + i = &InstallationPermissions{} + i.GetOrganizationCodespaces() + i = nil + i.GetOrganizationCodespaces() +} + +func TestInstallationPermissions_GetOrganizationCodespacesSecrets(tt *testing.T) { + tt.Parallel() + var zeroValue string + i := &InstallationPermissions{OrganizationCodespacesSecrets: &zeroValue} + i.GetOrganizationCodespacesSecrets() + i = &InstallationPermissions{} + i.GetOrganizationCodespacesSecrets() + i = nil + i.GetOrganizationCodespacesSecrets() +} + +func TestInstallationPermissions_GetOrganizationCodespacesSettings(tt *testing.T) { + tt.Parallel() + var zeroValue string + i := &InstallationPermissions{OrganizationCodespacesSettings: &zeroValue} + i.GetOrganizationCodespacesSettings() + i = &InstallationPermissions{} + i.GetOrganizationCodespacesSettings() + i = nil + i.GetOrganizationCodespacesSettings() +} + +func TestInstallationPermissions_GetOrganizationCopilotSeatManagement(tt *testing.T) { + tt.Parallel() + var zeroValue string + i := &InstallationPermissions{OrganizationCopilotSeatManagement: &zeroValue} + i.GetOrganizationCopilotSeatManagement() + i = &InstallationPermissions{} + i.GetOrganizationCopilotSeatManagement() + i = nil + i.GetOrganizationCopilotSeatManagement() +} + func TestInstallationPermissions_GetOrganizationCustomOrgRoles(tt *testing.T) { tt.Parallel() var zeroValue string @@ -12357,6 +12522,28 @@ func TestInstallationPermissions_GetOrganizationCustomRoles(tt *testing.T) { i.GetOrganizationCustomRoles() } +func TestInstallationPermissions_GetOrganizationDependabotSecrets(tt *testing.T) { + tt.Parallel() + var zeroValue string + i := &InstallationPermissions{OrganizationDependabotSecrets: &zeroValue} + i.GetOrganizationDependabotSecrets() + i = &InstallationPermissions{} + i.GetOrganizationDependabotSecrets() + i = nil + i.GetOrganizationDependabotSecrets() +} + +func TestInstallationPermissions_GetOrganizationEvents(tt *testing.T) { + tt.Parallel() + var zeroValue string + i := &InstallationPermissions{OrganizationEvents: &zeroValue} + i.GetOrganizationEvents() + i = &InstallationPermissions{} + i.GetOrganizationEvents() + i = nil + i.GetOrganizationEvents() +} + func TestInstallationPermissions_GetOrganizationHooks(tt *testing.T) { tt.Parallel() var zeroValue string @@ -12368,6 +12555,17 @@ func TestInstallationPermissions_GetOrganizationHooks(tt *testing.T) { i.GetOrganizationHooks() } +func TestInstallationPermissions_GetOrganizationKnowledgeBases(tt *testing.T) { + tt.Parallel() + var zeroValue string + i := &InstallationPermissions{OrganizationKnowledgeBases: &zeroValue} + i.GetOrganizationKnowledgeBases() + i = &InstallationPermissions{} + i.GetOrganizationKnowledgeBases() + i = nil + i.GetOrganizationKnowledgeBases() +} + func TestInstallationPermissions_GetOrganizationPackages(tt *testing.T) { tt.Parallel() var zeroValue string @@ -12489,6 +12687,28 @@ func TestInstallationPermissions_GetPages(tt *testing.T) { i.GetPages() } +func TestInstallationPermissions_GetPlan(tt *testing.T) { + tt.Parallel() + var zeroValue string + i := &InstallationPermissions{Plan: &zeroValue} + i.GetPlan() + i = &InstallationPermissions{} + i.GetPlan() + i = nil + i.GetPlan() +} + +func TestInstallationPermissions_GetProfile(tt *testing.T) { + tt.Parallel() + var zeroValue string + i := &InstallationPermissions{Profile: &zeroValue} + i.GetProfile() + i = &InstallationPermissions{} + i.GetProfile() + i = nil + i.GetProfile() +} + func TestInstallationPermissions_GetPullRequests(tt *testing.T) { tt.Parallel() var zeroValue string @@ -12599,6 +12819,17 @@ func TestInstallationPermissions_GetSingleFile(tt *testing.T) { i.GetSingleFile() } +func TestInstallationPermissions_GetStarring(tt *testing.T) { + tt.Parallel() + var zeroValue string + i := &InstallationPermissions{Starring: &zeroValue} + i.GetStarring() + i = &InstallationPermissions{} + i.GetStarring() + i = nil + i.GetStarring() +} + func TestInstallationPermissions_GetStatuses(tt *testing.T) { tt.Parallel() var zeroValue string @@ -12621,6 +12852,17 @@ func TestInstallationPermissions_GetTeamDiscussions(tt *testing.T) { i.GetTeamDiscussions() } +func TestInstallationPermissions_GetUserEvents(tt *testing.T) { + tt.Parallel() + var zeroValue string + i := &InstallationPermissions{UserEvents: &zeroValue} + i.GetUserEvents() + i = &InstallationPermissions{} + i.GetUserEvents() + i = nil + i.GetUserEvents() +} + func TestInstallationPermissions_GetVulnerabilityAlerts(tt *testing.T) { tt.Parallel() var zeroValue string @@ -12632,6 +12874,17 @@ func TestInstallationPermissions_GetVulnerabilityAlerts(tt *testing.T) { i.GetVulnerabilityAlerts() } +func TestInstallationPermissions_GetWatching(tt *testing.T) { + tt.Parallel() + var zeroValue string + i := &InstallationPermissions{Watching: &zeroValue} + i.GetWatching() + i = &InstallationPermissions{} + i.GetWatching() + i = nil + i.GetWatching() +} + func TestInstallationPermissions_GetWorkflows(tt *testing.T) { tt.Parallel() var zeroValue string