From eb8f7778b28fef2410fe12bc8c2e0d22d6e42587 Mon Sep 17 00:00:00 2001 From: Glenn Lewis <6598971+gmlewis@users.noreply.github.com> Date: Tue, 17 Mar 2026 11:21:34 -0400 Subject: [PATCH] feat: Generate accessors for all fields Signed-off-by: Glenn Lewis <6598971+gmlewis@users.noreply.github.com> --- github/gen-accessors.go | 174 +- github/github-accessors.go | 9056 +++++++++++++++++++++++++- github/github-accessors_test.go | 10311 +++++++++++++++++++++++++++++- 3 files changed, 19480 insertions(+), 61 deletions(-) diff --git a/github/gen-accessors.go b/github/gen-accessors.go index f9a59d599df..9b47ce0e197 100644 --- a/github/gen-accessors.go +++ b/github/gen-accessors.go @@ -5,11 +5,18 @@ //go:build ignore -// gen-accessors generates accessor methods for structs with pointer fields. +// gen-accessors generates accessor methods for all struct fields. +// This is so that interfaces can be easily crafted by users of this repo +// within their own code bases. +// See https://github.com/google/go-github/issues/4059 for details. // // It is meant to be used by go-github contributors in conjunction with the // go generate tool before sending a PR to GitHub. // Please see the CONTRIBUTING.md file for more information. +// +// Usage: +// +// go run gen-accessors.go [-v [file1.go file2.go ...]] package main import ( @@ -39,14 +46,15 @@ var ( // skipStructMethods lists "struct.method" combos to skip. skipStructMethods = map[string]bool{ - "RepositoryContent.GetContent": true, + "AbuseRateLimitError.GetResponse": true, "Client.GetBaseURL": true, "Client.GetUploadURL": true, "ErrorResponse.GetResponse": true, - "RateLimitError.GetResponse": true, - "AbuseRateLimitError.GetResponse": true, + "MarketplaceService.GetStubbed": true, "PackageVersion.GetBody": true, "PackageVersion.GetMetadata": true, + "RateLimitError.GetResponse": true, + "RepositoryContent.GetContent": true, } // skipStructs lists structs to skip. skipStructs = map[string]bool{ @@ -67,6 +75,18 @@ func logf(fmt string, args ...any) { func main() { flag.Parse() + + // For debugging purposes, processing just a single or a few files is helpful: + var processOnly map[string]bool + if *verbose { // Only create the map if args are provided. + for _, arg := range flag.Args() { + if processOnly == nil { + processOnly = map[string]bool{} + } + processOnly[arg] = true + } + } + fset := token.NewFileSet() pkgs, err := parser.ParseDir(fset, ".", sourceFilter, 0) @@ -83,6 +103,10 @@ func main() { Imports: map[string]string{}, } for filename, f := range pkg.Files { + if *verbose && processOnly != nil && !processOnly[filename] { + continue + } + logf("Processing %v...", filename) if err := t.processAST(f); err != nil { log.Fatal(err) @@ -116,8 +140,12 @@ func (t *templateData) processAST(f *ast.File) error { logf("Struct %v is in skip list; skipping.", ts.Name) continue } + if _, ok := ts.Type.(*ast.Ident); ok { // e.g. type SomeService service + continue + } st, ok := ts.Type.(*ast.StructType) if !ok { + logf("Skipping TypeSpec of type %T", ts.Type) continue } for _, field := range st.Fields.List { @@ -141,14 +169,21 @@ func (t *templateData) processAST(f *ast.File) error { if !ok { switch x := field.Type.(type) { case *ast.MapType: + logf("processAST: addMapType(x, %q, %q)", ts.Name.String(), fieldName.String()) t.addMapType(x, ts.Name.String(), fieldName.String(), false) continue case *ast.ArrayType: - if key := fmt.Sprintf("%v.%v", ts.Name, fieldName); whitelistSliceGetters[key] { - logf("Method %v is whitelist; adding getter method.", key) - t.addArrayType(x, ts.Name.String(), fieldName.String(), false) - continue - } + logf("processAST: addArrayType(x, %q, %q)", ts.Name.String(), fieldName.String()) + t.addArrayType(x, ts.Name.String(), fieldName.String(), false) + continue + case *ast.Ident: + logf("processAST: addSimpleValueIdent(x, %q, %q)", ts.Name.String(), fieldName.String()) + t.addSimpleValueIdent(x, ts.Name.String(), fieldName.String()) + continue + case *ast.SelectorExpr: + logf("processAST: addSimpleValueSelectorExpr(x, %q, %q)", ts.Name.String(), fieldName.String()) + t.addSimpleValueSelectorExpr(x, ts.Name.String(), fieldName.String()) + continue } logf("Skipping field type %T, fieldName=%v", field.Type, fieldName) @@ -254,24 +289,62 @@ func (t *templateData) addArrayType(x *ast.ArrayType, receiverType, fieldName st t.Getters = append(t.Getters, ng) } +func (t *templateData) addSimpleValueIdent(x *ast.Ident, receiverType, fieldName string) { + getter := genIdentGetter(x, receiverType, fieldName) + getter.IsSimpleValue = true + logf("addSimpleValueIdent: Processing %q - fieldName=%q, getter.ZeroValue=%q, x.Obj=%#v", x.String(), fieldName, getter.ZeroValue, x.Obj) + if getter.ZeroValue == "nil" { + if x.Obj == nil { + switch x.String() { + case "any": // NOOP - leave as `nil` + default: + getter.ZeroValue = x.String() + "{}" + } + } else { + if ts, ok := x.Obj.Decl.(*ast.TypeSpec); ok { + logf("addSimpleValueIdent: Processing %q of type %T", x.String(), ts.Type) + switch xX := ts.Type.(type) { + case *ast.Ident: + logf("addSimpleValueIdent: Processing %q of type %T - zero value is %q", x.String(), ts.Type, getter.ZeroValue) + getter.ZeroValue = zeroValueOfIdent(xX) + case *ast.StructType: + getter.ZeroValue = x.String() + "{}" + logf("addSimpleValueIdent: Processing %q of type %T - zero value is %q", x.String(), ts.Type, getter.ZeroValue) + case *ast.InterfaceType, *ast.ArrayType: // NOOP - leave as `nil` + logf("addSimpleValueIdent: Processing %q of type %T - zero value is %q", x.String(), ts.Type, getter.ZeroValue) + default: + log.Fatalf("addSimpleValueIdent: unhandled case %T", xX) + } + } + } + } + t.Getters = append(t.Getters, getter) +} + func (t *templateData) addIdent(x *ast.Ident, receiverType, fieldName string) { - var zeroValue string - var namedStruct bool + getter := genIdentGetter(x, receiverType, fieldName) + t.Getters = append(t.Getters, getter) +} + +func zeroValueOfIdent(x *ast.Ident) string { switch x.String() { - case "int", "int64": - zeroValue = "0" + case "int", "int64", "float64", "uint8", "uint16": + return "0" case "string": - zeroValue = `""` + return `""` case "bool": - zeroValue = "false" + return "false" case "Timestamp": - zeroValue = "Timestamp{}" + return "Timestamp{}" default: - zeroValue = "nil" - namedStruct = true + return "nil" } +} - t.Getters = append(t.Getters, newGetter(receiverType, fieldName, x.String(), zeroValue, namedStruct)) +func genIdentGetter(x *ast.Ident, receiverType, fieldName string) *getter { + zeroValue := zeroValueOfIdent(x) + namedStruct := zeroValue == "nil" + return newGetter(receiverType, fieldName, x.String(), zeroValue, namedStruct) } func (t *templateData) addMapType(x *ast.MapType, receiverType, fieldName string, isAPointer bool) { @@ -300,10 +373,28 @@ func (t *templateData) addMapType(x *ast.MapType, receiverType, fieldName string t.Getters = append(t.Getters, ng) } +func (t *templateData) addSimpleValueSelectorExpr(x *ast.SelectorExpr, receiverType, fieldName string) { + getter := t.genSelectorExprGetter(x, receiverType, fieldName) + if getter == nil { + return + } + getter.IsSimpleValue = true + logf("addSimpleValueSelectorExpr: Processing field name %q - %#v - zero value is %q", fieldName, x, getter.ZeroValue) + t.Getters = append(t.Getters, getter) +} + func (t *templateData) addSelectorExpr(x *ast.SelectorExpr, receiverType, fieldName string) { - if strings.ToLower(fieldName[:1]) == fieldName[:1] { // Non-exported field. + getter := t.genSelectorExprGetter(x, receiverType, fieldName) + if getter == nil { return } + t.Getters = append(t.Getters, getter) +} + +func (t *templateData) genSelectorExprGetter(x *ast.SelectorExpr, receiverType, fieldName string) *getter { + if strings.ToLower(fieldName[:1]) == fieldName[:1] { // Non-exported field. + return nil + } var xX string if xx, ok := x.X.(*ast.Ident); ok { @@ -322,10 +413,12 @@ func (t *templateData) addSelectorExpr(x *ast.SelectorExpr, receiverType, fieldN if xX == "time" && x.Sel.Name == "Duration" { zeroValue = "0" } - t.Getters = append(t.Getters, newGetter(receiverType, fieldName, fieldType, zeroValue, false)) + return newGetter(receiverType, fieldName, fieldType, zeroValue, false) default: logf("addSelectorExpr: xX %q, type %q, field %q: unknown x=%+v; skipping.", xX, receiverType, fieldName, x) } + + return nil } type templateData struct { @@ -337,15 +430,16 @@ type templateData struct { } type getter struct { - sortVal string // Lower-case version of "ReceiverType.FieldName". - ReceiverVar string // The one-letter variable name to match the ReceiverType. - ReceiverType string - FieldName string - FieldType string - ZeroValue string - NamedStruct bool // Getter for named struct. - MapType bool - ArrayType bool + sortVal string // Lower-case version of "ReceiverType.FieldName". + ReceiverVar string // The one-letter variable name to match the ReceiverType. + ReceiverType string + FieldName string + FieldType string + ZeroValue string + NamedStruct bool // Getter for named struct. + MapType bool + ArrayType bool + IsSimpleValue bool } const source = `// Code generated by gen-accessors; DO NOT EDIT. @@ -366,7 +460,15 @@ import ( ) {{end}} {{range .Getters}} -{{if .NamedStruct}} +{{if .IsSimpleValue}} +// Get{{.FieldName}} returns the {{.FieldName}} field. +func ({{.ReceiverVar}} *{{.ReceiverType}}) Get{{.FieldName}}() {{.FieldType}} { + if {{.ReceiverVar}} == nil { + return {{.ZeroValue}} + } + return {{.ReceiverVar}}.{{.FieldName}} +} +{{else if .NamedStruct}} // Get{{.FieldName}} returns the {{.FieldName}} field. func ({{.ReceiverVar}} *{{.ReceiverType}}) Get{{.FieldName}}() *{{.FieldType}} { if {{.ReceiverVar}} == nil { @@ -413,7 +515,15 @@ import ( ) {{end}} {{range .Getters}} -{{if .NamedStruct}} +{{if .IsSimpleValue}} +func Test{{.ReceiverType}}_Get{{.FieldName}}(tt *testing.T) { + tt.Parallel() + {{.ReceiverVar}} := &{{.ReceiverType}}{} + {{.ReceiverVar}}.Get{{.FieldName}}() + {{.ReceiverVar}} = nil + {{.ReceiverVar}}.Get{{.FieldName}}() +} +{{else if .NamedStruct}} func Test{{.ReceiverType}}_Get{{.FieldName}}(tt *testing.T) { tt.Parallel() {{.ReceiverVar}} := &{{.ReceiverType}}{} diff --git a/github/github-accessors.go b/github/github-accessors.go index b529e5e4675..c87daef14a8 100644 --- a/github/github-accessors.go +++ b/github/github-accessors.go @@ -14,6 +14,14 @@ import ( "time" ) +// GetMessage returns the Message field. +func (a *AbuseRateLimitError) GetMessage() string { + if a == nil { + return "" + } + return a.Message +} + // GetRetryAfter returns the RetryAfter field if it's non-nil, zero value otherwise. func (a *AbuseRateLimitError) GetRetryAfter() time.Duration { if a == nil || a.RetryAfter == nil { @@ -70,6 +78,14 @@ func (a *AcceptedAssignment) GetRepository() *Repository { return a.Repository } +// GetStudents returns the Students slice if it's non-nil, nil otherwise. +func (a *AcceptedAssignment) GetStudents() []*ClassroomUser { + if a == nil || a.Students == nil { + return nil + } + return a.Students +} + // GetSubmitted returns the Submitted field if it's non-nil, zero value otherwise. func (a *AcceptedAssignment) GetSubmitted() bool { if a == nil || a.Submitted == nil { @@ -78,6 +94,38 @@ func (a *AcceptedAssignment) GetSubmitted() bool { return *a.Submitted } +// GetRaw returns the Raw slice if it's non-nil, nil otherwise. +func (a *AcceptedError) GetRaw() []byte { + if a == nil || a.Raw == nil { + return nil + } + return a.Raw +} + +// GetFullName returns the FullName field. +func (a *AccessibleRepository) GetFullName() string { + if a == nil { + return "" + } + return a.FullName +} + +// GetID returns the ID field. +func (a *AccessibleRepository) GetID() int64 { + if a == nil { + return 0 + } + return a.ID +} + +// GetName returns the Name field. +func (a *AccessibleRepository) GetName() string { + if a == nil { + return "" + } + return a.Name +} + // GetGithubOwnedAllowed returns the GithubOwnedAllowed field if it's non-nil, zero value otherwise. func (a *ActionsAllowed) GetGithubOwnedAllowed() bool { if a == nil || a.GithubOwnedAllowed == nil { @@ -86,6 +134,14 @@ func (a *ActionsAllowed) GetGithubOwnedAllowed() bool { return *a.GithubOwnedAllowed } +// GetPatternsAllowed returns the PatternsAllowed slice if it's non-nil, nil otherwise. +func (a *ActionsAllowed) GetPatternsAllowed() []string { + if a == nil || a.PatternsAllowed == nil { + return nil + } + return a.PatternsAllowed +} + // GetVerifiedAllowed returns the VerifiedAllowed field if it's non-nil, zero value otherwise. func (a *ActionsAllowed) GetVerifiedAllowed() bool { if a == nil || a.VerifiedAllowed == nil { @@ -150,6 +206,22 @@ func (a *ActionsCache) GetVersion() string { return *a.Version } +// GetActionsCaches returns the ActionsCaches slice if it's non-nil, nil otherwise. +func (a *ActionsCacheList) GetActionsCaches() []*ActionsCache { + if a == nil || a.ActionsCaches == nil { + return nil + } + return a.ActionsCaches +} + +// GetTotalCount returns the TotalCount field. +func (a *ActionsCacheList) GetTotalCount() int { + if a == nil { + return 0 + } + return a.TotalCount +} + // GetDirection returns the Direction field if it's non-nil, zero value otherwise. func (a *ActionsCacheListOptions) GetDirection() string { if a == nil || a.Direction == nil { @@ -182,6 +254,94 @@ func (a *ActionsCacheListOptions) GetSort() string { return *a.Sort } +// GetActiveCachesCount returns the ActiveCachesCount field. +func (a *ActionsCacheUsage) GetActiveCachesCount() int { + if a == nil { + return 0 + } + return a.ActiveCachesCount +} + +// GetActiveCachesSizeInBytes returns the ActiveCachesSizeInBytes field. +func (a *ActionsCacheUsage) GetActiveCachesSizeInBytes() int64 { + if a == nil { + return 0 + } + return a.ActiveCachesSizeInBytes +} + +// GetFullName returns the FullName field. +func (a *ActionsCacheUsage) GetFullName() string { + if a == nil { + return "" + } + return a.FullName +} + +// GetRepoCacheUsage returns the RepoCacheUsage slice if it's non-nil, nil otherwise. +func (a *ActionsCacheUsageList) GetRepoCacheUsage() []*ActionsCacheUsage { + if a == nil || a.RepoCacheUsage == nil { + return nil + } + return a.RepoCacheUsage +} + +// GetTotalCount returns the TotalCount field. +func (a *ActionsCacheUsageList) GetTotalCount() int { + if a == nil { + return 0 + } + return a.TotalCount +} + +// GetOrganizations returns the Organizations slice if it's non-nil, nil otherwise. +func (a *ActionsEnabledOnEnterpriseRepos) GetOrganizations() []*Organization { + if a == nil || a.Organizations == nil { + return nil + } + return a.Organizations +} + +// GetTotalCount returns the TotalCount field. +func (a *ActionsEnabledOnEnterpriseRepos) GetTotalCount() int { + if a == nil { + return 0 + } + return a.TotalCount +} + +// GetRepositories returns the Repositories slice if it's non-nil, nil otherwise. +func (a *ActionsEnabledOnOrgRepos) GetRepositories() []*Repository { + if a == nil || a.Repositories == nil { + return nil + } + return a.Repositories +} + +// GetTotalCount returns the TotalCount field. +func (a *ActionsEnabledOnOrgRepos) GetTotalCount() int { + if a == nil { + return 0 + } + return a.TotalCount +} + +// GetFullDomains returns the FullDomains slice if it's non-nil, nil otherwise. +func (a *ActionsInboundDomains) GetFullDomains() []string { + if a == nil || a.FullDomains == nil { + return nil + } + return a.FullDomains +} + +// GetWildcardDomains returns the WildcardDomains slice if it's non-nil, nil otherwise. +func (a *ActionsInboundDomains) GetWildcardDomains() []string { + if a == nil || a.WildcardDomains == nil { + return nil + } + return a.WildcardDomains +} + // GetAllowedActions returns the AllowedActions field if it's non-nil, zero value otherwise. func (a *ActionsPermissions) GetAllowedActions() string { if a == nil || a.AllowedActions == nil { @@ -278,6 +438,14 @@ func (a *ActionsVariable) GetCreatedAt() Timestamp { return *a.CreatedAt } +// GetName returns the Name field. +func (a *ActionsVariable) GetName() string { + if a == nil { + return "" + } + return a.Name +} + // GetSelectedRepositoriesURL returns the SelectedRepositoriesURL field if it's non-nil, zero value otherwise. func (a *ActionsVariable) GetSelectedRepositoriesURL() string { if a == nil || a.SelectedRepositoriesURL == nil { @@ -302,6 +470,14 @@ func (a *ActionsVariable) GetUpdatedAt() Timestamp { return *a.UpdatedAt } +// GetValue returns the Value field. +func (a *ActionsVariable) GetValue() string { + if a == nil { + return "" + } + return a.Value +} + // GetVisibility returns the Visibility field if it's non-nil, zero value otherwise. func (a *ActionsVariable) GetVisibility() string { if a == nil || a.Visibility == nil { @@ -310,6 +486,22 @@ func (a *ActionsVariable) GetVisibility() string { return *a.Visibility } +// GetTotalCount returns the TotalCount field. +func (a *ActionsVariables) GetTotalCount() int { + if a == nil { + return 0 + } + return a.TotalCount +} + +// GetVariables returns the Variables slice if it's non-nil, nil otherwise. +func (a *ActionsVariables) GetVariables() []*ActionsVariable { + if a == nil || a.Variables == nil { + return nil + } + return a.Variables +} + // GetMaximumAdvancedSecurityCommitters returns the MaximumAdvancedSecurityCommitters field if it's non-nil, zero value otherwise. func (a *ActiveCommitters) GetMaximumAdvancedSecurityCommitters() int { if a == nil || a.MaximumAdvancedSecurityCommitters == nil { @@ -326,6 +518,14 @@ func (a *ActiveCommitters) GetPurchasedAdvancedSecurityCommitters() int { return *a.PurchasedAdvancedSecurityCommitters } +// GetRepositories returns the Repositories slice if it's non-nil, nil otherwise. +func (a *ActiveCommitters) GetRepositories() []*RepositoryActiveCommitters { + if a == nil || a.Repositories == nil { + return nil + } + return a.Repositories +} + // GetTotalAdvancedSecurityCommitters returns the TotalAdvancedSecurityCommitters field if it's non-nil, zero value otherwise. func (a *ActiveCommitters) GetTotalAdvancedSecurityCommitters() int { if a == nil || a.TotalAdvancedSecurityCommitters == nil { @@ -350,6 +550,22 @@ func (a *ActiveCommittersListOptions) GetAdvancedSecurityProduct() string { return *a.AdvancedSecurityProduct } +// GetDirection returns the Direction field. +func (a *ActivityListStarredOptions) GetDirection() string { + if a == nil { + return "" + } + return a.Direction +} + +// GetSort returns the Sort field. +func (a *ActivityListStarredOptions) GetSort() string { + if a == nil { + return "" + } + return a.Sort +} + // GetCountryCode returns the CountryCode field if it's non-nil, zero value otherwise. func (a *ActorLocation) GetCountryCode() string { if a == nil || a.CountryCode == nil { @@ -382,6 +598,14 @@ func (a *AddResourcesToCostCenterResponse) GetMessage() string { return *a.Message } +// GetReassignedResources returns the ReassignedResources slice if it's non-nil, nil otherwise. +func (a *AddResourcesToCostCenterResponse) GetReassignedResources() []*ReassignedResource { + if a == nil || a.ReassignedResources == nil { + return nil + } + return a.ReassignedResources +} + // GetFrom returns the From field if it's non-nil, zero value otherwise. func (a *AdminEnforcedChanges) GetFrom() bool { if a == nil || a.From == nil { @@ -390,6 +614,14 @@ func (a *AdminEnforcedChanges) GetFrom() bool { return *a.From } +// GetEnabled returns the Enabled field. +func (a *AdminEnforcement) GetEnabled() bool { + if a == nil { + return false + } + return a.Enabled +} + // GetURL returns the URL field if it's non-nil, zero value otherwise. func (a *AdminEnforcement) GetURL() string { if a == nil || a.URL == nil { @@ -486,12 +718,36 @@ func (a *AdvancedSecurity) GetStatus() string { return *a.Status } -// GetScore returns the Score field. -func (a *AdvisoryCVSS) GetScore() *float64 { +// GetLastPushedDate returns the LastPushedDate field. +func (a *AdvancedSecurityCommittersBreakdown) GetLastPushedDate() string { if a == nil { - return nil + return "" + } + return a.LastPushedDate +} + +// GetLastPushedEmail returns the LastPushedEmail field. +func (a *AdvancedSecurityCommittersBreakdown) GetLastPushedEmail() string { + if a == nil { + return "" + } + return a.LastPushedEmail +} + +// GetUserLogin returns the UserLogin field. +func (a *AdvancedSecurityCommittersBreakdown) GetUserLogin() string { + if a == nil { + return "" + } + return a.UserLogin +} + +// GetScore returns the Score field if it's non-nil, zero value otherwise. +func (a *AdvisoryCVSS) GetScore() float64 { + if a == nil || a.Score == nil { + return 0 } - return a.Score + return *a.Score } // GetVectorString returns the VectorString field if it's non-nil, zero value otherwise. @@ -518,6 +774,22 @@ func (a *AdvisoryCWEs) GetName() string { return *a.Name } +// GetPercentage returns the Percentage field. +func (a *AdvisoryEPSS) GetPercentage() float64 { + if a == nil { + return 0 + } + return a.Percentage +} + +// GetPercentile returns the Percentile field. +func (a *AdvisoryEPSS) GetPercentile() float64 { + if a == nil { + return 0 + } + return a.Percentile +} + // GetType returns the Type field if it's non-nil, zero value otherwise. func (a *AdvisoryIdentifier) GetType() string { if a == nil || a.Type == nil { @@ -574,6 +846,14 @@ func (a *AdvisoryVulnerability) GetSeverity() string { return *a.Severity } +// GetVulnerableFunctions returns the VulnerableFunctions slice if it's non-nil, nil otherwise. +func (a *AdvisoryVulnerability) GetVulnerableFunctions() []string { + if a == nil || a.VulnerableFunctions == nil { + return nil + } + return a.VulnerableFunctions +} + // GetVulnerableVersionRange returns the VulnerableVersionRange field if it's non-nil, zero value otherwise. func (a *AdvisoryVulnerability) GetVulnerableVersionRange() string { if a == nil || a.VulnerableVersionRange == nil { @@ -654,6 +934,14 @@ func (a *Alert) GetHTMLURL() string { return *a.HTMLURL } +// GetInstances returns the Instances slice if it's non-nil, nil otherwise. +func (a *Alert) GetInstances() []*MostRecentInstance { + if a == nil || a.Instances == nil { + return nil + } + return a.Instances +} + // GetInstancesURL returns the InstancesURL field if it's non-nil, zero value otherwise. func (a *Alert) GetInstancesURL() string { if a == nil || a.InstancesURL == nil { @@ -750,6 +1038,78 @@ func (a *Alert) GetURL() string { return *a.URL } +// GetRef returns the Ref field. +func (a *AlertInstancesListOptions) GetRef() string { + if a == nil { + return "" + } + return a.Ref +} + +// GetDirection returns the Direction field. +func (a *AlertListOptions) GetDirection() string { + if a == nil { + return "" + } + return a.Direction +} + +// GetRef returns the Ref field. +func (a *AlertListOptions) GetRef() string { + if a == nil { + return "" + } + return a.Ref +} + +// GetSeverity returns the Severity field. +func (a *AlertListOptions) GetSeverity() string { + if a == nil { + return "" + } + return a.Severity +} + +// GetSort returns the Sort field. +func (a *AlertListOptions) GetSort() string { + if a == nil { + return "" + } + return a.Sort +} + +// GetState returns the State field. +func (a *AlertListOptions) GetState() string { + if a == nil { + return "" + } + return a.State +} + +// GetToolGUID returns the ToolGUID field. +func (a *AlertListOptions) GetToolGUID() string { + if a == nil { + return "" + } + return a.ToolGUID +} + +// GetToolName returns the ToolName field. +func (a *AlertListOptions) GetToolName() string { + if a == nil { + return "" + } + return a.ToolName +} + +// GetEnabled returns the Enabled field. +func (a *AllowDeletions) GetEnabled() bool { + if a == nil { + return false + } + return a.Enabled +} + // GetFrom returns the From field if it's non-nil, zero value otherwise. func (a *AllowDeletionsEnforcementLevelChanges) GetFrom() string { if a == nil || a.From == nil { @@ -758,6 +1118,14 @@ func (a *AllowDeletionsEnforcementLevelChanges) GetFrom() string { return *a.From } +// GetEnabled returns the Enabled field. +func (a *AllowForcePushes) GetEnabled() bool { + if a == nil { + return false + } + return a.Enabled +} + // GetEnabled returns the Enabled field if it's non-nil, zero value otherwise. func (a *AllowForkSyncing) GetEnabled() bool { if a == nil || a.Enabled == nil { @@ -766,6 +1134,94 @@ func (a *AllowForkSyncing) GetEnabled() bool { return *a.Enabled } +// GetAuthenticationType returns the AuthenticationType field. +func (a *AmazonS3AccessKeysConfig) GetAuthenticationType() string { + if a == nil { + return "" + } + return a.AuthenticationType +} + +// GetBucket returns the Bucket field. +func (a *AmazonS3AccessKeysConfig) GetBucket() string { + if a == nil { + return "" + } + return a.Bucket +} + +// GetEncryptedAccessKeyID returns the EncryptedAccessKeyID field. +func (a *AmazonS3AccessKeysConfig) GetEncryptedAccessKeyID() string { + if a == nil { + return "" + } + return a.EncryptedAccessKeyID +} + +// GetEncryptedSecretKey returns the EncryptedSecretKey field. +func (a *AmazonS3AccessKeysConfig) GetEncryptedSecretKey() string { + if a == nil { + return "" + } + return a.EncryptedSecretKey +} + +// GetKeyID returns the KeyID field. +func (a *AmazonS3AccessKeysConfig) GetKeyID() string { + if a == nil { + return "" + } + return a.KeyID +} + +// GetRegion returns the Region field. +func (a *AmazonS3AccessKeysConfig) GetRegion() string { + if a == nil { + return "" + } + return a.Region +} + +// GetArnRole returns the ArnRole field. +func (a *AmazonS3OIDCConfig) GetArnRole() string { + if a == nil { + return "" + } + return a.ArnRole +} + +// GetAuthenticationType returns the AuthenticationType field. +func (a *AmazonS3OIDCConfig) GetAuthenticationType() string { + if a == nil { + return "" + } + return a.AuthenticationType +} + +// GetBucket returns the Bucket field. +func (a *AmazonS3OIDCConfig) GetBucket() string { + if a == nil { + return "" + } + return a.Bucket +} + +// GetKeyID returns the KeyID field. +func (a *AmazonS3OIDCConfig) GetKeyID() string { + if a == nil { + return "" + } + return a.KeyID +} + +// GetRegion returns the Region field. +func (a *AmazonS3OIDCConfig) GetRegion() string { + if a == nil { + return "" + } + return a.Region +} + // GetRef returns the Ref field if it's non-nil, zero value otherwise. func (a *AnalysesListOptions) GetRef() string { if a == nil || a.Ref == nil { @@ -782,6 +1238,54 @@ func (a *AnalysesListOptions) GetSarifID() string { return *a.SarifID } +// GetActions returns the Actions slice if it's non-nil, nil otherwise. +func (a *APIMeta) GetActions() []string { + if a == nil || a.Actions == nil { + return nil + } + return a.Actions +} + +// GetActionsMacos returns the ActionsMacos slice if it's non-nil, nil otherwise. +func (a *APIMeta) GetActionsMacos() []string { + if a == nil || a.ActionsMacos == nil { + return nil + } + return a.ActionsMacos +} + +// GetAPI returns the API slice if it's non-nil, nil otherwise. +func (a *APIMeta) GetAPI() []string { + if a == nil || a.API == nil { + return nil + } + return a.API +} + +// GetCodespaces returns the Codespaces slice if it's non-nil, nil otherwise. +func (a *APIMeta) GetCodespaces() []string { + if a == nil || a.Codespaces == nil { + return nil + } + return a.Codespaces +} + +// GetCopilot returns the Copilot slice if it's non-nil, nil otherwise. +func (a *APIMeta) GetCopilot() []string { + if a == nil || a.Copilot == nil { + return nil + } + return a.Copilot +} + +// GetDependabot returns the Dependabot slice if it's non-nil, nil otherwise. +func (a *APIMeta) GetDependabot() []string { + if a == nil || a.Dependabot == nil { + return nil + } + return a.Dependabot +} + // GetDomains returns the Domains field. func (a *APIMeta) GetDomains() *APIMetaDomains { if a == nil { @@ -790,6 +1294,54 @@ func (a *APIMeta) GetDomains() *APIMetaDomains { return a.Domains } +// GetGit returns the Git slice if it's non-nil, nil otherwise. +func (a *APIMeta) GetGit() []string { + if a == nil || a.Git == nil { + return nil + } + return a.Git +} + +// GetGithubEnterpriseImporter returns the GithubEnterpriseImporter slice if it's non-nil, nil otherwise. +func (a *APIMeta) GetGithubEnterpriseImporter() []string { + if a == nil || a.GithubEnterpriseImporter == nil { + return nil + } + return a.GithubEnterpriseImporter +} + +// GetHooks returns the Hooks slice if it's non-nil, nil otherwise. +func (a *APIMeta) GetHooks() []string { + if a == nil || a.Hooks == nil { + return nil + } + return a.Hooks +} + +// GetImporter returns the Importer slice if it's non-nil, nil otherwise. +func (a *APIMeta) GetImporter() []string { + if a == nil || a.Importer == nil { + return nil + } + return a.Importer +} + +// GetPackages returns the Packages slice if it's non-nil, nil otherwise. +func (a *APIMeta) GetPackages() []string { + if a == nil || a.Packages == nil { + return nil + } + return a.Packages +} + +// GetPages returns the Pages slice if it's non-nil, nil otherwise. +func (a *APIMeta) GetPages() []string { + if a == nil || a.Pages == nil { + return nil + } + return a.Pages +} + // GetSSHKeyFingerprints returns the SSHKeyFingerprints map if it's non-nil, an empty map otherwise. func (a *APIMeta) GetSSHKeyFingerprints() map[string]string { if a == nil || a.SSHKeyFingerprints == nil { @@ -798,6 +1350,14 @@ func (a *APIMeta) GetSSHKeyFingerprints() map[string]string { return a.SSHKeyFingerprints } +// GetSSHKeys returns the SSHKeys slice if it's non-nil, nil otherwise. +func (a *APIMeta) GetSSHKeys() []string { + if a == nil || a.SSHKeys == nil { + return nil + } + return a.SSHKeys +} + // GetVerifiablePasswordAuthentication returns the VerifiablePasswordAuthentication field if it's non-nil, zero value otherwise. func (a *APIMeta) GetVerifiablePasswordAuthentication() bool { if a == nil || a.VerifiablePasswordAuthentication == nil { @@ -806,6 +1366,38 @@ func (a *APIMeta) GetVerifiablePasswordAuthentication() bool { return *a.VerifiablePasswordAuthentication } +// GetWeb returns the Web slice if it's non-nil, nil otherwise. +func (a *APIMeta) GetWeb() []string { + if a == nil || a.Web == nil { + return nil + } + return a.Web +} + +// GetServices returns the Services slice if it's non-nil, nil otherwise. +func (a *APIMetaArtifactAttestations) GetServices() []string { + if a == nil || a.Services == nil { + return nil + } + return a.Services +} + +// GetTrustDomain returns the TrustDomain field. +func (a *APIMetaArtifactAttestations) GetTrustDomain() string { + if a == nil { + return "" + } + return a.TrustDomain +} + +// GetActions returns the Actions slice if it's non-nil, nil otherwise. +func (a *APIMetaDomains) GetActions() []string { + if a == nil || a.Actions == nil { + return nil + } + return a.Actions +} + // GetActionsInbound returns the ActionsInbound field. func (a *APIMetaDomains) GetActionsInbound() *ActionsInboundDomains { if a == nil { @@ -822,6 +1414,38 @@ func (a *APIMetaDomains) GetArtifactAttestations() *APIMetaArtifactAttestations return a.ArtifactAttestations } +// GetCodespaces returns the Codespaces slice if it's non-nil, nil otherwise. +func (a *APIMetaDomains) GetCodespaces() []string { + if a == nil || a.Codespaces == nil { + return nil + } + return a.Codespaces +} + +// GetCopilot returns the Copilot slice if it's non-nil, nil otherwise. +func (a *APIMetaDomains) GetCopilot() []string { + if a == nil || a.Copilot == nil { + return nil + } + return a.Copilot +} + +// GetPackages returns the Packages slice if it's non-nil, nil otherwise. +func (a *APIMetaDomains) GetPackages() []string { + if a == nil || a.Packages == nil { + return nil + } + return a.Packages +} + +// GetWebsite returns the Website slice if it's non-nil, nil otherwise. +func (a *APIMetaDomains) GetWebsite() []string { + if a == nil || a.Website == nil { + return nil + } + return a.Website +} + // GetClientID returns the ClientID field if it's non-nil, zero value otherwise. func (a *App) GetClientID() string { if a == nil || a.ClientID == nil { @@ -846,6 +1470,14 @@ func (a *App) GetDescription() string { return *a.Description } +// GetEvents returns the Events slice if it's non-nil, nil otherwise. +func (a *App) GetEvents() []string { + if a == nil || a.Events == nil { + return nil + } + return a.Events +} + // GetExternalURL returns the ExternalURL field if it's non-nil, zero value otherwise. func (a *App) GetExternalURL() string { if a == nil || a.ExternalURL == nil { @@ -1038,6 +1670,14 @@ func (a *AppConfig) GetWebhookSecret() string { return *a.WebhookSecret } +// GetSelectedRepositoryIDs returns the SelectedRepositoryIDs slice if it's non-nil, nil otherwise. +func (a *AppInstallationRepositoriesOptions) GetSelectedRepositoryIDs() []int64 { + if a == nil || a.SelectedRepositoryIDs == nil { + return nil + } + return a.SelectedRepositoryIDs +} + // GetFrom returns the From field if it's non-nil, zero value otherwise. func (a *ArchivedAt) GetFrom() Timestamp { if a == nil || a.From == nil { @@ -1214,6 +1854,14 @@ func (a *ArtifactDeploymentRecord) GetPhysicalEnvironment() string { return *a.PhysicalEnvironment } +// GetRuntimeRisks returns the RuntimeRisks slice if it's non-nil, nil otherwise. +func (a *ArtifactDeploymentRecord) GetRuntimeRisks() []DeploymentRuntimeRisk { + if a == nil || a.RuntimeRisks == nil { + return nil + } + return a.RuntimeRisks +} + // GetTags returns the Tags map if it's non-nil, an empty map otherwise. func (a *ArtifactDeploymentRecord) GetTags() map[string]string { if a == nil || a.Tags == nil { @@ -1230,6 +1878,14 @@ func (a *ArtifactDeploymentRecord) GetUpdatedAt() Timestamp { return *a.UpdatedAt } +// GetDeploymentRecords returns the DeploymentRecords slice if it's non-nil, nil otherwise. +func (a *ArtifactDeploymentResponse) GetDeploymentRecords() []*ArtifactDeploymentRecord { + if a == nil || a.DeploymentRecords == nil { + return nil + } + return a.DeploymentRecords +} + // GetTotalCount returns the TotalCount field if it's non-nil, zero value otherwise. func (a *ArtifactDeploymentResponse) GetTotalCount() int { if a == nil || a.TotalCount == nil { @@ -1238,6 +1894,14 @@ func (a *ArtifactDeploymentResponse) GetTotalCount() int { return *a.TotalCount } +// GetArtifacts returns the Artifacts slice if it's non-nil, nil otherwise. +func (a *ArtifactList) GetArtifacts() []*Artifact { + if a == nil || a.Artifacts == nil { + return nil + } + return a.Artifacts +} + // GetTotalCount returns the TotalCount field if it's non-nil, zero value otherwise. func (a *ArtifactList) GetTotalCount() int64 { if a == nil || a.TotalCount == nil { @@ -1342,6 +2006,14 @@ func (a *ArtifactStorageRecord) GetUpdatedAt() Timestamp { return *a.UpdatedAt } +// GetStorageRecords returns the StorageRecords slice if it's non-nil, nil otherwise. +func (a *ArtifactStorageResponse) GetStorageRecords() []*ArtifactStorageRecord { + if a == nil || a.StorageRecords == nil { + return nil + } + return a.StorageRecords +} + // GetTotalCount returns the TotalCount field if it's non-nil, zero value otherwise. func (a *ArtifactStorageResponse) GetTotalCount() int { if a == nil || a.TotalCount == nil { @@ -1502,6 +2174,30 @@ func (a *Attachment) GetTitle() string { return *a.Title } +// GetBundle returns the Bundle field. +func (a *Attestation) GetBundle() json.RawMessage { + if a == nil { + return json.RawMessage{} + } + return a.Bundle +} + +// GetRepositoryID returns the RepositoryID field. +func (a *Attestation) GetRepositoryID() int64 { + if a == nil { + return 0 + } + return a.RepositoryID +} + +// GetAttestations returns the Attestations slice if it's non-nil, nil otherwise. +func (a *AttestationsResponse) GetAttestations() []*Attestation { + if a == nil || a.Attestations == nil { + return nil + } + return a.Attestations +} + // GetAction returns the Action field if it's non-nil, zero value otherwise. func (a *AuditEntry) GetAction() string { if a == nil || a.Action == nil { @@ -1662,6 +2358,30 @@ func (a *AuditEntry) GetUserID() int64 { return *a.UserID } +// GetCreatedAt returns the CreatedAt field. +func (a *AuditLogStream) GetCreatedAt() Timestamp { + if a == nil { + return Timestamp{} + } + return a.CreatedAt +} + +// GetEnabled returns the Enabled field. +func (a *AuditLogStream) GetEnabled() bool { + if a == nil { + return false + } + return a.Enabled +} + +// GetID returns the ID field. +func (a *AuditLogStream) GetID() int64 { + if a == nil { + return 0 + } + return a.ID +} + // GetPausedAt returns the PausedAt field if it's non-nil, zero value otherwise. func (a *AuditLogStream) GetPausedAt() Timestamp { if a == nil || a.PausedAt == nil { @@ -1670,6 +2390,70 @@ func (a *AuditLogStream) GetPausedAt() Timestamp { return *a.PausedAt } +// GetStreamDetails returns the StreamDetails field. +func (a *AuditLogStream) GetStreamDetails() string { + if a == nil { + return "" + } + return a.StreamDetails +} + +// GetStreamType returns the StreamType field. +func (a *AuditLogStream) GetStreamType() string { + if a == nil { + return "" + } + return a.StreamType +} + +// GetUpdatedAt returns the UpdatedAt field. +func (a *AuditLogStream) GetUpdatedAt() Timestamp { + if a == nil { + return Timestamp{} + } + return a.UpdatedAt +} + +// GetEnabled returns the Enabled field. +func (a *AuditLogStreamConfig) GetEnabled() bool { + if a == nil { + return false + } + return a.Enabled +} + +// GetStreamType returns the StreamType field. +func (a *AuditLogStreamConfig) GetStreamType() string { + if a == nil { + return "" + } + return a.StreamType +} + +// GetVendorSpecific returns the VendorSpecific field. +func (a *AuditLogStreamConfig) GetVendorSpecific() AuditLogStreamVendorConfig { + if a == nil { + return nil + } + return a.VendorSpecific +} + +// GetKey returns the Key field. +func (a *AuditLogStreamKey) GetKey() string { + if a == nil { + return "" + } + return a.Key +} + +// GetKeyID returns the KeyID field. +func (a *AuditLogStreamKey) GetKeyID() string { + if a == nil { + return "" + } + return a.KeyID +} + // GetApp returns the App field. func (a *Authorization) GetApp() *AuthorizationApp { if a == nil { @@ -1726,6 +2510,14 @@ func (a *Authorization) GetNoteURL() string { return *a.NoteURL } +// GetScopes returns the Scopes slice if it's non-nil, nil otherwise. +func (a *Authorization) GetScopes() []Scope { + if a == nil || a.Scopes == nil { + return nil + } + return a.Scopes +} + // GetToken returns the Token field if it's non-nil, zero value otherwise. func (a *Authorization) GetToken() string { if a == nil || a.Token == nil { @@ -1830,6 +2622,22 @@ func (a *AuthorizationRequest) GetNoteURL() string { return *a.NoteURL } +// GetScopes returns the Scopes slice if it's non-nil, nil otherwise. +func (a *AuthorizationRequest) GetScopes() []Scope { + if a == nil || a.Scopes == nil { + return nil + } + return a.Scopes +} + +// GetAddScopes returns the AddScopes slice if it's non-nil, nil otherwise. +func (a *AuthorizationUpdateRequest) GetAddScopes() []string { + if a == nil || a.AddScopes == nil { + return nil + } + return a.AddScopes +} + // GetFingerprint returns the Fingerprint field if it's non-nil, zero value otherwise. func (a *AuthorizationUpdateRequest) GetFingerprint() string { if a == nil || a.Fingerprint == nil { @@ -1854,6 +2662,30 @@ func (a *AuthorizationUpdateRequest) GetNoteURL() string { return *a.NoteURL } +// GetRemoveScopes returns the RemoveScopes slice if it's non-nil, nil otherwise. +func (a *AuthorizationUpdateRequest) GetRemoveScopes() []string { + if a == nil || a.RemoveScopes == nil { + return nil + } + return a.RemoveScopes +} + +// GetScopes returns the Scopes slice if it's non-nil, nil otherwise. +func (a *AuthorizationUpdateRequest) GetScopes() []string { + if a == nil || a.Scopes == nil { + return nil + } + return a.Scopes +} + +// GetFrom returns the From slice if it's non-nil, nil otherwise. +func (a *AuthorizedActorNames) GetFrom() []string { + if a == nil || a.From == nil { + return nil + } + return a.From +} + // GetFrom returns the From field if it's non-nil, zero value otherwise. func (a *AuthorizedActorsOnly) GetFrom() bool { if a == nil || a.From == nil { @@ -1958,6 +2790,78 @@ func (a *AutoTriggerCheck) GetSetting() bool { return *a.Setting } +// GetContainer returns the Container field. +func (a *AzureBlobConfig) GetContainer() string { + if a == nil { + return "" + } + return a.Container +} + +// GetEncryptedSASURL returns the EncryptedSASURL field. +func (a *AzureBlobConfig) GetEncryptedSASURL() string { + if a == nil { + return "" + } + return a.EncryptedSASURL +} + +// GetKeyID returns the KeyID field. +func (a *AzureBlobConfig) GetKeyID() string { + if a == nil { + return "" + } + return a.KeyID +} + +// GetEncryptedConnstring returns the EncryptedConnstring field. +func (a *AzureHubConfig) GetEncryptedConnstring() string { + if a == nil { + return "" + } + return a.EncryptedConnstring +} + +// GetKeyID returns the KeyID field. +func (a *AzureHubConfig) GetKeyID() string { + if a == nil { + return "" + } + return a.KeyID +} + +// GetName returns the Name field. +func (a *AzureHubConfig) GetName() string { + if a == nil { + return "" + } + return a.Name +} + +// GetOTP returns the OTP field. +func (b *BasicAuthTransport) GetOTP() string { + if b == nil { + return "" + } + return b.OTP +} + +// GetPassword returns the Password field. +func (b *BasicAuthTransport) GetPassword() string { + if b == nil { + return "" + } + return b.Password +} + +// GetUsername returns the Username field. +func (b *BasicAuthTransport) GetUsername() string { + if b == nil { + return "" + } + return b.Username +} + // GetContent returns the Content field if it's non-nil, zero value otherwise. func (b *Blob) GetContent() string { if b == nil || b.Content == nil { @@ -2174,6 +3078,14 @@ func (b *BranchProtectionRule) GetAllowForcePushesEnforcementLevel() string { return *b.AllowForcePushesEnforcementLevel } +// GetAuthorizedActorNames returns the AuthorizedActorNames slice if it's non-nil, nil otherwise. +func (b *BranchProtectionRule) GetAuthorizedActorNames() []string { + if b == nil || b.AuthorizedActorNames == nil { + return nil + } + return b.AuthorizedActorNames +} + // GetAuthorizedActorsOnly returns the AuthorizedActorsOnly field if it's non-nil, zero value otherwise. func (b *BranchProtectionRule) GetAuthorizedActorsOnly() bool { if b == nil || b.AuthorizedActorsOnly == nil { @@ -2294,6 +3206,14 @@ func (b *BranchProtectionRule) GetRequiredDeploymentsEnforcementLevel() string { return *b.RequiredDeploymentsEnforcementLevel } +// GetRequiredStatusChecks returns the RequiredStatusChecks slice if it's non-nil, nil otherwise. +func (b *BranchProtectionRule) GetRequiredStatusChecks() []string { + if b == nil || b.RequiredStatusChecks == nil { + return nil + } + return b.RequiredStatusChecks +} + // GetRequiredStatusChecksEnforcementLevel returns the RequiredStatusChecksEnforcementLevel field if it's non-nil, zero value otherwise. func (b *BranchProtectionRule) GetRequiredStatusChecksEnforcementLevel() string { if b == nil || b.RequiredStatusChecksEnforcementLevel == nil { @@ -2390,6 +3310,254 @@ func (b *BranchProtectionRuleEvent) GetSender() *User { return b.Sender } +// GetApps returns the Apps slice if it's non-nil, nil otherwise. +func (b *BranchRestrictions) GetApps() []*App { + if b == nil || b.Apps == nil { + return nil + } + return b.Apps +} + +// GetTeams returns the Teams slice if it's non-nil, nil otherwise. +func (b *BranchRestrictions) GetTeams() []*Team { + if b == nil || b.Teams == nil { + return nil + } + return b.Teams +} + +// GetUsers returns the Users slice if it's non-nil, nil otherwise. +func (b *BranchRestrictions) GetUsers() []*User { + if b == nil || b.Users == nil { + return nil + } + return b.Users +} + +// GetApps returns the Apps slice if it's non-nil, nil otherwise. +func (b *BranchRestrictionsRequest) GetApps() []string { + if b == nil || b.Apps == nil { + return nil + } + return b.Apps +} + +// GetTeams returns the Teams slice if it's non-nil, nil otherwise. +func (b *BranchRestrictionsRequest) GetTeams() []string { + if b == nil || b.Teams == nil { + return nil + } + return b.Teams +} + +// GetUsers returns the Users slice if it's non-nil, nil otherwise. +func (b *BranchRestrictionsRequest) GetUsers() []string { + if b == nil || b.Users == nil { + return nil + } + return b.Users +} + +// GetRulesetID returns the RulesetID field. +func (b *BranchRuleMetadata) GetRulesetID() int64 { + if b == nil { + return 0 + } + return b.RulesetID +} + +// GetRulesetSource returns the RulesetSource field. +func (b *BranchRuleMetadata) GetRulesetSource() string { + if b == nil { + return "" + } + return b.RulesetSource +} + +// GetRulesetSourceType returns the RulesetSourceType field. +func (b *BranchRuleMetadata) GetRulesetSourceType() RulesetSourceType { + if b == nil { + return "" + } + return b.RulesetSourceType +} + +// GetBranchNamePattern returns the BranchNamePattern slice if it's non-nil, nil otherwise. +func (b *BranchRules) GetBranchNamePattern() []*PatternBranchRule { + if b == nil || b.BranchNamePattern == nil { + return nil + } + return b.BranchNamePattern +} + +// GetCodeScanning returns the CodeScanning slice if it's non-nil, nil otherwise. +func (b *BranchRules) GetCodeScanning() []*CodeScanningBranchRule { + if b == nil || b.CodeScanning == nil { + return nil + } + return b.CodeScanning +} + +// GetCommitAuthorEmailPattern returns the CommitAuthorEmailPattern slice if it's non-nil, nil otherwise. +func (b *BranchRules) GetCommitAuthorEmailPattern() []*PatternBranchRule { + if b == nil || b.CommitAuthorEmailPattern == nil { + return nil + } + return b.CommitAuthorEmailPattern +} + +// GetCommitMessagePattern returns the CommitMessagePattern slice if it's non-nil, nil otherwise. +func (b *BranchRules) GetCommitMessagePattern() []*PatternBranchRule { + if b == nil || b.CommitMessagePattern == nil { + return nil + } + return b.CommitMessagePattern +} + +// GetCommitterEmailPattern returns the CommitterEmailPattern slice if it's non-nil, nil otherwise. +func (b *BranchRules) GetCommitterEmailPattern() []*PatternBranchRule { + if b == nil || b.CommitterEmailPattern == nil { + return nil + } + return b.CommitterEmailPattern +} + +// GetCopilotCodeReview returns the CopilotCodeReview slice if it's non-nil, nil otherwise. +func (b *BranchRules) GetCopilotCodeReview() []*CopilotCodeReviewBranchRule { + if b == nil || b.CopilotCodeReview == nil { + return nil + } + return b.CopilotCodeReview +} + +// GetCreation returns the Creation slice if it's non-nil, nil otherwise. +func (b *BranchRules) GetCreation() []*BranchRuleMetadata { + if b == nil || b.Creation == nil { + return nil + } + return b.Creation +} + +// GetDeletion returns the Deletion slice if it's non-nil, nil otherwise. +func (b *BranchRules) GetDeletion() []*BranchRuleMetadata { + if b == nil || b.Deletion == nil { + return nil + } + return b.Deletion +} + +// GetFileExtensionRestriction returns the FileExtensionRestriction slice if it's non-nil, nil otherwise. +func (b *BranchRules) GetFileExtensionRestriction() []*FileExtensionRestrictionBranchRule { + if b == nil || b.FileExtensionRestriction == nil { + return nil + } + return b.FileExtensionRestriction +} + +// GetFilePathRestriction returns the FilePathRestriction slice if it's non-nil, nil otherwise. +func (b *BranchRules) GetFilePathRestriction() []*FilePathRestrictionBranchRule { + if b == nil || b.FilePathRestriction == nil { + return nil + } + return b.FilePathRestriction +} + +// GetMaxFilePathLength returns the MaxFilePathLength slice if it's non-nil, nil otherwise. +func (b *BranchRules) GetMaxFilePathLength() []*MaxFilePathLengthBranchRule { + if b == nil || b.MaxFilePathLength == nil { + return nil + } + return b.MaxFilePathLength +} + +// GetMaxFileSize returns the MaxFileSize slice if it's non-nil, nil otherwise. +func (b *BranchRules) GetMaxFileSize() []*MaxFileSizeBranchRule { + if b == nil || b.MaxFileSize == nil { + return nil + } + return b.MaxFileSize +} + +// GetMergeQueue returns the MergeQueue slice if it's non-nil, nil otherwise. +func (b *BranchRules) GetMergeQueue() []*MergeQueueBranchRule { + if b == nil || b.MergeQueue == nil { + return nil + } + return b.MergeQueue +} + +// GetNonFastForward returns the NonFastForward slice if it's non-nil, nil otherwise. +func (b *BranchRules) GetNonFastForward() []*BranchRuleMetadata { + if b == nil || b.NonFastForward == nil { + return nil + } + return b.NonFastForward +} + +// GetPullRequest returns the PullRequest slice if it's non-nil, nil otherwise. +func (b *BranchRules) GetPullRequest() []*PullRequestBranchRule { + if b == nil || b.PullRequest == nil { + return nil + } + return b.PullRequest +} + +// GetRequiredDeployments returns the RequiredDeployments slice if it's non-nil, nil otherwise. +func (b *BranchRules) GetRequiredDeployments() []*RequiredDeploymentsBranchRule { + if b == nil || b.RequiredDeployments == nil { + return nil + } + return b.RequiredDeployments +} + +// GetRequiredLinearHistory returns the RequiredLinearHistory slice if it's non-nil, nil otherwise. +func (b *BranchRules) GetRequiredLinearHistory() []*BranchRuleMetadata { + if b == nil || b.RequiredLinearHistory == nil { + return nil + } + return b.RequiredLinearHistory +} + +// GetRequiredSignatures returns the RequiredSignatures slice if it's non-nil, nil otherwise. +func (b *BranchRules) GetRequiredSignatures() []*BranchRuleMetadata { + if b == nil || b.RequiredSignatures == nil { + return nil + } + return b.RequiredSignatures +} + +// GetRequiredStatusChecks returns the RequiredStatusChecks slice if it's non-nil, nil otherwise. +func (b *BranchRules) GetRequiredStatusChecks() []*RequiredStatusChecksBranchRule { + if b == nil || b.RequiredStatusChecks == nil { + return nil + } + return b.RequiredStatusChecks +} + +// GetTagNamePattern returns the TagNamePattern slice if it's non-nil, nil otherwise. +func (b *BranchRules) GetTagNamePattern() []*PatternBranchRule { + if b == nil || b.TagNamePattern == nil { + return nil + } + return b.TagNamePattern +} + +// GetUpdate returns the Update slice if it's non-nil, nil otherwise. +func (b *BranchRules) GetUpdate() []*UpdateBranchRule { + if b == nil || b.Update == nil { + return nil + } + return b.Update +} + +// GetWorkflows returns the Workflows slice if it's non-nil, nil otherwise. +func (b *BranchRules) GetWorkflows() []*WorkflowsBranchRule { + if b == nil || b.Workflows == nil { + return nil + } + return b.Workflows +} + // GetActorID returns the ActorID field if it's non-nil, zero value otherwise. func (b *BypassActor) GetActorID() int64 { if b == nil || b.ActorID == nil { @@ -2414,6 +3582,70 @@ func (b *BypassActor) GetBypassMode() *BypassMode { return b.BypassMode } +// GetApps returns the Apps slice if it's non-nil, nil otherwise. +func (b *BypassPullRequestAllowances) GetApps() []*App { + if b == nil || b.Apps == nil { + return nil + } + return b.Apps +} + +// GetTeams returns the Teams slice if it's non-nil, nil otherwise. +func (b *BypassPullRequestAllowances) GetTeams() []*Team { + if b == nil || b.Teams == nil { + return nil + } + return b.Teams +} + +// GetUsers returns the Users slice if it's non-nil, nil otherwise. +func (b *BypassPullRequestAllowances) GetUsers() []*User { + if b == nil || b.Users == nil { + return nil + } + return b.Users +} + +// GetApps returns the Apps slice if it's non-nil, nil otherwise. +func (b *BypassPullRequestAllowancesRequest) GetApps() []string { + if b == nil || b.Apps == nil { + return nil + } + return b.Apps +} + +// GetTeams returns the Teams slice if it's non-nil, nil otherwise. +func (b *BypassPullRequestAllowancesRequest) GetTeams() []string { + if b == nil || b.Teams == nil { + return nil + } + return b.Teams +} + +// GetUsers returns the Users slice if it's non-nil, nil otherwise. +func (b *BypassPullRequestAllowancesRequest) GetUsers() []string { + if b == nil || b.Users == nil { + return nil + } + return b.Users +} + +// GetReviewerID returns the ReviewerID field. +func (b *BypassReviewer) GetReviewerID() int64 { + if b == nil { + return 0 + } + return b.ReviewerID +} + +// GetReviewerType returns the ReviewerType field. +func (b *BypassReviewer) GetReviewerType() string { + if b == nil { + return "" + } + return b.ReviewerType +} + // GetSecurityConfigurationID returns the SecurityConfigurationID field if it's non-nil, zero value otherwise. func (b *BypassReviewer) GetSecurityConfigurationID() int64 { if b == nil || b.SecurityConfigurationID == nil { @@ -2518,6 +3750,14 @@ func (c *CheckRun) GetOutput() *CheckRunOutput { return c.Output } +// GetPullRequests returns the PullRequests slice if it's non-nil, nil otherwise. +func (c *CheckRun) GetPullRequests() []*PullRequest { + if c == nil || c.PullRequests == nil { + return nil + } + return c.PullRequests +} + // GetStartedAt returns the StartedAt field if it's non-nil, zero value otherwise. func (c *CheckRun) GetStartedAt() Timestamp { if c == nil || c.StartedAt == nil { @@ -2542,6 +3782,30 @@ func (c *CheckRun) GetURL() string { return *c.URL } +// GetDescription returns the Description field. +func (c *CheckRunAction) GetDescription() string { + if c == nil { + return "" + } + return c.Description +} + +// GetIdentifier returns the Identifier field. +func (c *CheckRunAction) GetIdentifier() string { + if c == nil { + return "" + } + return c.Identifier +} + +// GetLabel returns the Label field. +func (c *CheckRunAction) GetLabel() string { + if c == nil { + return "" + } + return c.Label +} + // GetAnnotationLevel returns the AnnotationLevel field if it's non-nil, zero value otherwise. func (c *CheckRunAnnotation) GetAnnotationLevel() string { if c == nil || c.AnnotationLevel == nil { @@ -2694,6 +3958,14 @@ func (c *CheckRunImage) GetImageURL() string { return *c.ImageURL } +// GetAnnotations returns the Annotations slice if it's non-nil, nil otherwise. +func (c *CheckRunOutput) GetAnnotations() []*CheckRunAnnotation { + if c == nil || c.Annotations == nil { + return nil + } + return c.Annotations +} + // GetAnnotationsCount returns the AnnotationsCount field if it's non-nil, zero value otherwise. func (c *CheckRunOutput) GetAnnotationsCount() int { if c == nil || c.AnnotationsCount == nil { @@ -2710,6 +3982,14 @@ func (c *CheckRunOutput) GetAnnotationsURL() string { return *c.AnnotationsURL } +// GetImages returns the Images slice if it's non-nil, nil otherwise. +func (c *CheckRunOutput) GetImages() []*CheckRunImage { + if c == nil || c.Images == nil { + return nil + } + return c.Images +} + // GetSummary returns the Summary field if it's non-nil, zero value otherwise. func (c *CheckRunOutput) GetSummary() string { if c == nil || c.Summary == nil { @@ -2822,6 +4102,14 @@ func (c *CheckSuite) GetNodeID() string { return *c.NodeID } +// GetPullRequests returns the PullRequests slice if it's non-nil, nil otherwise. +func (c *CheckSuite) GetPullRequests() []*PullRequest { + if c == nil || c.PullRequests == nil { + return nil + } + return c.PullRequests +} + // GetRepository returns the Repository field. func (c *CheckSuite) GetRepository() *Repository { if c == nil { @@ -2918,6 +4206,14 @@ func (c *CheckSuiteEvent) GetSender() *User { return c.Sender } +// GetAutoTriggerChecks returns the AutoTriggerChecks slice if it's non-nil, nil otherwise. +func (c *CheckSuitePreferenceOptions) GetAutoTriggerChecks() []*AutoTriggerCheck { + if c == nil || c.AutoTriggerChecks == nil { + return nil + } + return c.AutoTriggerChecks +} + // GetPreferences returns the Preferences field. func (c *CheckSuitePreferenceResults) GetPreferences() *PreferenceList { if c == nil { @@ -3158,6 +4454,22 @@ func (c *ClassroomUser) GetLogin() string { return *c.Login } +// GetDeploymentName returns the DeploymentName field. +func (c *ClusterArtifactDeployment) GetDeploymentName() string { + if c == nil { + return "" + } + return c.DeploymentName +} + +// GetDigest returns the Digest field. +func (c *ClusterArtifactDeployment) GetDigest() string { + if c == nil { + return "" + } + return c.Digest +} + // GetGithubRepository returns the GithubRepository field if it's non-nil, zero value otherwise. func (c *ClusterArtifactDeployment) GetGithubRepository() string { if c == nil || c.GithubRepository == nil { @@ -3166,6 +4478,30 @@ func (c *ClusterArtifactDeployment) GetGithubRepository() string { return *c.GithubRepository } +// GetName returns the Name field. +func (c *ClusterArtifactDeployment) GetName() string { + if c == nil { + return "" + } + return c.Name +} + +// GetRuntimeRisks returns the RuntimeRisks slice if it's non-nil, nil otherwise. +func (c *ClusterArtifactDeployment) GetRuntimeRisks() []DeploymentRuntimeRisk { + if c == nil || c.RuntimeRisks == nil { + return nil + } + return c.RuntimeRisks +} + +// GetStatus returns the Status field. +func (c *ClusterArtifactDeployment) GetStatus() string { + if c == nil { + return "" + } + return c.Status +} + // GetTags returns the Tags map if it's non-nil, an empty map otherwise. func (c *ClusterArtifactDeployment) GetTags() map[string]string { if c == nil || c.Tags == nil { @@ -3182,6 +4518,22 @@ func (c *ClusterArtifactDeployment) GetVersion() string { return *c.Version } +// GetDeployments returns the Deployments slice if it's non-nil, nil otherwise. +func (c *ClusterDeploymentRecordsRequest) GetDeployments() []*ClusterArtifactDeployment { + if c == nil || c.Deployments == nil { + return nil + } + return c.Deployments +} + +// GetLogicalEnvironment returns the LogicalEnvironment field. +func (c *ClusterDeploymentRecordsRequest) GetLogicalEnvironment() string { + if c == nil { + return "" + } + return c.LogicalEnvironment +} + // GetPhysicalEnvironment returns the PhysicalEnvironment field if it's non-nil, zero value otherwise. func (c *ClusterDeploymentRecordsRequest) GetPhysicalEnvironment() string { if c == nil || c.PhysicalEnvironment == nil { @@ -3206,6 +4558,14 @@ func (c *ClusterSSHKey) GetKey() string { return *c.Key } +// GetNodes returns the Nodes slice if it's non-nil, nil otherwise. +func (c *ClusterStatus) GetNodes() []*ClusterStatusNode { + if c == nil || c.Nodes == nil { + return nil + } + return c.Nodes +} + // GetStatus returns the Status field if it's non-nil, zero value otherwise. func (c *ClusterStatus) GetStatus() string { if c == nil || c.Status == nil { @@ -3222,6 +4582,14 @@ func (c *ClusterStatusNode) GetHostname() string { return *c.Hostname } +// GetServices returns the Services slice if it's non-nil, nil otherwise. +func (c *ClusterStatusNode) GetServices() []*ClusterStatusNodeServiceItem { + if c == nil || c.Services == nil { + return nil + } + return c.Services +} + // GetStatus returns the Status field if it's non-nil, zero value otherwise. func (c *ClusterStatusNode) GetStatus() string { if c == nil || c.Status == nil { @@ -3286,6 +4654,54 @@ func (c *CodeOfConduct) GetURL() string { return *c.URL } +// GetColumn returns the Column field. +func (c *CodeownersError) GetColumn() int { + if c == nil { + return 0 + } + return c.Column +} + +// GetKind returns the Kind field. +func (c *CodeownersError) GetKind() string { + if c == nil { + return "" + } + return c.Kind +} + +// GetLine returns the Line field. +func (c *CodeownersError) GetLine() int { + if c == nil { + return 0 + } + return c.Line +} + +// GetMessage returns the Message field. +func (c *CodeownersError) GetMessage() string { + if c == nil { + return "" + } + return c.Message +} + +// GetPath returns the Path field. +func (c *CodeownersError) GetPath() string { + if c == nil { + return "" + } + return c.Path +} + +// GetSource returns the Source field. +func (c *CodeownersError) GetSource() string { + if c == nil { + return "" + } + return c.Source +} + // GetSuggestion returns the Suggestion field if it's non-nil, zero value otherwise. func (c *CodeownersError) GetSuggestion() string { if c == nil || c.Suggestion == nil { @@ -3294,6 +4710,14 @@ func (c *CodeownersError) GetSuggestion() string { return *c.Suggestion } +// GetErrors returns the Errors slice if it's non-nil, nil otherwise. +func (c *CodeownersErrors) GetErrors() []*CodeownersError { + if c == nil || c.Errors == nil { + return nil + } + return c.Errors +} + // GetContentType returns the ContentType field if it's non-nil, zero value otherwise. func (c *CodeQLDatabase) GetContentType() string { if c == nil || c.ContentType == nil { @@ -3406,6 +4830,14 @@ func (c *CodeResult) GetSHA() string { return *c.SHA } +// GetTextMatches returns the TextMatches slice if it's non-nil, nil otherwise. +func (c *CodeResult) GetTextMatches() []*TextMatch { + if c == nil || c.TextMatches == nil { + return nil + } + return c.TextMatches +} + // GetAction returns the Action field if it's non-nil, zero value otherwise. func (c *CodeScanningAlertEvent) GetAction() string { if c == nil || c.Action == nil { @@ -3486,6 +4918,22 @@ func (c *CodeScanningAlertState) GetDismissedReason() string { return *c.DismissedReason } +// GetState returns the State field. +func (c *CodeScanningAlertState) GetState() string { + if c == nil { + return "" + } + return c.State +} + +// GetParameters returns the Parameters field. +func (c *CodeScanningBranchRule) GetParameters() CodeScanningRuleParameters { + if c == nil { + return CodeScanningRuleParameters{} + } + return c.Parameters +} + // GetRunnerLabel returns the RunnerLabel field if it's non-nil, zero value otherwise. func (c *CodeScanningDefaultSetupOptions) GetRunnerLabel() string { if c == nil || c.RunnerLabel == nil { @@ -3494,6 +4942,14 @@ func (c *CodeScanningDefaultSetupOptions) GetRunnerLabel() string { return *c.RunnerLabel } +// GetRunnerType returns the RunnerType field. +func (c *CodeScanningDefaultSetupOptions) GetRunnerType() string { + if c == nil { + return "" + } + return c.RunnerType +} + // GetAllowAdvanced returns the AllowAdvanced field if it's non-nil, zero value otherwise. func (c *CodeScanningOptions) GetAllowAdvanced() bool { if c == nil || c.AllowAdvanced == nil { @@ -3502,6 +4958,22 @@ func (c *CodeScanningOptions) GetAllowAdvanced() bool { return *c.AllowAdvanced } +// GetCodeScanningTools returns the CodeScanningTools slice if it's non-nil, nil otherwise. +func (c *CodeScanningRuleParameters) GetCodeScanningTools() []*RuleCodeScanningTool { + if c == nil || c.CodeScanningTools == nil { + return nil + } + return c.CodeScanningTools +} + +// GetCodeResults returns the CodeResults slice if it's non-nil, nil otherwise. +func (c *CodeSearchResult) GetCodeResults() []*CodeResult { + if c == nil || c.CodeResults == nil { + return nil + } + return c.CodeResults +} + // GetIncompleteResults returns the IncompleteResults field if it's non-nil, zero value otherwise. func (c *CodeSearchResult) GetIncompleteResults() bool { if c == nil || c.IncompleteResults == nil { @@ -3614,6 +5086,14 @@ func (c *CodeSecurityConfiguration) GetDependencyGraphAutosubmitActionOptions() return c.DependencyGraphAutosubmitActionOptions } +// GetDescription returns the Description field. +func (c *CodeSecurityConfiguration) GetDescription() string { + if c == nil { + return "" + } + return c.Description +} + // GetEnforcement returns the Enforcement field if it's non-nil, zero value otherwise. func (c *CodeSecurityConfiguration) GetEnforcement() string { if c == nil || c.Enforcement == nil { @@ -3638,6 +5118,14 @@ func (c *CodeSecurityConfiguration) GetID() int64 { return *c.ID } +// GetName returns the Name field. +func (c *CodeSecurityConfiguration) GetName() string { + if c == nil { + return "" + } + return c.Name +} + // GetPrivateVulnerabilityReporting returns the PrivateVulnerabilityReporting field if it's non-nil, zero value otherwise. func (c *CodeSecurityConfiguration) GetPrivateVulnerabilityReporting() string { if c == nil || c.PrivateVulnerabilityReporting == nil { @@ -3918,6 +5406,14 @@ func (c *Codespace) GetPullsURL() string { return *c.PullsURL } +// GetRecentFolders returns the RecentFolders slice if it's non-nil, nil otherwise. +func (c *Codespace) GetRecentFolders() []string { + if c == nil || c.RecentFolders == nil { + return nil + } + return c.RecentFolders +} + // GetRepository returns the Repository field. func (c *Codespace) GetRepository() *Repository { if c == nil { @@ -4078,6 +5574,14 @@ func (c *CodespaceCreateForUserOptions) GetRef() string { return *c.Ref } +// GetRepositoryID returns the RepositoryID field. +func (c *CodespaceCreateForUserOptions) GetRepositoryID() int64 { + if c == nil { + return 0 + } + return c.RepositoryID +} + // GetRetentionPeriodMinutes returns the RetentionPeriodMinutes field if it's non-nil, zero value otherwise. func (c *CodespaceCreateForUserOptions) GetRetentionPeriodMinutes() int { if c == nil || c.RetentionPeriodMinutes == nil { @@ -4118,6 +5622,14 @@ func (c *CodespaceDefaults) GetDevcontainerPath() string { return *c.DevcontainerPath } +// GetLocation returns the Location field. +func (c *CodespaceDefaults) GetLocation() string { + if c == nil { + return "" + } + return c.Location +} + // GetBranch returns the Branch field if it's non-nil, zero value otherwise. func (c *CodespaceExport) GetBranch() string { if c == nil || c.Branch == nil { @@ -4190,6 +5702,30 @@ func (c *CodespaceGetDefaultAttributesOptions) GetRef() string { return *c.Ref } +// GetAccepted returns the Accepted field. +func (c *CodespacePermissions) GetAccepted() bool { + if c == nil { + return false + } + return c.Accepted +} + +// GetPullRequestNumber returns the PullRequestNumber field. +func (c *CodespacePullRequestOptions) GetPullRequestNumber() int64 { + if c == nil { + return 0 + } + return c.PullRequestNumber +} + +// GetRepositoryID returns the RepositoryID field. +func (c *CodespacePullRequestOptions) GetRepositoryID() int64 { + if c == nil { + return 0 + } + return c.RepositoryID +} + // GetAhead returns the Ahead field if it's non-nil, zero value otherwise. func (c *CodespacesGitStatus) GetAhead() int { if c == nil || c.Ahead == nil { @@ -4286,6 +5822,46 @@ func (c *CodespacesMachine) GetStorageInBytes() int64 { return *c.StorageInBytes } +// GetMachines returns the Machines slice if it's non-nil, nil otherwise. +func (c *CodespacesMachines) GetMachines() []*CodespacesMachine { + if c == nil || c.Machines == nil { + return nil + } + return c.Machines +} + +// GetTotalCount returns the TotalCount field. +func (c *CodespacesMachines) GetTotalCount() int64 { + if c == nil { + return 0 + } + return c.TotalCount +} + +// GetSelectedUsernames returns the SelectedUsernames slice if it's non-nil, nil otherwise. +func (c *CodespacesOrgAccessControlRequest) GetSelectedUsernames() []string { + if c == nil || c.SelectedUsernames == nil { + return nil + } + return c.SelectedUsernames +} + +// GetVisibility returns the Visibility field. +func (c *CodespacesOrgAccessControlRequest) GetVisibility() string { + if c == nil { + return "" + } + return c.Visibility +} + +// GetAllowedPortPrivacySettings returns the AllowedPortPrivacySettings slice if it's non-nil, nil otherwise. +func (c *CodespacesRuntimeConstraints) GetAllowedPortPrivacySettings() []string { + if c == nil || c.AllowedPortPrivacySettings == nil { + return nil + } + return c.AllowedPortPrivacySettings +} + // GetCreatedAt returns the CreatedAt field if it's non-nil, zero value otherwise. func (c *CollaboratorInvitation) GetCreatedAt() Timestamp { if c == nil || c.CreatedAt == nil { @@ -4390,6 +5966,14 @@ func (c *CombinedStatus) GetState() string { return *c.State } +// GetStatuses returns the Statuses slice if it's non-nil, nil otherwise. +func (c *CombinedStatus) GetStatuses() []*RepoStatus { + if c == nil || c.Statuses == nil { + return nil + } + return c.Statuses +} + // GetTotalCount returns the TotalCount field if it's non-nil, zero value otherwise. func (c *CombinedStatus) GetTotalCount() int { if c == nil || c.TotalCount == nil { @@ -4398,6 +5982,14 @@ func (c *CombinedStatus) GetTotalCount() int { return *c.TotalCount } +// GetBody returns the Body field. +func (c *Comment) GetBody() string { + if c == nil { + return "" + } + return c.Body +} + // GetCreatedAt returns the CreatedAt field if it's non-nil, zero value otherwise. func (c *Comment) GetCreatedAt() Timestamp { if c == nil || c.CreatedAt == nil { @@ -4590,6 +6182,14 @@ func (c *Commit) GetNodeID() string { return *c.NodeID } +// GetParents returns the Parents slice if it's non-nil, nil otherwise. +func (c *Commit) GetParents() []*Commit { + if c == nil || c.Parents == nil { + return nil + } + return c.Parents +} + // GetSHA returns the SHA field if it's non-nil, zero value otherwise. func (c *Commit) GetSHA() string { if c == nil || c.SHA == nil { @@ -4830,6 +6430,14 @@ func (c *CommitResult) GetHTMLURL() string { return *c.HTMLURL } +// GetParents returns the Parents slice if it's non-nil, nil otherwise. +func (c *CommitResult) GetParents() []*Commit { + if c == nil || c.Parents == nil { + return nil + } + return c.Parents +} + // GetRepository returns the Repository field. func (c *CommitResult) GetRepository() *Repository { if c == nil { @@ -4838,12 +6446,12 @@ func (c *CommitResult) GetRepository() *Repository { return c.Repository } -// GetScore returns the Score field. -func (c *CommitResult) GetScore() *float64 { - if c == nil { - return nil +// GetScore returns the Score field if it's non-nil, zero value otherwise. +func (c *CommitResult) GetScore() float64 { + if c == nil || c.Score == nil { + return 0 } - return c.Score + return *c.Score } // GetSHA returns the SHA field if it's non-nil, zero value otherwise. @@ -4886,6 +6494,14 @@ func (c *CommitsComparison) GetBehindBy() int { return *c.BehindBy } +// GetCommits returns the Commits slice if it's non-nil, nil otherwise. +func (c *CommitsComparison) GetCommits() []*RepositoryCommit { + if c == nil || c.Commits == nil { + return nil + } + return c.Commits +} + // GetDiffURL returns the DiffURL field if it's non-nil, zero value otherwise. func (c *CommitsComparison) GetDiffURL() string { if c == nil || c.DiffURL == nil { @@ -4894,6 +6510,14 @@ func (c *CommitsComparison) GetDiffURL() string { return *c.DiffURL } +// GetFiles returns the Files slice if it's non-nil, nil otherwise. +func (c *CommitsComparison) GetFiles() []*CommitFile { + if c == nil || c.Files == nil { + return nil + } + return c.Files +} + // GetHTMLURL returns the HTMLURL field if it's non-nil, zero value otherwise. func (c *CommitsComparison) GetHTMLURL() string { if c == nil || c.HTMLURL == nil { @@ -4950,6 +6574,54 @@ func (c *CommitsComparison) GetURL() string { return *c.URL } +// GetAuthor returns the Author field. +func (c *CommitsListOptions) GetAuthor() string { + if c == nil { + return "" + } + return c.Author +} + +// GetPath returns the Path field. +func (c *CommitsListOptions) GetPath() string { + if c == nil { + return "" + } + return c.Path +} + +// GetSHA returns the SHA field. +func (c *CommitsListOptions) GetSHA() string { + if c == nil { + return "" + } + return c.SHA +} + +// GetSince returns the Since field. +func (c *CommitsListOptions) GetSince() time.Time { + if c == nil { + return time.Time{} + } + return c.Since +} + +// GetUntil returns the Until field. +func (c *CommitsListOptions) GetUntil() time.Time { + if c == nil { + return time.Time{} + } + return c.Until +} + +// GetCommits returns the Commits slice if it's non-nil, nil otherwise. +func (c *CommitsSearchResult) GetCommits() []*CommitResult { + if c == nil || c.Commits == nil { + return nil + } + return c.Commits +} + // GetIncompleteResults returns the IncompleteResults field if it's non-nil, zero value otherwise. func (c *CommitsSearchResult) GetIncompleteResults() bool { if c == nil || c.IncompleteResults == nil { @@ -5094,6 +6766,22 @@ func (c *CommunityHealthMetrics) GetUpdatedAt() Timestamp { return *c.UpdatedAt } +// GetNodes returns the Nodes slice if it's non-nil, nil otherwise. +func (c *ConfigApplyEvents) GetNodes() []*ConfigApplyEventsNode { + if c == nil || c.Nodes == nil { + return nil + } + return c.Nodes +} + +// GetEvents returns the Events slice if it's non-nil, nil otherwise. +func (c *ConfigApplyEventsNode) GetEvents() []*ConfigApplyEventsNodeEvent { + if c == nil || c.Events == nil { + return nil + } + return c.Events +} + // GetLastRequestID returns the LastRequestID field if it's non-nil, zero value otherwise. func (c *ConfigApplyEventsNode) GetLastRequestID() string { if c == nil || c.LastRequestID == nil { @@ -5214,6 +6902,14 @@ func (c *ConfigApplyOptions) GetRunID() string { return *c.RunID } +// GetNodes returns the Nodes slice if it's non-nil, nil otherwise. +func (c *ConfigApplyStatus) GetNodes() []*ConfigApplyStatusNode { + if c == nil || c.Nodes == nil { + return nil + } + return c.Nodes +} + // GetRunning returns the Running field if it's non-nil, zero value otherwise. func (c *ConfigApplyStatus) GetRunning() bool { if c == nil || c.Running == nil { @@ -5678,6 +7374,14 @@ func (c *ConfigSettingsLDAP) GetAdminGroup() string { return *c.AdminGroup } +// GetBase returns the Base slice if it's non-nil, nil otherwise. +func (c *ConfigSettingsLDAP) GetBase() []string { + if c == nil || c.Base == nil { + return nil + } + return c.Base +} + // GetBindDN returns the BindDN field if it's non-nil, zero value otherwise. func (c *ConfigSettingsLDAP) GetBindDN() string { if c == nil || c.BindDN == nil { @@ -5782,6 +7486,14 @@ func (c *ConfigSettingsLDAP) GetUID() string { return *c.UID } +// GetUserGroups returns the UserGroups slice if it's non-nil, nil otherwise. +func (c *ConfigSettingsLDAP) GetUserGroups() []string { + if c == nil || c.UserGroups == nil { + return nil + } + return c.UserGroups +} + // GetUserSyncEmails returns the UserSyncEmails field if it's non-nil, zero value otherwise. func (c *ConfigSettingsLDAP) GetUserSyncEmails() bool { if c == nil || c.UserSyncEmails == nil { @@ -6422,6 +8134,14 @@ func (c *Contributor) GetURL() string { return *c.URL } +// GetApprovalPolicy returns the ApprovalPolicy field. +func (c *ContributorApprovalPermissions) GetApprovalPolicy() string { + if c == nil { + return "" + } + return c.ApprovalPolicy +} + // GetAuthor returns the Author field. func (c *ContributorStats) GetAuthor() *Contributor { if c == nil { @@ -6438,6 +8158,70 @@ func (c *ContributorStats) GetTotal() int { return *c.Total } +// GetWeeks returns the Weeks slice if it's non-nil, nil otherwise. +func (c *ContributorStats) GetWeeks() []*WeeklyStats { + if c == nil || c.Weeks == nil { + return nil + } + return c.Weeks +} + +// GetParameters returns the Parameters field. +func (c *CopilotCodeReviewBranchRule) GetParameters() CopilotCodeReviewRuleParameters { + if c == nil { + return CopilotCodeReviewRuleParameters{} + } + return c.Parameters +} + +// GetReviewDraftPullRequests returns the ReviewDraftPullRequests field. +func (c *CopilotCodeReviewRuleParameters) GetReviewDraftPullRequests() bool { + if c == nil { + return false + } + return c.ReviewDraftPullRequests +} + +// GetReviewOnPush returns the ReviewOnPush field. +func (c *CopilotCodeReviewRuleParameters) GetReviewOnPush() bool { + if c == nil { + return false + } + return c.ReviewOnPush +} + +// GetDownloadLinks returns the DownloadLinks slice if it's non-nil, nil otherwise. +func (c *CopilotDailyMetricsReport) GetDownloadLinks() []string { + if c == nil || c.DownloadLinks == nil { + return nil + } + return c.DownloadLinks +} + +// GetReportDay returns the ReportDay field. +func (c *CopilotDailyMetricsReport) GetReportDay() string { + if c == nil { + return "" + } + return c.ReportDay +} + +// GetModels returns the Models slice if it's non-nil, nil otherwise. +func (c *CopilotDotcomChat) GetModels() []*CopilotDotcomChatModel { + if c == nil || c.Models == nil { + return nil + } + return c.Models +} + +// GetTotalEngagedUsers returns the TotalEngagedUsers field. +func (c *CopilotDotcomChat) GetTotalEngagedUsers() int { + if c == nil { + return 0 + } + return c.TotalEngagedUsers +} + // GetCustomModelTrainingDate returns the CustomModelTrainingDate field if it's non-nil, zero value otherwise. func (c *CopilotDotcomChatModel) GetCustomModelTrainingDate() string { if c == nil || c.CustomModelTrainingDate == nil { @@ -6446,6 +8230,54 @@ func (c *CopilotDotcomChatModel) GetCustomModelTrainingDate() string { return *c.CustomModelTrainingDate } +// GetIsCustomModel returns the IsCustomModel field. +func (c *CopilotDotcomChatModel) GetIsCustomModel() bool { + if c == nil { + return false + } + return c.IsCustomModel +} + +// GetName returns the Name field. +func (c *CopilotDotcomChatModel) GetName() string { + if c == nil { + return "" + } + return c.Name +} + +// GetTotalChats returns the TotalChats field. +func (c *CopilotDotcomChatModel) GetTotalChats() int { + if c == nil { + return 0 + } + return c.TotalChats +} + +// GetTotalEngagedUsers returns the TotalEngagedUsers field. +func (c *CopilotDotcomChatModel) GetTotalEngagedUsers() int { + if c == nil { + return 0 + } + return c.TotalEngagedUsers +} + +// GetRepositories returns the Repositories slice if it's non-nil, nil otherwise. +func (c *CopilotDotcomPullRequests) GetRepositories() []*CopilotDotcomPullRequestsRepository { + if c == nil || c.Repositories == nil { + return nil + } + return c.Repositories +} + +// GetTotalEngagedUsers returns the TotalEngagedUsers field. +func (c *CopilotDotcomPullRequests) GetTotalEngagedUsers() int { + if c == nil { + return 0 + } + return c.TotalEngagedUsers +} + // GetCustomModelTrainingDate returns the CustomModelTrainingDate field if it's non-nil, zero value otherwise. func (c *CopilotDotcomPullRequestsModel) GetCustomModelTrainingDate() string { if c == nil || c.CustomModelTrainingDate == nil { @@ -6454,6 +8286,102 @@ func (c *CopilotDotcomPullRequestsModel) GetCustomModelTrainingDate() string { return *c.CustomModelTrainingDate } +// GetIsCustomModel returns the IsCustomModel field. +func (c *CopilotDotcomPullRequestsModel) GetIsCustomModel() bool { + if c == nil { + return false + } + return c.IsCustomModel +} + +// GetName returns the Name field. +func (c *CopilotDotcomPullRequestsModel) GetName() string { + if c == nil { + return "" + } + return c.Name +} + +// GetTotalEngagedUsers returns the TotalEngagedUsers field. +func (c *CopilotDotcomPullRequestsModel) GetTotalEngagedUsers() int { + if c == nil { + return 0 + } + return c.TotalEngagedUsers +} + +// GetTotalPRSummariesCreated returns the TotalPRSummariesCreated field. +func (c *CopilotDotcomPullRequestsModel) GetTotalPRSummariesCreated() int { + if c == nil { + return 0 + } + return c.TotalPRSummariesCreated +} + +// GetModels returns the Models slice if it's non-nil, nil otherwise. +func (c *CopilotDotcomPullRequestsRepository) GetModels() []*CopilotDotcomPullRequestsModel { + if c == nil || c.Models == nil { + return nil + } + return c.Models +} + +// GetName returns the Name field. +func (c *CopilotDotcomPullRequestsRepository) GetName() string { + if c == nil { + return "" + } + return c.Name +} + +// GetTotalEngagedUsers returns the TotalEngagedUsers field. +func (c *CopilotDotcomPullRequestsRepository) GetTotalEngagedUsers() int { + if c == nil { + return 0 + } + return c.TotalEngagedUsers +} + +// GetEditors returns the Editors slice if it's non-nil, nil otherwise. +func (c *CopilotIDEChat) GetEditors() []*CopilotIDEChatEditor { + if c == nil || c.Editors == nil { + return nil + } + return c.Editors +} + +// GetTotalEngagedUsers returns the TotalEngagedUsers field. +func (c *CopilotIDEChat) GetTotalEngagedUsers() int { + if c == nil { + return 0 + } + return c.TotalEngagedUsers +} + +// GetModels returns the Models slice if it's non-nil, nil otherwise. +func (c *CopilotIDEChatEditor) GetModels() []*CopilotIDEChatModel { + if c == nil || c.Models == nil { + return nil + } + return c.Models +} + +// GetName returns the Name field. +func (c *CopilotIDEChatEditor) GetName() string { + if c == nil { + return "" + } + return c.Name +} + +// GetTotalEngagedUsers returns the TotalEngagedUsers field. +func (c *CopilotIDEChatEditor) GetTotalEngagedUsers() int { + if c == nil { + return 0 + } + return c.TotalEngagedUsers +} + // GetCustomModelTrainingDate returns the CustomModelTrainingDate field if it's non-nil, zero value otherwise. func (c *CopilotIDEChatModel) GetCustomModelTrainingDate() string { if c == nil || c.CustomModelTrainingDate == nil { @@ -6462,6 +8390,118 @@ func (c *CopilotIDEChatModel) GetCustomModelTrainingDate() string { return *c.CustomModelTrainingDate } +// GetIsCustomModel returns the IsCustomModel field. +func (c *CopilotIDEChatModel) GetIsCustomModel() bool { + if c == nil { + return false + } + return c.IsCustomModel +} + +// GetName returns the Name field. +func (c *CopilotIDEChatModel) GetName() string { + if c == nil { + return "" + } + return c.Name +} + +// GetTotalChatCopyEvents returns the TotalChatCopyEvents field. +func (c *CopilotIDEChatModel) GetTotalChatCopyEvents() int { + if c == nil { + return 0 + } + return c.TotalChatCopyEvents +} + +// GetTotalChatInsertionEvents returns the TotalChatInsertionEvents field. +func (c *CopilotIDEChatModel) GetTotalChatInsertionEvents() int { + if c == nil { + return 0 + } + return c.TotalChatInsertionEvents +} + +// GetTotalChats returns the TotalChats field. +func (c *CopilotIDEChatModel) GetTotalChats() int { + if c == nil { + return 0 + } + return c.TotalChats +} + +// GetTotalEngagedUsers returns the TotalEngagedUsers field. +func (c *CopilotIDEChatModel) GetTotalEngagedUsers() int { + if c == nil { + return 0 + } + return c.TotalEngagedUsers +} + +// GetEditors returns the Editors slice if it's non-nil, nil otherwise. +func (c *CopilotIDECodeCompletions) GetEditors() []*CopilotIDECodeCompletionsEditor { + if c == nil || c.Editors == nil { + return nil + } + return c.Editors +} + +// GetLanguages returns the Languages slice if it's non-nil, nil otherwise. +func (c *CopilotIDECodeCompletions) GetLanguages() []*CopilotIDECodeCompletionsLanguage { + if c == nil || c.Languages == nil { + return nil + } + return c.Languages +} + +// GetTotalEngagedUsers returns the TotalEngagedUsers field. +func (c *CopilotIDECodeCompletions) GetTotalEngagedUsers() int { + if c == nil { + return 0 + } + return c.TotalEngagedUsers +} + +// GetModels returns the Models slice if it's non-nil, nil otherwise. +func (c *CopilotIDECodeCompletionsEditor) GetModels() []*CopilotIDECodeCompletionsModel { + if c == nil || c.Models == nil { + return nil + } + return c.Models +} + +// GetName returns the Name field. +func (c *CopilotIDECodeCompletionsEditor) GetName() string { + if c == nil { + return "" + } + return c.Name +} + +// GetTotalEngagedUsers returns the TotalEngagedUsers field. +func (c *CopilotIDECodeCompletionsEditor) GetTotalEngagedUsers() int { + if c == nil { + return 0 + } + return c.TotalEngagedUsers +} + +// GetName returns the Name field. +func (c *CopilotIDECodeCompletionsLanguage) GetName() string { + if c == nil { + return "" + } + return c.Name +} + +// GetTotalEngagedUsers returns the TotalEngagedUsers field. +func (c *CopilotIDECodeCompletionsLanguage) GetTotalEngagedUsers() int { + if c == nil { + return 0 + } + return c.TotalEngagedUsers +} + // GetCustomModelTrainingDate returns the CustomModelTrainingDate field if it's non-nil, zero value otherwise. func (c *CopilotIDECodeCompletionsModel) GetCustomModelTrainingDate() string { if c == nil || c.CustomModelTrainingDate == nil { @@ -6470,6 +8510,86 @@ func (c *CopilotIDECodeCompletionsModel) GetCustomModelTrainingDate() string { return *c.CustomModelTrainingDate } +// GetIsCustomModel returns the IsCustomModel field. +func (c *CopilotIDECodeCompletionsModel) GetIsCustomModel() bool { + if c == nil { + return false + } + return c.IsCustomModel +} + +// GetLanguages returns the Languages slice if it's non-nil, nil otherwise. +func (c *CopilotIDECodeCompletionsModel) GetLanguages() []*CopilotIDECodeCompletionsModelLanguage { + if c == nil || c.Languages == nil { + return nil + } + return c.Languages +} + +// GetName returns the Name field. +func (c *CopilotIDECodeCompletionsModel) GetName() string { + if c == nil { + return "" + } + return c.Name +} + +// GetTotalEngagedUsers returns the TotalEngagedUsers field. +func (c *CopilotIDECodeCompletionsModel) GetTotalEngagedUsers() int { + if c == nil { + return 0 + } + return c.TotalEngagedUsers +} + +// GetName returns the Name field. +func (c *CopilotIDECodeCompletionsModelLanguage) GetName() string { + if c == nil { + return "" + } + return c.Name +} + +// GetTotalCodeAcceptances returns the TotalCodeAcceptances field. +func (c *CopilotIDECodeCompletionsModelLanguage) GetTotalCodeAcceptances() int { + if c == nil { + return 0 + } + return c.TotalCodeAcceptances +} + +// GetTotalCodeLinesAccepted returns the TotalCodeLinesAccepted field. +func (c *CopilotIDECodeCompletionsModelLanguage) GetTotalCodeLinesAccepted() int { + if c == nil { + return 0 + } + return c.TotalCodeLinesAccepted +} + +// GetTotalCodeLinesSuggested returns the TotalCodeLinesSuggested field. +func (c *CopilotIDECodeCompletionsModelLanguage) GetTotalCodeLinesSuggested() int { + if c == nil { + return 0 + } + return c.TotalCodeLinesSuggested +} + +// GetTotalCodeSuggestions returns the TotalCodeSuggestions field. +func (c *CopilotIDECodeCompletionsModelLanguage) GetTotalCodeSuggestions() int { + if c == nil { + return 0 + } + return c.TotalCodeSuggestions +} + +// GetTotalEngagedUsers returns the TotalEngagedUsers field. +func (c *CopilotIDECodeCompletionsModelLanguage) GetTotalEngagedUsers() int { + if c == nil { + return 0 + } + return c.TotalEngagedUsers +} + // GetCopilotDotcomChat returns the CopilotDotcomChat field. func (c *CopilotMetrics) GetCopilotDotcomChat() *CopilotDotcomChat { if c == nil { @@ -6502,6 +8622,14 @@ func (c *CopilotMetrics) GetCopilotIDECodeCompletions() *CopilotIDECodeCompletio return c.CopilotIDECodeCompletions } +// GetDate returns the Date field. +func (c *CopilotMetrics) GetDate() string { + if c == nil { + return "" + } + return c.Date +} + // GetTotalActiveUsers returns the TotalActiveUsers field if it's non-nil, zero value otherwise. func (c *CopilotMetrics) GetTotalActiveUsers() int { if c == nil || c.TotalActiveUsers == nil { @@ -6534,6 +8662,54 @@ func (c *CopilotMetricsListOptions) GetUntil() time.Time { return *c.Until } +// GetDownloadLinks returns the DownloadLinks slice if it's non-nil, nil otherwise. +func (c *CopilotMetricsReport) GetDownloadLinks() []string { + if c == nil || c.DownloadLinks == nil { + return nil + } + return c.DownloadLinks +} + +// GetReportEndDay returns the ReportEndDay field. +func (c *CopilotMetricsReport) GetReportEndDay() string { + if c == nil { + return "" + } + return c.ReportEndDay +} + +// GetReportStartDay returns the ReportStartDay field. +func (c *CopilotMetricsReport) GetReportStartDay() string { + if c == nil { + return "" + } + return c.ReportStartDay +} + +// GetDay returns the Day field. +func (c *CopilotMetricsReportOptions) GetDay() string { + if c == nil { + return "" + } + return c.Day +} + +// GetCopilotChat returns the CopilotChat field. +func (c *CopilotOrganizationDetails) GetCopilotChat() string { + if c == nil { + return "" + } + return c.CopilotChat +} + +// GetPublicCodeSuggestions returns the PublicCodeSuggestions field. +func (c *CopilotOrganizationDetails) GetPublicCodeSuggestions() string { + if c == nil { + return "" + } + return c.PublicCodeSuggestions +} + // GetSeatBreakdown returns the SeatBreakdown field. func (c *CopilotOrganizationDetails) GetSeatBreakdown() *CopilotSeatBreakdown { if c == nil { @@ -6542,6 +8718,70 @@ func (c *CopilotOrganizationDetails) GetSeatBreakdown() *CopilotSeatBreakdown { return c.SeatBreakdown } +// GetSeatManagementSetting returns the SeatManagementSetting field. +func (c *CopilotOrganizationDetails) GetSeatManagementSetting() string { + if c == nil { + return "" + } + return c.SeatManagementSetting +} + +// GetActiveThisCycle returns the ActiveThisCycle field. +func (c *CopilotSeatBreakdown) GetActiveThisCycle() int { + if c == nil { + return 0 + } + return c.ActiveThisCycle +} + +// GetAddedThisCycle returns the AddedThisCycle field. +func (c *CopilotSeatBreakdown) GetAddedThisCycle() int { + if c == nil { + return 0 + } + return c.AddedThisCycle +} + +// GetInactiveThisCycle returns the InactiveThisCycle field. +func (c *CopilotSeatBreakdown) GetInactiveThisCycle() int { + if c == nil { + return 0 + } + return c.InactiveThisCycle +} + +// GetPendingCancellation returns the PendingCancellation field. +func (c *CopilotSeatBreakdown) GetPendingCancellation() int { + if c == nil { + return 0 + } + return c.PendingCancellation +} + +// GetPendingInvitation returns the PendingInvitation field. +func (c *CopilotSeatBreakdown) GetPendingInvitation() int { + if c == nil { + return 0 + } + return c.PendingInvitation +} + +// GetTotal returns the Total field. +func (c *CopilotSeatBreakdown) GetTotal() int { + if c == nil { + return 0 + } + return c.Total +} + +// GetAssignee returns the Assignee field. +func (c *CopilotSeatDetails) GetAssignee() any { + if c == nil { + return nil + } + return c.Assignee +} + // GetAssigningTeam returns the AssigningTeam field. func (c *CopilotSeatDetails) GetAssigningTeam() *Team { if c == nil { @@ -6606,6 +8846,30 @@ func (c *CostCenter) GetAzureSubscription() string { return *c.AzureSubscription } +// GetID returns the ID field. +func (c *CostCenter) GetID() string { + if c == nil { + return "" + } + return c.ID +} + +// GetName returns the Name field. +func (c *CostCenter) GetName() string { + if c == nil { + return "" + } + return c.Name +} + +// GetResources returns the Resources slice if it's non-nil, nil otherwise. +func (c *CostCenter) GetResources() []*CostCenterResource { + if c == nil || c.Resources == nil { + return nil + } + return c.Resources +} + // GetState returns the State field if it's non-nil, zero value otherwise. func (c *CostCenter) GetState() string { if c == nil || c.State == nil { @@ -6614,6 +8878,62 @@ func (c *CostCenter) GetState() string { return *c.State } +// GetName returns the Name field. +func (c *CostCenterRequest) GetName() string { + if c == nil { + return "" + } + return c.Name +} + +// GetName returns the Name field. +func (c *CostCenterResource) GetName() string { + if c == nil { + return "" + } + return c.Name +} + +// GetType returns the Type field. +func (c *CostCenterResource) GetType() string { + if c == nil { + return "" + } + return c.Type +} + +// GetOrganizations returns the Organizations slice if it's non-nil, nil otherwise. +func (c *CostCenterResourceRequest) GetOrganizations() []string { + if c == nil || c.Organizations == nil { + return nil + } + return c.Organizations +} + +// GetRepositories returns the Repositories slice if it's non-nil, nil otherwise. +func (c *CostCenterResourceRequest) GetRepositories() []string { + if c == nil || c.Repositories == nil { + return nil + } + return c.Repositories +} + +// GetUsers returns the Users slice if it's non-nil, nil otherwise. +func (c *CostCenterResourceRequest) GetUsers() []string { + if c == nil || c.Users == nil { + return nil + } + return c.Users +} + +// GetCostCenters returns the CostCenters slice if it's non-nil, nil otherwise. +func (c *CostCenters) GetCostCenters() []*CostCenter { + if c == nil || c.CostCenters == nil { + return nil + } + return c.CostCenters +} + // GetCluster returns the Cluster field if it's non-nil, zero value otherwise. func (c *CreateArtifactDeploymentRequest) GetCluster() string { if c == nil || c.Cluster == nil { @@ -6622,6 +8942,22 @@ func (c *CreateArtifactDeploymentRequest) GetCluster() string { return *c.Cluster } +// GetDeploymentName returns the DeploymentName field. +func (c *CreateArtifactDeploymentRequest) GetDeploymentName() string { + if c == nil { + return "" + } + return c.DeploymentName +} + +// GetDigest returns the Digest field. +func (c *CreateArtifactDeploymentRequest) GetDigest() string { + if c == nil { + return "" + } + return c.Digest +} + // GetGithubRepository returns the GithubRepository field if it's non-nil, zero value otherwise. func (c *CreateArtifactDeploymentRequest) GetGithubRepository() string { if c == nil || c.GithubRepository == nil { @@ -6630,6 +8966,22 @@ func (c *CreateArtifactDeploymentRequest) GetGithubRepository() string { return *c.GithubRepository } +// GetLogicalEnvironment returns the LogicalEnvironment field. +func (c *CreateArtifactDeploymentRequest) GetLogicalEnvironment() string { + if c == nil { + return "" + } + return c.LogicalEnvironment +} + +// GetName returns the Name field. +func (c *CreateArtifactDeploymentRequest) GetName() string { + if c == nil { + return "" + } + return c.Name +} + // GetPhysicalEnvironment returns the PhysicalEnvironment field if it's non-nil, zero value otherwise. func (c *CreateArtifactDeploymentRequest) GetPhysicalEnvironment() string { if c == nil || c.PhysicalEnvironment == nil { @@ -6638,6 +8990,22 @@ func (c *CreateArtifactDeploymentRequest) GetPhysicalEnvironment() string { return *c.PhysicalEnvironment } +// GetRuntimeRisks returns the RuntimeRisks slice if it's non-nil, nil otherwise. +func (c *CreateArtifactDeploymentRequest) GetRuntimeRisks() []DeploymentRuntimeRisk { + if c == nil || c.RuntimeRisks == nil { + return nil + } + return c.RuntimeRisks +} + +// GetStatus returns the Status field. +func (c *CreateArtifactDeploymentRequest) GetStatus() string { + if c == nil { + return "" + } + return c.Status +} + // GetTags returns the Tags map if it's non-nil, an empty map otherwise. func (c *CreateArtifactDeploymentRequest) GetTags() map[string]string { if c == nil || c.Tags == nil { @@ -6662,6 +9030,14 @@ func (c *CreateArtifactStorageRequest) GetArtifactURL() string { return *c.ArtifactURL } +// GetDigest returns the Digest field. +func (c *CreateArtifactStorageRequest) GetDigest() string { + if c == nil { + return "" + } + return c.Digest +} + // GetGithubRepository returns the GithubRepository field if it's non-nil, zero value otherwise. func (c *CreateArtifactStorageRequest) GetGithubRepository() string { if c == nil || c.GithubRepository == nil { @@ -6670,6 +9046,14 @@ func (c *CreateArtifactStorageRequest) GetGithubRepository() string { return *c.GithubRepository } +// GetName returns the Name field. +func (c *CreateArtifactStorageRequest) GetName() string { + if c == nil { + return "" + } + return c.Name +} + // GetPath returns the Path field if it's non-nil, zero value otherwise. func (c *CreateArtifactStorageRequest) GetPath() string { if c == nil || c.Path == nil { @@ -6678,6 +9062,14 @@ func (c *CreateArtifactStorageRequest) GetPath() string { return *c.Path } +// GetRegistryURL returns the RegistryURL field. +func (c *CreateArtifactStorageRequest) GetRegistryURL() string { + if c == nil { + return "" + } + return c.RegistryURL +} + // GetRepository returns the Repository field if it's non-nil, zero value otherwise. func (c *CreateArtifactStorageRequest) GetRepository() string { if c == nil || c.Repository == nil { @@ -6702,6 +9094,14 @@ func (c *CreateArtifactStorageRequest) GetVersion() string { return *c.Version } +// GetActions returns the Actions slice if it's non-nil, nil otherwise. +func (c *CreateCheckRunOptions) GetActions() []*CheckRunAction { + if c == nil || c.Actions == nil { + return nil + } + return c.Actions +} + // GetCompletedAt returns the CompletedAt field if it's non-nil, zero value otherwise. func (c *CreateCheckRunOptions) GetCompletedAt() Timestamp { if c == nil || c.CompletedAt == nil { @@ -6734,6 +9134,22 @@ func (c *CreateCheckRunOptions) GetExternalID() string { return *c.ExternalID } +// GetHeadSHA returns the HeadSHA field. +func (c *CreateCheckRunOptions) GetHeadSHA() string { + if c == nil { + return "" + } + return c.HeadSHA +} + +// GetName returns the Name field. +func (c *CreateCheckRunOptions) GetName() string { + if c == nil { + return "" + } + return c.Name +} + // GetOutput returns the Output field. func (c *CreateCheckRunOptions) GetOutput() *CheckRunOutput { if c == nil { @@ -6766,6 +9182,14 @@ func (c *CreateCheckSuiteOptions) GetHeadBranch() string { return *c.HeadBranch } +// GetHeadSHA returns the HeadSHA field. +func (c *CreateCheckSuiteOptions) GetHeadSHA() string { + if c == nil { + return "" + } + return c.HeadSHA +} + // GetClientIP returns the ClientIP field if it's non-nil, zero value otherwise. func (c *CreateCodespaceOptions) GetClientIP() string { if c == nil || c.ClientIP == nil { @@ -6854,6 +9278,14 @@ func (c *CreateCodespaceOptions) GetWorkingDirectory() string { return *c.WorkingDirectory } +// GetSigner returns the Signer field. +func (c *CreateCommitOptions) GetSigner() MessageSigner { + if c == nil { + return nil + } + return c.Signer +} + // GetBaseRole returns the BaseRole field if it's non-nil, zero value otherwise. func (c *CreateCustomOrgRoleRequest) GetBaseRole() string { if c == nil || c.BaseRole == nil { @@ -6870,6 +9302,22 @@ func (c *CreateCustomOrgRoleRequest) GetDescription() string { return *c.Description } +// GetName returns the Name field. +func (c *CreateCustomOrgRoleRequest) GetName() string { + if c == nil { + return "" + } + return c.Name +} + +// GetPermissions returns the Permissions slice if it's non-nil, nil otherwise. +func (c *CreateCustomOrgRoleRequest) GetPermissions() []string { + if c == nil || c.Permissions == nil { + return nil + } + return c.Permissions +} + // GetAllowsPublicRepositories returns the AllowsPublicRepositories field if it's non-nil, zero value otherwise. func (c *CreateEnterpriseRunnerGroupRequest) GetAllowsPublicRepositories() bool { if c == nil || c.AllowsPublicRepositories == nil { @@ -6894,6 +9342,30 @@ func (c *CreateEnterpriseRunnerGroupRequest) GetRestrictedToWorkflows() bool { return *c.RestrictedToWorkflows } +// GetRunners returns the Runners slice if it's non-nil, nil otherwise. +func (c *CreateEnterpriseRunnerGroupRequest) GetRunners() []int64 { + if c == nil || c.Runners == nil { + return nil + } + return c.Runners +} + +// GetSelectedOrganizationIDs returns the SelectedOrganizationIDs slice if it's non-nil, nil otherwise. +func (c *CreateEnterpriseRunnerGroupRequest) GetSelectedOrganizationIDs() []int64 { + if c == nil || c.SelectedOrganizationIDs == nil { + return nil + } + return c.SelectedOrganizationIDs +} + +// GetSelectedWorkflows returns the SelectedWorkflows slice if it's non-nil, nil otherwise. +func (c *CreateEnterpriseRunnerGroupRequest) GetSelectedWorkflows() []string { + if c == nil || c.SelectedWorkflows == nil { + return nil + } + return c.SelectedWorkflows +} + // GetVisibility returns the Visibility field if it's non-nil, zero value otherwise. func (c *CreateEnterpriseRunnerGroupRequest) GetVisibility() string { if c == nil || c.Visibility == nil { @@ -6982,6 +9454,14 @@ func (c *CreateHostedRunnerRequest) GetEnableStaticIP() bool { return *c.EnableStaticIP } +// GetImage returns the Image field. +func (c *CreateHostedRunnerRequest) GetImage() HostedRunnerImage { + if c == nil { + return HostedRunnerImage{} + } + return c.Image +} + // GetImageGen returns the ImageGen field if it's non-nil, zero value otherwise. func (c *CreateHostedRunnerRequest) GetImageGen() bool { if c == nil || c.ImageGen == nil { @@ -6998,6 +9478,70 @@ func (c *CreateHostedRunnerRequest) GetMaximumRunners() int64 { return *c.MaximumRunners } +// GetName returns the Name field. +func (c *CreateHostedRunnerRequest) GetName() string { + if c == nil { + return "" + } + return c.Name +} + +// GetRunnerGroupID returns the RunnerGroupID field. +func (c *CreateHostedRunnerRequest) GetRunnerGroupID() int64 { + if c == nil { + return 0 + } + return c.RunnerGroupID +} + +// GetSize returns the Size field. +func (c *CreateHostedRunnerRequest) GetSize() string { + if c == nil { + return "" + } + return c.Size +} + +// GetEncryptedValue returns the EncryptedValue field. +func (c *CreateOrganizationPrivateRegistry) GetEncryptedValue() string { + if c == nil { + return "" + } + return c.EncryptedValue +} + +// GetKeyID returns the KeyID field. +func (c *CreateOrganizationPrivateRegistry) GetKeyID() string { + if c == nil { + return "" + } + return c.KeyID +} + +// GetRegistryType returns the RegistryType field. +func (c *CreateOrganizationPrivateRegistry) GetRegistryType() string { + if c == nil { + return "" + } + return c.RegistryType +} + +// GetSelectedRepositoryIDs returns the SelectedRepositoryIDs slice if it's non-nil, nil otherwise. +func (c *CreateOrganizationPrivateRegistry) GetSelectedRepositoryIDs() []int64 { + if c == nil || c.SelectedRepositoryIDs == nil { + return nil + } + return c.SelectedRepositoryIDs +} + +// GetURL returns the URL field. +func (c *CreateOrganizationPrivateRegistry) GetURL() string { + if c == nil { + return "" + } + return c.URL +} + // GetUsername returns the Username field if it's non-nil, zero value otherwise. func (c *CreateOrganizationPrivateRegistry) GetUsername() string { if c == nil || c.Username == nil { @@ -7006,6 +9550,14 @@ func (c *CreateOrganizationPrivateRegistry) GetUsername() string { return *c.Username } +// GetVisibility returns the Visibility field. +func (c *CreateOrganizationPrivateRegistry) GetVisibility() PrivateRegistryVisibility { + if c == nil { + return "" + } + return c.Visibility +} + // GetEmail returns the Email field if it's non-nil, zero value otherwise. func (c *CreateOrgInvitationOptions) GetEmail() string { if c == nil || c.Email == nil { @@ -7030,6 +9582,14 @@ func (c *CreateOrgInvitationOptions) GetRole() string { return *c.Role } +// GetTeamID returns the TeamID slice if it's non-nil, nil otherwise. +func (c *CreateOrgInvitationOptions) GetTeamID() []int64 { + if c == nil || c.TeamID == nil { + return nil + } + return c.TeamID +} + // GetBaseRole returns the BaseRole field if it's non-nil, zero value otherwise. func (c *CreateOrUpdateCustomRepoRoleOptions) GetBaseRole() string { if c == nil || c.BaseRole == nil { @@ -7054,6 +9614,14 @@ func (c *CreateOrUpdateCustomRepoRoleOptions) GetName() string { return *c.Name } +// GetPermissions returns the Permissions slice if it's non-nil, nil otherwise. +func (c *CreateOrUpdateCustomRepoRoleOptions) GetPermissions() []string { + if c == nil || c.Permissions == nil { + return nil + } + return c.Permissions +} + // GetColor returns the Color field if it's non-nil, zero value otherwise. func (c *CreateOrUpdateIssueTypesOptions) GetColor() string { if c == nil || c.Color == nil { @@ -7070,6 +9638,14 @@ func (c *CreateOrUpdateIssueTypesOptions) GetDescription() string { return *c.Description } +// GetIsEnabled returns the IsEnabled field. +func (c *CreateOrUpdateIssueTypesOptions) GetIsEnabled() bool { + if c == nil { + return false + } + return c.IsEnabled +} + // GetIsPrivate returns the IsPrivate field if it's non-nil, zero value otherwise. func (c *CreateOrUpdateIssueTypesOptions) GetIsPrivate() bool { if c == nil || c.IsPrivate == nil { @@ -7078,6 +9654,14 @@ func (c *CreateOrUpdateIssueTypesOptions) GetIsPrivate() bool { return *c.IsPrivate } +// GetName returns the Name field. +func (c *CreateOrUpdateIssueTypesOptions) GetName() string { + if c == nil { + return "" + } + return c.Name +} + // GetFrom returns the From field if it's non-nil, zero value otherwise. func (c *CreateProtectedChanges) GetFrom() bool { if c == nil || c.From == nil { @@ -7086,6 +9670,22 @@ func (c *CreateProtectedChanges) GetFrom() bool { return *c.From } +// GetRef returns the Ref field. +func (c *CreateRef) GetRef() string { + if c == nil { + return "" + } + return c.Ref +} + +// GetSHA returns the SHA field. +func (c *CreateRef) GetSHA() string { + if c == nil { + return "" + } + return c.SHA +} + // GetAllowsPublicRepositories returns the AllowsPublicRepositories field if it's non-nil, zero value otherwise. func (c *CreateRunnerGroupRequest) GetAllowsPublicRepositories() bool { if c == nil || c.AllowsPublicRepositories == nil { @@ -7118,6 +9718,30 @@ func (c *CreateRunnerGroupRequest) GetRestrictedToWorkflows() bool { return *c.RestrictedToWorkflows } +// GetRunners returns the Runners slice if it's non-nil, nil otherwise. +func (c *CreateRunnerGroupRequest) GetRunners() []int64 { + if c == nil || c.Runners == nil { + return nil + } + return c.Runners +} + +// GetSelectedRepositoryIDs returns the SelectedRepositoryIDs slice if it's non-nil, nil otherwise. +func (c *CreateRunnerGroupRequest) GetSelectedRepositoryIDs() []int64 { + if c == nil || c.SelectedRepositoryIDs == nil { + return nil + } + return c.SelectedRepositoryIDs +} + +// GetSelectedWorkflows returns the SelectedWorkflows slice if it's non-nil, nil otherwise. +func (c *CreateRunnerGroupRequest) GetSelectedWorkflows() []string { + if c == nil || c.SelectedWorkflows == nil { + return nil + } + return c.SelectedWorkflows +} + // GetVisibility returns the Visibility field if it's non-nil, zero value otherwise. func (c *CreateRunnerGroupRequest) GetVisibility() string { if c == nil || c.Visibility == nil { @@ -7126,6 +9750,30 @@ func (c *CreateRunnerGroupRequest) GetVisibility() string { return *c.Visibility } +// GetMessage returns the Message field. +func (c *CreateTag) GetMessage() string { + if c == nil { + return "" + } + return c.Message +} + +// GetObject returns the Object field. +func (c *CreateTag) GetObject() string { + if c == nil { + return "" + } + return c.Object +} + +// GetTag returns the Tag field. +func (c *CreateTag) GetTag() string { + if c == nil { + return "" + } + return c.Tag +} + // GetTagger returns the Tagger field. func (c *CreateTag) GetTagger() *CommitAuthor { if c == nil { @@ -7134,6 +9782,14 @@ func (c *CreateTag) GetTagger() *CommitAuthor { return c.Tagger } +// GetType returns the Type field. +func (c *CreateTag) GetType() string { + if c == nil { + return "" + } + return c.Type +} + // GetCanAdminsBypass returns the CanAdminsBypass field if it's non-nil, zero value otherwise. func (c *CreateUpdateEnvironment) GetCanAdminsBypass() bool { if c == nil || c.CanAdminsBypass == nil { @@ -7158,6 +9814,14 @@ func (c *CreateUpdateEnvironment) GetPreventSelfReview() bool { return *c.PreventSelfReview } +// GetReviewers returns the Reviewers slice if it's non-nil, nil otherwise. +func (c *CreateUpdateEnvironment) GetReviewers() []*EnvReviewers { + if c == nil || c.Reviewers == nil { + return nil + } + return c.Reviewers +} + // GetWaitTimer returns the WaitTimer field if it's non-nil, zero value otherwise. func (c *CreateUpdateEnvironment) GetWaitTimer() int { if c == nil || c.WaitTimer == nil { @@ -7174,6 +9838,14 @@ func (c *CreateUserRequest) GetEmail() string { return *c.Email } +// GetLogin returns the Login field. +func (c *CreateUserRequest) GetLogin() string { + if c == nil { + return "" + } + return c.Login +} + // GetSuspended returns the Suspended field if it's non-nil, zero value otherwise. func (c *CreateUserRequest) GetSuspended() bool { if c == nil || c.Suspended == nil { @@ -7190,6 +9862,14 @@ func (c *CreateWorkflowDispatchEventRequest) GetInputs() map[string]any { return c.Inputs } +// GetRef returns the Ref field. +func (c *CreateWorkflowDispatchEventRequest) GetRef() string { + if c == nil { + return "" + } + return c.Ref +} + // GetReturnRunDetails returns the ReturnRunDetails field if it's non-nil, zero value otherwise. func (c *CreateWorkflowDispatchEventRequest) GetReturnRunDetails() bool { if c == nil || c.ReturnRunDetails == nil { @@ -7206,6 +9886,14 @@ func (c *CreationInfo) GetCreated() Timestamp { return *c.Created } +// GetCreators returns the Creators slice if it's non-nil, nil otherwise. +func (c *CreationInfo) GetCreators() []string { + if c == nil || c.Creators == nil { + return nil + } + return c.Creators +} + // GetAuthorizedCredentialExpiresAt returns the AuthorizedCredentialExpiresAt field if it's non-nil, zero value otherwise. func (c *CredentialAuthorization) GetAuthorizedCredentialExpiresAt() Timestamp { if c == nil || c.AuthorizedCredentialExpiresAt == nil { @@ -7286,6 +9974,14 @@ func (c *CredentialAuthorization) GetLogin() string { return *c.Login } +// GetScopes returns the Scopes slice if it's non-nil, nil otherwise. +func (c *CredentialAuthorization) GetScopes() []string { + if c == nil || c.Scopes == nil { + return nil + } + return c.Scopes +} + // GetTokenLastEight returns the TokenLastEight field if it's non-nil, zero value otherwise. func (c *CredentialAuthorization) GetTokenLastEight() string { if c == nil || c.TokenLastEight == nil { @@ -7294,6 +9990,14 @@ func (c *CredentialAuthorization) GetTokenLastEight() string { return *c.TokenLastEight } +// GetLogin returns the Login field. +func (c *CredentialAuthorizationsListOptions) GetLogin() string { + if c == nil { + return "" + } + return c.Login +} + // GetType returns the Type field if it's non-nil, zero value otherwise. func (c *Credit) GetType() string { if c == nil || c.Type == nil { @@ -7430,6 +10134,14 @@ func (c *CustomOrgRole) GetOrg() *Organization { return c.Org } +// GetPermissions returns the Permissions slice if it's non-nil, nil otherwise. +func (c *CustomOrgRole) GetPermissions() []string { + if c == nil || c.Permissions == nil { + return nil + } + return c.Permissions +} + // GetSource returns the Source field if it's non-nil, zero value otherwise. func (c *CustomOrgRole) GetSource() string { if c == nil || c.Source == nil { @@ -7462,6 +10174,22 @@ func (c *CustomPatternBackfillScan) GetPatternSlug() string { return *c.PatternSlug } +// GetAllowedValues returns the AllowedValues slice if it's non-nil, nil otherwise. +func (c *CustomProperty) GetAllowedValues() []string { + if c == nil || c.AllowedValues == nil { + return nil + } + return c.AllowedValues +} + +// GetDefaultValue returns the DefaultValue field. +func (c *CustomProperty) GetDefaultValue() any { + if c == nil { + return nil + } + return c.DefaultValue +} + // GetDescription returns the Description field if it's non-nil, zero value otherwise. func (c *CustomProperty) GetDescription() string { if c == nil || c.Description == nil { @@ -7510,6 +10238,14 @@ func (c *CustomProperty) GetValuesEditableBy() string { return *c.ValuesEditableBy } +// GetValueType returns the ValueType field. +func (c *CustomProperty) GetValueType() PropertyValueType { + if c == nil { + return "" + } + return c.ValueType +} + // GetAction returns the Action field if it's non-nil, zero value otherwise. func (c *CustomPropertyEvent) GetAction() string { if c == nil || c.Action == nil { @@ -7558,6 +10294,22 @@ func (c *CustomPropertyEvent) GetSender() *User { return c.Sender } +// GetPropertyName returns the PropertyName field. +func (c *CustomPropertyValue) GetPropertyName() string { + if c == nil { + return "" + } + return c.PropertyName +} + +// GetValue returns the Value field. +func (c *CustomPropertyValue) GetValue() any { + if c == nil { + return nil + } + return c.Value +} + // GetAction returns the Action field if it's non-nil, zero value otherwise. func (c *CustomPropertyValuesEvent) GetAction() string { if c == nil || c.Action == nil { @@ -7582,6 +10334,22 @@ func (c *CustomPropertyValuesEvent) GetInstallation() *Installation { return c.Installation } +// GetNewPropertyValues returns the NewPropertyValues slice if it's non-nil, nil otherwise. +func (c *CustomPropertyValuesEvent) GetNewPropertyValues() []*CustomPropertyValue { + if c == nil || c.NewPropertyValues == nil { + return nil + } + return c.NewPropertyValues +} + +// GetOldPropertyValues returns the OldPropertyValues slice if it's non-nil, nil otherwise. +func (c *CustomPropertyValuesEvent) GetOldPropertyValues() []*CustomPropertyValue { + if c == nil || c.OldPropertyValues == nil { + return nil + } + return c.OldPropertyValues +} + // GetOrg returns the Org field. func (c *CustomPropertyValuesEvent) GetOrg() *Organization { if c == nil { @@ -7654,6 +10422,14 @@ func (c *CustomRepoRoles) GetOrg() *Organization { return c.Org } +// GetPermissions returns the Permissions slice if it's non-nil, nil otherwise. +func (c *CustomRepoRoles) GetPermissions() []string { + if c == nil || c.Permissions == nil { + return nil + } + return c.Permissions +} + // GetUpdatedAt returns the UpdatedAt field if it's non-nil, zero value otherwise. func (c *CustomRepoRoles) GetUpdatedAt() Timestamp { if c == nil || c.UpdatedAt == nil { @@ -7662,6 +10438,38 @@ func (c *CustomRepoRoles) GetUpdatedAt() Timestamp { return *c.UpdatedAt } +// GetEncryptedToken returns the EncryptedToken field. +func (d *DatadogConfig) GetEncryptedToken() string { + if d == nil { + return "" + } + return d.EncryptedToken +} + +// GetKeyID returns the KeyID field. +func (d *DatadogConfig) GetKeyID() string { + if d == nil { + return "" + } + return d.KeyID +} + +// GetSite returns the Site field. +func (d *DatadogConfig) GetSite() string { + if d == nil { + return "" + } + return d.Site +} + +// GetLanguages returns the Languages slice if it's non-nil, nil otherwise. +func (d *DefaultSetupConfiguration) GetLanguages() []string { + if d == nil || d.Languages == nil { + return nil + } + return d.Languages +} + // GetQuerySuite returns the QuerySuite field if it's non-nil, zero value otherwise. func (d *DefaultSetupConfiguration) GetQuerySuite() string { if d == nil || d.QuerySuite == nil { @@ -7750,6 +10558,38 @@ func (d *DeleteAnalysis) GetNextAnalysisURL() string { return *d.NextAnalysisURL } +// GetCostCenterState returns the CostCenterState field. +func (d *DeleteCostCenterResponse) GetCostCenterState() string { + if d == nil { + return "" + } + return d.CostCenterState +} + +// GetID returns the ID field. +func (d *DeleteCostCenterResponse) GetID() string { + if d == nil { + return "" + } + return d.ID +} + +// GetMessage returns the Message field. +func (d *DeleteCostCenterResponse) GetMessage() string { + if d == nil { + return "" + } + return d.Message +} + +// GetName returns the Name field. +func (d *DeleteCostCenterResponse) GetName() string { + if d == nil { + return "" + } + return d.Name +} + // GetInstallation returns the Installation field. func (d *DeleteEvent) GetInstallation() *Installation { if d == nil { @@ -8006,6 +10846,54 @@ func (d *DependabotAlertState) GetDismissedReason() string { return *d.DismissedReason } +// GetState returns the State field. +func (d *DependabotAlertState) GetState() string { + if d == nil { + return "" + } + return d.State +} + +// GetEncryptedValue returns the EncryptedValue field. +func (d *DependabotEncryptedSecret) GetEncryptedValue() string { + if d == nil { + return "" + } + return d.EncryptedValue +} + +// GetKeyID returns the KeyID field. +func (d *DependabotEncryptedSecret) GetKeyID() string { + if d == nil { + return "" + } + return d.KeyID +} + +// GetName returns the Name field. +func (d *DependabotEncryptedSecret) GetName() string { + if d == nil { + return "" + } + return d.Name +} + +// GetSelectedRepositoryIDs returns the SelectedRepositoryIDs field. +func (d *DependabotEncryptedSecret) GetSelectedRepositoryIDs() DependabotSecretsSelectedRepoIDs { + if d == nil { + return nil + } + return d.SelectedRepositoryIDs +} + +// GetVisibility returns the Visibility field. +func (d *DependabotEncryptedSecret) GetVisibility() string { + if d == nil { + return "" + } + return d.Visibility +} + // GetCVEID returns the CVEID field if it's non-nil, zero value otherwise. func (d *DependabotSecurityAdvisory) GetCVEID() string { if d == nil || d.CVEID == nil { @@ -8022,6 +10910,14 @@ func (d *DependabotSecurityAdvisory) GetCVSS() *AdvisoryCVSS { return d.CVSS } +// GetCWEs returns the CWEs slice if it's non-nil, nil otherwise. +func (d *DependabotSecurityAdvisory) GetCWEs() []*AdvisoryCWEs { + if d == nil || d.CWEs == nil { + return nil + } + return d.CWEs +} + // GetDescription returns the Description field if it's non-nil, zero value otherwise. func (d *DependabotSecurityAdvisory) GetDescription() string { if d == nil || d.Description == nil { @@ -8046,6 +10942,14 @@ func (d *DependabotSecurityAdvisory) GetGHSAID() string { return *d.GHSAID } +// GetIdentifiers returns the Identifiers slice if it's non-nil, nil otherwise. +func (d *DependabotSecurityAdvisory) GetIdentifiers() []*AdvisoryIdentifier { + if d == nil || d.Identifiers == nil { + return nil + } + return d.Identifiers +} + // GetPublishedAt returns the PublishedAt field if it's non-nil, zero value otherwise. func (d *DependabotSecurityAdvisory) GetPublishedAt() Timestamp { if d == nil || d.PublishedAt == nil { @@ -8054,6 +10958,14 @@ func (d *DependabotSecurityAdvisory) GetPublishedAt() Timestamp { return *d.PublishedAt } +// GetReferences returns the References slice if it's non-nil, nil otherwise. +func (d *DependabotSecurityAdvisory) GetReferences() []*AdvisoryReference { + if d == nil || d.References == nil { + return nil + } + return d.References +} + // GetSeverity returns the Severity field if it's non-nil, zero value otherwise. func (d *DependabotSecurityAdvisory) GetSeverity() string { if d == nil || d.Severity == nil { @@ -8078,6 +10990,14 @@ func (d *DependabotSecurityAdvisory) GetUpdatedAt() Timestamp { return *d.UpdatedAt } +// GetVulnerabilities returns the Vulnerabilities slice if it's non-nil, nil otherwise. +func (d *DependabotSecurityAdvisory) GetVulnerabilities() []*AdvisoryVulnerability { + if d == nil || d.Vulnerabilities == nil { + return nil + } + return d.Vulnerabilities +} + // GetWithdrawnAt returns the WithdrawnAt field if it's non-nil, zero value otherwise. func (d *DependabotSecurityAdvisory) GetWithdrawnAt() Timestamp { if d == nil || d.WithdrawnAt == nil { @@ -8174,6 +11094,14 @@ func (d *DependencyGraphSnapshot) GetSha() string { return *d.Sha } +// GetVersion returns the Version field. +func (d *DependencyGraphSnapshot) GetVersion() int { + if d == nil { + return 0 + } + return d.Version +} + // GetCreatedAt returns the CreatedAt field if it's non-nil, zero value otherwise. func (d *DependencyGraphSnapshotCreationData) GetCreatedAt() Timestamp { if d == nil || d.CreatedAt == nil { @@ -8182,6 +11110,14 @@ func (d *DependencyGraphSnapshotCreationData) GetCreatedAt() Timestamp { return *d.CreatedAt } +// GetID returns the ID field. +func (d *DependencyGraphSnapshotCreationData) GetID() int64 { + if d == nil { + return 0 + } + return d.ID +} + // GetMessage returns the Message field if it's non-nil, zero value otherwise. func (d *DependencyGraphSnapshotCreationData) GetMessage() string { if d == nil || d.Message == nil { @@ -8278,6 +11214,14 @@ func (d *DependencyGraphSnapshotManifestFile) GetSourceLocation() string { return *d.SourceLocation } +// GetDependencies returns the Dependencies slice if it's non-nil, nil otherwise. +func (d *DependencyGraphSnapshotResolvedDependency) GetDependencies() []string { + if d == nil || d.Dependencies == nil { + return nil + } + return d.Dependencies +} + // GetMetadata returns the Metadata map if it's non-nil, an empty map otherwise. func (d *DependencyGraphSnapshotResolvedDependency) GetMetadata() map[string]any { if d == nil || d.Metadata == nil { @@ -8406,6 +11350,14 @@ func (d *Deployment) GetNodeID() string { return *d.NodeID } +// GetPayload returns the Payload field. +func (d *Deployment) GetPayload() json.RawMessage { + if d == nil { + return json.RawMessage{} + } + return d.Payload +} + // GetRef returns the Ref field if it's non-nil, zero value otherwise. func (d *Deployment) GetRef() string { if d == nil || d.Ref == nil { @@ -8510,6 +11462,14 @@ func (d *DeploymentBranchPolicyRequest) GetType() string { return *d.Type } +// GetBranchPolicies returns the BranchPolicies slice if it's non-nil, nil otherwise. +func (d *DeploymentBranchPolicyResponse) GetBranchPolicies() []*DeploymentBranchPolicy { + if d == nil || d.BranchPolicies == nil { + return nil + } + return d.BranchPolicies +} + // GetTotalCount returns the TotalCount field if it's non-nil, zero value otherwise. func (d *DeploymentBranchPolicyResponse) GetTotalCount() int { if d == nil || d.TotalCount == nil { @@ -8630,6 +11590,14 @@ func (d *DeploymentProtectionRuleEvent) GetOrganization() *Organization { return d.Organization } +// GetPullRequests returns the PullRequests slice if it's non-nil, nil otherwise. +func (d *DeploymentProtectionRuleEvent) GetPullRequests() []*PullRequest { + if d == nil || d.PullRequests == nil { + return nil + } + return d.PullRequests +} + // GetRepo returns the Repo field. func (d *DeploymentProtectionRuleEvent) GetRepo() *Repository { if d == nil { @@ -8670,6 +11638,14 @@ func (d *DeploymentRequest) GetEnvironment() string { return *d.Environment } +// GetPayload returns the Payload field. +func (d *DeploymentRequest) GetPayload() any { + if d == nil { + return nil + } + return d.Payload +} + // GetProductionEnvironment returns the ProductionEnvironment field if it's non-nil, zero value otherwise. func (d *DeploymentRequest) GetProductionEnvironment() bool { if d == nil || d.ProductionEnvironment == nil { @@ -8782,6 +11758,14 @@ func (d *DeploymentReviewEvent) GetRequester() *User { return d.Requester } +// GetReviewers returns the Reviewers slice if it's non-nil, nil otherwise. +func (d *DeploymentReviewEvent) GetReviewers() []*RequiredReviewer { + if d == nil || d.Reviewers == nil { + return nil + } + return d.Reviewers +} + // GetSender returns the Sender field. func (d *DeploymentReviewEvent) GetSender() *User { if d == nil { @@ -8806,6 +11790,14 @@ func (d *DeploymentReviewEvent) GetWorkflowJobRun() *WorkflowJobRun { return d.WorkflowJobRun } +// GetWorkflowJobRuns returns the WorkflowJobRuns slice if it's non-nil, nil otherwise. +func (d *DeploymentReviewEvent) GetWorkflowJobRuns() []*WorkflowJobRun { + if d == nil || d.WorkflowJobRuns == nil { + return nil + } + return d.WorkflowJobRuns +} + // GetWorkflowRun returns the WorkflowRun field. func (d *DeploymentReviewEvent) GetWorkflowRun() *WorkflowRun { if d == nil { @@ -8814,6 +11806,38 @@ func (d *DeploymentReviewEvent) GetWorkflowRun() *WorkflowRun { return d.WorkflowRun } +// GetEnvironment returns the Environment field. +func (d *DeploymentsListOptions) GetEnvironment() string { + if d == nil { + return "" + } + return d.Environment +} + +// GetRef returns the Ref field. +func (d *DeploymentsListOptions) GetRef() string { + if d == nil { + return "" + } + return d.Ref +} + +// GetSHA returns the SHA field. +func (d *DeploymentsListOptions) GetSHA() string { + if d == nil { + return "" + } + return d.SHA +} + +// GetTask returns the Task field. +func (d *DeploymentsListOptions) GetTask() string { + if d == nil { + return "" + } + return d.Task +} + // GetCreatedAt returns the CreatedAt field if it's non-nil, zero value otherwise. func (d *DeploymentStatus) GetCreatedAt() Timestamp { if d == nil || d.CreatedAt == nil { @@ -9046,6 +12070,30 @@ func (d *DevContainer) GetName() string { return *d.Name } +// GetPath returns the Path field. +func (d *DevContainer) GetPath() string { + if d == nil { + return "" + } + return d.Path +} + +// GetDevcontainers returns the Devcontainers slice if it's non-nil, nil otherwise. +func (d *DevContainerConfigurations) GetDevcontainers() []*DevContainer { + if d == nil || d.Devcontainers == nil { + return nil + } + return d.Devcontainers +} + +// GetTotalCount returns the TotalCount field. +func (d *DevContainerConfigurations) GetTotalCount() int64 { + if d == nil { + return 0 + } + return d.TotalCount +} + // GetActiveLockReason returns the ActiveLockReason field if it's non-nil, zero value otherwise. func (d *Discussion) GetActiveLockReason() string { if d == nil || d.ActiveLockReason == nil { @@ -9438,6 +12486,14 @@ func (d *DiscussionCommentEvent) GetSender() *User { return d.Sender } +// GetDirection returns the Direction field. +func (d *DiscussionCommentListOptions) GetDirection() string { + if d == nil { + return "" + } + return d.Direction +} + // GetAction returns the Action field if it's non-nil, zero value otherwise. func (d *DiscussionEvent) GetAction() string { if d == nil || d.Action == nil { @@ -9486,6 +12542,38 @@ func (d *DiscussionEvent) GetSender() *User { return d.Sender } +// GetDirection returns the Direction field. +func (d *DiscussionListOptions) GetDirection() string { + if d == nil { + return "" + } + return d.Direction +} + +// GetApps returns the Apps slice if it's non-nil, nil otherwise. +func (d *DismissalRestrictions) GetApps() []*App { + if d == nil || d.Apps == nil { + return nil + } + return d.Apps +} + +// GetTeams returns the Teams slice if it's non-nil, nil otherwise. +func (d *DismissalRestrictions) GetTeams() []*Team { + if d == nil || d.Teams == nil { + return nil + } + return d.Teams +} + +// GetUsers returns the Users slice if it's non-nil, nil otherwise. +func (d *DismissalRestrictions) GetUsers() []*User { + if d == nil || d.Users == nil { + return nil + } + return d.Users +} + // GetApps returns the Apps field if it's non-nil, zero value otherwise. func (d *DismissalRestrictionsRequest) GetApps() []string { if d == nil || d.Apps == nil { @@ -9558,6 +12646,14 @@ func (d *DispatchRequestOptions) GetClientPayload() json.RawMessage { return *d.ClientPayload } +// GetEventType returns the EventType field. +func (d *DispatchRequestOptions) GetEventType() string { + if d == nil { + return "" + } + return d.EventType +} + // GetBody returns the Body field if it's non-nil, zero value otherwise. func (d *DraftReviewComment) GetBody() string { if d == nil || d.Body == nil { @@ -9742,6 +12838,54 @@ func (e *EditTitle) GetFrom() string { return *e.From } +// GetFrom returns the From slice if it's non-nil, nil otherwise. +func (e *EditTopics) GetFrom() []string { + if e == nil || e.From == nil { + return nil + } + return e.From +} + +// GetEncryptedValue returns the EncryptedValue field. +func (e *EncryptedSecret) GetEncryptedValue() string { + if e == nil { + return "" + } + return e.EncryptedValue +} + +// GetKeyID returns the KeyID field. +func (e *EncryptedSecret) GetKeyID() string { + if e == nil { + return "" + } + return e.KeyID +} + +// GetName returns the Name field. +func (e *EncryptedSecret) GetName() string { + if e == nil { + return "" + } + return e.Name +} + +// GetSelectedRepositoryIDs returns the SelectedRepositoryIDs field. +func (e *EncryptedSecret) GetSelectedRepositoryIDs() SelectedRepoIDs { + if e == nil { + return nil + } + return e.SelectedRepositoryIDs +} + +// GetVisibility returns the Visibility field. +func (e *EncryptedSecret) GetVisibility() string { + if e == nil { + return "" + } + return e.Visibility +} + // GetAvatarURL returns the AvatarURL field if it's non-nil, zero value otherwise. func (e *Enterprise) GetAvatarURL() string { if e == nil || e.AvatarURL == nil { @@ -9886,6 +13030,14 @@ func (e *EnterpriseBudget) GetPreventFurtherUsage() bool { return *e.PreventFurtherUsage } +// GetAlertRecipients returns the AlertRecipients slice if it's non-nil, nil otherwise. +func (e *EnterpriseBudgetAlerting) GetAlertRecipients() []string { + if e == nil || e.AlertRecipients == nil { + return nil + } + return e.AlertRecipients +} + // GetWillAlert returns the WillAlert field if it's non-nil, zero value otherwise. func (e *EnterpriseBudgetAlerting) GetWillAlert() bool { if e == nil || e.WillAlert == nil { @@ -9894,6 +13046,30 @@ func (e *EnterpriseBudgetAlerting) GetWillAlert() bool { return *e.WillAlert } +// GetTotalSeatsConsumed returns the TotalSeatsConsumed field. +func (e *EnterpriseConsumedLicenses) GetTotalSeatsConsumed() int { + if e == nil { + return 0 + } + return e.TotalSeatsConsumed +} + +// GetTotalSeatsPurchased returns the TotalSeatsPurchased field. +func (e *EnterpriseConsumedLicenses) GetTotalSeatsPurchased() int { + if e == nil { + return 0 + } + return e.TotalSeatsPurchased +} + +// GetUsers returns the Users slice if it's non-nil, nil otherwise. +func (e *EnterpriseConsumedLicenses) GetUsers() []*EnterpriseLicensedUsers { + if e == nil || e.Users == nil { + return nil + } + return e.Users +} + // GetBudgetAlerting returns the BudgetAlerting field. func (e *EnterpriseCreateBudget) GetBudgetAlerting() *EnterpriseBudgetAlerting { if e == nil { @@ -9902,6 +13078,14 @@ func (e *EnterpriseCreateBudget) GetBudgetAlerting() *EnterpriseBudgetAlerting { return e.BudgetAlerting } +// GetBudgetAmount returns the BudgetAmount field. +func (e *EnterpriseCreateBudget) GetBudgetAmount() int { + if e == nil { + return 0 + } + return e.BudgetAmount +} + // GetBudgetEntityName returns the BudgetEntityName field if it's non-nil, zero value otherwise. func (e *EnterpriseCreateBudget) GetBudgetEntityName() string { if e == nil || e.BudgetEntityName == nil { @@ -9918,6 +13102,30 @@ func (e *EnterpriseCreateBudget) GetBudgetProductSKU() string { return *e.BudgetProductSKU } +// GetBudgetScope returns the BudgetScope field. +func (e *EnterpriseCreateBudget) GetBudgetScope() string { + if e == nil { + return "" + } + return e.BudgetScope +} + +// GetBudgetType returns the BudgetType field. +func (e *EnterpriseCreateBudget) GetBudgetType() string { + if e == nil { + return "" + } + return e.BudgetType +} + +// GetPreventFurtherUsage returns the PreventFurtherUsage field. +func (e *EnterpriseCreateBudget) GetPreventFurtherUsage() bool { + if e == nil { + return false + } + return e.PreventFurtherUsage +} + // GetBudget returns the Budget field. func (e *EnterpriseCreateOrUpdateBudgetResponse) GetBudget() *EnterpriseBudget { if e == nil { @@ -9926,6 +13134,14 @@ func (e *EnterpriseCreateOrUpdateBudgetResponse) GetBudget() *EnterpriseBudget { return e.Budget } +// GetMessage returns the Message field. +func (e *EnterpriseCreateOrUpdateBudgetResponse) GetMessage() string { + if e == nil { + return "" + } + return e.Message +} + // GetOrganizationID returns the OrganizationID field if it's non-nil, zero value otherwise. func (e *EnterpriseCustomPropertiesValues) GetOrganizationID() int64 { if e == nil || e.OrganizationID == nil { @@ -9942,6 +13158,62 @@ func (e *EnterpriseCustomPropertiesValues) GetOrganizationLogin() string { return *e.OrganizationLogin } +// GetProperties returns the Properties slice if it's non-nil, nil otherwise. +func (e *EnterpriseCustomPropertiesValues) GetProperties() []*CustomPropertyValue { + if e == nil || e.Properties == nil { + return nil + } + return e.Properties +} + +// GetProperties returns the Properties slice if it's non-nil, nil otherwise. +func (e *EnterpriseCustomPropertySchema) GetProperties() []*CustomProperty { + if e == nil || e.Properties == nil { + return nil + } + return e.Properties +} + +// GetOrganizationLogin returns the OrganizationLogin slice if it's non-nil, nil otherwise. +func (e *EnterpriseCustomPropertyValuesRequest) GetOrganizationLogin() []string { + if e == nil || e.OrganizationLogin == nil { + return nil + } + return e.OrganizationLogin +} + +// GetProperties returns the Properties slice if it's non-nil, nil otherwise. +func (e *EnterpriseCustomPropertyValuesRequest) GetProperties() []*CustomPropertyValue { + if e == nil || e.Properties == nil { + return nil + } + return e.Properties +} + +// GetID returns the ID field. +func (e *EnterpriseDeleteBudgetResponse) GetID() string { + if e == nil { + return "" + } + return e.ID +} + +// GetMessage returns the Message field. +func (e *EnterpriseDeleteBudgetResponse) GetMessage() string { + if e == nil { + return "" + } + return e.Message +} + +// GetEnterpriseServerEmails returns the EnterpriseServerEmails slice if it's non-nil, nil otherwise. +func (e *EnterpriseLicensedUsers) GetEnterpriseServerEmails() []string { + if e == nil || e.EnterpriseServerEmails == nil { + return nil + } + return e.EnterpriseServerEmails +} + // GetEnterpriseServerUser returns the EnterpriseServerUser field if it's non-nil, zero value otherwise. func (e *EnterpriseLicensedUsers) GetEnterpriseServerUser() bool { if e == nil || e.EnterpriseServerUser == nil { @@ -9950,6 +13222,38 @@ func (e *EnterpriseLicensedUsers) GetEnterpriseServerUser() bool { return *e.EnterpriseServerUser } +// GetEnterpriseServerUserIDs returns the EnterpriseServerUserIDs slice if it's non-nil, nil otherwise. +func (e *EnterpriseLicensedUsers) GetEnterpriseServerUserIDs() []string { + if e == nil || e.EnterpriseServerUserIDs == nil { + return nil + } + return e.EnterpriseServerUserIDs +} + +// GetGithubComEnterpriseRoles returns the GithubComEnterpriseRoles slice if it's non-nil, nil otherwise. +func (e *EnterpriseLicensedUsers) GetGithubComEnterpriseRoles() []string { + if e == nil || e.GithubComEnterpriseRoles == nil { + return nil + } + return e.GithubComEnterpriseRoles +} + +// GetGithubComLogin returns the GithubComLogin field. +func (e *EnterpriseLicensedUsers) GetGithubComLogin() string { + if e == nil { + return "" + } + return e.GithubComLogin +} + +// GetGithubComMemberRoles returns the GithubComMemberRoles slice if it's non-nil, nil otherwise. +func (e *EnterpriseLicensedUsers) GetGithubComMemberRoles() []string { + if e == nil || e.GithubComMemberRoles == nil { + return nil + } + return e.GithubComMemberRoles +} + // GetGithubComName returns the GithubComName field if it's non-nil, zero value otherwise. func (e *EnterpriseLicensedUsers) GetGithubComName() string { if e == nil || e.GithubComName == nil { @@ -9958,6 +13262,14 @@ func (e *EnterpriseLicensedUsers) GetGithubComName() string { return *e.GithubComName } +// GetGithubComOrgsWithPendingInvites returns the GithubComOrgsWithPendingInvites slice if it's non-nil, nil otherwise. +func (e *EnterpriseLicensedUsers) GetGithubComOrgsWithPendingInvites() []string { + if e == nil || e.GithubComOrgsWithPendingInvites == nil { + return nil + } + return e.GithubComOrgsWithPendingInvites +} + // GetGithubComProfile returns the GithubComProfile field if it's non-nil, zero value otherwise. func (e *EnterpriseLicensedUsers) GetGithubComProfile() string { if e == nil || e.GithubComProfile == nil { @@ -9982,6 +13294,38 @@ func (e *EnterpriseLicensedUsers) GetGithubComTwoFactorAuth() bool { return *e.GithubComTwoFactorAuth } +// GetGithubComUser returns the GithubComUser field. +func (e *EnterpriseLicensedUsers) GetGithubComUser() bool { + if e == nil { + return false + } + return e.GithubComUser +} + +// GetGithubComVerifiedDomainEmails returns the GithubComVerifiedDomainEmails slice if it's non-nil, nil otherwise. +func (e *EnterpriseLicensedUsers) GetGithubComVerifiedDomainEmails() []string { + if e == nil || e.GithubComVerifiedDomainEmails == nil { + return nil + } + return e.GithubComVerifiedDomainEmails +} + +// GetLicenseType returns the LicenseType field. +func (e *EnterpriseLicensedUsers) GetLicenseType() string { + if e == nil { + return "" + } + return e.LicenseType +} + +// GetTotalUserAccounts returns the TotalUserAccounts field. +func (e *EnterpriseLicensedUsers) GetTotalUserAccounts() int { + if e == nil { + return 0 + } + return e.TotalUserAccounts +} + // GetVisualStudioLicenseStatus returns the VisualStudioLicenseStatus field if it's non-nil, zero value otherwise. func (e *EnterpriseLicensedUsers) GetVisualStudioLicenseStatus() string { if e == nil || e.VisualStudioLicenseStatus == nil { @@ -9998,6 +13342,22 @@ func (e *EnterpriseLicensedUsers) GetVisualStudioSubscriptionEmail() string { return *e.VisualStudioSubscriptionEmail } +// GetVisualStudioSubscriptionUser returns the VisualStudioSubscriptionUser field. +func (e *EnterpriseLicensedUsers) GetVisualStudioSubscriptionUser() bool { + if e == nil { + return false + } + return e.VisualStudioSubscriptionUser +} + +// GetDescription returns the Description field. +func (e *EnterpriseLicenseSyncStatus) GetDescription() string { + if e == nil { + return "" + } + return e.Description +} + // GetProperties returns the Properties field. func (e *EnterpriseLicenseSyncStatus) GetProperties() *ServerInstanceProperties { if e == nil { @@ -10006,6 +13366,22 @@ func (e *EnterpriseLicenseSyncStatus) GetProperties() *ServerInstanceProperties return e.Properties } +// GetTitle returns the Title field. +func (e *EnterpriseLicenseSyncStatus) GetTitle() string { + if e == nil { + return "" + } + return e.Title +} + +// GetBudgets returns the Budgets slice if it's non-nil, nil otherwise. +func (e *EnterpriseListBudgets) GetBudgets() []*EnterpriseBudget { + if e == nil || e.Budgets == nil { + return nil + } + return e.Budgets +} + // GetHasNextPage returns the HasNextPage field if it's non-nil, zero value otherwise. func (e *EnterpriseListBudgets) GetHasNextPage() bool { if e == nil || e.HasNextPage == nil { @@ -10086,6 +13462,14 @@ func (e *EnterpriseRunnerGroup) GetSelectedOrganizationsURL() string { return *e.SelectedOrganizationsURL } +// GetSelectedWorkflows returns the SelectedWorkflows slice if it's non-nil, nil otherwise. +func (e *EnterpriseRunnerGroup) GetSelectedWorkflows() []string { + if e == nil || e.SelectedWorkflows == nil { + return nil + } + return e.SelectedWorkflows +} + // GetVisibility returns the Visibility field if it's non-nil, zero value otherwise. func (e *EnterpriseRunnerGroup) GetVisibility() string { if e == nil || e.Visibility == nil { @@ -10102,6 +13486,14 @@ func (e *EnterpriseRunnerGroup) GetWorkflowRestrictionsReadOnly() bool { return *e.WorkflowRestrictionsReadOnly } +// GetRunnerGroups returns the RunnerGroups slice if it's non-nil, nil otherwise. +func (e *EnterpriseRunnerGroups) GetRunnerGroups() []*EnterpriseRunnerGroup { + if e == nil || e.RunnerGroups == nil { + return nil + } + return e.RunnerGroups +} + // GetTotalCount returns the TotalCount field if it's non-nil, zero value otherwise. func (e *EnterpriseRunnerGroups) GetTotalCount() int { if e == nil || e.TotalCount == nil { @@ -10150,6 +13542,14 @@ func (e *EnterpriseSecurityAnalysisSettings) GetSecretScanningValidityChecksEnab return *e.SecretScanningValidityChecksEnabled } +// GetCreatedAt returns the CreatedAt field. +func (e *EnterpriseTeam) GetCreatedAt() Timestamp { + if e == nil { + return Timestamp{} + } + return e.CreatedAt +} + // GetDescription returns the Description field if it's non-nil, zero value otherwise. func (e *EnterpriseTeam) GetDescription() string { if e == nil || e.Description == nil { @@ -10158,6 +13558,46 @@ func (e *EnterpriseTeam) GetDescription() string { return *e.Description } +// GetGroupID returns the GroupID field. +func (e *EnterpriseTeam) GetGroupID() string { + if e == nil { + return "" + } + return e.GroupID +} + +// GetHTMLURL returns the HTMLURL field. +func (e *EnterpriseTeam) GetHTMLURL() string { + if e == nil { + return "" + } + return e.HTMLURL +} + +// GetID returns the ID field. +func (e *EnterpriseTeam) GetID() int64 { + if e == nil { + return 0 + } + return e.ID +} + +// GetMemberURL returns the MemberURL field. +func (e *EnterpriseTeam) GetMemberURL() string { + if e == nil { + return "" + } + return e.MemberURL +} + +// GetName returns the Name field. +func (e *EnterpriseTeam) GetName() string { + if e == nil { + return "" + } + return e.Name +} + // GetOrganizationSelectionType returns the OrganizationSelectionType field if it's non-nil, zero value otherwise. func (e *EnterpriseTeam) GetOrganizationSelectionType() string { if e == nil || e.OrganizationSelectionType == nil { @@ -10166,6 +13606,30 @@ func (e *EnterpriseTeam) GetOrganizationSelectionType() string { return *e.OrganizationSelectionType } +// GetSlug returns the Slug field. +func (e *EnterpriseTeam) GetSlug() string { + if e == nil { + return "" + } + return e.Slug +} + +// GetUpdatedAt returns the UpdatedAt field. +func (e *EnterpriseTeam) GetUpdatedAt() Timestamp { + if e == nil { + return Timestamp{} + } + return e.UpdatedAt +} + +// GetURL returns the URL field. +func (e *EnterpriseTeam) GetURL() string { + if e == nil { + return "" + } + return e.URL +} + // GetDescription returns the Description field if it's non-nil, zero value otherwise. func (e *EnterpriseTeamCreateOrUpdateRequest) GetDescription() string { if e == nil || e.Description == nil { @@ -10182,6 +13646,14 @@ func (e *EnterpriseTeamCreateOrUpdateRequest) GetGroupID() string { return *e.GroupID } +// GetName returns the Name field. +func (e *EnterpriseTeamCreateOrUpdateRequest) GetName() string { + if e == nil { + return "" + } + return e.Name +} + // GetOrganizationSelectionType returns the OrganizationSelectionType field if it's non-nil, zero value otherwise. func (e *EnterpriseTeamCreateOrUpdateRequest) GetOrganizationSelectionType() string { if e == nil || e.OrganizationSelectionType == nil { @@ -10318,6 +13790,14 @@ func (e *Environment) GetOwner() string { return *e.Owner } +// GetProtectionRules returns the ProtectionRules slice if it's non-nil, nil otherwise. +func (e *Environment) GetProtectionRules() []*ProtectionRule { + if e == nil || e.ProtectionRules == nil { + return nil + } + return e.ProtectionRules +} + // GetRepo returns the Repo field if it's non-nil, zero value otherwise. func (e *Environment) GetRepo() string { if e == nil || e.Repo == nil { @@ -10326,6 +13806,14 @@ func (e *Environment) GetRepo() string { return *e.Repo } +// GetReviewers returns the Reviewers slice if it's non-nil, nil otherwise. +func (e *Environment) GetReviewers() []*EnvReviewers { + if e == nil || e.Reviewers == nil { + return nil + } + return e.Reviewers +} + // GetUpdatedAt returns the UpdatedAt field if it's non-nil, zero value otherwise. func (e *Environment) GetUpdatedAt() Timestamp { if e == nil || e.UpdatedAt == nil { @@ -10350,6 +13838,14 @@ func (e *Environment) GetWaitTimer() int { return *e.WaitTimer } +// GetEnvironments returns the Environments slice if it's non-nil, nil otherwise. +func (e *EnvResponse) GetEnvironments() []*Environment { + if e == nil || e.Environments == nil { + return nil + } + return e.Environments +} + // GetTotalCount returns the TotalCount field if it's non-nil, zero value otherwise. func (e *EnvResponse) GetTotalCount() int { if e == nil || e.TotalCount == nil { @@ -10374,6 +13870,38 @@ func (e *EnvReviewers) GetType() string { return *e.Type } +// GetCode returns the Code field. +func (e *Error) GetCode() string { + if e == nil { + return "" + } + return e.Code +} + +// GetField returns the Field field. +func (e *Error) GetField() string { + if e == nil { + return "" + } + return e.Field +} + +// GetMessage returns the Message field. +func (e *Error) GetMessage() string { + if e == nil { + return "" + } + return e.Message +} + +// GetResource returns the Resource field. +func (e *Error) GetResource() string { + if e == nil { + return "" + } + return e.Resource +} + // GetCreatedAt returns the CreatedAt field if it's non-nil, zero value otherwise. func (e *ErrorBlock) GetCreatedAt() Timestamp { if e == nil || e.CreatedAt == nil { @@ -10382,6 +13910,14 @@ func (e *ErrorBlock) GetCreatedAt() Timestamp { return *e.CreatedAt } +// GetReason returns the Reason field. +func (e *ErrorBlock) GetReason() string { + if e == nil { + return "" + } + return e.Reason +} + // GetBlock returns the Block field. func (e *ErrorResponse) GetBlock() *ErrorBlock { if e == nil { @@ -10390,6 +13926,30 @@ func (e *ErrorResponse) GetBlock() *ErrorBlock { return e.Block } +// GetDocumentationURL returns the DocumentationURL field. +func (e *ErrorResponse) GetDocumentationURL() string { + if e == nil { + return "" + } + return e.DocumentationURL +} + +// GetErrors returns the Errors slice if it's non-nil, nil otherwise. +func (e *ErrorResponse) GetErrors() []Error { + if e == nil || e.Errors == nil { + return nil + } + return e.Errors +} + +// GetMessage returns the Message field. +func (e *ErrorResponse) GetMessage() string { + if e == nil { + return "" + } + return e.Message +} + // GetActor returns the Actor field. func (e *Event) GetActor() *User { if e == nil { @@ -10470,6 +14030,22 @@ func (e *ExternalGroup) GetGroupName() string { return *e.GroupName } +// GetMembers returns the Members slice if it's non-nil, nil otherwise. +func (e *ExternalGroup) GetMembers() []*ExternalGroupMember { + if e == nil || e.Members == nil { + return nil + } + return e.Members +} + +// GetTeams returns the Teams slice if it's non-nil, nil otherwise. +func (e *ExternalGroup) GetTeams() []*ExternalGroupTeam { + if e == nil || e.Teams == nil { + return nil + } + return e.Teams +} + // GetUpdatedAt returns the UpdatedAt field if it's non-nil, zero value otherwise. func (e *ExternalGroup) GetUpdatedAt() Timestamp { if e == nil || e.UpdatedAt == nil { @@ -10478,6 +14054,14 @@ func (e *ExternalGroup) GetUpdatedAt() Timestamp { return *e.UpdatedAt } +// GetGroups returns the Groups slice if it's non-nil, nil otherwise. +func (e *ExternalGroupList) GetGroups() []*ExternalGroup { + if e == nil || e.Groups == nil { + return nil + } + return e.Groups +} + // GetMemberEmail returns the MemberEmail field if it's non-nil, zero value otherwise. func (e *ExternalGroupMember) GetMemberEmail() string { if e == nil || e.MemberEmail == nil { @@ -10566,6 +14150,14 @@ func (f *FeedLinks) GetCurrentUserOrganization() *FeedLink { return f.CurrentUserOrganization } +// GetCurrentUserOrganizations returns the CurrentUserOrganizations slice if it's non-nil, nil otherwise. +func (f *FeedLinks) GetCurrentUserOrganizations() []*FeedLink { + if f == nil || f.CurrentUserOrganizations == nil { + return nil + } + return f.CurrentUserOrganizations +} + // GetCurrentUserPublic returns the CurrentUserPublic field. func (f *FeedLinks) GetCurrentUserPublic() *FeedLink { if f == nil { @@ -10606,6 +14198,14 @@ func (f *Feeds) GetCurrentUserOrganizationURL() string { return *f.CurrentUserOrganizationURL } +// GetCurrentUserOrganizationURLs returns the CurrentUserOrganizationURLs slice if it's non-nil, nil otherwise. +func (f *Feeds) GetCurrentUserOrganizationURLs() []string { + if f == nil || f.CurrentUserOrganizationURLs == nil { + return nil + } + return f.CurrentUserOrganizationURLs +} + // GetCurrentUserPublicURL returns the CurrentUserPublicURL field if it's non-nil, zero value otherwise. func (f *Feeds) GetCurrentUserPublicURL() string { if f == nil || f.CurrentUserPublicURL == nil { @@ -10670,6 +14270,14 @@ func (f *FieldValue) GetFieldType() string { return *f.FieldType } +// GetFrom returns the From field. +func (f *FieldValue) GetFrom() json.RawMessage { + if f == nil { + return json.RawMessage{} + } + return f.From +} + // GetProjectNumber returns the ProjectNumber field if it's non-nil, zero value otherwise. func (f *FieldValue) GetProjectNumber() int64 { if f == nil || f.ProjectNumber == nil { @@ -10678,6 +14286,46 @@ func (f *FieldValue) GetProjectNumber() int64 { return *f.ProjectNumber } +// GetTo returns the To field. +func (f *FieldValue) GetTo() json.RawMessage { + if f == nil { + return json.RawMessage{} + } + return f.To +} + +// GetParameters returns the Parameters field. +func (f *FileExtensionRestrictionBranchRule) GetParameters() FileExtensionRestrictionRuleParameters { + if f == nil { + return FileExtensionRestrictionRuleParameters{} + } + return f.Parameters +} + +// GetRestrictedFileExtensions returns the RestrictedFileExtensions slice if it's non-nil, nil otherwise. +func (f *FileExtensionRestrictionRuleParameters) GetRestrictedFileExtensions() []string { + if f == nil || f.RestrictedFileExtensions == nil { + return nil + } + return f.RestrictedFileExtensions +} + +// GetParameters returns the Parameters field. +func (f *FilePathRestrictionBranchRule) GetParameters() FilePathRestrictionRuleParameters { + if f == nil { + return FilePathRestrictionRuleParameters{} + } + return f.Parameters +} + +// GetRestrictedFilePaths returns the RestrictedFilePaths slice if it's non-nil, nil otherwise. +func (f *FilePathRestrictionRuleParameters) GetRestrictedFilePaths() []string { + if f == nil || f.RestrictedFilePaths == nil { + return nil + } + return f.RestrictedFilePaths +} + // GetCreatedAt returns the CreatedAt field if it's non-nil, zero value otherwise. func (f *FineGrainedPersonalAccessTokenRequest) GetCreatedAt() Timestamp { if f == nil || f.CreatedAt == nil { @@ -10686,6 +14334,62 @@ func (f *FineGrainedPersonalAccessTokenRequest) GetCreatedAt() Timestamp { return *f.CreatedAt } +// GetID returns the ID field. +func (f *FineGrainedPersonalAccessTokenRequest) GetID() int64 { + if f == nil { + return 0 + } + return f.ID +} + +// GetOwner returns the Owner field. +func (f *FineGrainedPersonalAccessTokenRequest) GetOwner() User { + if f == nil { + return User{} + } + return f.Owner +} + +// GetPermissions returns the Permissions field. +func (f *FineGrainedPersonalAccessTokenRequest) GetPermissions() PersonalAccessTokenPermissions { + if f == nil { + return PersonalAccessTokenPermissions{} + } + return f.Permissions +} + +// GetReason returns the Reason field. +func (f *FineGrainedPersonalAccessTokenRequest) GetReason() string { + if f == nil { + return "" + } + return f.Reason +} + +// GetRepositoriesURL returns the RepositoriesURL field. +func (f *FineGrainedPersonalAccessTokenRequest) GetRepositoriesURL() string { + if f == nil { + return "" + } + return f.RepositoriesURL +} + +// GetRepositorySelection returns the RepositorySelection field. +func (f *FineGrainedPersonalAccessTokenRequest) GetRepositorySelection() string { + if f == nil { + return "" + } + return f.RepositorySelection +} + +// GetTokenExpired returns the TokenExpired field. +func (f *FineGrainedPersonalAccessTokenRequest) GetTokenExpired() bool { + if f == nil { + return false + } + return f.TokenExpired +} + // GetTokenExpiresAt returns the TokenExpiresAt field if it's non-nil, zero value otherwise. func (f *FineGrainedPersonalAccessTokenRequest) GetTokenExpiresAt() Timestamp { if f == nil || f.TokenExpiresAt == nil { @@ -10694,6 +14398,14 @@ func (f *FineGrainedPersonalAccessTokenRequest) GetTokenExpiresAt() Timestamp { return *f.TokenExpiresAt } +// GetTokenID returns the TokenID field. +func (f *FineGrainedPersonalAccessTokenRequest) GetTokenID() int64 { + if f == nil { + return 0 + } + return f.TokenID +} + // GetTokenLastUsedAt returns the TokenLastUsedAt field if it's non-nil, zero value otherwise. func (f *FineGrainedPersonalAccessTokenRequest) GetTokenLastUsedAt() Timestamp { if f == nil || f.TokenLastUsedAt == nil { @@ -10702,6 +14414,14 @@ func (f *FineGrainedPersonalAccessTokenRequest) GetTokenLastUsedAt() Timestamp { return *f.TokenLastUsedAt } +// GetTokenName returns the TokenName field. +func (f *FineGrainedPersonalAccessTokenRequest) GetTokenName() string { + if f == nil { + return "" + } + return f.TokenName +} + // GetIdentifier returns the Identifier field if it's non-nil, zero value otherwise. func (f *FirstPatchedVersion) GetIdentifier() string { if f == nil || f.Identifier == nil { @@ -10742,6 +14462,30 @@ func (f *ForkEvent) GetSender() *User { return f.Sender } +// GetLabels returns the Labels slice if it's non-nil, nil otherwise. +func (g *GenerateJITConfigRequest) GetLabels() []string { + if g == nil || g.Labels == nil { + return nil + } + return g.Labels +} + +// GetName returns the Name field. +func (g *GenerateJITConfigRequest) GetName() string { + if g == nil { + return "" + } + return g.Name +} + +// GetRunnerGroupID returns the RunnerGroupID field. +func (g *GenerateJITConfigRequest) GetRunnerGroupID() int64 { + if g == nil { + return 0 + } + return g.RunnerGroupID +} + // GetWorkFolder returns the WorkFolder field if it's non-nil, zero value otherwise. func (g *GenerateJITConfigRequest) GetWorkFolder() string { if g == nil || g.WorkFolder == nil { @@ -10766,6 +14510,14 @@ func (g *GenerateNotesOptions) GetPreviousTagName() string { return *g.PreviousTagName } +// GetTagName returns the TagName field. +func (g *GenerateNotesOptions) GetTagName() string { + if g == nil { + return "" + } + return g.TagName +} + // GetTargetCommitish returns the TargetCommitish field if it's non-nil, zero value otherwise. func (g *GenerateNotesOptions) GetTargetCommitish() string { if g == nil || g.TargetCommitish == nil { @@ -10798,6 +14550,22 @@ func (g *GetAuditLogOptions) GetPhrase() string { return *g.Phrase } +// GetRef returns the Ref field. +func (g *GetCodeownersErrorsOptions) GetRef() string { + if g == nil { + return "" + } + return g.Ref +} + +// GetFields returns the Fields slice if it's non-nil, nil otherwise. +func (g *GetProjectItemOptions) GetFields() []int64 { + if g == nil || g.Fields == nil { + return nil + } + return g.Fields +} + // GetExcludedAttributes returns the ExcludedAttributes field if it's non-nil, zero value otherwise. func (g *GetProvisionedSCIMGroupEnterpriseOptions) GetExcludedAttributes() string { if g == nil || g.ExcludedAttributes == nil { @@ -11086,6 +14854,14 @@ func (g *GistFork) GetUser() *User { return g.User } +// GetSince returns the Since field. +func (g *GistListOptions) GetSince() time.Time { + if g == nil { + return time.Time{} + } + return g.Since +} + // GetPrivateGists returns the PrivateGists field if it's non-nil, zero value otherwise. func (g *GistStats) GetPrivateGists() int { if g == nil || g.PrivateGists == nil { @@ -11174,6 +14950,14 @@ func (g *GitObject) GetURL() string { return *g.URL } +// GetCredits returns the Credits slice if it's non-nil, nil otherwise. +func (g *GlobalSecurityAdvisory) GetCredits() []*Credit { + if g == nil || g.Credits == nil { + return nil + } + return g.Credits +} + // GetGithubReviewedAt returns the GithubReviewedAt field if it's non-nil, zero value otherwise. func (g *GlobalSecurityAdvisory) GetGithubReviewedAt() Timestamp { if g == nil || g.GithubReviewedAt == nil { @@ -11198,6 +14982,14 @@ func (g *GlobalSecurityAdvisory) GetNVDPublishedAt() Timestamp { return *g.NVDPublishedAt } +// GetReferences returns the References slice if it's non-nil, nil otherwise. +func (g *GlobalSecurityAdvisory) GetReferences() []string { + if g == nil || g.References == nil { + return nil + } + return g.References +} + // GetRepositoryAdvisoryURL returns the RepositoryAdvisoryURL field if it's non-nil, zero value otherwise. func (g *GlobalSecurityAdvisory) GetRepositoryAdvisoryURL() string { if g == nil || g.RepositoryAdvisoryURL == nil { @@ -11222,6 +15014,14 @@ func (g *GlobalSecurityAdvisory) GetType() string { return *g.Type } +// GetVulnerabilities returns the Vulnerabilities slice if it's non-nil, nil otherwise. +func (g *GlobalSecurityAdvisory) GetVulnerabilities() []*GlobalSecurityVulnerability { + if g == nil || g.Vulnerabilities == nil { + return nil + } + return g.Vulnerabilities +} + // GetFirstPatchedVersion returns the FirstPatchedVersion field if it's non-nil, zero value otherwise. func (g *GlobalSecurityVulnerability) GetFirstPatchedVersion() string { if g == nil || g.FirstPatchedVersion == nil { @@ -11238,6 +15038,14 @@ func (g *GlobalSecurityVulnerability) GetPackage() *VulnerabilityPackage { return g.Package } +// GetVulnerableFunctions returns the VulnerableFunctions slice if it's non-nil, nil otherwise. +func (g *GlobalSecurityVulnerability) GetVulnerableFunctions() []string { + if g == nil || g.VulnerableFunctions == nil { + return nil + } + return g.VulnerableFunctions +} + // GetVulnerableVersionRange returns the VulnerableVersionRange field if it's non-nil, zero value otherwise. func (g *GlobalSecurityVulnerability) GetVulnerableVersionRange() string { if g == nil || g.VulnerableVersionRange == nil { @@ -11262,6 +15070,14 @@ func (g *GollumEvent) GetOrg() *Organization { return g.Org } +// GetPages returns the Pages slice if it's non-nil, nil otherwise. +func (g *GollumEvent) GetPages() []*Page { + if g == nil || g.Pages == nil { + return nil + } + return g.Pages +} + // GetRepo returns the Repo field. func (g *GollumEvent) GetRepo() *Repository { if g == nil { @@ -11278,6 +15094,30 @@ func (g *GollumEvent) GetSender() *User { return g.Sender } +// GetBucket returns the Bucket field. +func (g *GoogleCloudConfig) GetBucket() string { + if g == nil { + return "" + } + return g.Bucket +} + +// GetEncryptedJSONCredentials returns the EncryptedJSONCredentials field. +func (g *GoogleCloudConfig) GetEncryptedJSONCredentials() string { + if g == nil { + return "" + } + return g.EncryptedJSONCredentials +} + +// GetKeyID returns the KeyID field. +func (g *GoogleCloudConfig) GetKeyID() string { + if g == nil { + return "" + } + return g.KeyID +} + // GetEmail returns the Email field if it's non-nil, zero value otherwise. func (g *GPGEmail) GetEmail() string { if g == nil || g.Email == nil { @@ -11334,6 +15174,14 @@ func (g *GPGKey) GetCreatedAt() Timestamp { return *g.CreatedAt } +// GetEmails returns the Emails slice if it's non-nil, nil otherwise. +func (g *GPGKey) GetEmails() []*GPGEmail { + if g == nil || g.Emails == nil { + return nil + } + return g.Emails +} + // GetExpiresAt returns the ExpiresAt field if it's non-nil, zero value otherwise. func (g *GPGKey) GetExpiresAt() Timestamp { if g == nil || g.ExpiresAt == nil { @@ -11382,6 +15230,14 @@ func (g *GPGKey) GetRawKey() string { return *g.RawKey } +// GetSubkeys returns the Subkeys slice if it's non-nil, nil otherwise. +func (g *GPGKey) GetSubkeys() []*GPGKey { + if g == nil || g.Subkeys == nil { + return nil + } + return g.Subkeys +} + // GetApp returns the App field. func (g *Grant) GetApp() *AuthorizationApp { if g == nil { @@ -11406,6 +15262,14 @@ func (g *Grant) GetID() int64 { return *g.ID } +// GetScopes returns the Scopes slice if it's non-nil, nil otherwise. +func (g *Grant) GetScopes() []string { + if g == nil || g.Scopes == nil { + return nil + } + return g.Scopes +} + // GetUpdatedAt returns the UpdatedAt field if it's non-nil, zero value otherwise. func (g *Grant) GetUpdatedAt() Timestamp { if g == nil || g.UpdatedAt == nil { @@ -11422,6 +15286,14 @@ func (g *Grant) GetURL() string { return *g.URL } +// GetAdded returns the Added slice if it's non-nil, nil otherwise. +func (h *HeadCommit) GetAdded() []string { + if h == nil || h.Added == nil { + return nil + } + return h.Added +} + // GetAuthor returns the Author field. func (h *HeadCommit) GetAuthor() *CommitAuthor { if h == nil { @@ -11462,6 +15334,22 @@ func (h *HeadCommit) GetMessage() string { return *h.Message } +// GetModified returns the Modified slice if it's non-nil, nil otherwise. +func (h *HeadCommit) GetModified() []string { + if h == nil || h.Modified == nil { + return nil + } + return h.Modified +} + +// GetRemoved returns the Removed slice if it's non-nil, nil otherwise. +func (h *HeadCommit) GetRemoved() []string { + if h == nil || h.Removed == nil { + return nil + } + return h.Removed +} + // GetSHA returns the SHA field if it's non-nil, zero value otherwise. func (h *HeadCommit) GetSHA() string { if h == nil || h.SHA == nil { @@ -11494,6 +15382,54 @@ func (h *HeadCommit) GetURL() string { return *h.URL } +// GetDomain returns the Domain field. +func (h *HecConfig) GetDomain() string { + if h == nil { + return "" + } + return h.Domain +} + +// GetEncryptedToken returns the EncryptedToken field. +func (h *HecConfig) GetEncryptedToken() string { + if h == nil { + return "" + } + return h.EncryptedToken +} + +// GetKeyID returns the KeyID field. +func (h *HecConfig) GetKeyID() string { + if h == nil { + return "" + } + return h.KeyID +} + +// GetPath returns the Path field. +func (h *HecConfig) GetPath() string { + if h == nil { + return "" + } + return h.Path +} + +// GetPort returns the Port field. +func (h *HecConfig) GetPort() uint16 { + if h == nil { + return 0 + } + return h.Port +} + +// GetSSLVerify returns the SSLVerify field. +func (h *HecConfig) GetSSLVerify() bool { + if h == nil { + return false + } + return h.SSLVerify +} + // GetActive returns the Active field if it's non-nil, zero value otherwise. func (h *Hook) GetActive() bool { if h == nil || h.Active == nil { @@ -11518,6 +15454,14 @@ func (h *Hook) GetCreatedAt() Timestamp { return *h.CreatedAt } +// GetEvents returns the Events slice if it's non-nil, nil otherwise. +func (h *Hook) GetEvents() []string { + if h == nil || h.Events == nil { + return nil + } + return h.Events +} + // GetID returns the ID field if it's non-nil, zero value otherwise. func (h *Hook) GetID() int64 { if h == nil || h.ID == nil { @@ -11630,12 +15574,12 @@ func (h *HookDelivery) GetDeliveredAt() Timestamp { return *h.DeliveredAt } -// GetDuration returns the Duration field. -func (h *HookDelivery) GetDuration() *float64 { - if h == nil { - return nil +// GetDuration returns the Duration field if it's non-nil, zero value otherwise. +func (h *HookDelivery) GetDuration() float64 { + if h == nil || h.Duration == nil { + return 0 } - return h.Duration + return *h.Duration } // GetEvent returns the Event field if it's non-nil, zero value otherwise. @@ -11838,6 +15782,14 @@ func (h *HostedRunner) GetPublicIPEnabled() bool { return *h.PublicIPEnabled } +// GetPublicIPs returns the PublicIPs slice if it's non-nil, nil otherwise. +func (h *HostedRunner) GetPublicIPs() []*HostedRunnerPublicIP { + if h == nil || h.PublicIPs == nil { + return nil + } + return h.PublicIPs +} + // GetRunnerGroupID returns the RunnerGroupID field if it's non-nil, zero value otherwise. func (h *HostedRunner) GetRunnerGroupID() int64 { if h == nil || h.RunnerGroupID == nil { @@ -11854,6 +15806,22 @@ func (h *HostedRunner) GetStatus() string { return *h.Status } +// GetID returns the ID field. +func (h *HostedRunnerImage) GetID() string { + if h == nil { + return "" + } + return h.ID +} + +// GetSource returns the Source field. +func (h *HostedRunnerImage) GetSource() string { + if h == nil { + return "" + } + return h.Source +} + // GetVersion returns the Version field if it's non-nil, zero value otherwise. func (h *HostedRunnerImage) GetVersion() string { if h == nil || h.Version == nil { @@ -11902,6 +15870,150 @@ func (h *HostedRunnerImageDetail) GetVersion() string { return *h.Version } +// GetImages returns the Images slice if it's non-nil, nil otherwise. +func (h *HostedRunnerImages) GetImages() []*HostedRunnerImageSpecs { + if h == nil || h.Images == nil { + return nil + } + return h.Images +} + +// GetTotalCount returns the TotalCount field. +func (h *HostedRunnerImages) GetTotalCount() int { + if h == nil { + return 0 + } + return h.TotalCount +} + +// GetDisplayName returns the DisplayName field. +func (h *HostedRunnerImageSpecs) GetDisplayName() string { + if h == nil { + return "" + } + return h.DisplayName +} + +// GetID returns the ID field. +func (h *HostedRunnerImageSpecs) GetID() string { + if h == nil { + return "" + } + return h.ID +} + +// GetPlatform returns the Platform field. +func (h *HostedRunnerImageSpecs) GetPlatform() string { + if h == nil { + return "" + } + return h.Platform +} + +// GetSizeGB returns the SizeGB field. +func (h *HostedRunnerImageSpecs) GetSizeGB() int { + if h == nil { + return 0 + } + return h.SizeGB +} + +// GetSource returns the Source field. +func (h *HostedRunnerImageSpecs) GetSource() string { + if h == nil { + return "" + } + return h.Source +} + +// GetCPUCores returns the CPUCores field. +func (h *HostedRunnerMachineSpec) GetCPUCores() int { + if h == nil { + return 0 + } + return h.CPUCores +} + +// GetID returns the ID field. +func (h *HostedRunnerMachineSpec) GetID() string { + if h == nil { + return "" + } + return h.ID +} + +// GetMemoryGB returns the MemoryGB field. +func (h *HostedRunnerMachineSpec) GetMemoryGB() int { + if h == nil { + return 0 + } + return h.MemoryGB +} + +// GetStorageGB returns the StorageGB field. +func (h *HostedRunnerMachineSpec) GetStorageGB() int { + if h == nil { + return 0 + } + return h.StorageGB +} + +// GetMachineSpecs returns the MachineSpecs slice if it's non-nil, nil otherwise. +func (h *HostedRunnerMachineSpecs) GetMachineSpecs() []*HostedRunnerMachineSpec { + if h == nil || h.MachineSpecs == nil { + return nil + } + return h.MachineSpecs +} + +// GetTotalCount returns the TotalCount field. +func (h *HostedRunnerMachineSpecs) GetTotalCount() int { + if h == nil { + return 0 + } + return h.TotalCount +} + +// GetPlatforms returns the Platforms slice if it's non-nil, nil otherwise. +func (h *HostedRunnerPlatforms) GetPlatforms() []string { + if h == nil || h.Platforms == nil { + return nil + } + return h.Platforms +} + +// GetTotalCount returns the TotalCount field. +func (h *HostedRunnerPlatforms) GetTotalCount() int { + if h == nil { + return 0 + } + return h.TotalCount +} + +// GetEnabled returns the Enabled field. +func (h *HostedRunnerPublicIP) GetEnabled() bool { + if h == nil { + return false + } + return h.Enabled +} + +// GetLength returns the Length field. +func (h *HostedRunnerPublicIP) GetLength() int { + if h == nil { + return 0 + } + return h.Length +} + +// GetPrefix returns the Prefix field. +func (h *HostedRunnerPublicIP) GetPrefix() string { + if h == nil { + return "" + } + return h.Prefix +} + // GetPublicIPs returns the PublicIPs field. func (h *HostedRunnerPublicIPLimits) GetPublicIPs() *PublicIPUsage { if h == nil { @@ -11910,6 +16022,46 @@ func (h *HostedRunnerPublicIPLimits) GetPublicIPs() *PublicIPUsage { return h.PublicIPs } +// GetRunners returns the Runners slice if it's non-nil, nil otherwise. +func (h *HostedRunners) GetRunners() []*HostedRunner { + if h == nil || h.Runners == nil { + return nil + } + return h.Runners +} + +// GetTotalCount returns the TotalCount field. +func (h *HostedRunners) GetTotalCount() int { + if h == nil { + return 0 + } + return h.TotalCount +} + +// GetContexts returns the Contexts slice if it's non-nil, nil otherwise. +func (h *Hovercard) GetContexts() []*UserContext { + if h == nil || h.Contexts == nil { + return nil + } + return h.Contexts +} + +// GetSubjectID returns the SubjectID field. +func (h *HovercardOptions) GetSubjectID() string { + if h == nil { + return "" + } + return h.SubjectID +} + +// GetSubjectType returns the SubjectType field. +func (h *HovercardOptions) GetSubjectType() string { + if h == nil { + return "" + } + return h.SubjectType +} + // GetGroupDescription returns the GroupDescription field if it's non-nil, zero value otherwise. func (i *IDPGroup) GetGroupDescription() string { if i == nil || i.GroupDescription == nil { @@ -11934,6 +16086,14 @@ func (i *IDPGroup) GetGroupName() string { return *i.GroupName } +// GetGroups returns the Groups slice if it's non-nil, nil otherwise. +func (i *IDPGroupList) GetGroups() []*IDPGroup { + if i == nil || i.Groups == nil { + return nil + } + return i.Groups +} + // GetEnforcedRepositories returns the EnforcedRepositories field if it's non-nil, zero value otherwise. func (i *ImmutableReleasePolicy) GetEnforcedRepositories() string { if i == nil || i.EnforcedRepositories == nil { @@ -11942,6 +16102,14 @@ func (i *ImmutableReleasePolicy) GetEnforcedRepositories() string { return *i.EnforcedRepositories } +// GetSelectedRepositoryIDs returns the SelectedRepositoryIDs slice if it's non-nil, nil otherwise. +func (i *ImmutableReleasePolicy) GetSelectedRepositoryIDs() []int64 { + if i == nil || i.SelectedRepositoryIDs == nil { + return nil + } + return i.SelectedRepositoryIDs +} + // GetEnforcedRepositories returns the EnforcedRepositories field if it's non-nil, zero value otherwise. func (i *ImmutableReleaseSettings) GetEnforcedRepositories() string { if i == nil || i.EnforcedRepositories == nil { @@ -11958,6 +16126,14 @@ func (i *ImmutableReleaseSettings) GetSelectedRepositoriesURL() string { return *i.SelectedRepositoriesURL } +// GetScopes returns the Scopes slice if it's non-nil, nil otherwise. +func (i *ImpersonateUserOptions) GetScopes() []string { + if i == nil || i.Scopes == nil { + return nil + } + return i.Scopes +} + // GetAuthorsCount returns the AuthorsCount field if it's non-nil, zero value otherwise. func (i *Import) GetAuthorsCount() int { if i == nil || i.AuthorsCount == nil { @@ -12046,6 +16222,14 @@ func (i *Import) GetPercent() int { return *i.Percent } +// GetProjectChoices returns the ProjectChoices slice if it's non-nil, nil otherwise. +func (i *Import) GetProjectChoices() []*Import { + if i == nil || i.ProjectChoices == nil { + return nil + } + return i.ProjectChoices +} + // GetPushPercent returns the PushPercent field if it's non-nil, zero value otherwise. func (i *Import) GetPushPercent() int { if i == nil || i.PushPercent == nil { @@ -12134,6 +16318,22 @@ func (i *Import) GetVCSUsername() string { return *i.VCSUsername } +// GetLicense returns the License field. +func (i *InitialConfigOptions) GetLicense() string { + if i == nil { + return "" + } + return i.License +} + +// GetPassword returns the Password field. +func (i *InitialConfigOptions) GetPassword() string { + if i == nil { + return "" + } + return i.Password +} + // GetAccessibleRepositoriesURL returns the AccessibleRepositoriesURL field if it's non-nil, zero value otherwise. func (i *InstallableOrganization) GetAccessibleRepositoriesURL() string { if i == nil || i.AccessibleRepositoriesURL == nil { @@ -12142,6 +16342,46 @@ func (i *InstallableOrganization) GetAccessibleRepositoriesURL() string { return *i.AccessibleRepositoriesURL } +// GetID returns the ID field. +func (i *InstallableOrganization) GetID() int64 { + if i == nil { + return 0 + } + return i.ID +} + +// GetLogin returns the Login field. +func (i *InstallableOrganization) GetLogin() string { + if i == nil { + return "" + } + return i.Login +} + +// GetClientID returns the ClientID field. +func (i *InstallAppRequest) GetClientID() string { + if i == nil { + return "" + } + return i.ClientID +} + +// GetRepositories returns the Repositories slice if it's non-nil, nil otherwise. +func (i *InstallAppRequest) GetRepositories() []string { + if i == nil || i.Repositories == nil { + return nil + } + return i.Repositories +} + +// GetRepositorySelection returns the RepositorySelection field. +func (i *InstallAppRequest) GetRepositorySelection() string { + if i == nil { + return "" + } + return i.RepositorySelection +} + // GetAccessTokensURL returns the AccessTokensURL field if it's non-nil, zero value otherwise. func (i *Installation) GetAccessTokensURL() string { if i == nil || i.AccessTokensURL == nil { @@ -12190,6 +16430,14 @@ func (i *Installation) GetCreatedAt() Timestamp { return *i.CreatedAt } +// GetEvents returns the Events slice if it's non-nil, nil otherwise. +func (i *Installation) GetEvents() []string { + if i == nil || i.Events == nil { + return nil + } + return i.Events +} + // GetHasMultipleSingleFiles returns the HasMultipleSingleFiles field if it's non-nil, zero value otherwise. func (i *Installation) GetHasMultipleSingleFiles() bool { if i == nil || i.HasMultipleSingleFiles == nil { @@ -12254,6 +16502,14 @@ func (i *Installation) GetSingleFileName() string { return *i.SingleFileName } +// GetSingleFilePaths returns the SingleFilePaths slice if it's non-nil, nil otherwise. +func (i *Installation) GetSingleFilePaths() []string { + if i == nil || i.SingleFilePaths == nil { + return nil + } + return i.SingleFilePaths +} + // GetSuspendedAt returns the SuspendedAt field if it's non-nil, zero value otherwise. func (i *Installation) GetSuspendedAt() Timestamp { if i == nil || i.SuspendedAt == nil { @@ -12334,6 +16590,14 @@ func (i *InstallationEvent) GetOrg() *Organization { return i.Org } +// GetRepositories returns the Repositories slice if it's non-nil, nil otherwise. +func (i *InstallationEvent) GetRepositories() []*Repository { + if i == nil || i.Repositories == nil { + return nil + } + return i.Repositories +} + // GetRequester returns the Requester field. func (i *InstallationEvent) GetRequester() *User { if i == nil { @@ -12982,6 +17246,22 @@ func (i *InstallationRepositoriesEvent) GetOrg() *Organization { return i.Org } +// GetRepositoriesAdded returns the RepositoriesAdded slice if it's non-nil, nil otherwise. +func (i *InstallationRepositoriesEvent) GetRepositoriesAdded() []*Repository { + if i == nil || i.RepositoriesAdded == nil { + return nil + } + return i.RepositoriesAdded +} + +// GetRepositoriesRemoved returns the RepositoriesRemoved slice if it's non-nil, nil otherwise. +func (i *InstallationRepositoriesEvent) GetRepositoriesRemoved() []*Repository { + if i == nil || i.RepositoriesRemoved == nil { + return nil + } + return i.RepositoriesRemoved +} + // GetRepositorySelection returns the RepositorySelection field if it's non-nil, zero value otherwise. func (i *InstallationRepositoriesEvent) GetRepositorySelection() string { if i == nil || i.RepositorySelection == nil { @@ -13134,6 +17414,14 @@ func (i *InstallationToken) GetPermissions() *InstallationPermissions { return i.Permissions } +// GetRepositories returns the Repositories slice if it's non-nil, nil otherwise. +func (i *InstallationToken) GetRepositories() []*Repository { + if i == nil || i.Repositories == nil { + return nil + } + return i.Repositories +} + // GetToken returns the Token field if it's non-nil, zero value otherwise. func (i *InstallationToken) GetToken() string { if i == nil || i.Token == nil { @@ -13150,6 +17438,22 @@ func (i *InstallationTokenListRepoOptions) GetPermissions() *InstallationPermiss return i.Permissions } +// GetRepositories returns the Repositories slice if it's non-nil, nil otherwise. +func (i *InstallationTokenListRepoOptions) GetRepositories() []string { + if i == nil || i.Repositories == nil { + return nil + } + return i.Repositories +} + +// GetRepositoryIDs returns the RepositoryIDs slice if it's non-nil, nil otherwise. +func (i *InstallationTokenListRepoOptions) GetRepositoryIDs() []int64 { + if i == nil || i.RepositoryIDs == nil { + return nil + } + return i.RepositoryIDs +} + // GetPermissions returns the Permissions field. func (i *InstallationTokenOptions) GetPermissions() *InstallationPermissions { if i == nil { @@ -13158,6 +17462,22 @@ func (i *InstallationTokenOptions) GetPermissions() *InstallationPermissions { return i.Permissions } +// GetRepositories returns the Repositories slice if it's non-nil, nil otherwise. +func (i *InstallationTokenOptions) GetRepositories() []string { + if i == nil || i.Repositories == nil { + return nil + } + return i.Repositories +} + +// GetRepositoryIDs returns the RepositoryIDs slice if it's non-nil, nil otherwise. +func (i *InstallationTokenOptions) GetRepositoryIDs() []int64 { + if i == nil || i.RepositoryIDs == nil { + return nil + } + return i.RepositoryIDs +} + // GetExpiresAt returns the ExpiresAt field if it's non-nil, zero value otherwise. func (i *InteractionRestriction) GetExpiresAt() Timestamp { if i == nil || i.ExpiresAt == nil { @@ -13286,6 +17606,14 @@ func (i *Issue) GetAssignee() *User { return i.Assignee } +// GetAssignees returns the Assignees slice if it's non-nil, nil otherwise. +func (i *Issue) GetAssignees() []*User { + if i == nil || i.Assignees == nil { + return nil + } + return i.Assignees +} + // GetAuthorAssociation returns the AuthorAssociation field if it's non-nil, zero value otherwise. func (i *Issue) GetAuthorAssociation() string { if i == nil || i.AuthorAssociation == nil { @@ -13374,6 +17702,14 @@ func (i *Issue) GetID() int64 { return *i.ID } +// GetLabels returns the Labels slice if it's non-nil, nil otherwise. +func (i *Issue) GetLabels() []*Label { + if i == nil || i.Labels == nil { + return nil + } + return i.Labels +} + // GetLabelsURL returns the LabelsURL field if it's non-nil, zero value otherwise. func (i *Issue) GetLabelsURL() string { if i == nil || i.LabelsURL == nil { @@ -13470,6 +17806,14 @@ func (i *Issue) GetStateReason() string { return *i.StateReason } +// GetTextMatches returns the TextMatches slice if it's non-nil, nil otherwise. +func (i *Issue) GetTextMatches() []*TextMatch { + if i == nil || i.TextMatches == nil { + return nil + } + return i.TextMatches +} + // GetTitle returns the Title field if it's non-nil, zero value otherwise. func (i *Issue) GetTitle() string { if i == nil || i.Title == nil { @@ -13662,6 +18006,14 @@ func (i *IssueCommentEvent) GetSender() *User { return i.Sender } +// GetAction returns the Action field. +func (i *IssueEvent) GetAction() string { + if i == nil { + return "" + } + return i.Action +} + // GetActor returns the Actor field. func (i *IssueEvent) GetActor() *User { if i == nil { @@ -13822,6 +18174,14 @@ func (i *IssueImport) GetAssignee() string { return *i.Assignee } +// GetBody returns the Body field. +func (i *IssueImport) GetBody() string { + if i == nil { + return "" + } + return i.Body +} + // GetClosed returns the Closed field if it's non-nil, zero value otherwise. func (i *IssueImport) GetClosed() bool { if i == nil || i.Closed == nil { @@ -13846,6 +18206,14 @@ func (i *IssueImport) GetCreatedAt() Timestamp { return *i.CreatedAt } +// GetLabels returns the Labels slice if it's non-nil, nil otherwise. +func (i *IssueImport) GetLabels() []string { + if i == nil || i.Labels == nil { + return nil + } + return i.Labels +} + // GetMilestone returns the Milestone field if it's non-nil, zero value otherwise. func (i *IssueImport) GetMilestone() int { if i == nil || i.Milestone == nil { @@ -13854,6 +18222,14 @@ func (i *IssueImport) GetMilestone() int { return *i.Milestone } +// GetTitle returns the Title field. +func (i *IssueImport) GetTitle() string { + if i == nil { + return "" + } + return i.Title +} + // GetUpdatedAt returns the UpdatedAt field if it's non-nil, zero value otherwise. func (i *IssueImport) GetUpdatedAt() Timestamp { if i == nil || i.UpdatedAt == nil { @@ -13902,6 +18278,22 @@ func (i *IssueImportError) GetValue() string { return *i.Value } +// GetComments returns the Comments slice if it's non-nil, nil otherwise. +func (i *IssueImportRequest) GetComments() []*Comment { + if i == nil || i.Comments == nil { + return nil + } + return i.Comments +} + +// GetIssueImport returns the IssueImport field. +func (i *IssueImportRequest) GetIssueImport() IssueImport { + if i == nil { + return IssueImport{} + } + return i.IssueImport +} + // GetCreatedAt returns the CreatedAt field if it's non-nil, zero value otherwise. func (i *IssueImportResponse) GetCreatedAt() Timestamp { if i == nil || i.CreatedAt == nil { @@ -13918,6 +18310,14 @@ func (i *IssueImportResponse) GetDocumentationURL() string { return *i.DocumentationURL } +// GetErrors returns the Errors slice if it's non-nil, nil otherwise. +func (i *IssueImportResponse) GetErrors() []*IssueImportError { + if i == nil || i.Errors == nil { + return nil + } + return i.Errors +} + // GetID returns the ID field if it's non-nil, zero value otherwise. func (i *IssueImportResponse) GetID() int { if i == nil || i.ID == nil { @@ -13974,6 +18374,142 @@ func (i *IssueImportResponse) GetURL() string { return *i.URL } +// GetDirection returns the Direction field. +func (i *IssueListByOrgOptions) GetDirection() string { + if i == nil { + return "" + } + return i.Direction +} + +// GetFilter returns the Filter field. +func (i *IssueListByOrgOptions) GetFilter() string { + if i == nil { + return "" + } + return i.Filter +} + +// GetLabels returns the Labels slice if it's non-nil, nil otherwise. +func (i *IssueListByOrgOptions) GetLabels() []string { + if i == nil || i.Labels == nil { + return nil + } + return i.Labels +} + +// GetSince returns the Since field. +func (i *IssueListByOrgOptions) GetSince() time.Time { + if i == nil { + return time.Time{} + } + return i.Since +} + +// GetSort returns the Sort field. +func (i *IssueListByOrgOptions) GetSort() string { + if i == nil { + return "" + } + return i.Sort +} + +// GetState returns the State field. +func (i *IssueListByOrgOptions) GetState() string { + if i == nil { + return "" + } + return i.State +} + +// GetType returns the Type field. +func (i *IssueListByOrgOptions) GetType() string { + if i == nil { + return "" + } + return i.Type +} + +// GetAssignee returns the Assignee field. +func (i *IssueListByRepoOptions) GetAssignee() string { + if i == nil { + return "" + } + return i.Assignee +} + +// GetCreator returns the Creator field. +func (i *IssueListByRepoOptions) GetCreator() string { + if i == nil { + return "" + } + return i.Creator +} + +// GetDirection returns the Direction field. +func (i *IssueListByRepoOptions) GetDirection() string { + if i == nil { + return "" + } + return i.Direction +} + +// GetLabels returns the Labels slice if it's non-nil, nil otherwise. +func (i *IssueListByRepoOptions) GetLabels() []string { + if i == nil || i.Labels == nil { + return nil + } + return i.Labels +} + +// GetMentioned returns the Mentioned field. +func (i *IssueListByRepoOptions) GetMentioned() string { + if i == nil { + return "" + } + return i.Mentioned +} + +// GetMilestone returns the Milestone field. +func (i *IssueListByRepoOptions) GetMilestone() string { + if i == nil { + return "" + } + return i.Milestone +} + +// GetSince returns the Since field. +func (i *IssueListByRepoOptions) GetSince() time.Time { + if i == nil { + return time.Time{} + } + return i.Since +} + +// GetSort returns the Sort field. +func (i *IssueListByRepoOptions) GetSort() string { + if i == nil { + return "" + } + return i.Sort +} + +// GetState returns the State field. +func (i *IssueListByRepoOptions) GetState() string { + if i == nil { + return "" + } + return i.State +} + +// GetType returns the Type field. +func (i *IssueListByRepoOptions) GetType() string { + if i == nil { + return "" + } + return i.Type +} + // GetDirection returns the Direction field if it's non-nil, zero value otherwise. func (i *IssueListCommentsOptions) GetDirection() string { if i == nil || i.Direction == nil { @@ -14158,6 +18694,14 @@ func (i *IssuesSearchResult) GetIncompleteResults() bool { return *i.IncompleteResults } +// GetIssues returns the Issues slice if it's non-nil, nil otherwise. +func (i *IssuesSearchResult) GetIssues() []*Issue { + if i == nil || i.Issues == nil { + return nil + } + return i.Issues +} + // GetTotal returns the Total field if it's non-nil, zero value otherwise. func (i *IssuesSearchResult) GetTotal() int { if i == nil || i.Total == nil { @@ -14262,6 +18806,14 @@ func (j *JITRunnerConfig) GetRunner() *Runner { return j.Runner } +// GetJobs returns the Jobs slice if it's non-nil, nil otherwise. +func (j *Jobs) GetJobs() []*WorkflowJob { + if j == nil || j.Jobs == nil { + return nil + } + return j.Jobs +} + // GetTotalCount returns the TotalCount field if it's non-nil, zero value otherwise. func (j *Jobs) GetTotalCount() int { if j == nil || j.TotalCount == nil { @@ -14494,12 +19046,12 @@ func (l *LabelResult) GetName() string { return *l.Name } -// GetScore returns the Score field. -func (l *LabelResult) GetScore() *float64 { - if l == nil { - return nil +// GetScore returns the Score field if it's non-nil, zero value otherwise. +func (l *LabelResult) GetScore() float64 { + if l == nil || l.Score == nil { + return 0 } - return l.Score + return *l.Score } // GetURL returns the URL field if it's non-nil, zero value otherwise. @@ -14518,6 +19070,14 @@ func (l *LabelsSearchResult) GetIncompleteResults() bool { return *l.IncompleteResults } +// GetLabels returns the Labels slice if it's non-nil, nil otherwise. +func (l *LabelsSearchResult) GetLabels() []*LabelResult { + if l == nil || l.Labels == nil { + return nil + } + return l.Labels +} + // GetTotal returns the Total field if it's non-nil, zero value otherwise. func (l *LabelsSearchResult) GetTotal() int { if l == nil || l.Total == nil { @@ -14566,6 +19126,14 @@ func (l *LastLicenseSync) GetProperties() *LastLicenseSyncProperties { return l.Properties } +// GetType returns the Type field. +func (l *LastLicenseSync) GetType() string { + if l == nil { + return "" + } + return l.Type +} + // GetDate returns the Date field if it's non-nil, zero value otherwise. func (l *LastLicenseSyncProperties) GetDate() Timestamp { if l == nil || l.Date == nil { @@ -14574,6 +19142,22 @@ func (l *LastLicenseSyncProperties) GetDate() Timestamp { return *l.Date } +// GetError returns the Error field. +func (l *LastLicenseSyncProperties) GetError() string { + if l == nil { + return "" + } + return l.Error +} + +// GetStatus returns the Status field. +func (l *LastLicenseSyncProperties) GetStatus() string { + if l == nil { + return "" + } + return l.Status +} + // GetBody returns the Body field if it's non-nil, zero value otherwise. func (l *License) GetBody() string { if l == nil || l.Body == nil { @@ -14886,6 +19470,86 @@ func (l *ListAlertsOptions) GetState() string { return *l.State } +// GetCollab returns the Collab field. +func (l *ListAllIssuesOptions) GetCollab() bool { + if l == nil { + return false + } + return l.Collab +} + +// GetDirection returns the Direction field. +func (l *ListAllIssuesOptions) GetDirection() string { + if l == nil { + return "" + } + return l.Direction +} + +// GetFilter returns the Filter field. +func (l *ListAllIssuesOptions) GetFilter() string { + if l == nil { + return "" + } + return l.Filter +} + +// GetLabels returns the Labels slice if it's non-nil, nil otherwise. +func (l *ListAllIssuesOptions) GetLabels() []string { + if l == nil || l.Labels == nil { + return nil + } + return l.Labels +} + +// GetOrgs returns the Orgs field. +func (l *ListAllIssuesOptions) GetOrgs() bool { + if l == nil { + return false + } + return l.Orgs +} + +// GetOwned returns the Owned field. +func (l *ListAllIssuesOptions) GetOwned() bool { + if l == nil { + return false + } + return l.Owned +} + +// GetPulls returns the Pulls field. +func (l *ListAllIssuesOptions) GetPulls() bool { + if l == nil { + return false + } + return l.Pulls +} + +// GetSince returns the Since field. +func (l *ListAllIssuesOptions) GetSince() time.Time { + if l == nil { + return time.Time{} + } + return l.Since +} + +// GetSort returns the Sort field. +func (l *ListAllIssuesOptions) GetSort() string { + if l == nil { + return "" + } + return l.Sort +} + +// GetState returns the State field. +func (l *ListAllIssuesOptions) GetState() string { + if l == nil { + return "" + } + return l.State +} + // GetName returns the Name field if it's non-nil, zero value otherwise. func (l *ListArtifactsOptions) GetName() string { if l == nil || l.Name == nil { @@ -14926,6 +19590,14 @@ func (l *ListCheckRunsOptions) GetStatus() string { return *l.Status } +// GetCheckRuns returns the CheckRuns slice if it's non-nil, nil otherwise. +func (l *ListCheckRunsResults) GetCheckRuns() []*CheckRun { + if l == nil || l.CheckRuns == nil { + return nil + } + return l.CheckRuns +} + // GetTotal returns the Total field if it's non-nil, zero value otherwise. func (l *ListCheckRunsResults) GetTotal() int { if l == nil || l.Total == nil { @@ -14950,6 +19622,14 @@ func (l *ListCheckSuiteOptions) GetCheckName() string { return *l.CheckName } +// GetCheckSuites returns the CheckSuites slice if it's non-nil, nil otherwise. +func (l *ListCheckSuiteResults) GetCheckSuites() []*CheckSuite { + if l == nil || l.CheckSuites == nil { + return nil + } + return l.CheckSuites +} + // GetTotal returns the Total field if it's non-nil, zero value otherwise. func (l *ListCheckSuiteResults) GetTotal() int { if l == nil || l.Total == nil { @@ -14958,6 +19638,46 @@ func (l *ListCheckSuiteResults) GetTotal() int { return *l.Total } +// GetAfter returns the After field. +func (l *ListCodeSecurityConfigurationRepositoriesOptions) GetAfter() string { + if l == nil { + return "" + } + return l.After +} + +// GetBefore returns the Before field. +func (l *ListCodeSecurityConfigurationRepositoriesOptions) GetBefore() string { + if l == nil { + return "" + } + return l.Before +} + +// GetPerPage returns the PerPage field. +func (l *ListCodeSecurityConfigurationRepositoriesOptions) GetPerPage() int { + if l == nil { + return 0 + } + return l.PerPage +} + +// GetStatus returns the Status field. +func (l *ListCodeSecurityConfigurationRepositoriesOptions) GetStatus() string { + if l == nil { + return "" + } + return l.Status +} + +// GetCodespaces returns the Codespaces slice if it's non-nil, nil otherwise. +func (l *ListCodespaces) GetCodespaces() []*Codespace { + if l == nil || l.Codespaces == nil { + return nil + } + return l.Codespaces +} + // GetTotalCount returns the TotalCount field if it's non-nil, zero value otherwise. func (l *ListCodespaces) GetTotalCount() int { if l == nil || l.TotalCount == nil { @@ -14966,6 +19686,54 @@ func (l *ListCodespaces) GetTotalCount() int { return *l.TotalCount } +// GetRepositoryID returns the RepositoryID field. +func (l *ListCodespacesOptions) GetRepositoryID() int64 { + if l == nil { + return 0 + } + return l.RepositoryID +} + +// GetAffiliation returns the Affiliation field. +func (l *ListCollaboratorsOptions) GetAffiliation() string { + if l == nil { + return "" + } + return l.Affiliation +} + +// GetPermission returns the Permission field. +func (l *ListCollaboratorsOptions) GetPermission() string { + if l == nil { + return "" + } + return l.Permission +} + +// GetAnon returns the Anon field. +func (l *ListContributorsOptions) GetAnon() string { + if l == nil { + return "" + } + return l.Anon +} + +// GetSeats returns the Seats slice if it's non-nil, nil otherwise. +func (l *ListCopilotSeatsResponse) GetSeats() []*CopilotSeatDetails { + if l == nil || l.Seats == nil { + return nil + } + return l.Seats +} + +// GetTotalSeats returns the TotalSeats field. +func (l *ListCopilotSeatsResponse) GetTotalSeats() int64 { + if l == nil { + return 0 + } + return l.TotalSeats +} + // GetState returns the State field if it's non-nil, zero value otherwise. func (l *ListCostCenterOptions) GetState() string { if l == nil || l.State == nil { @@ -14974,6 +19742,70 @@ func (l *ListCostCenterOptions) GetState() string { return *l.State } +// GetAfter returns the After field. +func (l *ListCursorOptions) GetAfter() string { + if l == nil { + return "" + } + return l.After +} + +// GetBefore returns the Before field. +func (l *ListCursorOptions) GetBefore() string { + if l == nil { + return "" + } + return l.Before +} + +// GetCursor returns the Cursor field. +func (l *ListCursorOptions) GetCursor() string { + if l == nil { + return "" + } + return l.Cursor +} + +// GetFirst returns the First field. +func (l *ListCursorOptions) GetFirst() int { + if l == nil { + return 0 + } + return l.First +} + +// GetLast returns the Last field. +func (l *ListCursorOptions) GetLast() int { + if l == nil { + return 0 + } + return l.Last +} + +// GetPage returns the Page field. +func (l *ListCursorOptions) GetPage() string { + if l == nil { + return "" + } + return l.Page +} + +// GetPerPage returns the PerPage field. +func (l *ListCursorOptions) GetPerPage() int { + if l == nil { + return 0 + } + return l.PerPage +} + +// GetAvailableIntegrations returns the AvailableIntegrations slice if it's non-nil, nil otherwise. +func (l *ListCustomDeploymentRuleIntegrationsResponse) GetAvailableIntegrations() []*CustomDeploymentProtectionRuleApp { + if l == nil || l.AvailableIntegrations == nil { + return nil + } + return l.AvailableIntegrations +} + // GetTotalCount returns the TotalCount field if it's non-nil, zero value otherwise. func (l *ListCustomDeploymentRuleIntegrationsResponse) GetTotalCount() int { if l == nil || l.TotalCount == nil { @@ -14982,6 +19814,22 @@ func (l *ListCustomDeploymentRuleIntegrationsResponse) GetTotalCount() int { return *l.TotalCount } +// GetRepositoryQuery returns the RepositoryQuery field. +func (l *ListCustomPropertyValuesOptions) GetRepositoryQuery() string { + if l == nil { + return "" + } + return l.RepositoryQuery +} + +// GetProtectionRules returns the ProtectionRules slice if it's non-nil, nil otherwise. +func (l *ListDeploymentProtectionRuleResponse) GetProtectionRules() []*CustomDeploymentProtectionRule { + if l == nil || l.ProtectionRules == nil { + return nil + } + return l.ProtectionRules +} + // GetTotalCount returns the TotalCount field if it's non-nil, zero value otherwise. func (l *ListDeploymentProtectionRuleResponse) GetTotalCount() int { if l == nil || l.TotalCount == nil { @@ -14990,6 +19838,38 @@ func (l *ListDeploymentProtectionRuleResponse) GetTotalCount() int { return *l.TotalCount } +// GetAfter returns the After field. +func (l *ListEnterpriseCodeSecurityConfigurationOptions) GetAfter() string { + if l == nil { + return "" + } + return l.After +} + +// GetBefore returns the Before field. +func (l *ListEnterpriseCodeSecurityConfigurationOptions) GetBefore() string { + if l == nil { + return "" + } + return l.Before +} + +// GetPerPage returns the PerPage field. +func (l *ListEnterpriseCodeSecurityConfigurationOptions) GetPerPage() int { + if l == nil { + return 0 + } + return l.PerPage +} + +// GetVisibleToOrganization returns the VisibleToOrganization field. +func (l *ListEnterpriseRunnerGroupOptions) GetVisibleToOrganization() string { + if l == nil { + return "" + } + return l.VisibleToOrganization +} + // GetDisplayName returns the DisplayName field if it's non-nil, zero value otherwise. func (l *ListExternalGroupsOptions) GetDisplayName() string { if l == nil || l.DisplayName == nil { @@ -14998,6 +19878,70 @@ func (l *ListExternalGroupsOptions) GetDisplayName() string { return *l.DisplayName } +// GetDirection returns the Direction field. +func (l *ListFineGrainedPATOptions) GetDirection() string { + if l == nil { + return "" + } + return l.Direction +} + +// GetLastUsedAfter returns the LastUsedAfter field. +func (l *ListFineGrainedPATOptions) GetLastUsedAfter() string { + if l == nil { + return "" + } + return l.LastUsedAfter +} + +// GetLastUsedBefore returns the LastUsedBefore field. +func (l *ListFineGrainedPATOptions) GetLastUsedBefore() string { + if l == nil { + return "" + } + return l.LastUsedBefore +} + +// GetOwner returns the Owner slice if it's non-nil, nil otherwise. +func (l *ListFineGrainedPATOptions) GetOwner() []string { + if l == nil || l.Owner == nil { + return nil + } + return l.Owner +} + +// GetPermission returns the Permission field. +func (l *ListFineGrainedPATOptions) GetPermission() string { + if l == nil { + return "" + } + return l.Permission +} + +// GetRepository returns the Repository field. +func (l *ListFineGrainedPATOptions) GetRepository() string { + if l == nil { + return "" + } + return l.Repository +} + +// GetSort returns the Sort field. +func (l *ListFineGrainedPATOptions) GetSort() string { + if l == nil { + return "" + } + return l.Sort +} + +// GetTokenID returns the TokenID slice if it's non-nil, nil otherwise. +func (l *ListFineGrainedPATOptions) GetTokenID() []int64 { + if l == nil || l.TokenID == nil { + return nil + } + return l.TokenID +} + // GetAffects returns the Affects field if it's non-nil, zero value otherwise. func (l *ListGlobalSecurityAdvisoriesOptions) GetAffects() string { if l == nil || l.Affects == nil { @@ -15014,6 +19958,14 @@ func (l *ListGlobalSecurityAdvisoriesOptions) GetCVEID() string { return *l.CVEID } +// GetCWEs returns the CWEs slice if it's non-nil, nil otherwise. +func (l *ListGlobalSecurityAdvisoriesOptions) GetCWEs() []string { + if l == nil || l.CWEs == nil { + return nil + } + return l.CWEs +} + // GetEcosystem returns the Ecosystem field if it's non-nil, zero value otherwise. func (l *ListGlobalSecurityAdvisoriesOptions) GetEcosystem() string { if l == nil || l.Ecosystem == nil { @@ -15078,6 +20030,14 @@ func (l *ListGlobalSecurityAdvisoriesOptions) GetUpdated() string { return *l.Updated } +// GetQuery returns the Query field. +func (l *ListIDPGroupsOptions) GetQuery() string { + if l == nil { + return "" + } + return l.Query +} + // GetFeatured returns the Featured field if it's non-nil, zero value otherwise. func (l *ListLicensesOptions) GetFeatured() bool { if l == nil || l.Featured == nil { @@ -15086,6 +20046,54 @@ func (l *ListLicensesOptions) GetFeatured() bool { return *l.Featured } +// GetFilter returns the Filter field. +func (l *ListMembersOptions) GetFilter() string { + if l == nil { + return "" + } + return l.Filter +} + +// GetPublicOnly returns the PublicOnly field. +func (l *ListMembersOptions) GetPublicOnly() bool { + if l == nil { + return false + } + return l.PublicOnly +} + +// GetRole returns the Role field. +func (l *ListMembersOptions) GetRole() string { + if l == nil { + return "" + } + return l.Role +} + +// GetPage returns the Page field. +func (l *ListOptions) GetPage() int { + if l == nil { + return 0 + } + return l.Page +} + +// GetPerPage returns the PerPage field. +func (l *ListOptions) GetPerPage() int { + if l == nil { + return 0 + } + return l.PerPage +} + +// GetOrganizations returns the Organizations slice if it's non-nil, nil otherwise. +func (l *ListOrganizations) GetOrganizations() []*Organization { + if l == nil || l.Organizations == nil { + return nil + } + return l.Organizations +} + // GetTotalCount returns the TotalCount field if it's non-nil, zero value otherwise. func (l *ListOrganizations) GetTotalCount() int { if l == nil || l.TotalCount == nil { @@ -15094,6 +20102,110 @@ func (l *ListOrganizations) GetTotalCount() int { return *l.TotalCount } +// GetAfter returns the After field. +func (l *ListOrgCodeSecurityConfigurationOptions) GetAfter() string { + if l == nil { + return "" + } + return l.After +} + +// GetBefore returns the Before field. +func (l *ListOrgCodeSecurityConfigurationOptions) GetBefore() string { + if l == nil { + return "" + } + return l.Before +} + +// GetPerPage returns the PerPage field. +func (l *ListOrgCodeSecurityConfigurationOptions) GetPerPage() int { + if l == nil { + return 0 + } + return l.PerPage +} + +// GetTargetType returns the TargetType field. +func (l *ListOrgCodeSecurityConfigurationOptions) GetTargetType() string { + if l == nil { + return "" + } + return l.TargetType +} + +// GetState returns the State field. +func (l *ListOrgMembershipsOptions) GetState() string { + if l == nil { + return "" + } + return l.State +} + +// GetVisibleToRepository returns the VisibleToRepository field. +func (l *ListOrgRunnerGroupOptions) GetVisibleToRepository() string { + if l == nil { + return "" + } + return l.VisibleToRepository +} + +// GetFilter returns the Filter field. +func (l *ListOutsideCollaboratorsOptions) GetFilter() string { + if l == nil { + return "" + } + return l.Filter +} + +// GetState returns the State field. +func (l *ListPackageVersionsOptions) GetState() string { + if l == nil { + return "" + } + return l.State +} + +// GetFields returns the Fields slice if it's non-nil, nil otherwise. +func (l *ListProjectItemsOptions) GetFields() []int64 { + if l == nil || l.Fields == nil { + return nil + } + return l.Fields +} + +// GetQuery returns the Query field. +func (l *ListProjectsOptions) GetQuery() string { + if l == nil { + return "" + } + return l.Query +} + +// GetAfter returns the After field. +func (l *ListProjectsPaginationOptions) GetAfter() string { + if l == nil { + return "" + } + return l.After +} + +// GetBefore returns the Before field. +func (l *ListProjectsPaginationOptions) GetBefore() string { + if l == nil { + return "" + } + return l.Before +} + +// GetPerPage returns the PerPage field. +func (l *ListProjectsPaginationOptions) GetPerPage() int { + if l == nil { + return 0 + } + return l.PerPage +} + // GetCount returns the Count field if it's non-nil, zero value otherwise. func (l *ListProvisionedSCIMGroupsEnterpriseOptions) GetCount() int { if l == nil || l.Count == nil { @@ -15150,6 +20262,14 @@ func (l *ListProvisionedSCIMUsersEnterpriseOptions) GetStartIndex() int { return *l.StartIndex } +// GetContent returns the Content field. +func (l *ListReactionOptions) GetContent() string { + if l == nil { + return "" + } + return l.Content +} + // GetClientIP returns the ClientIP field if it's non-nil, zero value otherwise. func (l *ListRepoMachineTypesOptions) GetClientIP() string { if l == nil || l.ClientIP == nil { @@ -15174,6 +20294,14 @@ func (l *ListRepoMachineTypesOptions) GetRef() string { return *l.Ref } +// GetRepositories returns the Repositories slice if it's non-nil, nil otherwise. +func (l *ListRepositories) GetRepositories() []*Repository { + if l == nil || l.Repositories == nil { + return nil + } + return l.Repositories +} + // GetTotalCount returns the TotalCount field if it's non-nil, zero value otherwise. func (l *ListRepositories) GetTotalCount() int { if l == nil || l.TotalCount == nil { @@ -15182,6 +20310,94 @@ func (l *ListRepositories) GetTotalCount() int { return *l.TotalCount } +// GetActivityType returns the ActivityType field. +func (l *ListRepositoryActivityOptions) GetActivityType() string { + if l == nil { + return "" + } + return l.ActivityType +} + +// GetActor returns the Actor field. +func (l *ListRepositoryActivityOptions) GetActor() string { + if l == nil { + return "" + } + return l.Actor +} + +// GetAfter returns the After field. +func (l *ListRepositoryActivityOptions) GetAfter() string { + if l == nil { + return "" + } + return l.After +} + +// GetBefore returns the Before field. +func (l *ListRepositoryActivityOptions) GetBefore() string { + if l == nil { + return "" + } + return l.Before +} + +// GetDirection returns the Direction field. +func (l *ListRepositoryActivityOptions) GetDirection() string { + if l == nil { + return "" + } + return l.Direction +} + +// GetPerPage returns the PerPage field. +func (l *ListRepositoryActivityOptions) GetPerPage() int { + if l == nil { + return 0 + } + return l.PerPage +} + +// GetRef returns the Ref field. +func (l *ListRepositoryActivityOptions) GetRef() string { + if l == nil { + return "" + } + return l.Ref +} + +// GetTimePeriod returns the TimePeriod field. +func (l *ListRepositoryActivityOptions) GetTimePeriod() string { + if l == nil { + return "" + } + return l.TimePeriod +} + +// GetDirection returns the Direction field. +func (l *ListRepositorySecurityAdvisoriesOptions) GetDirection() string { + if l == nil { + return "" + } + return l.Direction +} + +// GetSort returns the Sort field. +func (l *ListRepositorySecurityAdvisoriesOptions) GetSort() string { + if l == nil { + return "" + } + return l.Sort +} + +// GetState returns the State field. +func (l *ListRepositorySecurityAdvisoriesOptions) GetState() string { + if l == nil { + return "" + } + return l.State +} + // GetName returns the Name field if it's non-nil, zero value otherwise. func (l *ListRunnersOptions) GetName() string { if l == nil || l.Name == nil { @@ -15214,6 +20430,126 @@ func (l *ListSCIMProvisionedIdentitiesOptions) GetStartIndex() int { return *l.StartIndex } +// GetDirection returns the Direction field. +func (l *ListUserIssuesOptions) GetDirection() string { + if l == nil { + return "" + } + return l.Direction +} + +// GetFilter returns the Filter field. +func (l *ListUserIssuesOptions) GetFilter() string { + if l == nil { + return "" + } + return l.Filter +} + +// GetLabels returns the Labels slice if it's non-nil, nil otherwise. +func (l *ListUserIssuesOptions) GetLabels() []string { + if l == nil || l.Labels == nil { + return nil + } + return l.Labels +} + +// GetSince returns the Since field. +func (l *ListUserIssuesOptions) GetSince() time.Time { + if l == nil { + return time.Time{} + } + return l.Since +} + +// GetSort returns the Sort field. +func (l *ListUserIssuesOptions) GetSort() string { + if l == nil { + return "" + } + return l.Sort +} + +// GetState returns the State field. +func (l *ListUserIssuesOptions) GetState() string { + if l == nil { + return "" + } + return l.State +} + +// GetFilter returns the Filter field. +func (l *ListWorkflowJobsOptions) GetFilter() string { + if l == nil { + return "" + } + return l.Filter +} + +// GetActor returns the Actor field. +func (l *ListWorkflowRunsOptions) GetActor() string { + if l == nil { + return "" + } + return l.Actor +} + +// GetBranch returns the Branch field. +func (l *ListWorkflowRunsOptions) GetBranch() string { + if l == nil { + return "" + } + return l.Branch +} + +// GetCheckSuiteID returns the CheckSuiteID field. +func (l *ListWorkflowRunsOptions) GetCheckSuiteID() int64 { + if l == nil { + return 0 + } + return l.CheckSuiteID +} + +// GetCreated returns the Created field. +func (l *ListWorkflowRunsOptions) GetCreated() string { + if l == nil { + return "" + } + return l.Created +} + +// GetEvent returns the Event field. +func (l *ListWorkflowRunsOptions) GetEvent() string { + if l == nil { + return "" + } + return l.Event +} + +// GetExcludePullRequests returns the ExcludePullRequests field. +func (l *ListWorkflowRunsOptions) GetExcludePullRequests() bool { + if l == nil { + return false + } + return l.ExcludePullRequests +} + +// GetHeadSHA returns the HeadSHA field. +func (l *ListWorkflowRunsOptions) GetHeadSHA() string { + if l == nil { + return "" + } + return l.HeadSHA +} + +// GetStatus returns the Status field. +func (l *ListWorkflowRunsOptions) GetStatus() string { + if l == nil { + return "" + } + return l.Status +} + // GetEndColumn returns the EndColumn field if it's non-nil, zero value otherwise. func (l *Location) GetEndColumn() int { if l == nil || l.EndColumn == nil { @@ -15262,6 +20598,14 @@ func (l *LockBranch) GetEnabled() bool { return *l.Enabled } +// GetLockReason returns the LockReason field. +func (l *LockIssueOptions) GetLockReason() string { + if l == nil { + return "" + } + return l.LockReason +} + // GetHostname returns the Hostname field if it's non-nil, zero value otherwise. func (m *MaintenanceOperationStatus) GetHostname() string { if m == nil || m.Hostname == nil { @@ -15286,6 +20630,22 @@ func (m *MaintenanceOperationStatus) GetUUID() string { return *m.UUID } +// GetEnabled returns the Enabled field. +func (m *MaintenanceOptions) GetEnabled() bool { + if m == nil { + return false + } + return m.Enabled +} + +// GetIPExceptionList returns the IPExceptionList slice if it's non-nil, nil otherwise. +func (m *MaintenanceOptions) GetIPExceptionList() []string { + if m == nil || m.IPExceptionList == nil { + return nil + } + return m.IPExceptionList +} + // GetMaintenanceModeMessage returns the MaintenanceModeMessage field if it's non-nil, zero value otherwise. func (m *MaintenanceOptions) GetMaintenanceModeMessage() string { if m == nil || m.MaintenanceModeMessage == nil { @@ -15318,6 +20678,14 @@ func (m *MaintenanceStatus) GetCanUnsetMaintenance() bool { return *m.CanUnsetMaintenance } +// GetConnectionServices returns the ConnectionServices slice if it's non-nil, nil otherwise. +func (m *MaintenanceStatus) GetConnectionServices() []*ConnectionServiceItem { + if m == nil || m.ConnectionServices == nil { + return nil + } + return m.ConnectionServices +} + // GetHostname returns the Hostname field if it's non-nil, zero value otherwise. func (m *MaintenanceStatus) GetHostname() string { if m == nil || m.Hostname == nil { @@ -15326,6 +20694,14 @@ func (m *MaintenanceStatus) GetHostname() string { return *m.Hostname } +// GetIPExceptionList returns the IPExceptionList slice if it's non-nil, nil otherwise. +func (m *MaintenanceStatus) GetIPExceptionList() []string { + if m == nil || m.IPExceptionList == nil { + return nil + } + return m.IPExceptionList +} + // GetMaintenanceModeMessage returns the MaintenanceModeMessage field if it's non-nil, zero value otherwise. func (m *MaintenanceStatus) GetMaintenanceModeMessage() string { if m == nil || m.MaintenanceModeMessage == nil { @@ -15358,6 +20734,22 @@ func (m *MaintenanceStatus) GetUUID() string { return *m.UUID } +// GetContext returns the Context field. +func (m *MarkdownOptions) GetContext() string { + if m == nil { + return "" + } + return m.Context +} + +// GetMode returns the Mode field. +func (m *MarkdownOptions) GetMode() string { + if m == nil { + return "" + } + return m.Mode +} + // GetEffectiveDate returns the EffectiveDate field if it's non-nil, zero value otherwise. func (m *MarketplacePendingChange) GetEffectiveDate() Timestamp { if m == nil || m.EffectiveDate == nil { @@ -15726,6 +21118,14 @@ func (m *MarketplacePurchaseEvent) GetSender() *User { return m.Sender } +// GetIndices returns the Indices slice if it's non-nil, nil otherwise. +func (m *Match) GetIndices() []int { + if m == nil || m.Indices == nil { + return nil + } + return m.Indices +} + // GetText returns the Text field if it's non-nil, zero value otherwise. func (m *Match) GetText() string { if m == nil || m.Text == nil { @@ -15734,6 +21134,38 @@ func (m *Match) GetText() string { return *m.Text } +// GetParameters returns the Parameters field. +func (m *MaxFilePathLengthBranchRule) GetParameters() MaxFilePathLengthRuleParameters { + if m == nil { + return MaxFilePathLengthRuleParameters{} + } + return m.Parameters +} + +// GetMaxFilePathLength returns the MaxFilePathLength field. +func (m *MaxFilePathLengthRuleParameters) GetMaxFilePathLength() int { + if m == nil { + return 0 + } + return m.MaxFilePathLength +} + +// GetParameters returns the Parameters field. +func (m *MaxFileSizeBranchRule) GetParameters() MaxFileSizeRuleParameters { + if m == nil { + return MaxFileSizeRuleParameters{} + } + return m.Parameters +} + +// GetMaxFileSize returns the MaxFileSize field. +func (m *MaxFileSizeRuleParameters) GetMaxFileSize() int64 { + if m == nil { + return 0 + } + return m.MaxFileSize +} + // GetPermission returns the Permission field. func (m *MemberChanges) GetPermission() *MemberChangesPermission { if m == nil { @@ -16038,6 +21470,70 @@ func (m *MergeGroupEvent) GetSender() *User { return m.Sender } +// GetParameters returns the Parameters field. +func (m *MergeQueueBranchRule) GetParameters() MergeQueueRuleParameters { + if m == nil { + return MergeQueueRuleParameters{} + } + return m.Parameters +} + +// GetCheckResponseTimeoutMinutes returns the CheckResponseTimeoutMinutes field. +func (m *MergeQueueRuleParameters) GetCheckResponseTimeoutMinutes() int { + if m == nil { + return 0 + } + return m.CheckResponseTimeoutMinutes +} + +// GetGroupingStrategy returns the GroupingStrategy field. +func (m *MergeQueueRuleParameters) GetGroupingStrategy() MergeGroupingStrategy { + if m == nil { + return "" + } + return m.GroupingStrategy +} + +// GetMaxEntriesToBuild returns the MaxEntriesToBuild field. +func (m *MergeQueueRuleParameters) GetMaxEntriesToBuild() int { + if m == nil { + return 0 + } + return m.MaxEntriesToBuild +} + +// GetMaxEntriesToMerge returns the MaxEntriesToMerge field. +func (m *MergeQueueRuleParameters) GetMaxEntriesToMerge() int { + if m == nil { + return 0 + } + return m.MaxEntriesToMerge +} + +// GetMergeMethod returns the MergeMethod field. +func (m *MergeQueueRuleParameters) GetMergeMethod() MergeQueueMergeMethod { + if m == nil { + return "" + } + return m.MergeMethod +} + +// GetMinEntriesToMerge returns the MinEntriesToMerge field. +func (m *MergeQueueRuleParameters) GetMinEntriesToMerge() int { + if m == nil { + return 0 + } + return m.MinEntriesToMerge +} + +// GetMinEntriesToMergeWaitMinutes returns the MinEntriesToMergeWaitMinutes field. +func (m *MergeQueueRuleParameters) GetMinEntriesToMergeWaitMinutes() int { + if m == nil { + return 0 + } + return m.MinEntriesToMergeWaitMinutes +} + // GetText returns the Text field if it's non-nil, zero value otherwise. func (m *Message) GetText() string { if m == nil || m.Text == nil { @@ -16190,6 +21686,14 @@ func (m *Migration) GetLockRepositories() bool { return *m.LockRepositories } +// GetRepositories returns the Repositories slice if it's non-nil, nil otherwise. +func (m *Migration) GetRepositories() []*Repository { + if m == nil || m.Repositories == nil { + return nil + } + return m.Repositories +} + // GetState returns the State field if it's non-nil, zero value otherwise. func (m *Migration) GetState() string { if m == nil || m.State == nil { @@ -16214,6 +21718,38 @@ func (m *Migration) GetURL() string { return *m.URL } +// GetExclude returns the Exclude slice if it's non-nil, nil otherwise. +func (m *MigrationOptions) GetExclude() []string { + if m == nil || m.Exclude == nil { + return nil + } + return m.Exclude +} + +// GetExcludeAttachments returns the ExcludeAttachments field. +func (m *MigrationOptions) GetExcludeAttachments() bool { + if m == nil { + return false + } + return m.ExcludeAttachments +} + +// GetExcludeReleases returns the ExcludeReleases field. +func (m *MigrationOptions) GetExcludeReleases() bool { + if m == nil { + return false + } + return m.ExcludeReleases +} + +// GetLockRepositories returns the LockRepositories field. +func (m *MigrationOptions) GetLockRepositories() bool { + if m == nil { + return false + } + return m.LockRepositories +} + // GetClosedAt returns the ClosedAt field if it's non-nil, zero value otherwise. func (m *Milestone) GetClosedAt() Timestamp { if m == nil || m.ClosedAt == nil { @@ -16398,6 +21934,30 @@ func (m *MilestoneEvent) GetSender() *User { return m.Sender } +// GetDirection returns the Direction field. +func (m *MilestoneListOptions) GetDirection() string { + if m == nil { + return "" + } + return m.Direction +} + +// GetSort returns the Sort field. +func (m *MilestoneListOptions) GetSort() string { + if m == nil { + return "" + } + return m.Sort +} + +// GetState returns the State field. +func (m *MilestoneListOptions) GetState() string { + if m == nil { + return "" + } + return m.State +} + // GetClosedMilestones returns the ClosedMilestones field if it's non-nil, zero value otherwise. func (m *MilestoneStats) GetClosedMilestones() int { if m == nil || m.ClosedMilestones == nil { @@ -16438,6 +21998,14 @@ func (m *MostRecentInstance) GetCategory() string { return *m.Category } +// GetClassifications returns the Classifications slice if it's non-nil, nil otherwise. +func (m *MostRecentInstance) GetClassifications() []string { + if m == nil || m.Classifications == nil { + return nil + } + return m.Classifications +} + // GetCommitSHA returns the CommitSHA field if it's non-nil, zero value otherwise. func (m *MostRecentInstance) GetCommitSHA() string { if m == nil || m.CommitSHA == nil { @@ -16526,6 +22094,14 @@ func (n *NetworkConfiguration) GetName() string { return *n.Name } +// GetNetworkSettingsIDs returns the NetworkSettingsIDs slice if it's non-nil, nil otherwise. +func (n *NetworkConfiguration) GetNetworkSettingsIDs() []string { + if n == nil || n.NetworkSettingsIDs == nil { + return nil + } + return n.NetworkSettingsIDs +} + // GetComputeService returns the ComputeService field. func (n *NetworkConfigurationRequest) GetComputeService() *ComputeService { if n == nil { @@ -16542,6 +22118,22 @@ func (n *NetworkConfigurationRequest) GetName() string { return *n.Name } +// GetNetworkSettingsIDs returns the NetworkSettingsIDs slice if it's non-nil, nil otherwise. +func (n *NetworkConfigurationRequest) GetNetworkSettingsIDs() []string { + if n == nil || n.NetworkSettingsIDs == nil { + return nil + } + return n.NetworkSettingsIDs +} + +// GetNetworkConfigurations returns the NetworkConfigurations slice if it's non-nil, nil otherwise. +func (n *NetworkConfigurations) GetNetworkConfigurations() []*NetworkConfiguration { + if n == nil || n.NetworkConfigurations == nil { + return nil + } + return n.NetworkConfigurations +} + // GetTotalCount returns the TotalCount field if it's non-nil, zero value otherwise. func (n *NetworkConfigurations) GetTotalCount() int64 { if n == nil || n.TotalCount == nil { @@ -16670,6 +22262,22 @@ func (n *NewTeam) GetLDAPDN() string { return *n.LDAPDN } +// GetMaintainers returns the Maintainers slice if it's non-nil, nil otherwise. +func (n *NewTeam) GetMaintainers() []string { + if n == nil || n.Maintainers == nil { + return nil + } + return n.Maintainers +} + +// GetName returns the Name field. +func (n *NewTeam) GetName() string { + if n == nil { + return "" + } + return n.Name +} + // GetNotificationSetting returns the NotificationSetting field if it's non-nil, zero value otherwise. func (n *NewTeam) GetNotificationSetting() string { if n == nil || n.NotificationSetting == nil { @@ -16702,6 +22310,22 @@ func (n *NewTeam) GetPrivacy() string { return *n.Privacy } +// GetRepoNames returns the RepoNames slice if it's non-nil, nil otherwise. +func (n *NewTeam) GetRepoNames() []string { + if n == nil || n.RepoNames == nil { + return nil + } + return n.RepoNames +} + +// GetClusterRoles returns the ClusterRoles slice if it's non-nil, nil otherwise. +func (n *NodeDetails) GetClusterRoles() []string { + if n == nil || n.ClusterRoles == nil { + return nil + } + return n.ClusterRoles +} + // GetHostname returns the Hostname field if it's non-nil, zero value otherwise. func (n *NodeDetails) GetHostname() string { if n == nil || n.Hostname == nil { @@ -16718,6 +22342,14 @@ func (n *NodeDetails) GetUUID() string { return *n.UUID } +// GetNodes returns the Nodes slice if it's non-nil, nil otherwise. +func (n *NodeMetadataStatus) GetNodes() []*NodeDetails { + if n == nil || n.Nodes == nil { + return nil + } + return n.Nodes +} + // GetTopology returns the Topology field if it's non-nil, zero value otherwise. func (n *NodeMetadataStatus) GetTopology() string { if n == nil || n.Topology == nil { @@ -16822,6 +22454,38 @@ func (n *Notification) GetURL() string { return *n.URL } +// GetAll returns the All field. +func (n *NotificationListOptions) GetAll() bool { + if n == nil { + return false + } + return n.All +} + +// GetBefore returns the Before field. +func (n *NotificationListOptions) GetBefore() time.Time { + if n == nil { + return time.Time{} + } + return n.Before +} + +// GetParticipating returns the Participating field. +func (n *NotificationListOptions) GetParticipating() bool { + if n == nil { + return false + } + return n.Participating +} + +// GetSince returns the Since field. +func (n *NotificationListOptions) GetSince() time.Time { + if n == nil { + return time.Time{} + } + return n.Since +} + // GetLatestCommentURL returns the LatestCommentURL field if it's non-nil, zero value otherwise. func (n *NotificationSubject) GetLatestCommentURL() string { if n == nil || n.LatestCommentURL == nil { @@ -16878,6 +22542,14 @@ func (o *OAuthAPP) GetURL() string { return *o.URL } +// GetIncludeClaimKeys returns the IncludeClaimKeys slice if it's non-nil, nil otherwise. +func (o *OIDCSubjectClaimCustomTemplate) GetIncludeClaimKeys() []string { + if o == nil || o.IncludeClaimKeys == nil { + return nil + } + return o.IncludeClaimKeys +} + // GetUseDefault returns the UseDefault field if it's non-nil, zero value otherwise. func (o *OIDCSubjectClaimCustomTemplate) GetUseDefault() bool { if o == nil || o.UseDefault == nil { @@ -17406,6 +23078,22 @@ func (o *Organization) GetWebCommitSignoffRequired() bool { return *o.WebCommitSignoffRequired } +// GetProperties returns the Properties slice if it's non-nil, nil otherwise. +func (o *OrganizationCustomPropertyValues) GetProperties() []*CustomPropertyValue { + if o == nil || o.Properties == nil { + return nil + } + return o.Properties +} + +// GetCustomRepoRoles returns the CustomRepoRoles slice if it's non-nil, nil otherwise. +func (o *OrganizationCustomRepoRoles) GetCustomRepoRoles() []*CustomRepoRoles { + if o == nil || o.CustomRepoRoles == nil { + return nil + } + return o.CustomRepoRoles +} + // GetTotalCount returns the TotalCount field if it's non-nil, zero value otherwise. func (o *OrganizationCustomRepoRoles) GetTotalCount() int { if o == nil || o.TotalCount == nil { @@ -17414,6 +23102,14 @@ func (o *OrganizationCustomRepoRoles) GetTotalCount() int { return *o.TotalCount } +// GetCustomRepoRoles returns the CustomRepoRoles slice if it's non-nil, nil otherwise. +func (o *OrganizationCustomRoles) GetCustomRepoRoles() []*CustomOrgRole { + if o == nil || o.CustomRepoRoles == nil { + return nil + } + return o.CustomRepoRoles +} + // GetTotalCount returns the TotalCount field if it's non-nil, zero value otherwise. func (o *OrganizationCustomRoles) GetTotalCount() int { if o == nil || o.TotalCount == nil { @@ -17470,6 +23166,30 @@ func (o *OrganizationEvent) GetSender() *User { return o.Sender } +// GetDescription returns the Description field. +func (o *OrganizationFineGrainedPermission) GetDescription() string { + if o == nil { + return "" + } + return o.Description +} + +// GetName returns the Name field. +func (o *OrganizationFineGrainedPermission) GetName() string { + if o == nil { + return "" + } + return o.Name +} + +// GetInstallations returns the Installations slice if it's non-nil, nil otherwise. +func (o *OrganizationInstallations) GetInstallations() []*Installation { + if o == nil || o.Installations == nil { + return nil + } + return o.Installations +} + // GetTotalCount returns the TotalCount field if it's non-nil, zero value otherwise. func (o *OrganizationInstallations) GetTotalCount() int { if o == nil || o.TotalCount == nil { @@ -17478,6 +23198,22 @@ func (o *OrganizationInstallations) GetTotalCount() int { return *o.TotalCount } +// GetPerPage returns the PerPage field. +func (o *OrganizationsListOptions) GetPerPage() int { + if o == nil { + return 0 + } + return o.PerPage +} + +// GetSince returns the Since field. +func (o *OrganizationsListOptions) GetSince() int64 { + if o == nil { + return 0 + } + return o.Since +} + // GetAction returns the Action field if it's non-nil, zero value otherwise. func (o *OrgBlockEvent) GetAction() string { if o == nil || o.Action == nil { @@ -17694,6 +23430,14 @@ func (p *Package) GetVisibility() string { return *p.Visibility } +// GetTags returns the Tags slice if it's non-nil, nil otherwise. +func (p *PackageContainerMetadata) GetTags() []string { + if p == nil || p.Tags == nil { + return nil + } + return p.Tags +} + // GetAction returns the Action field if it's non-nil, zero value otherwise. func (p *PackageEvent) GetAction() string { if p == nil || p.Action == nil { @@ -17782,6 +23526,30 @@ func (p *PackageEventContainerMetadataTag) GetName() string { return *p.Name } +// GetReferenceCategory returns the ReferenceCategory field. +func (p *PackageExternalRef) GetReferenceCategory() string { + if p == nil { + return "" + } + return p.ReferenceCategory +} + +// GetReferenceLocator returns the ReferenceLocator field. +func (p *PackageExternalRef) GetReferenceLocator() string { + if p == nil { + return "" + } + return p.ReferenceLocator +} + +// GetReferenceType returns the ReferenceType field. +func (p *PackageExternalRef) GetReferenceType() string { + if p == nil { + return "" + } + return p.ReferenceType +} + // GetAuthor returns the Author field. func (p *PackageFile) GetAuthor() *User { if p == nil { @@ -17950,6 +23718,22 @@ func (p *PackageNPMMetadata) GetCommitOID() string { return *p.CommitOID } +// GetContributors returns the Contributors slice if it's non-nil, nil otherwise. +func (p *PackageNPMMetadata) GetContributors() []any { + if p == nil || p.Contributors == nil { + return nil + } + return p.Contributors +} + +// GetCPU returns the CPU slice if it's non-nil, nil otherwise. +func (p *PackageNPMMetadata) GetCPU() []string { + if p == nil || p.CPU == nil { + return nil + } + return p.CPU +} + // GetDeletedByID returns the DeletedByID field if it's non-nil, zero value otherwise. func (p *PackageNPMMetadata) GetDeletedByID() int64 { if p == nil || p.DeletedByID == nil { @@ -18006,6 +23790,14 @@ func (p *PackageNPMMetadata) GetEngines() map[string]string { return p.Engines } +// GetFiles returns the Files slice if it's non-nil, nil otherwise. +func (p *PackageNPMMetadata) GetFiles() []string { + if p == nil || p.Files == nil { + return nil + } + return p.Files +} + // GetGitHead returns the GitHead field if it's non-nil, zero value otherwise. func (p *PackageNPMMetadata) GetGitHead() string { if p == nil || p.GitHead == nil { @@ -18046,6 +23838,14 @@ func (p *PackageNPMMetadata) GetInstallationCommand() string { return *p.InstallationCommand } +// GetKeywords returns the Keywords slice if it's non-nil, nil otherwise. +func (p *PackageNPMMetadata) GetKeywords() []string { + if p == nil || p.Keywords == nil { + return nil + } + return p.Keywords +} + // GetLicense returns the License field if it's non-nil, zero value otherwise. func (p *PackageNPMMetadata) GetLicense() string { if p == nil || p.License == nil { @@ -18062,6 +23862,14 @@ func (p *PackageNPMMetadata) GetMain() string { return *p.Main } +// GetMaintainers returns the Maintainers slice if it's non-nil, nil otherwise. +func (p *PackageNPMMetadata) GetMaintainers() []any { + if p == nil || p.Maintainers == nil { + return nil + } + return p.Maintainers +} + // GetMan returns the Man map if it's non-nil, an empty map otherwise. func (p *PackageNPMMetadata) GetMan() map[string]any { if p == nil || p.Man == nil { @@ -18110,6 +23918,14 @@ func (p *PackageNPMMetadata) GetOptionalDependencies() map[string]string { return p.OptionalDependencies } +// GetOS returns the OS slice if it's non-nil, nil otherwise. +func (p *PackageNPMMetadata) GetOS() []string { + if p == nil || p.OS == nil { + return nil + } + return p.OS +} + // GetPeerDependencies returns the PeerDependencies map if it's non-nil, an empty map otherwise. func (p *PackageNPMMetadata) GetPeerDependencies() map[string]string { if p == nil || p.PeerDependencies == nil { @@ -18166,6 +23982,14 @@ func (p *PackageNPMMetadata) GetVersion() string { return *p.Version } +// GetID returns the ID field. +func (p *PackageNugetMetadata) GetID() json.RawMessage { + if p == nil { + return json.RawMessage{} + } + return p.ID +} + // GetName returns the Name field if it's non-nil, zero value otherwise. func (p *PackageNugetMetadata) GetName() string { if p == nil || p.Name == nil { @@ -18174,6 +23998,14 @@ func (p *PackageNugetMetadata) GetName() string { return *p.Name } +// GetValue returns the Value field. +func (p *PackageNugetMetadata) GetValue() json.RawMessage { + if p == nil { + return json.RawMessage{} + } + return p.Value +} + // GetAboutURL returns the AboutURL field if it's non-nil, zero value otherwise. func (p *PackageRegistry) GetAboutURL() string { if p == nil || p.AboutURL == nil { @@ -18302,6 +24134,30 @@ func (p *PackageRelease) GetURL() string { return *p.URL } +// GetIncludedGigabytesBandwidth returns the IncludedGigabytesBandwidth field. +func (p *PackagesBilling) GetIncludedGigabytesBandwidth() int { + if p == nil { + return 0 + } + return p.IncludedGigabytesBandwidth +} + +// GetTotalGigabytesBandwidthUsed returns the TotalGigabytesBandwidthUsed field. +func (p *PackagesBilling) GetTotalGigabytesBandwidthUsed() int { + if p == nil { + return 0 + } + return p.TotalGigabytesBandwidthUsed +} + +// GetTotalPaidGigabytesBandwidthUsed returns the TotalPaidGigabytesBandwidthUsed field. +func (p *PackagesBilling) GetTotalPaidGigabytesBandwidthUsed() int { + if p == nil { + return 0 + } + return p.TotalPaidGigabytesBandwidthUsed +} + // GetAuthor returns the Author field. func (p *PackageVersion) GetAuthor() *User { if p == nil { @@ -18350,6 +24206,14 @@ func (p *PackageVersion) GetDescription() string { return *p.Description } +// GetDockerMetadata returns the DockerMetadata slice if it's non-nil, nil otherwise. +func (p *PackageVersion) GetDockerMetadata() []any { + if p == nil || p.DockerMetadata == nil { + return nil + } + return p.DockerMetadata +} + // GetDraft returns the Draft field if it's non-nil, zero value otherwise. func (p *PackageVersion) GetDraft() bool { if p == nil || p.Draft == nil { @@ -18414,6 +24278,22 @@ func (p *PackageVersion) GetNPMMetadata() *PackageNPMMetadata { return p.NPMMetadata } +// GetNugetMetadata returns the NugetMetadata slice if it's non-nil, nil otherwise. +func (p *PackageVersion) GetNugetMetadata() []*PackageNugetMetadata { + if p == nil || p.NugetMetadata == nil { + return nil + } + return p.NugetMetadata +} + +// GetPackageFiles returns the PackageFiles slice if it's non-nil, nil otherwise. +func (p *PackageVersion) GetPackageFiles() []*PackageFile { + if p == nil || p.PackageFiles == nil { + return nil + } + return p.PackageFiles +} + // GetPackageHTMLURL returns the PackageHTMLURL field if it's non-nil, zero value otherwise. func (p *PackageVersion) GetPackageHTMLURL() string { if p == nil || p.PackageHTMLURL == nil { @@ -19086,6 +24966,14 @@ func (p *PagesHTTPSCertificate) GetDescription() string { return *p.Description } +// GetDomains returns the Domains slice if it's non-nil, nil otherwise. +func (p *PagesHTTPSCertificate) GetDomains() []string { + if p == nil || p.Domains == nil { + return nil + } + return p.Domains +} + // GetExpiresAt returns the ExpiresAt field if it's non-nil, zero value otherwise. func (p *PagesHTTPSCertificate) GetExpiresAt() string { if p == nil || p.ExpiresAt == nil { @@ -19198,6 +25086,14 @@ func (p *PagesUpdateWithoutCNAME) GetSource() *PagesSource { return p.Source } +// GetParameters returns the Parameters field. +func (p *PatternBranchRule) GetParameters() PatternRuleParameters { + if p == nil { + return PatternRuleParameters{} + } + return p.Parameters +} + // GetName returns the Name field if it's non-nil, zero value otherwise. func (p *PatternRuleParameters) GetName() string { if p == nil || p.Name == nil { @@ -19214,6 +25110,22 @@ func (p *PatternRuleParameters) GetNegate() bool { return *p.Negate } +// GetOperator returns the Operator field. +func (p *PatternRuleParameters) GetOperator() PatternRuleOperator { + if p == nil { + return "" + } + return p.Operator +} + +// GetPattern returns the Pattern field. +func (p *PatternRuleParameters) GetPattern() string { + if p == nil { + return "" + } + return p.Pattern +} + // GetCurrentUserCanApprove returns the CurrentUserCanApprove field if it's non-nil, zero value otherwise. func (p *PendingDeployment) GetCurrentUserCanApprove() bool { if p == nil || p.CurrentUserCanApprove == nil { @@ -19230,6 +25142,14 @@ func (p *PendingDeployment) GetEnvironment() *PendingDeploymentEnvironment { return p.Environment } +// GetReviewers returns the Reviewers slice if it's non-nil, nil otherwise. +func (p *PendingDeployment) GetReviewers() []*RequiredReviewer { + if p == nil || p.Reviewers == nil { + return nil + } + return p.Reviewers +} + // GetWaitTimer returns the WaitTimer field if it's non-nil, zero value otherwise. func (p *PendingDeployment) GetWaitTimer() int64 { if p == nil || p.WaitTimer == nil { @@ -19286,6 +25206,30 @@ func (p *PendingDeploymentEnvironment) GetURL() string { return *p.URL } +// GetComment returns the Comment field. +func (p *PendingDeploymentsRequest) GetComment() string { + if p == nil { + return "" + } + return p.Comment +} + +// GetEnvironmentIDs returns the EnvironmentIDs slice if it's non-nil, nil otherwise. +func (p *PendingDeploymentsRequest) GetEnvironmentIDs() []int64 { + if p == nil || p.EnvironmentIDs == nil { + return nil + } + return p.EnvironmentIDs +} + +// GetState returns the State field. +func (p *PendingDeploymentsRequest) GetState() string { + if p == nil { + return "" + } + return p.State +} + // GetAccessGrantedAt returns the AccessGrantedAt field if it's non-nil, zero value otherwise. func (p *PersonalAccessToken) GetAccessGrantedAt() Timestamp { if p == nil || p.AccessGrantedAt == nil { @@ -19454,6 +25398,14 @@ func (p *PersonalAccessTokenRequest) GetPermissionsUpgraded() *PersonalAccessTok return p.PermissionsUpgraded } +// GetRepositories returns the Repositories slice if it's non-nil, nil otherwise. +func (p *PersonalAccessTokenRequest) GetRepositories() []*Repository { + if p == nil || p.Repositories == nil { + return nil + } + return p.Repositories +} + // GetRepositoryCount returns the RepositoryCount field if it's non-nil, zero value otherwise. func (p *PersonalAccessTokenRequest) GetRepositoryCount() int64 { if p == nil || p.RepositoryCount == nil { @@ -19638,6 +25590,102 @@ func (p *Plan) GetSpace() int { return *p.Space } +// GetAutoTriggerChecks returns the AutoTriggerChecks slice if it's non-nil, nil otherwise. +func (p *PreferenceList) GetAutoTriggerChecks() []*AutoTriggerCheck { + if p == nil || p.AutoTriggerChecks == nil { + return nil + } + return p.AutoTriggerChecks +} + +// GetDiscountAmount returns the DiscountAmount field. +func (p *PremiumRequestUsageItem) GetDiscountAmount() float64 { + if p == nil { + return 0 + } + return p.DiscountAmount +} + +// GetDiscountQuantity returns the DiscountQuantity field. +func (p *PremiumRequestUsageItem) GetDiscountQuantity() float64 { + if p == nil { + return 0 + } + return p.DiscountQuantity +} + +// GetGrossAmount returns the GrossAmount field. +func (p *PremiumRequestUsageItem) GetGrossAmount() float64 { + if p == nil { + return 0 + } + return p.GrossAmount +} + +// GetGrossQuantity returns the GrossQuantity field. +func (p *PremiumRequestUsageItem) GetGrossQuantity() float64 { + if p == nil { + return 0 + } + return p.GrossQuantity +} + +// GetModel returns the Model field. +func (p *PremiumRequestUsageItem) GetModel() string { + if p == nil { + return "" + } + return p.Model +} + +// GetNetAmount returns the NetAmount field. +func (p *PremiumRequestUsageItem) GetNetAmount() float64 { + if p == nil { + return 0 + } + return p.NetAmount +} + +// GetNetQuantity returns the NetQuantity field. +func (p *PremiumRequestUsageItem) GetNetQuantity() float64 { + if p == nil { + return 0 + } + return p.NetQuantity +} + +// GetPricePerUnit returns the PricePerUnit field. +func (p *PremiumRequestUsageItem) GetPricePerUnit() float64 { + if p == nil { + return 0 + } + return p.PricePerUnit +} + +// GetProduct returns the Product field. +func (p *PremiumRequestUsageItem) GetProduct() string { + if p == nil { + return "" + } + return p.Product +} + +// GetSKU returns the SKU field. +func (p *PremiumRequestUsageItem) GetSKU() string { + if p == nil { + return "" + } + return p.SKU +} + +// GetUnitType returns the UnitType field. +func (p *PremiumRequestUsageItem) GetUnitType() string { + if p == nil { + return "" + } + return p.UnitType +} + // GetModel returns the Model field if it's non-nil, zero value otherwise. func (p *PremiumRequestUsageReport) GetModel() string { if p == nil || p.Model == nil { @@ -19662,6 +25710,22 @@ func (p *PremiumRequestUsageReport) GetProduct() string { return *p.Product } +// GetTimePeriod returns the TimePeriod field. +func (p *PremiumRequestUsageReport) GetTimePeriod() PremiumRequestUsageTimePeriod { + if p == nil { + return PremiumRequestUsageTimePeriod{} + } + return p.TimePeriod +} + +// GetUsageItems returns the UsageItems slice if it's non-nil, nil otherwise. +func (p *PremiumRequestUsageReport) GetUsageItems() []*PremiumRequestUsageItem { + if p == nil || p.UsageItems == nil { + return nil + } + return p.UsageItems +} + // GetUser returns the User field if it's non-nil, zero value otherwise. func (p *PremiumRequestUsageReport) GetUser() string { if p == nil || p.User == nil { @@ -19734,6 +25798,14 @@ func (p *PremiumRequestUsageTimePeriod) GetMonth() int { return *p.Month } +// GetYear returns the Year field. +func (p *PremiumRequestUsageTimePeriod) GetYear() int { + if p == nil { + return 0 + } + return p.Year +} + // GetConfigURL returns the ConfigURL field if it's non-nil, zero value otherwise. func (p *PreReceiveHook) GetConfigURL() string { if p == nil || p.ConfigURL == nil { @@ -19766,6 +25838,14 @@ func (p *PreReceiveHook) GetName() string { return *p.Name } +// GetConfigurations returns the Configurations slice if it's non-nil, nil otherwise. +func (p *PrivateRegistries) GetConfigurations() []*PrivateRegistry { + if p == nil || p.Configurations == nil { + return nil + } + return p.Configurations +} + // GetTotalCount returns the TotalCount field if it's non-nil, zero value otherwise. func (p *PrivateRegistries) GetTotalCount() int { if p == nil || p.TotalCount == nil { @@ -20302,6 +26382,14 @@ func (p *ProjectV2Field) GetNodeID() string { return *p.NodeID } +// GetOptions returns the Options slice if it's non-nil, nil otherwise. +func (p *ProjectV2Field) GetOptions() []*ProjectV2FieldOption { + if p == nil || p.Options == nil { + return nil + } + return p.Options +} + // GetProjectURL returns the ProjectURL field if it's non-nil, zero value otherwise. func (p *ProjectV2Field) GetProjectURL() string { if p == nil || p.ProjectURL == nil { @@ -20326,6 +26414,14 @@ func (p *ProjectV2FieldConfiguration) GetDuration() int { return *p.Duration } +// GetIterations returns the Iterations slice if it's non-nil, nil otherwise. +func (p *ProjectV2FieldConfiguration) GetIterations() []*ProjectV2FieldIteration { + if p == nil || p.Iterations == nil { + return nil + } + return p.Iterations +} + // GetStartDay returns the StartDay field if it's non-nil, zero value otherwise. func (p *ProjectV2FieldConfiguration) GetStartDay() int { if p == nil || p.StartDay == nil { @@ -20446,6 +26542,14 @@ func (p *ProjectV2Item) GetCreator() *User { return p.Creator } +// GetFields returns the Fields slice if it's non-nil, nil otherwise. +func (p *ProjectV2Item) GetFields() []*ProjectV2ItemFieldValue { + if p == nil || p.Fields == nil { + return nil + } + return p.Fields +} + // GetID returns the ID field if it's non-nil, zero value otherwise. func (p *ProjectV2Item) GetID() int64 { if p == nil || p.ID == nil { @@ -20606,6 +26710,14 @@ func (p *ProjectV2ItemFieldValue) GetName() string { return *p.Name } +// GetValue returns the Value field. +func (p *ProjectV2ItemFieldValue) GetValue() any { + if p == nil { + return nil + } + return p.Value +} + // GetBody returns the Body field if it's non-nil, zero value otherwise. func (p *ProjectV2StatusUpdate) GetBody() string { if p == nil || p.Body == nil { @@ -20966,6 +27078,14 @@ func (p *ProtectionRequest) GetBlockCreations() bool { return *p.BlockCreations } +// GetEnforceAdmins returns the EnforceAdmins field. +func (p *ProtectionRequest) GetEnforceAdmins() bool { + if p == nil { + return false + } + return p.EnforceAdmins +} + // GetLockBranch returns the LockBranch field if it's non-nil, zero value otherwise. func (p *ProtectionRequest) GetLockBranch() bool { if p == nil || p.LockBranch == nil { @@ -21038,6 +27158,14 @@ func (p *ProtectionRule) GetPreventSelfReview() bool { return *p.PreventSelfReview } +// GetReviewers returns the Reviewers slice if it's non-nil, nil otherwise. +func (p *ProtectionRule) GetReviewers() []*RequiredReviewer { + if p == nil || p.Reviewers == nil { + return nil + } + return p.Reviewers +} + // GetType returns the Type field if it's non-nil, zero value otherwise. func (p *ProtectionRule) GetType() string { if p == nil || p.Type == nil { @@ -21086,6 +27214,22 @@ func (p *PublicEvent) GetSender() *User { return p.Sender } +// GetCurrentUsage returns the CurrentUsage field. +func (p *PublicIPUsage) GetCurrentUsage() int64 { + if p == nil { + return 0 + } + return p.CurrentUsage +} + +// GetMaximum returns the Maximum field. +func (p *PublicIPUsage) GetMaximum() int64 { + if p == nil { + return 0 + } + return p.Maximum +} + // GetKey returns the Key field if it's non-nil, zero value otherwise. func (p *PublicKey) GetKey() string { if p == nil || p.Key == nil { @@ -21142,6 +27286,14 @@ func (p *PullRequest) GetAssignee() *User { return p.Assignee } +// GetAssignees returns the Assignees slice if it's non-nil, nil otherwise. +func (p *PullRequest) GetAssignees() []*User { + if p == nil || p.Assignees == nil { + return nil + } + return p.Assignees +} + // GetAuthorAssociation returns the AuthorAssociation field if it's non-nil, zero value otherwise. func (p *PullRequest) GetAuthorAssociation() string { if p == nil || p.AuthorAssociation == nil { @@ -21286,6 +27438,14 @@ func (p *PullRequest) GetIssueURL() string { return *p.IssueURL } +// GetLabels returns the Labels slice if it's non-nil, nil otherwise. +func (p *PullRequest) GetLabels() []*Label { + if p == nil || p.Labels == nil { + return nil + } + return p.Labels +} + // GetLinks returns the Links field. func (p *PullRequest) GetLinks() *PRLinks { if p == nil { @@ -21398,6 +27558,22 @@ func (p *PullRequest) GetRebaseable() bool { return *p.Rebaseable } +// GetRequestedReviewers returns the RequestedReviewers slice if it's non-nil, nil otherwise. +func (p *PullRequest) GetRequestedReviewers() []*User { + if p == nil || p.RequestedReviewers == nil { + return nil + } + return p.RequestedReviewers +} + +// GetRequestedTeams returns the RequestedTeams slice if it's non-nil, nil otherwise. +func (p *PullRequest) GetRequestedTeams() []*Team { + if p == nil || p.RequestedTeams == nil { + return nil + } + return p.RequestedTeams +} + // GetReviewComments returns the ReviewComments field if it's non-nil, zero value otherwise. func (p *PullRequest) GetReviewComments() int { if p == nil || p.ReviewComments == nil { @@ -21542,6 +27718,14 @@ func (p *PullRequestBranch) GetUser() *User { return p.User } +// GetParameters returns the Parameters field. +func (p *PullRequestBranchRule) GetParameters() PullRequestRuleParameters { + if p == nil { + return PullRequestRuleParameters{} + } + return p.Parameters +} + // GetExpectedHeadSHA returns the ExpectedHeadSHA field if it's non-nil, zero value otherwise. func (p *PullRequestBranchUpdateOptions) GetExpectedHeadSHA() string { if p == nil || p.ExpectedHeadSHA == nil { @@ -21942,6 +28126,70 @@ func (p *PullRequestLinks) GetURL() string { return *p.URL } +// GetDirection returns the Direction field. +func (p *PullRequestListCommentsOptions) GetDirection() string { + if p == nil { + return "" + } + return p.Direction +} + +// GetSince returns the Since field. +func (p *PullRequestListCommentsOptions) GetSince() time.Time { + if p == nil { + return time.Time{} + } + return p.Since +} + +// GetSort returns the Sort field. +func (p *PullRequestListCommentsOptions) GetSort() string { + if p == nil { + return "" + } + return p.Sort +} + +// GetBase returns the Base field. +func (p *PullRequestListOptions) GetBase() string { + if p == nil { + return "" + } + return p.Base +} + +// GetDirection returns the Direction field. +func (p *PullRequestListOptions) GetDirection() string { + if p == nil { + return "" + } + return p.Direction +} + +// GetHead returns the Head field. +func (p *PullRequestListOptions) GetHead() string { + if p == nil { + return "" + } + return p.Head +} + +// GetSort returns the Sort field. +func (p *PullRequestListOptions) GetSort() string { + if p == nil { + return "" + } + return p.Sort +} + +// GetState returns the State field. +func (p *PullRequestListOptions) GetState() string { + if p == nil { + return "" + } + return p.State +} + // GetMerged returns the Merged field if it's non-nil, zero value otherwise. func (p *PullRequestMergeResult) GetMerged() bool { if p == nil || p.Merged == nil { @@ -21966,6 +28214,38 @@ func (p *PullRequestMergeResult) GetSHA() string { return *p.SHA } +// GetCommitTitle returns the CommitTitle field. +func (p *PullRequestOptions) GetCommitTitle() string { + if p == nil { + return "" + } + return p.CommitTitle +} + +// GetDontDefaultIfBlank returns the DontDefaultIfBlank field. +func (p *PullRequestOptions) GetDontDefaultIfBlank() bool { + if p == nil { + return false + } + return p.DontDefaultIfBlank +} + +// GetMergeMethod returns the MergeMethod field. +func (p *PullRequestOptions) GetMergeMethod() string { + if p == nil { + return "" + } + return p.MergeMethod +} + +// GetSHA returns the SHA field. +func (p *PullRequestOptions) GetSHA() string { + if p == nil { + return "" + } + return p.SHA +} + // GetAuthorAssociation returns the AuthorAssociation field if it's non-nil, zero value otherwise. func (p *PullRequestReview) GetAuthorAssociation() string { if p == nil || p.AuthorAssociation == nil { @@ -22182,6 +28462,14 @@ func (p *PullRequestReviewRequest) GetBody() string { return *p.Body } +// GetComments returns the Comments slice if it's non-nil, nil otherwise. +func (p *PullRequestReviewRequest) GetComments() []*DraftReviewComment { + if p == nil || p.Comments == nil { + return nil + } + return p.Comments +} + // GetCommitID returns the CommitID field if it's non-nil, zero value otherwise. func (p *PullRequestReviewRequest) GetCommitID() string { if p == nil || p.CommitID == nil { @@ -22222,6 +28510,38 @@ func (p *PullRequestReviewsEnforcement) GetDismissalRestrictions() *DismissalRes return p.DismissalRestrictions } +// GetDismissStaleReviews returns the DismissStaleReviews field. +func (p *PullRequestReviewsEnforcement) GetDismissStaleReviews() bool { + if p == nil { + return false + } + return p.DismissStaleReviews +} + +// GetRequireCodeOwnerReviews returns the RequireCodeOwnerReviews field. +func (p *PullRequestReviewsEnforcement) GetRequireCodeOwnerReviews() bool { + if p == nil { + return false + } + return p.RequireCodeOwnerReviews +} + +// GetRequiredApprovingReviewCount returns the RequiredApprovingReviewCount field. +func (p *PullRequestReviewsEnforcement) GetRequiredApprovingReviewCount() int { + if p == nil { + return 0 + } + return p.RequiredApprovingReviewCount +} + +// GetRequireLastPushApproval returns the RequireLastPushApproval field. +func (p *PullRequestReviewsEnforcement) GetRequireLastPushApproval() bool { + if p == nil { + return false + } + return p.RequireLastPushApproval +} + // GetFrom returns the From field if it's non-nil, zero value otherwise. func (p *PullRequestReviewsEnforcementLevelChanges) GetFrom() string { if p == nil || p.From == nil { @@ -22246,6 +28566,30 @@ func (p *PullRequestReviewsEnforcementRequest) GetDismissalRestrictionsRequest() return p.DismissalRestrictionsRequest } +// GetDismissStaleReviews returns the DismissStaleReviews field. +func (p *PullRequestReviewsEnforcementRequest) GetDismissStaleReviews() bool { + if p == nil { + return false + } + return p.DismissStaleReviews +} + +// GetRequireCodeOwnerReviews returns the RequireCodeOwnerReviews field. +func (p *PullRequestReviewsEnforcementRequest) GetRequireCodeOwnerReviews() bool { + if p == nil { + return false + } + return p.RequireCodeOwnerReviews +} + +// GetRequiredApprovingReviewCount returns the RequiredApprovingReviewCount field. +func (p *PullRequestReviewsEnforcementRequest) GetRequiredApprovingReviewCount() int { + if p == nil { + return 0 + } + return p.RequiredApprovingReviewCount +} + // GetRequireLastPushApproval returns the RequireLastPushApproval field if it's non-nil, zero value otherwise. func (p *PullRequestReviewsEnforcementRequest) GetRequireLastPushApproval() bool { if p == nil || p.RequireLastPushApproval == nil { @@ -22286,6 +28630,14 @@ func (p *PullRequestReviewsEnforcementUpdate) GetRequireCodeOwnerReviews() bool return *p.RequireCodeOwnerReviews } +// GetRequiredApprovingReviewCount returns the RequiredApprovingReviewCount field. +func (p *PullRequestReviewsEnforcementUpdate) GetRequiredApprovingReviewCount() int { + if p == nil { + return 0 + } + return p.RequiredApprovingReviewCount +} + // GetRequireLastPushApproval returns the RequireLastPushApproval field if it's non-nil, zero value otherwise. func (p *PullRequestReviewsEnforcementUpdate) GetRequireLastPushApproval() bool { if p == nil || p.RequireLastPushApproval == nil { @@ -22350,6 +28702,62 @@ func (p *PullRequestReviewThreadEvent) GetThread() *PullRequestThread { return p.Thread } +// GetAllowedMergeMethods returns the AllowedMergeMethods slice if it's non-nil, nil otherwise. +func (p *PullRequestRuleParameters) GetAllowedMergeMethods() []PullRequestMergeMethod { + if p == nil || p.AllowedMergeMethods == nil { + return nil + } + return p.AllowedMergeMethods +} + +// GetDismissStaleReviewsOnPush returns the DismissStaleReviewsOnPush field. +func (p *PullRequestRuleParameters) GetDismissStaleReviewsOnPush() bool { + if p == nil { + return false + } + return p.DismissStaleReviewsOnPush +} + +// GetRequireCodeOwnerReview returns the RequireCodeOwnerReview field. +func (p *PullRequestRuleParameters) GetRequireCodeOwnerReview() bool { + if p == nil { + return false + } + return p.RequireCodeOwnerReview +} + +// GetRequiredApprovingReviewCount returns the RequiredApprovingReviewCount field. +func (p *PullRequestRuleParameters) GetRequiredApprovingReviewCount() int { + if p == nil { + return 0 + } + return p.RequiredApprovingReviewCount +} + +// GetRequiredReviewers returns the RequiredReviewers slice if it's non-nil, nil otherwise. +func (p *PullRequestRuleParameters) GetRequiredReviewers() []*RulesetRequiredReviewer { + if p == nil || p.RequiredReviewers == nil { + return nil + } + return p.RequiredReviewers +} + +// GetRequiredReviewThreadResolution returns the RequiredReviewThreadResolution field. +func (p *PullRequestRuleParameters) GetRequiredReviewThreadResolution() bool { + if p == nil { + return false + } + return p.RequiredReviewThreadResolution +} + +// GetRequireLastPushApproval returns the RequireLastPushApproval field. +func (p *PullRequestRuleParameters) GetRequireLastPushApproval() bool { + if p == nil { + return false + } + return p.RequireLastPushApproval +} + // GetAction returns the Action field if it's non-nil, zero value otherwise. func (p *PullRequestTargetEvent) GetAction() string { if p == nil || p.Action == nil { @@ -22470,6 +28878,14 @@ func (p *PullRequestTargetEvent) GetSender() *User { return p.Sender } +// GetComments returns the Comments slice if it's non-nil, nil otherwise. +func (p *PullRequestThread) GetComments() []*PullRequestComment { + if p == nil || p.Comments == nil { + return nil + } + return p.Comments +} + // GetID returns the ID field if it's non-nil, zero value otherwise. func (p *PullRequestThread) GetID() int64 { if p == nil || p.ID == nil { @@ -22990,6 +29406,14 @@ func (p *PushEventRepository) GetSVNURL() string { return *p.SVNURL } +// GetTopics returns the Topics slice if it's non-nil, nil otherwise. +func (p *PushEventRepository) GetTopics() []string { + if p == nil || p.Topics == nil { + return nil + } + return p.Topics +} + // GetUpdatedAt returns the UpdatedAt field if it's non-nil, zero value otherwise. func (p *PushEventRepository) GetUpdatedAt() Timestamp { if p == nil || p.UpdatedAt == nil { @@ -23022,6 +29446,94 @@ func (p *PushProtectionBypass) GetExpireAt() Timestamp { return *p.ExpireAt } +// GetReason returns the Reason field. +func (p *PushProtectionBypass) GetReason() string { + if p == nil { + return "" + } + return p.Reason +} + +// GetTokenType returns the TokenType field. +func (p *PushProtectionBypass) GetTokenType() string { + if p == nil { + return "" + } + return p.TokenType +} + +// GetPlaceholderID returns the PlaceholderID field. +func (p *PushProtectionBypassRequest) GetPlaceholderID() string { + if p == nil { + return "" + } + return p.PlaceholderID +} + +// GetReason returns the Reason field. +func (p *PushProtectionBypassRequest) GetReason() string { + if p == nil { + return "" + } + return p.Reason +} + +// GetLimit returns the Limit field. +func (r *Rate) GetLimit() int { + if r == nil { + return 0 + } + return r.Limit +} + +// GetRemaining returns the Remaining field. +func (r *Rate) GetRemaining() int { + if r == nil { + return 0 + } + return r.Remaining +} + +// GetReset returns the Reset field. +func (r *Rate) GetReset() Timestamp { + if r == nil { + return Timestamp{} + } + return r.Reset +} + +// GetResource returns the Resource field. +func (r *Rate) GetResource() string { + if r == nil { + return "" + } + return r.Resource +} + +// GetUsed returns the Used field. +func (r *Rate) GetUsed() int { + if r == nil { + return 0 + } + return r.Used +} + +// GetMessage returns the Message field. +func (r *RateLimitError) GetMessage() string { + if r == nil { + return "" + } + return r.Message +} + +// GetRate returns the Rate field. +func (r *RateLimitError) GetRate() Rate { + if r == nil { + return Rate{} + } + return r.Rate +} + // GetActionsRunnerRegistration returns the ActionsRunnerRegistration field. func (r *RateLimits) GetActionsRunnerRegistration() *Rate { if r == nil { @@ -23118,6 +29630,14 @@ func (r *RateLimits) GetSourceImport() *Rate { return r.SourceImport } +// GetType returns the Type field. +func (r *RawOptions) GetType() RawType { + if r == nil { + return 0 + } + return r.Type +} + // GetContent returns the Content field if it's non-nil, zero value otherwise. func (r *Reaction) GetContent() string { if r == nil || r.Content == nil { @@ -23262,6 +29782,14 @@ func (r *ReassignedResource) GetResourceType() string { return *r.ResourceType } +// GetStatusCode returns the StatusCode field. +func (r *RedirectionError) GetStatusCode() int { + if r == nil { + return 0 + } + return r.StatusCode +} + // GetNodeID returns the NodeID field if it's non-nil, zero value otherwise. func (r *Reference) GetNodeID() string { if r == nil || r.NodeID == nil { @@ -23678,6 +30206,38 @@ func (r *RepoAdvisoryCreditDetailed) GetUser() *User { return r.User } +// GetProperties returns the Properties slice if it's non-nil, nil otherwise. +func (r *RepoCustomPropertyValue) GetProperties() []*CustomPropertyValue { + if r == nil || r.Properties == nil { + return nil + } + return r.Properties +} + +// GetRepositoryFullName returns the RepositoryFullName field. +func (r *RepoCustomPropertyValue) GetRepositoryFullName() string { + if r == nil { + return "" + } + return r.RepositoryFullName +} + +// GetRepositoryID returns the RepositoryID field. +func (r *RepoCustomPropertyValue) GetRepositoryID() int64 { + if r == nil { + return 0 + } + return r.RepositoryID +} + +// GetRepositoryName returns the RepositoryName field. +func (r *RepoCustomPropertyValue) GetRepositoryName() string { + if r == nil { + return "" + } + return r.RepositoryName +} + // GetDownloadLocation returns the DownloadLocation field if it's non-nil, zero value otherwise. func (r *RepoDependencies) GetDownloadLocation() string { if r == nil || r.DownloadLocation == nil { @@ -23686,6 +30246,14 @@ func (r *RepoDependencies) GetDownloadLocation() string { return *r.DownloadLocation } +// GetExternalRefs returns the ExternalRefs slice if it's non-nil, nil otherwise. +func (r *RepoDependencies) GetExternalRefs() []*PackageExternalRef { + if r == nil || r.ExternalRefs == nil { + return nil + } + return r.ExternalRefs +} + // GetFilesAnalyzed returns the FilesAnalyzed field if it's non-nil, zero value otherwise. func (r *RepoDependencies) GetFilesAnalyzed() bool { if r == nil || r.FilesAnalyzed == nil { @@ -23734,6 +30302,22 @@ func (r *RepoDependencies) GetVersionInfo() string { return *r.VersionInfo } +// GetDescription returns the Description field. +func (r *RepoFineGrainedPermission) GetDescription() string { + if r == nil { + return "" + } + return r.Description +} + +// GetName returns the Name field. +func (r *RepoFineGrainedPermission) GetName() string { + if r == nil { + return "" + } + return r.Name +} + // GetEnabled returns the Enabled field if it's non-nil, zero value otherwise. func (r *RepoImmutableReleasesStatus) GetEnabled() bool { if r == nil || r.Enabled == nil { @@ -23798,6 +30382,14 @@ func (r *RepositoriesSearchResult) GetIncompleteResults() bool { return *r.IncompleteResults } +// GetRepositories returns the Repositories slice if it's non-nil, nil otherwise. +func (r *RepositoriesSearchResult) GetRepositories() []*Repository { + if r == nil || r.Repositories == nil { + return nil + } + return r.Repositories +} + // GetTotal returns the Total field if it's non-nil, zero value otherwise. func (r *RepositoriesSearchResult) GetTotal() int { if r == nil || r.Total == nil { @@ -24574,6 +31166,22 @@ func (r *Repository) GetTemplateRepository() *Repository { return r.TemplateRepository } +// GetTextMatches returns the TextMatches slice if it's non-nil, nil otherwise. +func (r *Repository) GetTextMatches() []*TextMatch { + if r == nil || r.TextMatches == nil { + return nil + } + return r.TextMatches +} + +// GetTopics returns the Topics slice if it's non-nil, nil otherwise. +func (r *Repository) GetTopics() []string { + if r == nil || r.Topics == nil { + return nil + } + return r.Topics +} + // GetTreesURL returns the TreesURL field if it's non-nil, zero value otherwise. func (r *Repository) GetTreesURL() string { if r == nil || r.TreesURL == nil { @@ -24646,6 +31254,38 @@ func (r *RepositoryActionsAccessLevel) GetAccessLevel() string { return *r.AccessLevel } +// GetAdvancedSecurityCommitters returns the AdvancedSecurityCommitters field. +func (r *RepositoryActiveCommitters) GetAdvancedSecurityCommitters() int { + if r == nil { + return 0 + } + return r.AdvancedSecurityCommitters +} + +// GetAdvancedSecurityCommittersBreakdown returns the AdvancedSecurityCommittersBreakdown slice if it's non-nil, nil otherwise. +func (r *RepositoryActiveCommitters) GetAdvancedSecurityCommittersBreakdown() []*AdvancedSecurityCommittersBreakdown { + if r == nil || r.AdvancedSecurityCommittersBreakdown == nil { + return nil + } + return r.AdvancedSecurityCommittersBreakdown +} + +// GetName returns the Name field. +func (r *RepositoryActiveCommitters) GetName() string { + if r == nil { + return "" + } + return r.Name +} + +// GetActivityType returns the ActivityType field. +func (r *RepositoryActivity) GetActivityType() string { + if r == nil { + return "" + } + return r.ActivityType +} + // GetActor returns the Actor field. func (r *RepositoryActivity) GetActor() *RepositoryActor { if r == nil { @@ -24654,6 +31294,46 @@ func (r *RepositoryActivity) GetActor() *RepositoryActor { return r.Actor } +// GetAfter returns the After field. +func (r *RepositoryActivity) GetAfter() string { + if r == nil { + return "" + } + return r.After +} + +// GetBefore returns the Before field. +func (r *RepositoryActivity) GetBefore() string { + if r == nil { + return "" + } + return r.Before +} + +// GetID returns the ID field. +func (r *RepositoryActivity) GetID() int64 { + if r == nil { + return 0 + } + return r.ID +} + +// GetNodeID returns the NodeID field. +func (r *RepositoryActivity) GetNodeID() string { + if r == nil { + return "" + } + return r.NodeID +} + +// GetRef returns the Ref field. +func (r *RepositoryActivity) GetRef() string { + if r == nil { + return "" + } + return r.Ref +} + // GetTimestamp returns the Timestamp field if it's non-nil, zero value otherwise. func (r *RepositoryActivity) GetTimestamp() Timestamp { if r == nil || r.Timestamp == nil { @@ -24814,6 +31494,14 @@ func (r *RepositoryActor) GetUserViewType() string { return *r.UserViewType } +// GetPermission returns the Permission field. +func (r *RepositoryAddCollaboratorOptions) GetPermission() string { + if r == nil { + return "" + } + return r.Permission +} + // GetRepository returns the Repository field. func (r *RepositoryAttachment) GetRepository() *Repository { if r == nil { @@ -24974,6 +31662,14 @@ func (r *RepositoryCommit) GetCommitter() *User { return r.Committer } +// GetFiles returns the Files slice if it's non-nil, nil otherwise. +func (r *RepositoryCommit) GetFiles() []*CommitFile { + if r == nil || r.Files == nil { + return nil + } + return r.Files +} + // GetHTMLURL returns the HTMLURL field if it's non-nil, zero value otherwise. func (r *RepositoryCommit) GetHTMLURL() string { if r == nil || r.HTMLURL == nil { @@ -24990,6 +31686,14 @@ func (r *RepositoryCommit) GetNodeID() string { return *r.NodeID } +// GetParents returns the Parents slice if it's non-nil, nil otherwise. +func (r *RepositoryCommit) GetParents() []*Commit { + if r == nil || r.Parents == nil { + return nil + } + return r.Parents +} + // GetSHA returns the SHA field if it's non-nil, zero value otherwise. func (r *RepositoryCommit) GetSHA() string { if r == nil || r.SHA == nil { @@ -25134,6 +31838,14 @@ func (r *RepositoryContentFileOptions) GetCommitter() *CommitAuthor { return r.Committer } +// GetContent returns the Content slice if it's non-nil, nil otherwise. +func (r *RepositoryContentFileOptions) GetContent() []byte { + if r == nil || r.Content == nil { + return nil + } + return r.Content +} + // GetMessage returns the Message field if it's non-nil, zero value otherwise. func (r *RepositoryContentFileOptions) GetMessage() string { if r == nil || r.Message == nil { @@ -25150,6 +31862,14 @@ func (r *RepositoryContentFileOptions) GetSHA() string { return *r.SHA } +// GetRef returns the Ref field. +func (r *RepositoryContentGetOptions) GetRef() string { + if r == nil { + return "" + } + return r.Ref +} + // GetContent returns the Content field. func (r *RepositoryContentResponse) GetContent() *RepositoryContent { if r == nil { @@ -25158,6 +31878,30 @@ func (r *RepositoryContentResponse) GetContent() *RepositoryContent { return r.Content } +// GetDefaultBranchOnly returns the DefaultBranchOnly field. +func (r *RepositoryCreateForkOptions) GetDefaultBranchOnly() bool { + if r == nil { + return false + } + return r.DefaultBranchOnly +} + +// GetName returns the Name field. +func (r *RepositoryCreateForkOptions) GetName() string { + if r == nil { + return "" + } + return r.Name +} + +// GetOrganization returns the Organization field. +func (r *RepositoryCreateForkOptions) GetOrganization() string { + if r == nil { + return "" + } + return r.Organization +} + // GetAction returns the Action field if it's non-nil, zero value otherwise. func (r *RepositoryDispatchEvent) GetAction() string { if r == nil || r.Action == nil { @@ -25174,6 +31918,14 @@ func (r *RepositoryDispatchEvent) GetBranch() string { return *r.Branch } +// GetClientPayload returns the ClientPayload field. +func (r *RepositoryDispatchEvent) GetClientPayload() json.RawMessage { + if r == nil { + return json.RawMessage{} + } + return r.ClientPayload +} + // GetInstallation returns the Installation field. func (r *RepositoryDispatchEvent) GetInstallation() *Installation { if r == nil { @@ -25454,6 +32206,150 @@ func (r *RepositoryLicense) GetURL() string { return *r.URL } +// GetSince returns the Since field. +func (r *RepositoryListAllOptions) GetSince() int64 { + if r == nil { + return 0 + } + return r.Since +} + +// GetAffiliation returns the Affiliation field. +func (r *RepositoryListByAuthenticatedUserOptions) GetAffiliation() string { + if r == nil { + return "" + } + return r.Affiliation +} + +// GetDirection returns the Direction field. +func (r *RepositoryListByAuthenticatedUserOptions) GetDirection() string { + if r == nil { + return "" + } + return r.Direction +} + +// GetSort returns the Sort field. +func (r *RepositoryListByAuthenticatedUserOptions) GetSort() string { + if r == nil { + return "" + } + return r.Sort +} + +// GetType returns the Type field. +func (r *RepositoryListByAuthenticatedUserOptions) GetType() string { + if r == nil { + return "" + } + return r.Type +} + +// GetVisibility returns the Visibility field. +func (r *RepositoryListByAuthenticatedUserOptions) GetVisibility() string { + if r == nil { + return "" + } + return r.Visibility +} + +// GetDirection returns the Direction field. +func (r *RepositoryListByOrgOptions) GetDirection() string { + if r == nil { + return "" + } + return r.Direction +} + +// GetSort returns the Sort field. +func (r *RepositoryListByOrgOptions) GetSort() string { + if r == nil { + return "" + } + return r.Sort +} + +// GetType returns the Type field. +func (r *RepositoryListByOrgOptions) GetType() string { + if r == nil { + return "" + } + return r.Type +} + +// GetDirection returns the Direction field. +func (r *RepositoryListByUserOptions) GetDirection() string { + if r == nil { + return "" + } + return r.Direction +} + +// GetSort returns the Sort field. +func (r *RepositoryListByUserOptions) GetSort() string { + if r == nil { + return "" + } + return r.Sort +} + +// GetType returns the Type field. +func (r *RepositoryListByUserOptions) GetType() string { + if r == nil { + return "" + } + return r.Type +} + +// GetSort returns the Sort field. +func (r *RepositoryListForksOptions) GetSort() string { + if r == nil { + return "" + } + return r.Sort +} + +// GetAffiliation returns the Affiliation field. +func (r *RepositoryListOptions) GetAffiliation() string { + if r == nil { + return "" + } + return r.Affiliation +} + +// GetDirection returns the Direction field. +func (r *RepositoryListOptions) GetDirection() string { + if r == nil { + return "" + } + return r.Direction +} + +// GetSort returns the Sort field. +func (r *RepositoryListOptions) GetSort() string { + if r == nil { + return "" + } + return r.Sort +} + +// GetType returns the Type field. +func (r *RepositoryListOptions) GetType() string { + if r == nil { + return "" + } + return r.Type +} + +// GetVisibility returns the Visibility field. +func (r *RepositoryListOptions) GetVisibility() string { + if r == nil { + return "" + } + return r.Visibility +} + // GetIncludesParents returns the IncludesParents field if it's non-nil, zero value otherwise. func (r *RepositoryListRulesetsOptions) GetIncludesParents() bool { if r == nil || r.IncludesParents == nil { @@ -25486,6 +32382,22 @@ func (r *RepositoryMergeRequest) GetHead() string { return *r.Head } +// GetAll returns the All slice if it's non-nil, nil otherwise. +func (r *RepositoryParticipation) GetAll() []int { + if r == nil || r.All == nil { + return nil + } + return r.All +} + +// GetOwner returns the Owner slice if it's non-nil, nil otherwise. +func (r *RepositoryParticipation) GetOwner() []int { + if r == nil || r.Owner == nil { + return nil + } + return r.Owner +} + // GetPermission returns the Permission field if it's non-nil, zero value otherwise. func (r *RepositoryPermissionLevel) GetPermission() string { if r == nil || r.Permission == nil { @@ -25550,6 +32462,14 @@ func (r *RepositoryPermissions) GetTriage() bool { return *r.Triage } +// GetAssets returns the Assets slice if it's non-nil, nil otherwise. +func (r *RepositoryRelease) GetAssets() []*ReleaseAsset { + if r == nil || r.Assets == nil { + return nil + } + return r.Assets +} + // GetAssetsURL returns the AssetsURL field if it's non-nil, zero value otherwise. func (r *RepositoryRelease) GetAssetsURL() string { if r == nil || r.AssetsURL == nil { @@ -25718,6 +32638,46 @@ func (r *RepositoryRelease) GetZipballURL() string { return *r.ZipballURL } +// GetBody returns the Body field. +func (r *RepositoryReleaseNotes) GetBody() string { + if r == nil { + return "" + } + return r.Body +} + +// GetName returns the Name field. +func (r *RepositoryReleaseNotes) GetName() string { + if r == nil { + return "" + } + return r.Name +} + +// GetParameters returns the Parameters field. +func (r *RepositoryRule) GetParameters() any { + if r == nil { + return nil + } + return r.Parameters +} + +// GetType returns the Type field. +func (r *RepositoryRule) GetType() RepositoryRuleType { + if r == nil { + return "" + } + return r.Type +} + +// GetBypassActors returns the BypassActors slice if it's non-nil, nil otherwise. +func (r *RepositoryRuleset) GetBypassActors() []*BypassActor { + if r == nil || r.BypassActors == nil { + return nil + } + return r.BypassActors +} + // GetConditions returns the Conditions field. func (r *RepositoryRuleset) GetConditions() *RepositoryRulesetConditions { if r == nil { @@ -25742,6 +32702,14 @@ func (r *RepositoryRuleset) GetCurrentUserCanBypass() *BypassMode { return r.CurrentUserCanBypass } +// GetEnforcement returns the Enforcement field. +func (r *RepositoryRuleset) GetEnforcement() RulesetEnforcement { + if r == nil { + return "" + } + return r.Enforcement +} + // GetID returns the ID field if it's non-nil, zero value otherwise. func (r *RepositoryRuleset) GetID() int64 { if r == nil || r.ID == nil { @@ -25758,6 +32726,14 @@ func (r *RepositoryRuleset) GetLinks() *RepositoryRulesetLinks { return r.Links } +// GetName returns the Name field. +func (r *RepositoryRuleset) GetName() string { + if r == nil { + return "" + } + return r.Name +} + // GetNodeID returns the NodeID field if it's non-nil, zero value otherwise. func (r *RepositoryRuleset) GetNodeID() string { if r == nil || r.NodeID == nil { @@ -25774,6 +32750,14 @@ func (r *RepositoryRuleset) GetRules() *RepositoryRulesetRules { return r.Rules } +// GetSource returns the Source field. +func (r *RepositoryRuleset) GetSource() string { + if r == nil { + return "" + } + return r.Source +} + // GetSourceType returns the SourceType field. func (r *RepositoryRuleset) GetSourceType() *RulesetSourceType { if r == nil { @@ -25798,6 +32782,30 @@ func (r *RepositoryRuleset) GetUpdatedAt() Timestamp { return *r.UpdatedAt } +// GetAdded returns the Added slice if it's non-nil, nil otherwise. +func (r *RepositoryRulesetChangedConditions) GetAdded() []*RepositoryRulesetConditions { + if r == nil || r.Added == nil { + return nil + } + return r.Added +} + +// GetDeleted returns the Deleted slice if it's non-nil, nil otherwise. +func (r *RepositoryRulesetChangedConditions) GetDeleted() []*RepositoryRulesetConditions { + if r == nil || r.Deleted == nil { + return nil + } + return r.Deleted +} + +// GetUpdated returns the Updated slice if it's non-nil, nil otherwise. +func (r *RepositoryRulesetChangedConditions) GetUpdated() []*RepositoryRulesetUpdatedConditions { + if r == nil || r.Updated == nil { + return nil + } + return r.Updated +} + // GetConfiguration returns the Configuration field. func (r *RepositoryRulesetChangedRule) GetConfiguration() *RepositoryRulesetChangeSource { if r == nil { @@ -25822,6 +32830,30 @@ func (r *RepositoryRulesetChangedRule) GetRuleType() *RepositoryRulesetChangeSou return r.RuleType } +// GetAdded returns the Added slice if it's non-nil, nil otherwise. +func (r *RepositoryRulesetChangedRules) GetAdded() []*RepositoryRule { + if r == nil || r.Added == nil { + return nil + } + return r.Added +} + +// GetDeleted returns the Deleted slice if it's non-nil, nil otherwise. +func (r *RepositoryRulesetChangedRules) GetDeleted() []*RepositoryRule { + if r == nil || r.Deleted == nil { + return nil + } + return r.Deleted +} + +// GetUpdated returns the Updated slice if it's non-nil, nil otherwise. +func (r *RepositoryRulesetChangedRules) GetUpdated() []*RepositoryRulesetUpdatedRules { + if r == nil || r.Updated == nil { + return nil + } + return r.Updated +} + // GetConditions returns the Conditions field. func (r *RepositoryRulesetChanges) GetConditions() *RepositoryRulesetChangedConditions { if r == nil { @@ -25862,6 +32894,14 @@ func (r *RepositoryRulesetChangeSource) GetFrom() string { return *r.From } +// GetFrom returns the From slice if it's non-nil, nil otherwise. +func (r *RepositoryRulesetChangeSources) GetFrom() []string { + if r == nil || r.From == nil { + return nil + } + return r.From +} + // GetOrganizationID returns the OrganizationID field. func (r *RepositoryRulesetConditions) GetOrganizationID() *RepositoryRulesetOrganizationIDsConditionParameters { if r == nil { @@ -26006,6 +33046,86 @@ func (r *RepositoryRulesetLinks) GetSelf() *RepositoryRulesetLink { return r.Self } +// GetOrganizationIDs returns the OrganizationIDs slice if it's non-nil, nil otherwise. +func (r *RepositoryRulesetOrganizationIDsConditionParameters) GetOrganizationIDs() []int64 { + if r == nil || r.OrganizationIDs == nil { + return nil + } + return r.OrganizationIDs +} + +// GetExclude returns the Exclude slice if it's non-nil, nil otherwise. +func (r *RepositoryRulesetOrganizationNamesConditionParameters) GetExclude() []string { + if r == nil || r.Exclude == nil { + return nil + } + return r.Exclude +} + +// GetInclude returns the Include slice if it's non-nil, nil otherwise. +func (r *RepositoryRulesetOrganizationNamesConditionParameters) GetInclude() []string { + if r == nil || r.Include == nil { + return nil + } + return r.Include +} + +// GetExclude returns the Exclude slice if it's non-nil, nil otherwise. +func (r *RepositoryRulesetOrganizationPropertyConditionParameters) GetExclude() []*RepositoryRulesetRepositoryPropertyTargetParameters { + if r == nil || r.Exclude == nil { + return nil + } + return r.Exclude +} + +// GetInclude returns the Include slice if it's non-nil, nil otherwise. +func (r *RepositoryRulesetOrganizationPropertyConditionParameters) GetInclude() []*RepositoryRulesetRepositoryPropertyTargetParameters { + if r == nil || r.Include == nil { + return nil + } + return r.Include +} + +// GetExclude returns the Exclude slice if it's non-nil, nil otherwise. +func (r *RepositoryRulesetRefConditionParameters) GetExclude() []string { + if r == nil || r.Exclude == nil { + return nil + } + return r.Exclude +} + +// GetInclude returns the Include slice if it's non-nil, nil otherwise. +func (r *RepositoryRulesetRefConditionParameters) GetInclude() []string { + if r == nil || r.Include == nil { + return nil + } + return r.Include +} + +// GetRepositoryIDs returns the RepositoryIDs slice if it's non-nil, nil otherwise. +func (r *RepositoryRulesetRepositoryIDsConditionParameters) GetRepositoryIDs() []int64 { + if r == nil || r.RepositoryIDs == nil { + return nil + } + return r.RepositoryIDs +} + +// GetExclude returns the Exclude slice if it's non-nil, nil otherwise. +func (r *RepositoryRulesetRepositoryNamesConditionParameters) GetExclude() []string { + if r == nil || r.Exclude == nil { + return nil + } + return r.Exclude +} + +// GetInclude returns the Include slice if it's non-nil, nil otherwise. +func (r *RepositoryRulesetRepositoryNamesConditionParameters) GetInclude() []string { + if r == nil || r.Include == nil { + return nil + } + return r.Include +} + // GetProtected returns the Protected field if it's non-nil, zero value otherwise. func (r *RepositoryRulesetRepositoryNamesConditionParameters) GetProtected() bool { if r == nil || r.Protected == nil { @@ -26014,6 +33134,38 @@ func (r *RepositoryRulesetRepositoryNamesConditionParameters) GetProtected() boo return *r.Protected } +// GetExclude returns the Exclude slice if it's non-nil, nil otherwise. +func (r *RepositoryRulesetRepositoryPropertyConditionParameters) GetExclude() []*RepositoryRulesetRepositoryPropertyTargetParameters { + if r == nil || r.Exclude == nil { + return nil + } + return r.Exclude +} + +// GetInclude returns the Include slice if it's non-nil, nil otherwise. +func (r *RepositoryRulesetRepositoryPropertyConditionParameters) GetInclude() []*RepositoryRulesetRepositoryPropertyTargetParameters { + if r == nil || r.Include == nil { + return nil + } + return r.Include +} + +// GetName returns the Name field. +func (r *RepositoryRulesetRepositoryPropertyTargetParameters) GetName() string { + if r == nil { + return "" + } + return r.Name +} + +// GetPropertyValues returns the PropertyValues slice if it's non-nil, nil otherwise. +func (r *RepositoryRulesetRepositoryPropertyTargetParameters) GetPropertyValues() []string { + if r == nil || r.PropertyValues == nil { + return nil + } + return r.PropertyValues +} + // GetSource returns the Source field if it's non-nil, zero value otherwise. func (r *RepositoryRulesetRepositoryPropertyTargetParameters) GetSource() string { if r == nil || r.Source == nil { @@ -26334,6 +33486,22 @@ func (r *RepositoryTag) GetZipballURL() string { return *r.ZipballURL } +// GetInternal returns the Internal field. +func (r *RepositoryVisibilityRuleParameters) GetInternal() bool { + if r == nil { + return false + } + return r.Internal +} + +// GetPrivate returns the Private field. +func (r *RepositoryVisibilityRuleParameters) GetPrivate() bool { + if r == nil { + return false + } + return r.Private +} + // GetAffectedPackageName returns the AffectedPackageName field if it's non-nil, zero value otherwise. func (r *RepositoryVulnerabilityAlert) GetAffectedPackageName() string { if r == nil || r.AffectedPackageName == nil { @@ -26614,6 +33782,14 @@ func (r *RepoStatus) GetURL() string { return *r.URL } +// GetIdentifier returns the Identifier field. +func (r *RequestedAction) GetIdentifier() string { + if r == nil { + return "" + } + return r.Identifier +} + // GetFrom returns the From field if it's non-nil, zero value otherwise. func (r *RequireCodeOwnerReviewChanges) GetFrom() bool { if r == nil || r.From == nil { @@ -26622,6 +33798,14 @@ func (r *RequireCodeOwnerReviewChanges) GetFrom() bool { return *r.From } +// GetEnabled returns the Enabled field. +func (r *RequiredConversationResolution) GetEnabled() bool { + if r == nil { + return false + } + return r.Enabled +} + // GetFrom returns the From field if it's non-nil, zero value otherwise. func (r *RequiredConversationResolutionLevelChanges) GetFrom() string { if r == nil || r.From == nil { @@ -26630,6 +33814,14 @@ func (r *RequiredConversationResolutionLevelChanges) GetFrom() string { return *r.From } +// GetParameters returns the Parameters field. +func (r *RequiredDeploymentsBranchRule) GetParameters() RequiredDeploymentsRuleParameters { + if r == nil { + return RequiredDeploymentsRuleParameters{} + } + return r.Parameters +} + // GetFrom returns the From field if it's non-nil, zero value otherwise. func (r *RequiredDeploymentsEnforcementLevelChanges) GetFrom() string { if r == nil || r.From == nil { @@ -26638,6 +33830,22 @@ func (r *RequiredDeploymentsEnforcementLevelChanges) GetFrom() string { return *r.From } +// GetRequiredDeploymentEnvironments returns the RequiredDeploymentEnvironments slice if it's non-nil, nil otherwise. +func (r *RequiredDeploymentsRuleParameters) GetRequiredDeploymentEnvironments() []string { + if r == nil || r.RequiredDeploymentEnvironments == nil { + return nil + } + return r.RequiredDeploymentEnvironments +} + +// GetReviewer returns the Reviewer field. +func (r *RequiredReviewer) GetReviewer() any { + if r == nil { + return nil + } + return r.Reviewer +} + // GetType returns the Type field if it's non-nil, zero value otherwise. func (r *RequiredReviewer) GetType() string { if r == nil || r.Type == nil { @@ -26654,6 +33862,14 @@ func (r *RequiredStatusCheck) GetAppID() int64 { return *r.AppID } +// GetContext returns the Context field. +func (r *RequiredStatusCheck) GetContext() string { + if r == nil { + return "" + } + return r.Context +} + // GetChecks returns the Checks field if it's non-nil, zero value otherwise. func (r *RequiredStatusChecks) GetChecks() []*RequiredStatusCheck { if r == nil || r.Checks == nil { @@ -26678,6 +33894,14 @@ func (r *RequiredStatusChecks) GetContextsURL() string { return *r.ContextsURL } +// GetStrict returns the Strict field. +func (r *RequiredStatusChecks) GetStrict() bool { + if r == nil { + return false + } + return r.Strict +} + // GetURL returns the URL field if it's non-nil, zero value otherwise. func (r *RequiredStatusChecks) GetURL() string { if r == nil || r.URL == nil { @@ -26686,6 +33910,22 @@ func (r *RequiredStatusChecks) GetURL() string { return *r.URL } +// GetParameters returns the Parameters field. +func (r *RequiredStatusChecksBranchRule) GetParameters() RequiredStatusChecksRuleParameters { + if r == nil { + return RequiredStatusChecksRuleParameters{} + } + return r.Parameters +} + +// GetFrom returns the From slice if it's non-nil, nil otherwise. +func (r *RequiredStatusChecksChanges) GetFrom() []string { + if r == nil || r.From == nil { + return nil + } + return r.From +} + // GetFrom returns the From field if it's non-nil, zero value otherwise. func (r *RequiredStatusChecksEnforcementLevelChanges) GetFrom() string { if r == nil || r.From == nil { @@ -26694,6 +33934,22 @@ func (r *RequiredStatusChecksEnforcementLevelChanges) GetFrom() string { return *r.From } +// GetChecks returns the Checks slice if it's non-nil, nil otherwise. +func (r *RequiredStatusChecksRequest) GetChecks() []*RequiredStatusCheck { + if r == nil || r.Checks == nil { + return nil + } + return r.Checks +} + +// GetContexts returns the Contexts slice if it's non-nil, nil otherwise. +func (r *RequiredStatusChecksRequest) GetContexts() []string { + if r == nil || r.Contexts == nil { + return nil + } + return r.Contexts +} + // GetStrict returns the Strict field if it's non-nil, zero value otherwise. func (r *RequiredStatusChecksRequest) GetStrict() bool { if r == nil || r.Strict == nil { @@ -26710,6 +33966,22 @@ func (r *RequiredStatusChecksRuleParameters) GetDoNotEnforceOnCreate() bool { return *r.DoNotEnforceOnCreate } +// GetRequiredStatusChecks returns the RequiredStatusChecks slice if it's non-nil, nil otherwise. +func (r *RequiredStatusChecksRuleParameters) GetRequiredStatusChecks() []*RuleStatusCheck { + if r == nil || r.RequiredStatusChecks == nil { + return nil + } + return r.RequiredStatusChecks +} + +// GetStrictRequiredStatusChecksPolicy returns the StrictRequiredStatusChecksPolicy field. +func (r *RequiredStatusChecksRuleParameters) GetStrictRequiredStatusChecksPolicy() bool { + if r == nil { + return false + } + return r.StrictRequiredStatusChecksPolicy +} + // GetFrom returns the From field if it's non-nil, zero value otherwise. func (r *RequireLastPushApprovalChanges) GetFrom() bool { if r == nil || r.From == nil { @@ -26718,6 +33990,134 @@ func (r *RequireLastPushApprovalChanges) GetFrom() bool { return *r.From } +// GetEnabled returns the Enabled field. +func (r *RequireLinearHistory) GetEnabled() bool { + if r == nil { + return false + } + return r.Enabled +} + +// GetAfter returns the After field. +func (r *Response) GetAfter() string { + if r == nil { + return "" + } + return r.After +} + +// GetBefore returns the Before field. +func (r *Response) GetBefore() string { + if r == nil { + return "" + } + return r.Before +} + +// GetCursor returns the Cursor field. +func (r *Response) GetCursor() string { + if r == nil { + return "" + } + return r.Cursor +} + +// GetFirstPage returns the FirstPage field. +func (r *Response) GetFirstPage() int { + if r == nil { + return 0 + } + return r.FirstPage +} + +// GetLastPage returns the LastPage field. +func (r *Response) GetLastPage() int { + if r == nil { + return 0 + } + return r.LastPage +} + +// GetNextPage returns the NextPage field. +func (r *Response) GetNextPage() int { + if r == nil { + return 0 + } + return r.NextPage +} + +// GetNextPageToken returns the NextPageToken field. +func (r *Response) GetNextPageToken() string { + if r == nil { + return "" + } + return r.NextPageToken +} + +// GetPrevPage returns the PrevPage field. +func (r *Response) GetPrevPage() int { + if r == nil { + return 0 + } + return r.PrevPage +} + +// GetRate returns the Rate field. +func (r *Response) GetRate() Rate { + if r == nil { + return Rate{} + } + return r.Rate +} + +// GetTokenExpiration returns the TokenExpiration field. +func (r *Response) GetTokenExpiration() Timestamp { + if r == nil { + return Timestamp{} + } + return r.TokenExpiration +} + +// GetComment returns the Comment field. +func (r *ReviewCustomDeploymentProtectionRuleRequest) GetComment() string { + if r == nil { + return "" + } + return r.Comment +} + +// GetEnvironmentName returns the EnvironmentName field. +func (r *ReviewCustomDeploymentProtectionRuleRequest) GetEnvironmentName() string { + if r == nil { + return "" + } + return r.EnvironmentName +} + +// GetState returns the State field. +func (r *ReviewCustomDeploymentProtectionRuleRequest) GetState() string { + if r == nil { + return "" + } + return r.State +} + +// GetTeams returns the Teams slice if it's non-nil, nil otherwise. +func (r *Reviewers) GetTeams() []*Team { + if r == nil || r.Teams == nil { + return nil + } + return r.Teams +} + +// GetUsers returns the Users slice if it's non-nil, nil otherwise. +func (r *Reviewers) GetUsers() []*User { + if r == nil || r.Users == nil { + return nil + } + return r.Users +} + // GetNodeID returns the NodeID field if it's non-nil, zero value otherwise. func (r *ReviewersRequest) GetNodeID() string { if r == nil || r.NodeID == nil { @@ -26726,6 +34126,30 @@ func (r *ReviewersRequest) GetNodeID() string { return *r.NodeID } +// GetReviewers returns the Reviewers slice if it's non-nil, nil otherwise. +func (r *ReviewersRequest) GetReviewers() []string { + if r == nil || r.Reviewers == nil { + return nil + } + return r.Reviewers +} + +// GetTeamReviewers returns the TeamReviewers slice if it's non-nil, nil otherwise. +func (r *ReviewersRequest) GetTeamReviewers() []string { + if r == nil || r.TeamReviewers == nil { + return nil + } + return r.TeamReviewers +} + +// GetAction returns the Action field. +func (r *ReviewPersonalAccessTokenRequestOptions) GetAction() string { + if r == nil { + return "" + } + return r.Action +} + // GetReason returns the Reason field if it's non-nil, zero value otherwise. func (r *ReviewPersonalAccessTokenRequestOptions) GetReason() string { if r == nil || r.Reason == nil { @@ -26790,6 +34214,46 @@ func (r *Rule) GetSeverity() string { return *r.Severity } +// GetTags returns the Tags slice if it's non-nil, nil otherwise. +func (r *Rule) GetTags() []string { + if r == nil || r.Tags == nil { + return nil + } + return r.Tags +} + +// GetAlertsThreshold returns the AlertsThreshold field. +func (r *RuleCodeScanningTool) GetAlertsThreshold() CodeScanningAlertsThreshold { + if r == nil { + return "" + } + return r.AlertsThreshold +} + +// GetSecurityAlertsThreshold returns the SecurityAlertsThreshold field. +func (r *RuleCodeScanningTool) GetSecurityAlertsThreshold() CodeScanningSecurityAlertsThreshold { + if r == nil { + return "" + } + return r.SecurityAlertsThreshold +} + +// GetTool returns the Tool field. +func (r *RuleCodeScanningTool) GetTool() string { + if r == nil { + return "" + } + return r.Tool +} + +// GetFilePatterns returns the FilePatterns slice if it's non-nil, nil otherwise. +func (r *RulesetRequiredReviewer) GetFilePatterns() []string { + if r == nil || r.FilePatterns == nil { + return nil + } + return r.FilePatterns +} + // GetMinimumApprovals returns the MinimumApprovals field if it's non-nil, zero value otherwise. func (r *RulesetRequiredReviewer) GetMinimumApprovals() int { if r == nil || r.MinimumApprovals == nil { @@ -26822,6 +34286,14 @@ func (r *RulesetReviewer) GetType() *RulesetReviewerType { return r.Type } +// GetContext returns the Context field. +func (r *RuleStatusCheck) GetContext() string { + if r == nil { + return "" + } + return r.Context +} + // GetIntegrationID returns the IntegrationID field if it's non-nil, zero value otherwise. func (r *RuleStatusCheck) GetIntegrationID() int64 { if r == nil || r.IntegrationID == nil { @@ -26830,6 +34302,14 @@ func (r *RuleStatusCheck) GetIntegrationID() int64 { return *r.IntegrationID } +// GetPath returns the Path field. +func (r *RuleWorkflow) GetPath() string { + if r == nil { + return "" + } + return r.Path +} + // GetRef returns the Ref field if it's non-nil, zero value otherwise. func (r *RuleWorkflow) GetRef() string { if r == nil || r.Ref == nil { @@ -26870,6 +34350,14 @@ func (r *Runner) GetID() int64 { return *r.ID } +// GetLabels returns the Labels slice if it's non-nil, nil otherwise. +func (r *Runner) GetLabels() []*RunnerLabels { + if r == nil || r.Labels == nil { + return nil + } + return r.Labels +} + // GetName returns the Name field if it's non-nil, zero value otherwise. func (r *Runner) GetName() string { if r == nil || r.Name == nil { @@ -27022,6 +34510,14 @@ func (r *RunnerGroup) GetSelectedRepositoriesURL() string { return *r.SelectedRepositoriesURL } +// GetSelectedWorkflows returns the SelectedWorkflows slice if it's non-nil, nil otherwise. +func (r *RunnerGroup) GetSelectedWorkflows() []string { + if r == nil || r.SelectedWorkflows == nil { + return nil + } + return r.SelectedWorkflows +} + // GetVisibility returns the Visibility field if it's non-nil, zero value otherwise. func (r *RunnerGroup) GetVisibility() string { if r == nil || r.Visibility == nil { @@ -27038,6 +34534,22 @@ func (r *RunnerGroup) GetWorkflowRestrictionsReadOnly() bool { return *r.WorkflowRestrictionsReadOnly } +// GetRunnerGroups returns the RunnerGroups slice if it's non-nil, nil otherwise. +func (r *RunnerGroups) GetRunnerGroups() []*RunnerGroup { + if r == nil || r.RunnerGroups == nil { + return nil + } + return r.RunnerGroups +} + +// GetTotalCount returns the TotalCount field. +func (r *RunnerGroups) GetTotalCount() int { + if r == nil { + return 0 + } + return r.TotalCount +} + // GetID returns the ID field if it's non-nil, zero value otherwise. func (r *RunnerLabels) GetID() int64 { if r == nil || r.ID == nil { @@ -27062,6 +34574,22 @@ func (r *RunnerLabels) GetType() string { return *r.Type } +// GetRunners returns the Runners slice if it's non-nil, nil otherwise. +func (r *Runners) GetRunners() []*Runner { + if r == nil || r.Runners == nil { + return nil + } + return r.Runners +} + +// GetTotalCount returns the TotalCount field. +func (r *Runners) GetTotalCount() int { + if r == nil { + return 0 + } + return r.TotalCount +} + // GetCheckoutURI returns the CheckoutURI field if it's non-nil, zero value otherwise. func (s *SarifAnalysis) GetCheckoutURI() string { if s == nil || s.CheckoutURI == nil { @@ -27166,6 +34694,14 @@ func (s *SBOMInfo) GetDataLicense() string { return *s.DataLicense } +// GetDocumentDescribes returns the DocumentDescribes slice if it's non-nil, nil otherwise. +func (s *SBOMInfo) GetDocumentDescribes() []string { + if s == nil || s.DocumentDescribes == nil { + return nil + } + return s.DocumentDescribes +} + // GetDocumentNamespace returns the DocumentNamespace field if it's non-nil, zero value otherwise. func (s *SBOMInfo) GetDocumentNamespace() string { if s == nil || s.DocumentNamespace == nil { @@ -27182,6 +34718,22 @@ func (s *SBOMInfo) GetName() string { return *s.Name } +// GetPackages returns the Packages slice if it's non-nil, nil otherwise. +func (s *SBOMInfo) GetPackages() []*RepoDependencies { + if s == nil || s.Packages == nil { + return nil + } + return s.Packages +} + +// GetRelationships returns the Relationships slice if it's non-nil, nil otherwise. +func (s *SBOMInfo) GetRelationships() []*SBOMRelationship { + if s == nil || s.Relationships == nil { + return nil + } + return s.Relationships +} + // GetSPDXID returns the SPDXID field if it's non-nil, zero value otherwise. func (s *SBOMInfo) GetSPDXID() string { if s == nil || s.SPDXID == nil { @@ -27198,6 +34750,30 @@ func (s *SBOMInfo) GetSPDXVersion() string { return *s.SPDXVersion } +// GetRelatedSPDXElement returns the RelatedSPDXElement field. +func (s *SBOMRelationship) GetRelatedSPDXElement() string { + if s == nil { + return "" + } + return s.RelatedSPDXElement +} + +// GetRelationshipType returns the RelationshipType field. +func (s *SBOMRelationship) GetRelationshipType() string { + if s == nil { + return "" + } + return s.RelationshipType +} + +// GetSPDXElementID returns the SPDXElementID field. +func (s *SBOMRelationship) GetSPDXElementID() string { + if s == nil { + return "" + } + return s.SPDXElementID +} + // GetAnalysisKey returns the AnalysisKey field if it's non-nil, zero value otherwise. func (s *ScanningAnalysis) GetAnalysisKey() string { if s == nil || s.AnalysisKey == nil { @@ -27318,6 +34894,30 @@ func (s *ScanningAnalysis) GetWarning() string { return *s.Warning } +// GetOperations returns the Operations slice if it's non-nil, nil otherwise. +func (s *SCIMEnterpriseAttribute) GetOperations() []*SCIMEnterpriseAttributeOperation { + if s == nil || s.Operations == nil { + return nil + } + return s.Operations +} + +// GetSchemas returns the Schemas slice if it's non-nil, nil otherwise. +func (s *SCIMEnterpriseAttribute) GetSchemas() []string { + if s == nil || s.Schemas == nil { + return nil + } + return s.Schemas +} + +// GetOp returns the Op field. +func (s *SCIMEnterpriseAttributeOperation) GetOp() string { + if s == nil { + return "" + } + return s.Op +} + // GetPath returns the Path field if it's non-nil, zero value otherwise. func (s *SCIMEnterpriseAttributeOperation) GetPath() string { if s == nil || s.Path == nil { @@ -27326,6 +34926,14 @@ func (s *SCIMEnterpriseAttributeOperation) GetPath() string { return *s.Path } +// GetValue returns the Value field. +func (s *SCIMEnterpriseAttributeOperation) GetValue() any { + if s == nil { + return nil + } + return s.Value +} + // GetDisplay returns the Display field if it's non-nil, zero value otherwise. func (s *SCIMEnterpriseDisplayReference) GetDisplay() string { if s == nil || s.Display == nil { @@ -27342,6 +34950,14 @@ func (s *SCIMEnterpriseDisplayReference) GetRef() string { return *s.Ref } +// GetValue returns the Value field. +func (s *SCIMEnterpriseDisplayReference) GetValue() string { + if s == nil { + return "" + } + return s.Value +} + // GetDisplayName returns the DisplayName field if it's non-nil, zero value otherwise. func (s *SCIMEnterpriseGroupAttributes) GetDisplayName() string { if s == nil || s.DisplayName == nil { @@ -27366,6 +34982,14 @@ func (s *SCIMEnterpriseGroupAttributes) GetID() string { return *s.ID } +// GetMembers returns the Members slice if it's non-nil, nil otherwise. +func (s *SCIMEnterpriseGroupAttributes) GetMembers() []*SCIMEnterpriseDisplayReference { + if s == nil || s.Members == nil { + return nil + } + return s.Members +} + // GetMeta returns the Meta field. func (s *SCIMEnterpriseGroupAttributes) GetMeta() *SCIMEnterpriseMeta { if s == nil { @@ -27374,6 +34998,14 @@ func (s *SCIMEnterpriseGroupAttributes) GetMeta() *SCIMEnterpriseMeta { return s.Meta } +// GetSchemas returns the Schemas slice if it's non-nil, nil otherwise. +func (s *SCIMEnterpriseGroupAttributes) GetSchemas() []string { + if s == nil || s.Schemas == nil { + return nil + } + return s.Schemas +} + // GetItemsPerPage returns the ItemsPerPage field if it's non-nil, zero value otherwise. func (s *SCIMEnterpriseGroups) GetItemsPerPage() int { if s == nil || s.ItemsPerPage == nil { @@ -27382,6 +35014,22 @@ func (s *SCIMEnterpriseGroups) GetItemsPerPage() int { return *s.ItemsPerPage } +// GetResources returns the Resources slice if it's non-nil, nil otherwise. +func (s *SCIMEnterpriseGroups) GetResources() []*SCIMEnterpriseGroupAttributes { + if s == nil || s.Resources == nil { + return nil + } + return s.Resources +} + +// GetSchemas returns the Schemas slice if it's non-nil, nil otherwise. +func (s *SCIMEnterpriseGroups) GetSchemas() []string { + if s == nil || s.Schemas == nil { + return nil + } + return s.Schemas +} + // GetStartIndex returns the StartIndex field if it's non-nil, zero value otherwise. func (s *SCIMEnterpriseGroups) GetStartIndex() int { if s == nil || s.StartIndex == nil { @@ -27422,6 +35070,54 @@ func (s *SCIMEnterpriseMeta) GetLocation() string { return *s.Location } +// GetResourceType returns the ResourceType field. +func (s *SCIMEnterpriseMeta) GetResourceType() string { + if s == nil { + return "" + } + return s.ResourceType +} + +// GetActive returns the Active field. +func (s *SCIMEnterpriseUserAttributes) GetActive() bool { + if s == nil { + return false + } + return s.Active +} + +// GetDisplayName returns the DisplayName field. +func (s *SCIMEnterpriseUserAttributes) GetDisplayName() string { + if s == nil { + return "" + } + return s.DisplayName +} + +// GetEmails returns the Emails slice if it's non-nil, nil otherwise. +func (s *SCIMEnterpriseUserAttributes) GetEmails() []*SCIMEnterpriseUserEmail { + if s == nil || s.Emails == nil { + return nil + } + return s.Emails +} + +// GetExternalID returns the ExternalID field. +func (s *SCIMEnterpriseUserAttributes) GetExternalID() string { + if s == nil { + return "" + } + return s.ExternalID +} + +// GetGroups returns the Groups slice if it's non-nil, nil otherwise. +func (s *SCIMEnterpriseUserAttributes) GetGroups() []*SCIMEnterpriseDisplayReference { + if s == nil || s.Groups == nil { + return nil + } + return s.Groups +} + // GetID returns the ID field if it's non-nil, zero value otherwise. func (s *SCIMEnterpriseUserAttributes) GetID() string { if s == nil || s.ID == nil { @@ -27446,6 +35142,62 @@ func (s *SCIMEnterpriseUserAttributes) GetName() *SCIMEnterpriseUserName { return s.Name } +// GetRoles returns the Roles slice if it's non-nil, nil otherwise. +func (s *SCIMEnterpriseUserAttributes) GetRoles() []*SCIMEnterpriseUserRole { + if s == nil || s.Roles == nil { + return nil + } + return s.Roles +} + +// GetSchemas returns the Schemas slice if it's non-nil, nil otherwise. +func (s *SCIMEnterpriseUserAttributes) GetSchemas() []string { + if s == nil || s.Schemas == nil { + return nil + } + return s.Schemas +} + +// GetUserName returns the UserName field. +func (s *SCIMEnterpriseUserAttributes) GetUserName() string { + if s == nil { + return "" + } + return s.UserName +} + +// GetPrimary returns the Primary field. +func (s *SCIMEnterpriseUserEmail) GetPrimary() bool { + if s == nil { + return false + } + return s.Primary +} + +// GetType returns the Type field. +func (s *SCIMEnterpriseUserEmail) GetType() string { + if s == nil { + return "" + } + return s.Type +} + +// GetValue returns the Value field. +func (s *SCIMEnterpriseUserEmail) GetValue() string { + if s == nil { + return "" + } + return s.Value +} + +// GetFamilyName returns the FamilyName field. +func (s *SCIMEnterpriseUserName) GetFamilyName() string { + if s == nil { + return "" + } + return s.FamilyName +} + // GetFormatted returns the Formatted field if it's non-nil, zero value otherwise. func (s *SCIMEnterpriseUserName) GetFormatted() string { if s == nil || s.Formatted == nil { @@ -27454,6 +35206,14 @@ func (s *SCIMEnterpriseUserName) GetFormatted() string { return *s.Formatted } +// GetGivenName returns the GivenName field. +func (s *SCIMEnterpriseUserName) GetGivenName() string { + if s == nil { + return "" + } + return s.GivenName +} + // GetMiddleName returns the MiddleName field if it's non-nil, zero value otherwise. func (s *SCIMEnterpriseUserName) GetMiddleName() string { if s == nil || s.MiddleName == nil { @@ -27486,6 +35246,14 @@ func (s *SCIMEnterpriseUserRole) GetType() string { return *s.Type } +// GetValue returns the Value field. +func (s *SCIMEnterpriseUserRole) GetValue() string { + if s == nil { + return "" + } + return s.Value +} + // GetItemsPerPage returns the ItemsPerPage field if it's non-nil, zero value otherwise. func (s *SCIMEnterpriseUsers) GetItemsPerPage() int { if s == nil || s.ItemsPerPage == nil { @@ -27494,6 +35262,22 @@ func (s *SCIMEnterpriseUsers) GetItemsPerPage() int { return *s.ItemsPerPage } +// GetResources returns the Resources slice if it's non-nil, nil otherwise. +func (s *SCIMEnterpriseUsers) GetResources() []*SCIMEnterpriseUserAttributes { + if s == nil || s.Resources == nil { + return nil + } + return s.Resources +} + +// GetSchemas returns the Schemas slice if it's non-nil, nil otherwise. +func (s *SCIMEnterpriseUsers) GetSchemas() []string { + if s == nil || s.Schemas == nil { + return nil + } + return s.Schemas +} + // GetStartIndex returns the StartIndex field if it's non-nil, zero value otherwise. func (s *SCIMEnterpriseUsers) GetStartIndex() int { if s == nil || s.StartIndex == nil { @@ -27550,6 +35334,22 @@ func (s *SCIMProvisionedIdentities) GetItemsPerPage() int { return *s.ItemsPerPage } +// GetResources returns the Resources slice if it's non-nil, nil otherwise. +func (s *SCIMProvisionedIdentities) GetResources() []*SCIMUserAttributes { + if s == nil || s.Resources == nil { + return nil + } + return s.Resources +} + +// GetSchemas returns the Schemas slice if it's non-nil, nil otherwise. +func (s *SCIMProvisionedIdentities) GetSchemas() []string { + if s == nil || s.Schemas == nil { + return nil + } + return s.Schemas +} + // GetStartIndex returns the StartIndex field if it's non-nil, zero value otherwise. func (s *SCIMProvisionedIdentities) GetStartIndex() int { if s == nil || s.StartIndex == nil { @@ -27582,6 +35382,14 @@ func (s *SCIMUserAttributes) GetDisplayName() string { return *s.DisplayName } +// GetEmails returns the Emails slice if it's non-nil, nil otherwise. +func (s *SCIMUserAttributes) GetEmails() []*SCIMUserEmail { + if s == nil || s.Emails == nil { + return nil + } + return s.Emails +} + // GetExternalID returns the ExternalID field if it's non-nil, zero value otherwise. func (s *SCIMUserAttributes) GetExternalID() string { if s == nil || s.ExternalID == nil { @@ -27590,6 +35398,14 @@ func (s *SCIMUserAttributes) GetExternalID() string { return *s.ExternalID } +// GetGroups returns the Groups slice if it's non-nil, nil otherwise. +func (s *SCIMUserAttributes) GetGroups() []string { + if s == nil || s.Groups == nil { + return nil + } + return s.Groups +} + // GetID returns the ID field if it's non-nil, zero value otherwise. func (s *SCIMUserAttributes) GetID() string { if s == nil || s.ID == nil { @@ -27606,6 +35422,38 @@ func (s *SCIMUserAttributes) GetMeta() *SCIMMeta { return s.Meta } +// GetName returns the Name field. +func (s *SCIMUserAttributes) GetName() SCIMUserName { + if s == nil { + return SCIMUserName{} + } + return s.Name +} + +// GetRoles returns the Roles slice if it's non-nil, nil otherwise. +func (s *SCIMUserAttributes) GetRoles() []*SCIMUserRole { + if s == nil || s.Roles == nil { + return nil + } + return s.Roles +} + +// GetSchemas returns the Schemas slice if it's non-nil, nil otherwise. +func (s *SCIMUserAttributes) GetSchemas() []string { + if s == nil || s.Schemas == nil { + return nil + } + return s.Schemas +} + +// GetUserName returns the UserName field. +func (s *SCIMUserAttributes) GetUserName() string { + if s == nil { + return "" + } + return s.UserName +} + // GetPrimary returns the Primary field if it's non-nil, zero value otherwise. func (s *SCIMUserEmail) GetPrimary() bool { if s == nil || s.Primary == nil { @@ -27622,6 +35470,22 @@ func (s *SCIMUserEmail) GetType() string { return *s.Type } +// GetValue returns the Value field. +func (s *SCIMUserEmail) GetValue() string { + if s == nil { + return "" + } + return s.Value +} + +// GetFamilyName returns the FamilyName field. +func (s *SCIMUserName) GetFamilyName() string { + if s == nil { + return "" + } + return s.FamilyName +} + // GetFormatted returns the Formatted field if it's non-nil, zero value otherwise. func (s *SCIMUserName) GetFormatted() string { if s == nil || s.Formatted == nil { @@ -27630,6 +35494,14 @@ func (s *SCIMUserName) GetFormatted() string { return *s.Formatted } +// GetGivenName returns the GivenName field. +func (s *SCIMUserName) GetGivenName() string { + if s == nil { + return "" + } + return s.GivenName +} + // GetDisplay returns the Display field if it's non-nil, zero value otherwise. func (s *SCIMUserRole) GetDisplay() string { if s == nil || s.Display == nil { @@ -27654,6 +35526,14 @@ func (s *SCIMUserRole) GetType() string { return *s.Type } +// GetValue returns the Value field. +func (s *SCIMUserRole) GetValue() string { + if s == nil { + return "" + } + return s.Value +} + // GetAdvancedSearch returns the AdvancedSearch field if it's non-nil, zero value otherwise. func (s *SearchOptions) GetAdvancedSearch() bool { if s == nil || s.AdvancedSearch == nil { @@ -27662,6 +35542,102 @@ func (s *SearchOptions) GetAdvancedSearch() bool { return *s.AdvancedSearch } +// GetOrder returns the Order field. +func (s *SearchOptions) GetOrder() string { + if s == nil { + return "" + } + return s.Order +} + +// GetSort returns the Sort field. +func (s *SearchOptions) GetSort() string { + if s == nil { + return "" + } + return s.Sort +} + +// GetTextMatch returns the TextMatch field. +func (s *SearchOptions) GetTextMatch() bool { + if s == nil { + return false + } + return s.TextMatch +} + +// GetSeatsCreated returns the SeatsCreated field. +func (s *SeatAssignments) GetSeatsCreated() int { + if s == nil { + return 0 + } + return s.SeatsCreated +} + +// GetSeatsCancelled returns the SeatsCancelled field. +func (s *SeatCancellations) GetSeatsCancelled() int { + if s == nil { + return 0 + } + return s.SeatsCancelled +} + +// GetCreatedAt returns the CreatedAt field. +func (s *Secret) GetCreatedAt() Timestamp { + if s == nil { + return Timestamp{} + } + return s.CreatedAt +} + +// GetName returns the Name field. +func (s *Secret) GetName() string { + if s == nil { + return "" + } + return s.Name +} + +// GetSelectedRepositoriesURL returns the SelectedRepositoriesURL field. +func (s *Secret) GetSelectedRepositoriesURL() string { + if s == nil { + return "" + } + return s.SelectedRepositoriesURL +} + +// GetUpdatedAt returns the UpdatedAt field. +func (s *Secret) GetUpdatedAt() Timestamp { + if s == nil { + return Timestamp{} + } + return s.UpdatedAt +} + +// GetVisibility returns the Visibility field. +func (s *Secret) GetVisibility() string { + if s == nil { + return "" + } + return s.Visibility +} + +// GetSecrets returns the Secrets slice if it's non-nil, nil otherwise. +func (s *Secrets) GetSecrets() []*Secret { + if s == nil || s.Secrets == nil { + return nil + } + return s.Secrets +} + +// GetTotalCount returns the TotalCount field. +func (s *Secrets) GetTotalCount() int { + if s == nil { + return 0 + } + return s.TotalCount +} + // GetStatus returns the Status field if it's non-nil, zero value otherwise. func (s *SecretScanning) GetStatus() string { if s == nil || s.Status == nil { @@ -27950,6 +35926,70 @@ func (s *SecretScanningAlertEvent) GetSender() *User { return s.Sender } +// GetDirection returns the Direction field. +func (s *SecretScanningAlertListOptions) GetDirection() string { + if s == nil { + return "" + } + return s.Direction +} + +// GetIsMultiRepo returns the IsMultiRepo field. +func (s *SecretScanningAlertListOptions) GetIsMultiRepo() bool { + if s == nil { + return false + } + return s.IsMultiRepo +} + +// GetIsPubliclyLeaked returns the IsPubliclyLeaked field. +func (s *SecretScanningAlertListOptions) GetIsPubliclyLeaked() bool { + if s == nil { + return false + } + return s.IsPubliclyLeaked +} + +// GetResolution returns the Resolution field. +func (s *SecretScanningAlertListOptions) GetResolution() string { + if s == nil { + return "" + } + return s.Resolution +} + +// GetSecretType returns the SecretType field. +func (s *SecretScanningAlertListOptions) GetSecretType() string { + if s == nil { + return "" + } + return s.SecretType +} + +// GetSort returns the Sort field. +func (s *SecretScanningAlertListOptions) GetSort() string { + if s == nil { + return "" + } + return s.Sort +} + +// GetState returns the State field. +func (s *SecretScanningAlertListOptions) GetState() string { + if s == nil { + return "" + } + return s.State +} + +// GetValidity returns the Validity field. +func (s *SecretScanningAlertListOptions) GetValidity() string { + if s == nil { + return "" + } + return s.Validity +} + // GetDetails returns the Details field. func (s *SecretScanningAlertLocation) GetDetails() *SecretScanningAlertLocationDetails { if s == nil { @@ -28118,6 +36158,14 @@ func (s *SecretScanningAlertUpdateOptions) GetResolutionComment() string { return *s.ResolutionComment } +// GetState returns the State field. +func (s *SecretScanningAlertUpdateOptions) GetState() string { + if s == nil { + return "" + } + return s.State +} + // GetCustomPatternVersion returns the CustomPatternVersion field if it's non-nil, zero value otherwise. func (s *SecretScanningCustomPatternSetting) GetCustomPatternVersion() string { if s == nil || s.CustomPatternVersion == nil { @@ -28126,6 +36174,38 @@ func (s *SecretScanningCustomPatternSetting) GetCustomPatternVersion() string { return *s.CustomPatternVersion } +// GetPushProtectionSetting returns the PushProtectionSetting field. +func (s *SecretScanningCustomPatternSetting) GetPushProtectionSetting() string { + if s == nil { + return "" + } + return s.PushProtectionSetting +} + +// GetTokenType returns the TokenType field. +func (s *SecretScanningCustomPatternSetting) GetTokenType() string { + if s == nil { + return "" + } + return s.TokenType +} + +// GetReviewers returns the Reviewers slice if it's non-nil, nil otherwise. +func (s *SecretScanningDelegatedBypassOptions) GetReviewers() []*BypassReviewer { + if s == nil || s.Reviewers == nil { + return nil + } + return s.Reviewers +} + +// GetCustomPatternOverrides returns the CustomPatternOverrides slice if it's non-nil, nil otherwise. +func (s *SecretScanningPatternConfigs) GetCustomPatternOverrides() []*SecretScanningPatternOverride { + if s == nil || s.CustomPatternOverrides == nil { + return nil + } + return s.CustomPatternOverrides +} + // GetPatternConfigVersion returns the PatternConfigVersion field if it's non-nil, zero value otherwise. func (s *SecretScanningPatternConfigs) GetPatternConfigVersion() string { if s == nil || s.PatternConfigVersion == nil { @@ -28134,6 +36214,14 @@ func (s *SecretScanningPatternConfigs) GetPatternConfigVersion() string { return *s.PatternConfigVersion } +// GetProviderPatternOverrides returns the ProviderPatternOverrides slice if it's non-nil, nil otherwise. +func (s *SecretScanningPatternConfigs) GetProviderPatternOverrides() []*SecretScanningPatternOverride { + if s == nil || s.ProviderPatternOverrides == nil { + return nil + } + return s.ProviderPatternOverrides +} + // GetPatternConfigVersion returns the PatternConfigVersion field if it's non-nil, zero value otherwise. func (s *SecretScanningPatternConfigsUpdate) GetPatternConfigVersion() string { if s == nil || s.PatternConfigVersion == nil { @@ -28142,6 +36230,14 @@ func (s *SecretScanningPatternConfigsUpdate) GetPatternConfigVersion() string { return *s.PatternConfigVersion } +// GetCustomPatternSettings returns the CustomPatternSettings slice if it's non-nil, nil otherwise. +func (s *SecretScanningPatternConfigsUpdateOptions) GetCustomPatternSettings() []*SecretScanningCustomPatternSetting { + if s == nil || s.CustomPatternSettings == nil { + return nil + } + return s.CustomPatternSettings +} + // GetPatternConfigVersion returns the PatternConfigVersion field if it's non-nil, zero value otherwise. func (s *SecretScanningPatternConfigsUpdateOptions) GetPatternConfigVersion() string { if s == nil || s.PatternConfigVersion == nil { @@ -28150,6 +36246,14 @@ func (s *SecretScanningPatternConfigsUpdateOptions) GetPatternConfigVersion() st return *s.PatternConfigVersion } +// GetProviderPatternSettings returns the ProviderPatternSettings slice if it's non-nil, nil otherwise. +func (s *SecretScanningPatternConfigsUpdateOptions) GetProviderPatternSettings() []*SecretScanningProviderPatternSetting { + if s == nil || s.ProviderPatternSettings == nil { + return nil + } + return s.ProviderPatternSettings +} + // GetAlertTotal returns the AlertTotal field if it's non-nil, zero value otherwise. func (s *SecretScanningPatternOverride) GetAlertTotal() int { if s == nil || s.AlertTotal == nil { @@ -28246,6 +36350,22 @@ func (s *SecretScanningPatternOverride) GetTokenType() string { return *s.TokenType } +// GetPushProtectionSetting returns the PushProtectionSetting field. +func (s *SecretScanningProviderPatternSetting) GetPushProtectionSetting() string { + if s == nil { + return "" + } + return s.PushProtectionSetting +} + +// GetTokenType returns the TokenType field. +func (s *SecretScanningProviderPatternSetting) GetTokenType() string { + if s == nil { + return "" + } + return s.TokenType +} + // GetStatus returns the Status field if it's non-nil, zero value otherwise. func (s *SecretScanningPushProtection) GetStatus() string { if s == nil || s.Status == nil { @@ -28254,6 +36374,38 @@ func (s *SecretScanningPushProtection) GetStatus() string { return *s.Status } +// GetBackfillScans returns the BackfillScans slice if it's non-nil, nil otherwise. +func (s *SecretScanningScanHistory) GetBackfillScans() []*SecretsScan { + if s == nil || s.BackfillScans == nil { + return nil + } + return s.BackfillScans +} + +// GetCustomPatternBackfillScans returns the CustomPatternBackfillScans slice if it's non-nil, nil otherwise. +func (s *SecretScanningScanHistory) GetCustomPatternBackfillScans() []*CustomPatternBackfillScan { + if s == nil || s.CustomPatternBackfillScans == nil { + return nil + } + return s.CustomPatternBackfillScans +} + +// GetIncrementalScans returns the IncrementalScans slice if it's non-nil, nil otherwise. +func (s *SecretScanningScanHistory) GetIncrementalScans() []*SecretsScan { + if s == nil || s.IncrementalScans == nil { + return nil + } + return s.IncrementalScans +} + +// GetPatternUpdateScans returns the PatternUpdateScans slice if it's non-nil, nil otherwise. +func (s *SecretScanningScanHistory) GetPatternUpdateScans() []*SecretsScan { + if s == nil || s.PatternUpdateScans == nil { + return nil + } + return s.PatternUpdateScans +} + // GetStatus returns the Status field if it's non-nil, zero value otherwise. func (s *SecretScanningValidityChecks) GetStatus() string { if s == nil || s.Status == nil { @@ -28278,6 +36430,22 @@ func (s *SecretsScan) GetStartedAt() Timestamp { return *s.StartedAt } +// GetStatus returns the Status field. +func (s *SecretsScan) GetStatus() string { + if s == nil { + return "" + } + return s.Status +} + +// GetType returns the Type field. +func (s *SecretsScan) GetType() string { + if s == nil { + return "" + } + return s.Type +} + // GetAuthor returns the Author field. func (s *SecurityAdvisory) GetAuthor() *User { if s == nil { @@ -28294,6 +36462,22 @@ func (s *SecurityAdvisory) GetClosedAt() Timestamp { return *s.ClosedAt } +// GetCollaboratingTeams returns the CollaboratingTeams slice if it's non-nil, nil otherwise. +func (s *SecurityAdvisory) GetCollaboratingTeams() []*Team { + if s == nil || s.CollaboratingTeams == nil { + return nil + } + return s.CollaboratingTeams +} + +// GetCollaboratingUsers returns the CollaboratingUsers slice if it's non-nil, nil otherwise. +func (s *SecurityAdvisory) GetCollaboratingUsers() []*User { + if s == nil || s.CollaboratingUsers == nil { + return nil + } + return s.CollaboratingUsers +} + // GetCreatedAt returns the CreatedAt field if it's non-nil, zero value otherwise. func (s *SecurityAdvisory) GetCreatedAt() Timestamp { if s == nil || s.CreatedAt == nil { @@ -28302,6 +36486,22 @@ func (s *SecurityAdvisory) GetCreatedAt() Timestamp { return *s.CreatedAt } +// GetCredits returns the Credits slice if it's non-nil, nil otherwise. +func (s *SecurityAdvisory) GetCredits() []*RepoAdvisoryCredit { + if s == nil || s.Credits == nil { + return nil + } + return s.Credits +} + +// GetCreditsDetailed returns the CreditsDetailed slice if it's non-nil, nil otherwise. +func (s *SecurityAdvisory) GetCreditsDetailed() []*RepoAdvisoryCreditDetailed { + if s == nil || s.CreditsDetailed == nil { + return nil + } + return s.CreditsDetailed +} + // GetCVEID returns the CVEID field if it's non-nil, zero value otherwise. func (s *SecurityAdvisory) GetCVEID() string { if s == nil || s.CVEID == nil { @@ -28318,6 +36518,22 @@ func (s *SecurityAdvisory) GetCVSS() *AdvisoryCVSS { return s.CVSS } +// GetCWEIDs returns the CWEIDs slice if it's non-nil, nil otherwise. +func (s *SecurityAdvisory) GetCWEIDs() []string { + if s == nil || s.CWEIDs == nil { + return nil + } + return s.CWEIDs +} + +// GetCWEs returns the CWEs slice if it's non-nil, nil otherwise. +func (s *SecurityAdvisory) GetCWEs() []*AdvisoryCWEs { + if s == nil || s.CWEs == nil { + return nil + } + return s.CWEs +} + // GetDescription returns the Description field if it's non-nil, zero value otherwise. func (s *SecurityAdvisory) GetDescription() string { if s == nil || s.Description == nil { @@ -28342,6 +36558,14 @@ func (s *SecurityAdvisory) GetHTMLURL() string { return *s.HTMLURL } +// GetIdentifiers returns the Identifiers slice if it's non-nil, nil otherwise. +func (s *SecurityAdvisory) GetIdentifiers() []*AdvisoryIdentifier { + if s == nil || s.Identifiers == nil { + return nil + } + return s.Identifiers +} + // GetPrivateFork returns the PrivateFork field. func (s *SecurityAdvisory) GetPrivateFork() *Repository { if s == nil { @@ -28366,6 +36590,14 @@ func (s *SecurityAdvisory) GetPublisher() *User { return s.Publisher } +// GetReferences returns the References slice if it's non-nil, nil otherwise. +func (s *SecurityAdvisory) GetReferences() []*AdvisoryReference { + if s == nil || s.References == nil { + return nil + } + return s.References +} + // GetSeverity returns the Severity field if it's non-nil, zero value otherwise. func (s *SecurityAdvisory) GetSeverity() string { if s == nil || s.Severity == nil { @@ -28414,6 +36646,14 @@ func (s *SecurityAdvisory) GetURL() string { return *s.URL } +// GetVulnerabilities returns the Vulnerabilities slice if it's non-nil, nil otherwise. +func (s *SecurityAdvisory) GetVulnerabilities() []*AdvisoryVulnerability { + if s == nil || s.Vulnerabilities == nil { + return nil + } + return s.Vulnerabilities +} + // GetWithdrawnAt returns the WithdrawnAt field if it's non-nil, zero value otherwise. func (s *SecurityAdvisory) GetWithdrawnAt() Timestamp { if s == nil || s.WithdrawnAt == nil { @@ -28590,6 +36830,14 @@ func (s *SecurityAndAnalysisEvent) GetSender() *User { return s.Sender } +// GetRepositories returns the Repositories slice if it's non-nil, nil otherwise. +func (s *SelectedReposList) GetRepositories() []*Repository { + if s == nil || s.Repositories == nil { + return nil + } + return s.Repositories +} + // GetTotalCount returns the TotalCount field if it's non-nil, zero value otherwise. func (s *SelectedReposList) GetTotalCount() int { if s == nil || s.TotalCount == nil { @@ -28598,6 +36846,22 @@ func (s *SelectedReposList) GetTotalCount() int { return *s.TotalCount } +// GetRepositories returns the Repositories slice if it's non-nil, nil otherwise. +func (s *SelfHostedRunnersAllowedRepos) GetRepositories() []*Repository { + if s == nil || s.Repositories == nil { + return nil + } + return s.Repositories +} + +// GetTotalCount returns the TotalCount field. +func (s *SelfHostedRunnersAllowedRepos) GetTotalCount() int { + if s == nil { + return 0 + } + return s.TotalCount +} + // GetEnabledRepositories returns the EnabledRepositories field if it's non-nil, zero value otherwise. func (s *SelfHostedRunnersSettingsOrganization) GetEnabledRepositories() string { if s == nil || s.EnabledRepositories == nil { @@ -28646,6 +36910,22 @@ func (s *ServerInstances) GetItems() *ServiceInstanceItems { return s.Items } +// GetType returns the Type field. +func (s *ServerInstances) GetType() string { + if s == nil { + return "" + } + return s.Type +} + +// GetHostname returns the Hostname field. +func (s *ServerItemProperties) GetHostname() string { + if s == nil { + return "" + } + return s.Hostname +} + // GetLastSync returns the LastSync field. func (s *ServerItemProperties) GetLastSync() *LastLicenseSync { if s == nil { @@ -28654,6 +36934,14 @@ func (s *ServerItemProperties) GetLastSync() *LastLicenseSync { return s.LastSync } +// GetServerID returns the ServerID field. +func (s *ServerItemProperties) GetServerID() string { + if s == nil { + return "" + } + return s.ServerID +} + // GetProperties returns the Properties field. func (s *ServiceInstanceItems) GetProperties() *ServerItemProperties { if s == nil { @@ -28662,6 +36950,38 @@ func (s *ServiceInstanceItems) GetProperties() *ServerItemProperties { return s.Properties } +// GetType returns the Type field. +func (s *ServiceInstanceItems) GetType() string { + if s == nil { + return "" + } + return s.Type +} + +// GetSelectedOrganizationIDs returns the SelectedOrganizationIDs slice if it's non-nil, nil otherwise. +func (s *SetOrgAccessRunnerGroupRequest) GetSelectedOrganizationIDs() []int64 { + if s == nil || s.SelectedOrganizationIDs == nil { + return nil + } + return s.SelectedOrganizationIDs +} + +// GetSelectedRepositoryIDs returns the SelectedRepositoryIDs slice if it's non-nil, nil otherwise. +func (s *SetRepoAccessRunnerGroupRequest) GetSelectedRepositoryIDs() []int64 { + if s == nil || s.SelectedRepositoryIDs == nil { + return nil + } + return s.SelectedRepositoryIDs +} + +// GetRunners returns the Runners slice if it's non-nil, nil otherwise. +func (s *SetRunnerGroupRunnersRequest) GetRunners() []int64 { + if s == nil || s.Runners == nil { + return nil + } + return s.Runners +} + // GetFrom returns the From field if it's non-nil, zero value otherwise. func (s *SignatureRequirementEnforcementLevelChanges) GetFrom() string { if s == nil || s.From == nil { @@ -28718,6 +37038,22 @@ func (s *SignatureVerification) GetVerified() bool { return *s.Verified } +// GetNegate returns the Negate field. +func (s *SimplePatternRuleParameters) GetNegate() bool { + if s == nil { + return false + } + return s.Negate +} + +// GetPattern returns the Pattern field. +func (s *SimplePatternRuleParameters) GetPattern() string { + if s == nil { + return "" + } + return s.Pattern +} + // GetProvider returns the Provider field if it's non-nil, zero value otherwise. func (s *SocialAccount) GetProvider() string { if s == nil || s.Provider == nil { @@ -28830,6 +37166,46 @@ func (s *SourceImportAuthor) GetURL() string { return *s.URL } +// GetDomain returns the Domain field. +func (s *SplunkConfig) GetDomain() string { + if s == nil { + return "" + } + return s.Domain +} + +// GetEncryptedToken returns the EncryptedToken field. +func (s *SplunkConfig) GetEncryptedToken() string { + if s == nil { + return "" + } + return s.EncryptedToken +} + +// GetKeyID returns the KeyID field. +func (s *SplunkConfig) GetKeyID() string { + if s == nil { + return "" + } + return s.KeyID +} + +// GetPort returns the Port field. +func (s *SplunkConfig) GetPort() uint16 { + if s == nil { + return 0 + } + return s.Port +} + +// GetSSLVerify returns the SSLVerify field. +func (s *SplunkConfig) GetSSLVerify() bool { + if s == nil { + return false + } + return s.SSLVerify +} + // GetPrivacyLevel returns the PrivacyLevel field if it's non-nil, zero value otherwise. func (s *SponsorshipChanges) GetPrivacyLevel() string { if s == nil || s.PrivacyLevel == nil { @@ -28910,6 +37286,14 @@ func (s *SponsorshipTier) GetFrom() string { return *s.From } +// GetKey returns the Key field. +func (s *SSHKeyOptions) GetKey() string { + if s == nil { + return "" + } + return s.Key +} + // GetHostname returns the Hostname field if it's non-nil, zero value otherwise. func (s *SSHKeyStatus) GetHostname() string { if s == nil || s.Hostname == nil { @@ -29054,6 +37438,14 @@ func (s *StarredRepository) GetStarredAt() Timestamp { return *s.StarredAt } +// GetBranches returns the Branches slice if it's non-nil, nil otherwise. +func (s *StatusEvent) GetBranches() []*Branch { + if s == nil || s.Branches == nil { + return nil + } + return s.Branches +} + // GetCommit returns the Commit field. func (s *StatusEvent) GetCommit() *RepositoryCommit { if s == nil { @@ -29166,6 +37558,30 @@ func (s *StatusEvent) GetUpdatedAt() Timestamp { return *s.UpdatedAt } +// GetDaysLeftInBillingCycle returns the DaysLeftInBillingCycle field. +func (s *StorageBilling) GetDaysLeftInBillingCycle() int { + if s == nil { + return 0 + } + return s.DaysLeftInBillingCycle +} + +// GetEstimatedPaidStorageForMonth returns the EstimatedPaidStorageForMonth field. +func (s *StorageBilling) GetEstimatedPaidStorageForMonth() int { + if s == nil { + return 0 + } + return s.EstimatedPaidStorageForMonth +} + +// GetEstimatedStorageForMonth returns the EstimatedStorageForMonth field. +func (s *StorageBilling) GetEstimatedStorageForMonth() int { + if s == nil { + return 0 + } + return s.EstimatedStorageForMonth +} + // GetAfterID returns the AfterID field if it's non-nil, zero value otherwise. func (s *SubIssueRequest) GetAfterID() int64 { if s == nil || s.AfterID == nil { @@ -29190,6 +37606,14 @@ func (s *SubIssueRequest) GetReplaceParent() bool { return *s.ReplaceParent } +// GetSubIssueID returns the SubIssueID field. +func (s *SubIssueRequest) GetSubIssueID() int64 { + if s == nil { + return 0 + } + return s.SubIssueID +} + // GetCreatedAt returns the CreatedAt field if it's non-nil, zero value otherwise. func (s *Subscription) GetCreatedAt() Timestamp { if s == nil || s.CreatedAt == nil { @@ -29246,6 +37670,14 @@ func (s *Subscription) GetURL() string { return *s.URL } +// GetNodes returns the Nodes slice if it's non-nil, nil otherwise. +func (s *SystemRequirements) GetNodes() []*SystemRequirementsNode { + if s == nil || s.Nodes == nil { + return nil + } + return s.Nodes +} + // GetStatus returns the Status field if it's non-nil, zero value otherwise. func (s *SystemRequirements) GetStatus() string { if s == nil || s.Status == nil { @@ -29262,6 +37694,14 @@ func (s *SystemRequirementsNode) GetHostname() string { return *s.Hostname } +// GetRolesStatus returns the RolesStatus slice if it's non-nil, nil otherwise. +func (s *SystemRequirementsNode) GetRolesStatus() []*SystemRequirementsNodeRoleStatus { + if s == nil || s.RolesStatus == nil { + return nil + } + return s.RolesStatus +} + // GetStatus returns the Status field if it's non-nil, zero value otherwise. func (s *SystemRequirementsNode) GetStatus() string { if s == nil || s.Status == nil { @@ -29614,6 +38054,22 @@ func (t *TeamAddEvent) GetTeam() *Team { return t.Team } +// GetRole returns the Role field. +func (t *TeamAddTeamMembershipOptions) GetRole() string { + if t == nil { + return "" + } + return t.Role +} + +// GetPermission returns the Permission field. +func (t *TeamAddTeamRepoOptions) GetPermission() string { + if t == nil { + return "" + } + return t.Permission +} + // GetDescription returns the Description field. func (t *TeamChange) GetDescription() *TeamDescription { if t == nil { @@ -29934,6 +38390,14 @@ func (t *TeamLDAPMapping) GetURL() string { return *t.URL } +// GetRole returns the Role field. +func (t *TeamListTeamMembersOptions) GetRole() string { + if t == nil { + return "" + } + return t.Role +} + // GetFrom returns the From field if it's non-nil, zero value otherwise. func (t *TeamName) GetFrom() string { if t == nil || t.From == nil { @@ -30046,6 +38510,14 @@ func (t *TextMatch) GetFragment() string { return *t.Fragment } +// GetMatches returns the Matches slice if it's non-nil, nil otherwise. +func (t *TextMatch) GetMatches() []*Match { + if t == nil || t.Matches == nil { + return nil + } + return t.Matches +} + // GetObjectType returns the ObjectType field if it's non-nil, zero value otherwise. func (t *TextMatch) GetObjectType() string { if t == nil || t.ObjectType == nil { @@ -30182,6 +38654,14 @@ func (t *Timeline) GetMilestone() *Milestone { return t.Milestone } +// GetParents returns the Parents slice if it's non-nil, nil otherwise. +func (t *Timeline) GetParents() []*Commit { + if t == nil || t.Parents == nil { + return nil + } + return t.Parents +} + // GetPerformedViaGithubApp returns the PerformedViaGithubApp field. func (t *Timeline) GetPerformedViaGithubApp() *App { if t == nil { @@ -30350,12 +38830,12 @@ func (t *TopicResult) GetName() string { return *t.Name } -// GetScore returns the Score field. -func (t *TopicResult) GetScore() *float64 { - if t == nil { - return nil +// GetScore returns the Score field if it's non-nil, zero value otherwise. +func (t *TopicResult) GetScore() float64 { + if t == nil || t.Score == nil { + return 0 } - return t.Score + return *t.Score } // GetShortDescription returns the ShortDescription field if it's non-nil, zero value otherwise. @@ -30382,6 +38862,14 @@ func (t *TopicsSearchResult) GetIncompleteResults() bool { return *t.IncompleteResults } +// GetTopics returns the Topics slice if it's non-nil, nil otherwise. +func (t *TopicsSearchResult) GetTopics() []*TopicResult { + if t == nil || t.Topics == nil { + return nil + } + return t.Topics +} + // GetTotal returns the Total field if it's non-nil, zero value otherwise. func (t *TopicsSearchResult) GetTotal() int { if t == nil || t.Total == nil { @@ -30390,6 +38878,38 @@ func (t *TopicsSearchResult) GetTotal() int { return *t.Total } +// GetTotalActiveCachesCount returns the TotalActiveCachesCount field. +func (t *TotalCacheUsage) GetTotalActiveCachesCount() int { + if t == nil { + return 0 + } + return t.TotalActiveCachesCount +} + +// GetTotalActiveCachesUsageSizeInBytes returns the TotalActiveCachesUsageSizeInBytes field. +func (t *TotalCacheUsage) GetTotalActiveCachesUsageSizeInBytes() int64 { + if t == nil { + return 0 + } + return t.TotalActiveCachesUsageSizeInBytes +} + +// GetPer returns the Per field. +func (t *TrafficBreakdownOptions) GetPer() string { + if t == nil { + return "" + } + return t.Per +} + +// GetClones returns the Clones slice if it's non-nil, nil otherwise. +func (t *TrafficClones) GetClones() []*TrafficData { + if t == nil || t.Clones == nil { + return nil + } + return t.Clones +} + // GetCount returns the Count field if it's non-nil, zero value otherwise. func (t *TrafficClones) GetCount() int { if t == nil || t.Count == nil { @@ -30502,6 +39022,14 @@ func (t *TrafficViews) GetUniques() int { return *t.Uniques } +// GetViews returns the Views slice if it's non-nil, nil otherwise. +func (t *TrafficViews) GetViews() []*TrafficData { + if t == nil || t.Views == nil { + return nil + } + return t.Views +} + // GetNewName returns the NewName field if it's non-nil, zero value otherwise. func (t *TransferRequest) GetNewName() string { if t == nil || t.NewName == nil { @@ -30510,6 +39038,30 @@ func (t *TransferRequest) GetNewName() string { return *t.NewName } +// GetNewOwner returns the NewOwner field. +func (t *TransferRequest) GetNewOwner() string { + if t == nil { + return "" + } + return t.NewOwner +} + +// GetTeamID returns the TeamID slice if it's non-nil, nil otherwise. +func (t *TransferRequest) GetTeamID() []int64 { + if t == nil || t.TeamID == nil { + return nil + } + return t.TeamID +} + +// GetEntries returns the Entries slice if it's non-nil, nil otherwise. +func (t *Tree) GetEntries() []*TreeEntry { + if t == nil || t.Entries == nil { + return nil + } + return t.Entries +} + // GetSHA returns the SHA field if it's non-nil, zero value otherwise. func (t *Tree) GetSHA() string { if t == nil || t.SHA == nil { @@ -30582,6 +39134,22 @@ func (t *TreeEntry) GetURL() string { return *t.URL } +// GetClientID returns the ClientID field. +func (u *UnauthenticatedRateLimitedTransport) GetClientID() string { + if u == nil { + return "" + } + return u.ClientID +} + +// GetClientSecret returns the ClientSecret field. +func (u *UnauthenticatedRateLimitedTransport) GetClientSecret() string { + if u == nil { + return "" + } + return u.ClientSecret +} + // GetRepositorySelection returns the RepositorySelection field if it's non-nil, zero value otherwise. func (u *UpdateAppInstallationRepositoriesOptions) GetRepositorySelection() string { if u == nil || u.RepositorySelection == nil { @@ -30590,6 +39158,22 @@ func (u *UpdateAppInstallationRepositoriesOptions) GetRepositorySelection() stri return *u.RepositorySelection } +// GetSelectedRepositoryIDs returns the SelectedRepositoryIDs slice if it's non-nil, nil otherwise. +func (u *UpdateAppInstallationRepositoriesOptions) GetSelectedRepositoryIDs() []int64 { + if u == nil || u.SelectedRepositoryIDs == nil { + return nil + } + return u.SelectedRepositoryIDs +} + +// GetOp returns the Op field. +func (u *UpdateAttributeForSCIMUserOperations) GetOp() string { + if u == nil { + return "" + } + return u.Op +} + // GetPath returns the Path field if it's non-nil, zero value otherwise. func (u *UpdateAttributeForSCIMUserOperations) GetPath() string { if u == nil || u.Path == nil { @@ -30598,6 +39182,46 @@ func (u *UpdateAttributeForSCIMUserOperations) GetPath() string { return *u.Path } +// GetValue returns the Value field. +func (u *UpdateAttributeForSCIMUserOperations) GetValue() json.RawMessage { + if u == nil { + return json.RawMessage{} + } + return u.Value +} + +// GetOperations returns the Operations field. +func (u *UpdateAttributeForSCIMUserOptions) GetOperations() UpdateAttributeForSCIMUserOperations { + if u == nil { + return UpdateAttributeForSCIMUserOperations{} + } + return u.Operations +} + +// GetSchemas returns the Schemas slice if it's non-nil, nil otherwise. +func (u *UpdateAttributeForSCIMUserOptions) GetSchemas() []string { + if u == nil || u.Schemas == nil { + return nil + } + return u.Schemas +} + +// GetParameters returns the Parameters field. +func (u *UpdateBranchRule) GetParameters() UpdateRuleParameters { + if u == nil { + return UpdateRuleParameters{} + } + return u.Parameters +} + +// GetActions returns the Actions slice if it's non-nil, nil otherwise. +func (u *UpdateCheckRunOptions) GetActions() []*CheckRunAction { + if u == nil || u.Actions == nil { + return nil + } + return u.Actions +} + // GetCompletedAt returns the CompletedAt field if it's non-nil, zero value otherwise. func (u *UpdateCheckRunOptions) GetCompletedAt() Timestamp { if u == nil || u.CompletedAt == nil { @@ -30630,6 +39254,14 @@ func (u *UpdateCheckRunOptions) GetExternalID() string { return *u.ExternalID } +// GetName returns the Name field. +func (u *UpdateCheckRunOptions) GetName() string { + if u == nil { + return "" + } + return u.Name +} + // GetOutput returns the Output field. func (u *UpdateCheckRunOptions) GetOutput() *CheckRunOutput { if u == nil { @@ -30654,6 +39286,14 @@ func (u *UpdateCodespaceOptions) GetMachine() string { return *u.Machine } +// GetRecentFolders returns the RecentFolders slice if it's non-nil, nil otherwise. +func (u *UpdateCodespaceOptions) GetRecentFolders() []string { + if u == nil || u.RecentFolders == nil { + return nil + } + return u.RecentFolders +} + // GetBaseRole returns the BaseRole field if it's non-nil, zero value otherwise. func (u *UpdateCustomOrgRoleRequest) GetBaseRole() string { if u == nil || u.BaseRole == nil { @@ -30678,6 +39318,22 @@ func (u *UpdateCustomOrgRoleRequest) GetName() string { return *u.Name } +// GetPermissions returns the Permissions slice if it's non-nil, nil otherwise. +func (u *UpdateCustomOrgRoleRequest) GetPermissions() []string { + if u == nil || u.Permissions == nil { + return nil + } + return u.Permissions +} + +// GetLanguages returns the Languages slice if it's non-nil, nil otherwise. +func (u *UpdateDefaultSetupConfigurationOptions) GetLanguages() []string { + if u == nil || u.Languages == nil { + return nil + } + return u.Languages +} + // GetQuerySuite returns the QuerySuite field if it's non-nil, zero value otherwise. func (u *UpdateDefaultSetupConfigurationOptions) GetQuerySuite() string { if u == nil || u.QuerySuite == nil { @@ -30686,6 +39342,14 @@ func (u *UpdateDefaultSetupConfigurationOptions) GetQuerySuite() string { return *u.QuerySuite } +// GetState returns the State field. +func (u *UpdateDefaultSetupConfigurationOptions) GetState() string { + if u == nil { + return "" + } + return u.State +} + // GetRunID returns the RunID field if it's non-nil, zero value otherwise. func (u *UpdateDefaultSetupConfigurationResponse) GetRunID() int64 { if u == nil || u.RunID == nil { @@ -30726,6 +39390,14 @@ func (u *UpdateEnterpriseRunnerGroupRequest) GetRestrictedToWorkflows() bool { return *u.RestrictedToWorkflows } +// GetSelectedWorkflows returns the SelectedWorkflows slice if it's non-nil, nil otherwise. +func (u *UpdateEnterpriseRunnerGroupRequest) GetSelectedWorkflows() []string { + if u == nil || u.SelectedWorkflows == nil { + return nil + } + return u.SelectedWorkflows +} + // GetVisibility returns the Visibility field if it's non-nil, zero value otherwise. func (u *UpdateEnterpriseRunnerGroupRequest) GetVisibility() string { if u == nil || u.Visibility == nil { @@ -30814,6 +39486,14 @@ func (u *UpdateOrganizationPrivateRegistry) GetRegistryType() string { return *u.RegistryType } +// GetSelectedRepositoryIDs returns the SelectedRepositoryIDs slice if it's non-nil, nil otherwise. +func (u *UpdateOrganizationPrivateRegistry) GetSelectedRepositoryIDs() []int64 { + if u == nil || u.SelectedRepositoryIDs == nil { + return nil + } + return u.SelectedRepositoryIDs +} + // GetURL returns the URL field if it's non-nil, zero value otherwise. func (u *UpdateOrganizationPrivateRegistry) GetURL() string { if u == nil || u.URL == nil { @@ -30846,6 +39526,30 @@ func (u *UpdateProjectItemOptions) GetArchived() bool { return *u.Archived } +// GetFields returns the Fields slice if it's non-nil, nil otherwise. +func (u *UpdateProjectItemOptions) GetFields() []*UpdateProjectV2Field { + if u == nil || u.Fields == nil { + return nil + } + return u.Fields +} + +// GetID returns the ID field. +func (u *UpdateProjectV2Field) GetID() int64 { + if u == nil { + return 0 + } + return u.ID +} + +// GetValue returns the Value field. +func (u *UpdateProjectV2Field) GetValue() any { + if u == nil { + return nil + } + return u.Value +} + // GetForce returns the Force field if it's non-nil, zero value otherwise. func (u *UpdateRef) GetForce() bool { if u == nil || u.Force == nil { @@ -30854,6 +39558,22 @@ func (u *UpdateRef) GetForce() bool { return *u.Force } +// GetSHA returns the SHA field. +func (u *UpdateRef) GetSHA() string { + if u == nil { + return "" + } + return u.SHA +} + +// GetUpdateAllowsFetchAndMerge returns the UpdateAllowsFetchAndMerge field. +func (u *UpdateRuleParameters) GetUpdateAllowsFetchAndMerge() bool { + if u == nil { + return false + } + return u.UpdateAllowsFetchAndMerge +} + // GetAllowsPublicRepositories returns the AllowsPublicRepositories field if it's non-nil, zero value otherwise. func (u *UpdateRunnerGroupRequest) GetAllowsPublicRepositories() bool { if u == nil || u.AllowsPublicRepositories == nil { @@ -30886,6 +39606,14 @@ func (u *UpdateRunnerGroupRequest) GetRestrictedToWorkflows() bool { return *u.RestrictedToWorkflows } +// GetSelectedWorkflows returns the SelectedWorkflows slice if it's non-nil, nil otherwise. +func (u *UpdateRunnerGroupRequest) GetSelectedWorkflows() []string { + if u == nil || u.SelectedWorkflows == nil { + return nil + } + return u.SelectedWorkflows +} + // GetVisibility returns the Visibility field if it's non-nil, zero value otherwise. func (u *UpdateRunnerGroupRequest) GetVisibility() string { if u == nil || u.Visibility == nil { @@ -30894,6 +39622,70 @@ func (u *UpdateRunnerGroupRequest) GetVisibility() string { return *u.Visibility } +// GetLicense returns the License field. +func (u *UploadLicenseOptions) GetLicense() string { + if u == nil { + return "" + } + return u.License +} + +// GetLabel returns the Label field. +func (u *UploadOptions) GetLabel() string { + if u == nil { + return "" + } + return u.Label +} + +// GetMediaType returns the MediaType field. +func (u *UploadOptions) GetMediaType() string { + if u == nil { + return "" + } + return u.MediaType +} + +// GetName returns the Name field. +func (u *UploadOptions) GetName() string { + if u == nil { + return "" + } + return u.Name +} + +// GetDate returns the Date field. +func (u *UsageItem) GetDate() string { + if u == nil { + return "" + } + return u.Date +} + +// GetDiscountAmount returns the DiscountAmount field. +func (u *UsageItem) GetDiscountAmount() float64 { + if u == nil { + return 0 + } + return u.DiscountAmount +} + +// GetGrossAmount returns the GrossAmount field. +func (u *UsageItem) GetGrossAmount() float64 { + if u == nil { + return 0 + } + return u.GrossAmount +} + +// GetNetAmount returns the NetAmount field. +func (u *UsageItem) GetNetAmount() float64 { + if u == nil { + return 0 + } + return u.NetAmount +} + // GetOrganizationName returns the OrganizationName field if it's non-nil, zero value otherwise. func (u *UsageItem) GetOrganizationName() string { if u == nil || u.OrganizationName == nil { @@ -30902,6 +39694,30 @@ func (u *UsageItem) GetOrganizationName() string { return *u.OrganizationName } +// GetPricePerUnit returns the PricePerUnit field. +func (u *UsageItem) GetPricePerUnit() float64 { + if u == nil { + return 0 + } + return u.PricePerUnit +} + +// GetProduct returns the Product field. +func (u *UsageItem) GetProduct() string { + if u == nil { + return "" + } + return u.Product +} + +// GetQuantity returns the Quantity field. +func (u *UsageItem) GetQuantity() float64 { + if u == nil { + return 0 + } + return u.Quantity +} + // GetRepositoryName returns the RepositoryName field if it's non-nil, zero value otherwise. func (u *UsageItem) GetRepositoryName() string { if u == nil || u.RepositoryName == nil { @@ -30910,6 +39726,30 @@ func (u *UsageItem) GetRepositoryName() string { return *u.RepositoryName } +// GetSKU returns the SKU field. +func (u *UsageItem) GetSKU() string { + if u == nil { + return "" + } + return u.SKU +} + +// GetUnitType returns the UnitType field. +func (u *UsageItem) GetUnitType() string { + if u == nil { + return "" + } + return u.UnitType +} + +// GetUsageItems returns the UsageItems slice if it's non-nil, nil otherwise. +func (u *UsageReport) GetUsageItems() []*UsageItem { + if u == nil || u.UsageItems == nil { + return nil + } + return u.UsageItems +} + // GetDay returns the Day field if it's non-nil, zero value otherwise. func (u *UsageReportOptions) GetDay() int { if u == nil || u.Day == nil { @@ -31094,6 +39934,14 @@ func (u *User) GetID() int64 { return *u.ID } +// GetInheritedFrom returns the InheritedFrom slice if it's non-nil, nil otherwise. +func (u *User) GetInheritedFrom() []*Team { + if u == nil || u.InheritedFrom == nil { + return nil + } + return u.InheritedFrom +} + // GetLdapDn returns the LdapDn field if it's non-nil, zero value otherwise. func (u *User) GetLdapDn() string { if u == nil || u.LdapDn == nil { @@ -31246,6 +40094,14 @@ func (u *User) GetSuspendedAt() Timestamp { return *u.SuspendedAt } +// GetTextMatches returns the TextMatches slice if it's non-nil, nil otherwise. +func (u *User) GetTextMatches() []*TextMatch { + if u == nil || u.TextMatches == nil { + return nil + } + return u.TextMatches +} + // GetTotalPrivateRepos returns the TotalPrivateRepos field if it's non-nil, zero value otherwise. func (u *User) GetTotalPrivateRepos() int64 { if u == nil || u.TotalPrivateRepos == nil { @@ -31350,6 +40206,14 @@ func (u *UserAuthorization) GetNoteURL() string { return *u.NoteURL } +// GetScopes returns the Scopes slice if it's non-nil, nil otherwise. +func (u *UserAuthorization) GetScopes() []string { + if u == nil || u.Scopes == nil { + return nil + } + return u.Scopes +} + // GetToken returns the Token field if it's non-nil, zero value otherwise. func (u *UserAuthorization) GetToken() string { if u == nil || u.Token == nil { @@ -31606,6 +40470,22 @@ func (u *UserLDAPMapping) GetURL() string { return *u.URL } +// GetPerPage returns the PerPage field. +func (u *UserListOptions) GetPerPage() int { + if u == nil { + return 0 + } + return u.PerPage +} + +// GetSince returns the Since field. +func (u *UserListOptions) GetSince() int64 { + if u == nil { + return 0 + } + return u.Since +} + // GetCreatedAt returns the CreatedAt field if it's non-nil, zero value otherwise. func (u *UserMigration) GetCreatedAt() string { if u == nil || u.CreatedAt == nil { @@ -31646,6 +40526,14 @@ func (u *UserMigration) GetLockRepositories() bool { return *u.LockRepositories } +// GetRepositories returns the Repositories slice if it's non-nil, nil otherwise. +func (u *UserMigration) GetRepositories() []*Repository { + if u == nil || u.Repositories == nil { + return nil + } + return u.Repositories +} + // GetState returns the State field if it's non-nil, zero value otherwise. func (u *UserMigration) GetState() string { if u == nil || u.State == nil { @@ -31670,6 +40558,22 @@ func (u *UserMigration) GetURL() string { return *u.URL } +// GetExcludeAttachments returns the ExcludeAttachments field. +func (u *UserMigrationOptions) GetExcludeAttachments() bool { + if u == nil { + return false + } + return u.ExcludeAttachments +} + +// GetLockRepositories returns the LockRepositories field. +func (u *UserMigrationOptions) GetLockRepositories() bool { + if u == nil { + return false + } + return u.LockRepositories +} + // GetIncompleteResults returns the IncompleteResults field if it's non-nil, zero value otherwise. func (u *UsersSearchResult) GetIncompleteResults() bool { if u == nil || u.IncompleteResults == nil { @@ -31686,6 +40590,14 @@ func (u *UsersSearchResult) GetTotal() int { return *u.Total } +// GetUsers returns the Users slice if it's non-nil, nil otherwise. +func (u *UsersSearchResult) GetUsers() []*User { + if u == nil || u.Users == nil { + return nil + } + return u.Users +} + // GetAdminUsers returns the AdminUsers field if it's non-nil, zero value otherwise. func (u *UserStats) GetAdminUsers() int { if u == nil || u.AdminUsers == nil { @@ -31774,6 +40686,14 @@ func (w *WatchEvent) GetSender() *User { return w.Sender } +// GetDays returns the Days slice if it's non-nil, nil otherwise. +func (w *WeeklyCommitActivity) GetDays() []int { + if w == nil || w.Days == nil { + return nil + } + return w.Days +} + // GetTotal returns the Total field if it's non-nil, zero value otherwise. func (w *WeeklyCommitActivity) GetTotal() int { if w == nil || w.Total == nil { @@ -31910,6 +40830,14 @@ func (w *WorkflowBill) GetTotalMS() int64 { return *w.TotalMS } +// GetInputs returns the Inputs field. +func (w *WorkflowDispatchEvent) GetInputs() json.RawMessage { + if w == nil { + return json.RawMessage{} + } + return w.Inputs +} + // GetInstallation returns the Installation field. func (w *WorkflowDispatchEvent) GetInstallation() *Installation { if w == nil { @@ -32046,6 +40974,14 @@ func (w *WorkflowJob) GetID() int64 { return *w.ID } +// GetLabels returns the Labels slice if it's non-nil, nil otherwise. +func (w *WorkflowJob) GetLabels() []string { + if w == nil || w.Labels == nil { + return nil + } + return w.Labels +} + // GetName returns the Name field if it's non-nil, zero value otherwise. func (w *WorkflowJob) GetName() string { if w == nil || w.Name == nil { @@ -32134,6 +41070,14 @@ func (w *WorkflowJob) GetStatus() string { return *w.Status } +// GetSteps returns the Steps slice if it's non-nil, nil otherwise. +func (w *WorkflowJob) GetSteps() []*TaskStep { + if w == nil || w.Steps == nil { + return nil + } + return w.Steps +} + // GetURL returns the URL field if it's non-nil, zero value otherwise. func (w *WorkflowJob) GetURL() string { if w == nil || w.URL == nil { @@ -32446,6 +41390,22 @@ func (w *WorkflowRun) GetPreviousAttemptURL() string { return *w.PreviousAttemptURL } +// GetPullRequests returns the PullRequests slice if it's non-nil, nil otherwise. +func (w *WorkflowRun) GetPullRequests() []*PullRequest { + if w == nil || w.PullRequests == nil { + return nil + } + return w.PullRequests +} + +// GetReferencedWorkflows returns the ReferencedWorkflows slice if it's non-nil, nil otherwise. +func (w *WorkflowRun) GetReferencedWorkflows() []*ReferencedWorkflow { + if w == nil || w.ReferencedWorkflows == nil { + return nil + } + return w.ReferencedWorkflows +} + // GetRepository returns the Repository field. func (w *WorkflowRun) GetRepository() *Repository { if w == nil { @@ -32542,6 +41502,14 @@ func (w *WorkflowRunAttemptOptions) GetExcludePullRequests() bool { return *w.ExcludePullRequests } +// GetJobRuns returns the JobRuns slice if it's non-nil, nil otherwise. +func (w *WorkflowRunBill) GetJobRuns() []*WorkflowRunJobRun { + if w == nil || w.JobRuns == nil { + return nil + } + return w.JobRuns +} + // GetJobs returns the Jobs field if it's non-nil, zero value otherwise. func (w *WorkflowRunBill) GetJobs() int { if w == nil || w.Jobs == nil { @@ -32638,6 +41606,14 @@ func (w *WorkflowRuns) GetTotalCount() int { return *w.TotalCount } +// GetWorkflowRuns returns the WorkflowRuns slice if it's non-nil, nil otherwise. +func (w *WorkflowRuns) GetWorkflowRuns() []*WorkflowRun { + if w == nil || w.WorkflowRuns == nil { + return nil + } + return w.WorkflowRuns +} + // GetBillable returns the Billable field. func (w *WorkflowRunUsage) GetBillable() *WorkflowRunBillMap { if w == nil { @@ -32662,6 +41638,22 @@ func (w *Workflows) GetTotalCount() int { return *w.TotalCount } +// GetWorkflows returns the Workflows slice if it's non-nil, nil otherwise. +func (w *Workflows) GetWorkflows() []*Workflow { + if w == nil || w.Workflows == nil { + return nil + } + return w.Workflows +} + +// GetParameters returns the Parameters field. +func (w *WorkflowsBranchRule) GetParameters() WorkflowsRuleParameters { + if w == nil { + return WorkflowsRuleParameters{} + } + return w.Parameters +} + // GetRequireApprovalForForkPRWorkflows returns the RequireApprovalForForkPRWorkflows field if it's non-nil, zero value otherwise. func (w *WorkflowsPermissions) GetRequireApprovalForForkPRWorkflows() bool { if w == nil || w.RequireApprovalForForkPRWorkflows == nil { @@ -32702,6 +41694,14 @@ func (w *WorkflowsPermissionsOpt) GetRequireApprovalForForkPRWorkflows() bool { return *w.RequireApprovalForForkPRWorkflows } +// GetRunWorkflowsFromForkPullRequests returns the RunWorkflowsFromForkPullRequests field. +func (w *WorkflowsPermissionsOpt) GetRunWorkflowsFromForkPullRequests() bool { + if w == nil { + return false + } + return w.RunWorkflowsFromForkPullRequests +} + // GetSendSecretsAndVariables returns the SendSecretsAndVariables field if it's non-nil, zero value otherwise. func (w *WorkflowsPermissionsOpt) GetSendSecretsAndVariables() bool { if w == nil || w.SendSecretsAndVariables == nil { @@ -32726,6 +41726,14 @@ func (w *WorkflowsRuleParameters) GetDoNotEnforceOnCreate() bool { return *w.DoNotEnforceOnCreate } +// GetWorkflows returns the Workflows slice if it's non-nil, nil otherwise. +func (w *WorkflowsRuleParameters) GetWorkflows() []*RuleWorkflow { + if w == nil || w.Workflows == nil { + return nil + } + return w.Workflows +} + // GetBillable returns the Billable field. func (w *WorkflowUsage) GetBillable() *WorkflowBillMap { if w == nil { diff --git a/github/github-accessors_test.go b/github/github-accessors_test.go index 84aa1a4190e..ec3eff6a9f2 100644 --- a/github/github-accessors_test.go +++ b/github/github-accessors_test.go @@ -15,6 +15,14 @@ import ( "time" ) +func TestAbuseRateLimitError_GetMessage(tt *testing.T) { + tt.Parallel() + a := &AbuseRateLimitError{} + a.GetMessage() + a = nil + a.GetMessage() +} + func TestAbuseRateLimitError_GetRetryAfter(tt *testing.T) { tt.Parallel() var zeroValue time.Duration @@ -86,6 +94,17 @@ func TestAcceptedAssignment_GetRepository(tt *testing.T) { a.GetRepository() } +func TestAcceptedAssignment_GetStudents(tt *testing.T) { + tt.Parallel() + zeroValue := []*ClassroomUser{} + a := &AcceptedAssignment{Students: zeroValue} + a.GetStudents() + a = &AcceptedAssignment{} + a.GetStudents() + a = nil + a.GetStudents() +} + func TestAcceptedAssignment_GetSubmitted(tt *testing.T) { tt.Parallel() var zeroValue bool @@ -97,6 +116,41 @@ func TestAcceptedAssignment_GetSubmitted(tt *testing.T) { a.GetSubmitted() } +func TestAcceptedError_GetRaw(tt *testing.T) { + tt.Parallel() + zeroValue := []byte{} + a := &AcceptedError{Raw: zeroValue} + a.GetRaw() + a = &AcceptedError{} + a.GetRaw() + a = nil + a.GetRaw() +} + +func TestAccessibleRepository_GetFullName(tt *testing.T) { + tt.Parallel() + a := &AccessibleRepository{} + a.GetFullName() + a = nil + a.GetFullName() +} + +func TestAccessibleRepository_GetID(tt *testing.T) { + tt.Parallel() + a := &AccessibleRepository{} + a.GetID() + a = nil + a.GetID() +} + +func TestAccessibleRepository_GetName(tt *testing.T) { + tt.Parallel() + a := &AccessibleRepository{} + a.GetName() + a = nil + a.GetName() +} + func TestActionsAllowed_GetGithubOwnedAllowed(tt *testing.T) { tt.Parallel() var zeroValue bool @@ -108,6 +162,17 @@ func TestActionsAllowed_GetGithubOwnedAllowed(tt *testing.T) { a.GetGithubOwnedAllowed() } +func TestActionsAllowed_GetPatternsAllowed(tt *testing.T) { + tt.Parallel() + zeroValue := []string{} + a := &ActionsAllowed{PatternsAllowed: zeroValue} + a.GetPatternsAllowed() + a = &ActionsAllowed{} + a.GetPatternsAllowed() + a = nil + a.GetPatternsAllowed() +} + func TestActionsAllowed_GetVerifiedAllowed(tt *testing.T) { tt.Parallel() var zeroValue bool @@ -196,6 +261,25 @@ func TestActionsCache_GetVersion(tt *testing.T) { a.GetVersion() } +func TestActionsCacheList_GetActionsCaches(tt *testing.T) { + tt.Parallel() + zeroValue := []*ActionsCache{} + a := &ActionsCacheList{ActionsCaches: zeroValue} + a.GetActionsCaches() + a = &ActionsCacheList{} + a.GetActionsCaches() + a = nil + a.GetActionsCaches() +} + +func TestActionsCacheList_GetTotalCount(tt *testing.T) { + tt.Parallel() + a := &ActionsCacheList{} + a.GetTotalCount() + a = nil + a.GetTotalCount() +} + func TestActionsCacheListOptions_GetDirection(tt *testing.T) { tt.Parallel() var zeroValue string @@ -240,6 +324,109 @@ func TestActionsCacheListOptions_GetSort(tt *testing.T) { a.GetSort() } +func TestActionsCacheUsage_GetActiveCachesCount(tt *testing.T) { + tt.Parallel() + a := &ActionsCacheUsage{} + a.GetActiveCachesCount() + a = nil + a.GetActiveCachesCount() +} + +func TestActionsCacheUsage_GetActiveCachesSizeInBytes(tt *testing.T) { + tt.Parallel() + a := &ActionsCacheUsage{} + a.GetActiveCachesSizeInBytes() + a = nil + a.GetActiveCachesSizeInBytes() +} + +func TestActionsCacheUsage_GetFullName(tt *testing.T) { + tt.Parallel() + a := &ActionsCacheUsage{} + a.GetFullName() + a = nil + a.GetFullName() +} + +func TestActionsCacheUsageList_GetRepoCacheUsage(tt *testing.T) { + tt.Parallel() + zeroValue := []*ActionsCacheUsage{} + a := &ActionsCacheUsageList{RepoCacheUsage: zeroValue} + a.GetRepoCacheUsage() + a = &ActionsCacheUsageList{} + a.GetRepoCacheUsage() + a = nil + a.GetRepoCacheUsage() +} + +func TestActionsCacheUsageList_GetTotalCount(tt *testing.T) { + tt.Parallel() + a := &ActionsCacheUsageList{} + a.GetTotalCount() + a = nil + a.GetTotalCount() +} + +func TestActionsEnabledOnEnterpriseRepos_GetOrganizations(tt *testing.T) { + tt.Parallel() + zeroValue := []*Organization{} + a := &ActionsEnabledOnEnterpriseRepos{Organizations: zeroValue} + a.GetOrganizations() + a = &ActionsEnabledOnEnterpriseRepos{} + a.GetOrganizations() + a = nil + a.GetOrganizations() +} + +func TestActionsEnabledOnEnterpriseRepos_GetTotalCount(tt *testing.T) { + tt.Parallel() + a := &ActionsEnabledOnEnterpriseRepos{} + a.GetTotalCount() + a = nil + a.GetTotalCount() +} + +func TestActionsEnabledOnOrgRepos_GetRepositories(tt *testing.T) { + tt.Parallel() + zeroValue := []*Repository{} + a := &ActionsEnabledOnOrgRepos{Repositories: zeroValue} + a.GetRepositories() + a = &ActionsEnabledOnOrgRepos{} + a.GetRepositories() + a = nil + a.GetRepositories() +} + +func TestActionsEnabledOnOrgRepos_GetTotalCount(tt *testing.T) { + tt.Parallel() + a := &ActionsEnabledOnOrgRepos{} + a.GetTotalCount() + a = nil + a.GetTotalCount() +} + +func TestActionsInboundDomains_GetFullDomains(tt *testing.T) { + tt.Parallel() + zeroValue := []string{} + a := &ActionsInboundDomains{FullDomains: zeroValue} + a.GetFullDomains() + a = &ActionsInboundDomains{} + a.GetFullDomains() + a = nil + a.GetFullDomains() +} + +func TestActionsInboundDomains_GetWildcardDomains(tt *testing.T) { + tt.Parallel() + zeroValue := []string{} + a := &ActionsInboundDomains{WildcardDomains: zeroValue} + a.GetWildcardDomains() + a = &ActionsInboundDomains{} + a.GetWildcardDomains() + a = nil + a.GetWildcardDomains() +} + func TestActionsPermissions_GetAllowedActions(tt *testing.T) { tt.Parallel() var zeroValue string @@ -372,6 +559,14 @@ func TestActionsVariable_GetCreatedAt(tt *testing.T) { a.GetCreatedAt() } +func TestActionsVariable_GetName(tt *testing.T) { + tt.Parallel() + a := &ActionsVariable{} + a.GetName() + a = nil + a.GetName() +} + func TestActionsVariable_GetSelectedRepositoriesURL(tt *testing.T) { tt.Parallel() var zeroValue string @@ -402,6 +597,14 @@ func TestActionsVariable_GetUpdatedAt(tt *testing.T) { a.GetUpdatedAt() } +func TestActionsVariable_GetValue(tt *testing.T) { + tt.Parallel() + a := &ActionsVariable{} + a.GetValue() + a = nil + a.GetValue() +} + func TestActionsVariable_GetVisibility(tt *testing.T) { tt.Parallel() var zeroValue string @@ -413,6 +616,25 @@ func TestActionsVariable_GetVisibility(tt *testing.T) { a.GetVisibility() } +func TestActionsVariables_GetTotalCount(tt *testing.T) { + tt.Parallel() + a := &ActionsVariables{} + a.GetTotalCount() + a = nil + a.GetTotalCount() +} + +func TestActionsVariables_GetVariables(tt *testing.T) { + tt.Parallel() + zeroValue := []*ActionsVariable{} + a := &ActionsVariables{Variables: zeroValue} + a.GetVariables() + a = &ActionsVariables{} + a.GetVariables() + a = nil + a.GetVariables() +} + func TestActiveCommitters_GetMaximumAdvancedSecurityCommitters(tt *testing.T) { tt.Parallel() var zeroValue int @@ -435,6 +657,17 @@ func TestActiveCommitters_GetPurchasedAdvancedSecurityCommitters(tt *testing.T) a.GetPurchasedAdvancedSecurityCommitters() } +func TestActiveCommitters_GetRepositories(tt *testing.T) { + tt.Parallel() + zeroValue := []*RepositoryActiveCommitters{} + a := &ActiveCommitters{Repositories: zeroValue} + a.GetRepositories() + a = &ActiveCommitters{} + a.GetRepositories() + a = nil + a.GetRepositories() +} + func TestActiveCommitters_GetTotalAdvancedSecurityCommitters(tt *testing.T) { tt.Parallel() var zeroValue int @@ -468,6 +701,22 @@ func TestActiveCommittersListOptions_GetAdvancedSecurityProduct(tt *testing.T) { a.GetAdvancedSecurityProduct() } +func TestActivityListStarredOptions_GetDirection(tt *testing.T) { + tt.Parallel() + a := &ActivityListStarredOptions{} + a.GetDirection() + a = nil + a.GetDirection() +} + +func TestActivityListStarredOptions_GetSort(tt *testing.T) { + tt.Parallel() + a := &ActivityListStarredOptions{} + a.GetSort() + a = nil + a.GetSort() +} + func TestActorLocation_GetCountryCode(tt *testing.T) { tt.Parallel() var zeroValue string @@ -509,6 +758,17 @@ func TestAddResourcesToCostCenterResponse_GetMessage(tt *testing.T) { a.GetMessage() } +func TestAddResourcesToCostCenterResponse_GetReassignedResources(tt *testing.T) { + tt.Parallel() + zeroValue := []*ReassignedResource{} + a := &AddResourcesToCostCenterResponse{ReassignedResources: zeroValue} + a.GetReassignedResources() + a = &AddResourcesToCostCenterResponse{} + a.GetReassignedResources() + a = nil + a.GetReassignedResources() +} + func TestAdminEnforcedChanges_GetFrom(tt *testing.T) { tt.Parallel() var zeroValue bool @@ -520,6 +780,14 @@ func TestAdminEnforcedChanges_GetFrom(tt *testing.T) { a.GetFrom() } +func TestAdminEnforcement_GetEnabled(tt *testing.T) { + tt.Parallel() + a := &AdminEnforcement{} + a.GetEnabled() + a = nil + a.GetEnabled() +} + func TestAdminEnforcement_GetURL(tt *testing.T) { tt.Parallel() var zeroValue string @@ -622,9 +890,36 @@ func TestAdvancedSecurity_GetStatus(tt *testing.T) { a.GetStatus() } +func TestAdvancedSecurityCommittersBreakdown_GetLastPushedDate(tt *testing.T) { + tt.Parallel() + a := &AdvancedSecurityCommittersBreakdown{} + a.GetLastPushedDate() + a = nil + a.GetLastPushedDate() +} + +func TestAdvancedSecurityCommittersBreakdown_GetLastPushedEmail(tt *testing.T) { + tt.Parallel() + a := &AdvancedSecurityCommittersBreakdown{} + a.GetLastPushedEmail() + a = nil + a.GetLastPushedEmail() +} + +func TestAdvancedSecurityCommittersBreakdown_GetUserLogin(tt *testing.T) { + tt.Parallel() + a := &AdvancedSecurityCommittersBreakdown{} + a.GetUserLogin() + a = nil + a.GetUserLogin() +} + func TestAdvisoryCVSS_GetScore(tt *testing.T) { tt.Parallel() - a := &AdvisoryCVSS{} + var zeroValue float64 + a := &AdvisoryCVSS{Score: &zeroValue} + a.GetScore() + a = &AdvisoryCVSS{} a.GetScore() a = nil a.GetScore() @@ -663,6 +958,22 @@ func TestAdvisoryCWEs_GetName(tt *testing.T) { a.GetName() } +func TestAdvisoryEPSS_GetPercentage(tt *testing.T) { + tt.Parallel() + a := &AdvisoryEPSS{} + a.GetPercentage() + a = nil + a.GetPercentage() +} + +func TestAdvisoryEPSS_GetPercentile(tt *testing.T) { + tt.Parallel() + a := &AdvisoryEPSS{} + a.GetPercentile() + a = nil + a.GetPercentile() +} + func TestAdvisoryIdentifier_GetType(tt *testing.T) { tt.Parallel() var zeroValue string @@ -734,6 +1045,17 @@ func TestAdvisoryVulnerability_GetSeverity(tt *testing.T) { a.GetSeverity() } +func TestAdvisoryVulnerability_GetVulnerableFunctions(tt *testing.T) { + tt.Parallel() + zeroValue := []string{} + a := &AdvisoryVulnerability{VulnerableFunctions: zeroValue} + a.GetVulnerableFunctions() + a = &AdvisoryVulnerability{} + a.GetVulnerableFunctions() + a = nil + a.GetVulnerableFunctions() +} + func TestAdvisoryVulnerability_GetVulnerableVersionRange(tt *testing.T) { tt.Parallel() var zeroValue string @@ -838,6 +1160,17 @@ func TestAlert_GetHTMLURL(tt *testing.T) { a.GetHTMLURL() } +func TestAlert_GetInstances(tt *testing.T) { + tt.Parallel() + zeroValue := []*MostRecentInstance{} + a := &Alert{Instances: zeroValue} + a.GetInstances() + a = &Alert{} + a.GetInstances() + a = nil + a.GetInstances() +} + func TestAlert_GetInstancesURL(tt *testing.T) { tt.Parallel() var zeroValue string @@ -958,6 +1291,78 @@ func TestAlert_GetURL(tt *testing.T) { a.GetURL() } +func TestAlertInstancesListOptions_GetRef(tt *testing.T) { + tt.Parallel() + a := &AlertInstancesListOptions{} + a.GetRef() + a = nil + a.GetRef() +} + +func TestAlertListOptions_GetDirection(tt *testing.T) { + tt.Parallel() + a := &AlertListOptions{} + a.GetDirection() + a = nil + a.GetDirection() +} + +func TestAlertListOptions_GetRef(tt *testing.T) { + tt.Parallel() + a := &AlertListOptions{} + a.GetRef() + a = nil + a.GetRef() +} + +func TestAlertListOptions_GetSeverity(tt *testing.T) { + tt.Parallel() + a := &AlertListOptions{} + a.GetSeverity() + a = nil + a.GetSeverity() +} + +func TestAlertListOptions_GetSort(tt *testing.T) { + tt.Parallel() + a := &AlertListOptions{} + a.GetSort() + a = nil + a.GetSort() +} + +func TestAlertListOptions_GetState(tt *testing.T) { + tt.Parallel() + a := &AlertListOptions{} + a.GetState() + a = nil + a.GetState() +} + +func TestAlertListOptions_GetToolGUID(tt *testing.T) { + tt.Parallel() + a := &AlertListOptions{} + a.GetToolGUID() + a = nil + a.GetToolGUID() +} + +func TestAlertListOptions_GetToolName(tt *testing.T) { + tt.Parallel() + a := &AlertListOptions{} + a.GetToolName() + a = nil + a.GetToolName() +} + +func TestAllowDeletions_GetEnabled(tt *testing.T) { + tt.Parallel() + a := &AllowDeletions{} + a.GetEnabled() + a = nil + a.GetEnabled() +} + func TestAllowDeletionsEnforcementLevelChanges_GetFrom(tt *testing.T) { tt.Parallel() var zeroValue string @@ -969,6 +1374,14 @@ func TestAllowDeletionsEnforcementLevelChanges_GetFrom(tt *testing.T) { a.GetFrom() } +func TestAllowForcePushes_GetEnabled(tt *testing.T) { + tt.Parallel() + a := &AllowForcePushes{} + a.GetEnabled() + a = nil + a.GetEnabled() +} + func TestAllowForkSyncing_GetEnabled(tt *testing.T) { tt.Parallel() var zeroValue bool @@ -980,6 +1393,94 @@ func TestAllowForkSyncing_GetEnabled(tt *testing.T) { a.GetEnabled() } +func TestAmazonS3AccessKeysConfig_GetAuthenticationType(tt *testing.T) { + tt.Parallel() + a := &AmazonS3AccessKeysConfig{} + a.GetAuthenticationType() + a = nil + a.GetAuthenticationType() +} + +func TestAmazonS3AccessKeysConfig_GetBucket(tt *testing.T) { + tt.Parallel() + a := &AmazonS3AccessKeysConfig{} + a.GetBucket() + a = nil + a.GetBucket() +} + +func TestAmazonS3AccessKeysConfig_GetEncryptedAccessKeyID(tt *testing.T) { + tt.Parallel() + a := &AmazonS3AccessKeysConfig{} + a.GetEncryptedAccessKeyID() + a = nil + a.GetEncryptedAccessKeyID() +} + +func TestAmazonS3AccessKeysConfig_GetEncryptedSecretKey(tt *testing.T) { + tt.Parallel() + a := &AmazonS3AccessKeysConfig{} + a.GetEncryptedSecretKey() + a = nil + a.GetEncryptedSecretKey() +} + +func TestAmazonS3AccessKeysConfig_GetKeyID(tt *testing.T) { + tt.Parallel() + a := &AmazonS3AccessKeysConfig{} + a.GetKeyID() + a = nil + a.GetKeyID() +} + +func TestAmazonS3AccessKeysConfig_GetRegion(tt *testing.T) { + tt.Parallel() + a := &AmazonS3AccessKeysConfig{} + a.GetRegion() + a = nil + a.GetRegion() +} + +func TestAmazonS3OIDCConfig_GetArnRole(tt *testing.T) { + tt.Parallel() + a := &AmazonS3OIDCConfig{} + a.GetArnRole() + a = nil + a.GetArnRole() +} + +func TestAmazonS3OIDCConfig_GetAuthenticationType(tt *testing.T) { + tt.Parallel() + a := &AmazonS3OIDCConfig{} + a.GetAuthenticationType() + a = nil + a.GetAuthenticationType() +} + +func TestAmazonS3OIDCConfig_GetBucket(tt *testing.T) { + tt.Parallel() + a := &AmazonS3OIDCConfig{} + a.GetBucket() + a = nil + a.GetBucket() +} + +func TestAmazonS3OIDCConfig_GetKeyID(tt *testing.T) { + tt.Parallel() + a := &AmazonS3OIDCConfig{} + a.GetKeyID() + a = nil + a.GetKeyID() +} + +func TestAmazonS3OIDCConfig_GetRegion(tt *testing.T) { + tt.Parallel() + a := &AmazonS3OIDCConfig{} + a.GetRegion() + a = nil + a.GetRegion() +} + func TestAnalysesListOptions_GetRef(tt *testing.T) { tt.Parallel() var zeroValue string @@ -1002,6 +1503,72 @@ func TestAnalysesListOptions_GetSarifID(tt *testing.T) { a.GetSarifID() } +func TestAPIMeta_GetActions(tt *testing.T) { + tt.Parallel() + zeroValue := []string{} + a := &APIMeta{Actions: zeroValue} + a.GetActions() + a = &APIMeta{} + a.GetActions() + a = nil + a.GetActions() +} + +func TestAPIMeta_GetActionsMacos(tt *testing.T) { + tt.Parallel() + zeroValue := []string{} + a := &APIMeta{ActionsMacos: zeroValue} + a.GetActionsMacos() + a = &APIMeta{} + a.GetActionsMacos() + a = nil + a.GetActionsMacos() +} + +func TestAPIMeta_GetAPI(tt *testing.T) { + tt.Parallel() + zeroValue := []string{} + a := &APIMeta{API: zeroValue} + a.GetAPI() + a = &APIMeta{} + a.GetAPI() + a = nil + a.GetAPI() +} + +func TestAPIMeta_GetCodespaces(tt *testing.T) { + tt.Parallel() + zeroValue := []string{} + a := &APIMeta{Codespaces: zeroValue} + a.GetCodespaces() + a = &APIMeta{} + a.GetCodespaces() + a = nil + a.GetCodespaces() +} + +func TestAPIMeta_GetCopilot(tt *testing.T) { + tt.Parallel() + zeroValue := []string{} + a := &APIMeta{Copilot: zeroValue} + a.GetCopilot() + a = &APIMeta{} + a.GetCopilot() + a = nil + a.GetCopilot() +} + +func TestAPIMeta_GetDependabot(tt *testing.T) { + tt.Parallel() + zeroValue := []string{} + a := &APIMeta{Dependabot: zeroValue} + a.GetDependabot() + a = &APIMeta{} + a.GetDependabot() + a = nil + a.GetDependabot() +} + func TestAPIMeta_GetDomains(tt *testing.T) { tt.Parallel() a := &APIMeta{} @@ -1010,6 +1577,72 @@ func TestAPIMeta_GetDomains(tt *testing.T) { a.GetDomains() } +func TestAPIMeta_GetGit(tt *testing.T) { + tt.Parallel() + zeroValue := []string{} + a := &APIMeta{Git: zeroValue} + a.GetGit() + a = &APIMeta{} + a.GetGit() + a = nil + a.GetGit() +} + +func TestAPIMeta_GetGithubEnterpriseImporter(tt *testing.T) { + tt.Parallel() + zeroValue := []string{} + a := &APIMeta{GithubEnterpriseImporter: zeroValue} + a.GetGithubEnterpriseImporter() + a = &APIMeta{} + a.GetGithubEnterpriseImporter() + a = nil + a.GetGithubEnterpriseImporter() +} + +func TestAPIMeta_GetHooks(tt *testing.T) { + tt.Parallel() + zeroValue := []string{} + a := &APIMeta{Hooks: zeroValue} + a.GetHooks() + a = &APIMeta{} + a.GetHooks() + a = nil + a.GetHooks() +} + +func TestAPIMeta_GetImporter(tt *testing.T) { + tt.Parallel() + zeroValue := []string{} + a := &APIMeta{Importer: zeroValue} + a.GetImporter() + a = &APIMeta{} + a.GetImporter() + a = nil + a.GetImporter() +} + +func TestAPIMeta_GetPackages(tt *testing.T) { + tt.Parallel() + zeroValue := []string{} + a := &APIMeta{Packages: zeroValue} + a.GetPackages() + a = &APIMeta{} + a.GetPackages() + a = nil + a.GetPackages() +} + +func TestAPIMeta_GetPages(tt *testing.T) { + tt.Parallel() + zeroValue := []string{} + a := &APIMeta{Pages: zeroValue} + a.GetPages() + a = &APIMeta{} + a.GetPages() + a = nil + a.GetPages() +} + func TestAPIMeta_GetSSHKeyFingerprints(tt *testing.T) { tt.Parallel() zeroValue := map[string]string{} @@ -1021,6 +1654,17 @@ func TestAPIMeta_GetSSHKeyFingerprints(tt *testing.T) { a.GetSSHKeyFingerprints() } +func TestAPIMeta_GetSSHKeys(tt *testing.T) { + tt.Parallel() + zeroValue := []string{} + a := &APIMeta{SSHKeys: zeroValue} + a.GetSSHKeys() + a = &APIMeta{} + a.GetSSHKeys() + a = nil + a.GetSSHKeys() +} + func TestAPIMeta_GetVerifiablePasswordAuthentication(tt *testing.T) { tt.Parallel() var zeroValue bool @@ -1032,6 +1676,47 @@ func TestAPIMeta_GetVerifiablePasswordAuthentication(tt *testing.T) { a.GetVerifiablePasswordAuthentication() } +func TestAPIMeta_GetWeb(tt *testing.T) { + tt.Parallel() + zeroValue := []string{} + a := &APIMeta{Web: zeroValue} + a.GetWeb() + a = &APIMeta{} + a.GetWeb() + a = nil + a.GetWeb() +} + +func TestAPIMetaArtifactAttestations_GetServices(tt *testing.T) { + tt.Parallel() + zeroValue := []string{} + a := &APIMetaArtifactAttestations{Services: zeroValue} + a.GetServices() + a = &APIMetaArtifactAttestations{} + a.GetServices() + a = nil + a.GetServices() +} + +func TestAPIMetaArtifactAttestations_GetTrustDomain(tt *testing.T) { + tt.Parallel() + a := &APIMetaArtifactAttestations{} + a.GetTrustDomain() + a = nil + a.GetTrustDomain() +} + +func TestAPIMetaDomains_GetActions(tt *testing.T) { + tt.Parallel() + zeroValue := []string{} + a := &APIMetaDomains{Actions: zeroValue} + a.GetActions() + a = &APIMetaDomains{} + a.GetActions() + a = nil + a.GetActions() +} + func TestAPIMetaDomains_GetActionsInbound(tt *testing.T) { tt.Parallel() a := &APIMetaDomains{} @@ -1048,6 +1733,50 @@ func TestAPIMetaDomains_GetArtifactAttestations(tt *testing.T) { a.GetArtifactAttestations() } +func TestAPIMetaDomains_GetCodespaces(tt *testing.T) { + tt.Parallel() + zeroValue := []string{} + a := &APIMetaDomains{Codespaces: zeroValue} + a.GetCodespaces() + a = &APIMetaDomains{} + a.GetCodespaces() + a = nil + a.GetCodespaces() +} + +func TestAPIMetaDomains_GetCopilot(tt *testing.T) { + tt.Parallel() + zeroValue := []string{} + a := &APIMetaDomains{Copilot: zeroValue} + a.GetCopilot() + a = &APIMetaDomains{} + a.GetCopilot() + a = nil + a.GetCopilot() +} + +func TestAPIMetaDomains_GetPackages(tt *testing.T) { + tt.Parallel() + zeroValue := []string{} + a := &APIMetaDomains{Packages: zeroValue} + a.GetPackages() + a = &APIMetaDomains{} + a.GetPackages() + a = nil + a.GetPackages() +} + +func TestAPIMetaDomains_GetWebsite(tt *testing.T) { + tt.Parallel() + zeroValue := []string{} + a := &APIMetaDomains{Website: zeroValue} + a.GetWebsite() + a = &APIMetaDomains{} + a.GetWebsite() + a = nil + a.GetWebsite() +} + func TestApp_GetClientID(tt *testing.T) { tt.Parallel() var zeroValue string @@ -1081,6 +1810,17 @@ func TestApp_GetDescription(tt *testing.T) { a.GetDescription() } +func TestApp_GetEvents(tt *testing.T) { + tt.Parallel() + zeroValue := []string{} + a := &App{Events: zeroValue} + a.GetEvents() + a = &App{} + a.GetEvents() + a = nil + a.GetEvents() +} + func TestApp_GetExternalURL(tt *testing.T) { tt.Parallel() var zeroValue string @@ -1336,6 +2076,17 @@ func TestAppConfig_GetWebhookSecret(tt *testing.T) { a.GetWebhookSecret() } +func TestAppInstallationRepositoriesOptions_GetSelectedRepositoryIDs(tt *testing.T) { + tt.Parallel() + zeroValue := []int64{} + a := &AppInstallationRepositoriesOptions{SelectedRepositoryIDs: zeroValue} + a.GetSelectedRepositoryIDs() + a = &AppInstallationRepositoriesOptions{} + a.GetSelectedRepositoryIDs() + a = nil + a.GetSelectedRepositoryIDs() +} + func TestArchivedAt_GetFrom(tt *testing.T) { tt.Parallel() var zeroValue Timestamp @@ -1575,6 +2326,17 @@ func TestArtifactDeploymentRecord_GetPhysicalEnvironment(tt *testing.T) { a.GetPhysicalEnvironment() } +func TestArtifactDeploymentRecord_GetRuntimeRisks(tt *testing.T) { + tt.Parallel() + zeroValue := []DeploymentRuntimeRisk{} + a := &ArtifactDeploymentRecord{RuntimeRisks: zeroValue} + a.GetRuntimeRisks() + a = &ArtifactDeploymentRecord{} + a.GetRuntimeRisks() + a = nil + a.GetRuntimeRisks() +} + func TestArtifactDeploymentRecord_GetTags(tt *testing.T) { tt.Parallel() zeroValue := map[string]string{} @@ -1597,6 +2359,17 @@ func TestArtifactDeploymentRecord_GetUpdatedAt(tt *testing.T) { a.GetUpdatedAt() } +func TestArtifactDeploymentResponse_GetDeploymentRecords(tt *testing.T) { + tt.Parallel() + zeroValue := []*ArtifactDeploymentRecord{} + a := &ArtifactDeploymentResponse{DeploymentRecords: zeroValue} + a.GetDeploymentRecords() + a = &ArtifactDeploymentResponse{} + a.GetDeploymentRecords() + a = nil + a.GetDeploymentRecords() +} + func TestArtifactDeploymentResponse_GetTotalCount(tt *testing.T) { tt.Parallel() var zeroValue int @@ -1608,6 +2381,17 @@ func TestArtifactDeploymentResponse_GetTotalCount(tt *testing.T) { a.GetTotalCount() } +func TestArtifactList_GetArtifacts(tt *testing.T) { + tt.Parallel() + zeroValue := []*Artifact{} + a := &ArtifactList{Artifacts: zeroValue} + a.GetArtifacts() + a = &ArtifactList{} + a.GetArtifacts() + a = nil + a.GetArtifacts() +} + func TestArtifactList_GetTotalCount(tt *testing.T) { tt.Parallel() var zeroValue int64 @@ -1751,6 +2535,17 @@ func TestArtifactStorageRecord_GetUpdatedAt(tt *testing.T) { a.GetUpdatedAt() } +func TestArtifactStorageResponse_GetStorageRecords(tt *testing.T) { + tt.Parallel() + zeroValue := []*ArtifactStorageRecord{} + a := &ArtifactStorageResponse{StorageRecords: zeroValue} + a.GetStorageRecords() + a = &ArtifactStorageResponse{} + a.GetStorageRecords() + a = nil + a.GetStorageRecords() +} + func TestArtifactStorageResponse_GetTotalCount(tt *testing.T) { tt.Parallel() var zeroValue int @@ -1971,6 +2766,33 @@ func TestAttachment_GetTitle(tt *testing.T) { a.GetTitle() } +func TestAttestation_GetBundle(tt *testing.T) { + tt.Parallel() + a := &Attestation{} + a.GetBundle() + a = nil + a.GetBundle() +} + +func TestAttestation_GetRepositoryID(tt *testing.T) { + tt.Parallel() + a := &Attestation{} + a.GetRepositoryID() + a = nil + a.GetRepositoryID() +} + +func TestAttestationsResponse_GetAttestations(tt *testing.T) { + tt.Parallel() + zeroValue := []*Attestation{} + a := &AttestationsResponse{Attestations: zeroValue} + a.GetAttestations() + a = &AttestationsResponse{} + a.GetAttestations() + a = nil + a.GetAttestations() +} + func TestAuditEntry_GetAction(tt *testing.T) { tt.Parallel() var zeroValue string @@ -2188,6 +3010,30 @@ func TestAuditEntry_GetUserID(tt *testing.T) { a.GetUserID() } +func TestAuditLogStream_GetCreatedAt(tt *testing.T) { + tt.Parallel() + a := &AuditLogStream{} + a.GetCreatedAt() + a = nil + a.GetCreatedAt() +} + +func TestAuditLogStream_GetEnabled(tt *testing.T) { + tt.Parallel() + a := &AuditLogStream{} + a.GetEnabled() + a = nil + a.GetEnabled() +} + +func TestAuditLogStream_GetID(tt *testing.T) { + tt.Parallel() + a := &AuditLogStream{} + a.GetID() + a = nil + a.GetID() +} + func TestAuditLogStream_GetPausedAt(tt *testing.T) { tt.Parallel() var zeroValue Timestamp @@ -2199,6 +3045,70 @@ func TestAuditLogStream_GetPausedAt(tt *testing.T) { a.GetPausedAt() } +func TestAuditLogStream_GetStreamDetails(tt *testing.T) { + tt.Parallel() + a := &AuditLogStream{} + a.GetStreamDetails() + a = nil + a.GetStreamDetails() +} + +func TestAuditLogStream_GetStreamType(tt *testing.T) { + tt.Parallel() + a := &AuditLogStream{} + a.GetStreamType() + a = nil + a.GetStreamType() +} + +func TestAuditLogStream_GetUpdatedAt(tt *testing.T) { + tt.Parallel() + a := &AuditLogStream{} + a.GetUpdatedAt() + a = nil + a.GetUpdatedAt() +} + +func TestAuditLogStreamConfig_GetEnabled(tt *testing.T) { + tt.Parallel() + a := &AuditLogStreamConfig{} + a.GetEnabled() + a = nil + a.GetEnabled() +} + +func TestAuditLogStreamConfig_GetStreamType(tt *testing.T) { + tt.Parallel() + a := &AuditLogStreamConfig{} + a.GetStreamType() + a = nil + a.GetStreamType() +} + +func TestAuditLogStreamConfig_GetVendorSpecific(tt *testing.T) { + tt.Parallel() + a := &AuditLogStreamConfig{} + a.GetVendorSpecific() + a = nil + a.GetVendorSpecific() +} + +func TestAuditLogStreamKey_GetKey(tt *testing.T) { + tt.Parallel() + a := &AuditLogStreamKey{} + a.GetKey() + a = nil + a.GetKey() +} + +func TestAuditLogStreamKey_GetKeyID(tt *testing.T) { + tt.Parallel() + a := &AuditLogStreamKey{} + a.GetKeyID() + a = nil + a.GetKeyID() +} + func TestAuthorization_GetApp(tt *testing.T) { tt.Parallel() a := &Authorization{} @@ -2273,6 +3183,17 @@ func TestAuthorization_GetNoteURL(tt *testing.T) { a.GetNoteURL() } +func TestAuthorization_GetScopes(tt *testing.T) { + tt.Parallel() + zeroValue := []Scope{} + a := &Authorization{Scopes: zeroValue} + a.GetScopes() + a = &Authorization{} + a.GetScopes() + a = nil + a.GetScopes() +} + func TestAuthorization_GetToken(tt *testing.T) { tt.Parallel() var zeroValue string @@ -2413,6 +3334,28 @@ func TestAuthorizationRequest_GetNoteURL(tt *testing.T) { a.GetNoteURL() } +func TestAuthorizationRequest_GetScopes(tt *testing.T) { + tt.Parallel() + zeroValue := []Scope{} + a := &AuthorizationRequest{Scopes: zeroValue} + a.GetScopes() + a = &AuthorizationRequest{} + a.GetScopes() + a = nil + a.GetScopes() +} + +func TestAuthorizationUpdateRequest_GetAddScopes(tt *testing.T) { + tt.Parallel() + zeroValue := []string{} + a := &AuthorizationUpdateRequest{AddScopes: zeroValue} + a.GetAddScopes() + a = &AuthorizationUpdateRequest{} + a.GetAddScopes() + a = nil + a.GetAddScopes() +} + func TestAuthorizationUpdateRequest_GetFingerprint(tt *testing.T) { tt.Parallel() var zeroValue string @@ -2446,6 +3389,39 @@ func TestAuthorizationUpdateRequest_GetNoteURL(tt *testing.T) { a.GetNoteURL() } +func TestAuthorizationUpdateRequest_GetRemoveScopes(tt *testing.T) { + tt.Parallel() + zeroValue := []string{} + a := &AuthorizationUpdateRequest{RemoveScopes: zeroValue} + a.GetRemoveScopes() + a = &AuthorizationUpdateRequest{} + a.GetRemoveScopes() + a = nil + a.GetRemoveScopes() +} + +func TestAuthorizationUpdateRequest_GetScopes(tt *testing.T) { + tt.Parallel() + zeroValue := []string{} + a := &AuthorizationUpdateRequest{Scopes: zeroValue} + a.GetScopes() + a = &AuthorizationUpdateRequest{} + a.GetScopes() + a = nil + a.GetScopes() +} + +func TestAuthorizedActorNames_GetFrom(tt *testing.T) { + tt.Parallel() + zeroValue := []string{} + a := &AuthorizedActorNames{From: zeroValue} + a.GetFrom() + a = &AuthorizedActorNames{} + a.GetFrom() + a = nil + a.GetFrom() +} + func TestAuthorizedActorsOnly_GetFrom(tt *testing.T) { tt.Parallel() var zeroValue bool @@ -2589,6 +3565,78 @@ func TestAutoTriggerCheck_GetSetting(tt *testing.T) { a.GetSetting() } +func TestAzureBlobConfig_GetContainer(tt *testing.T) { + tt.Parallel() + a := &AzureBlobConfig{} + a.GetContainer() + a = nil + a.GetContainer() +} + +func TestAzureBlobConfig_GetEncryptedSASURL(tt *testing.T) { + tt.Parallel() + a := &AzureBlobConfig{} + a.GetEncryptedSASURL() + a = nil + a.GetEncryptedSASURL() +} + +func TestAzureBlobConfig_GetKeyID(tt *testing.T) { + tt.Parallel() + a := &AzureBlobConfig{} + a.GetKeyID() + a = nil + a.GetKeyID() +} + +func TestAzureHubConfig_GetEncryptedConnstring(tt *testing.T) { + tt.Parallel() + a := &AzureHubConfig{} + a.GetEncryptedConnstring() + a = nil + a.GetEncryptedConnstring() +} + +func TestAzureHubConfig_GetKeyID(tt *testing.T) { + tt.Parallel() + a := &AzureHubConfig{} + a.GetKeyID() + a = nil + a.GetKeyID() +} + +func TestAzureHubConfig_GetName(tt *testing.T) { + tt.Parallel() + a := &AzureHubConfig{} + a.GetName() + a = nil + a.GetName() +} + +func TestBasicAuthTransport_GetOTP(tt *testing.T) { + tt.Parallel() + b := &BasicAuthTransport{} + b.GetOTP() + b = nil + b.GetOTP() +} + +func TestBasicAuthTransport_GetPassword(tt *testing.T) { + tt.Parallel() + b := &BasicAuthTransport{} + b.GetPassword() + b = nil + b.GetPassword() +} + +func TestBasicAuthTransport_GetUsername(tt *testing.T) { + tt.Parallel() + b := &BasicAuthTransport{} + b.GetUsername() + b = nil + b.GetUsername() +} + func TestBlob_GetContent(tt *testing.T) { tt.Parallel() var zeroValue string @@ -2862,6 +3910,17 @@ func TestBranchProtectionRule_GetAllowForcePushesEnforcementLevel(tt *testing.T) b.GetAllowForcePushesEnforcementLevel() } +func TestBranchProtectionRule_GetAuthorizedActorNames(tt *testing.T) { + tt.Parallel() + zeroValue := []string{} + b := &BranchProtectionRule{AuthorizedActorNames: zeroValue} + b.GetAuthorizedActorNames() + b = &BranchProtectionRule{} + b.GetAuthorizedActorNames() + b = nil + b.GetAuthorizedActorNames() +} + func TestBranchProtectionRule_GetAuthorizedActorsOnly(tt *testing.T) { tt.Parallel() var zeroValue bool @@ -3027,6 +4086,17 @@ func TestBranchProtectionRule_GetRequiredDeploymentsEnforcementLevel(tt *testing b.GetRequiredDeploymentsEnforcementLevel() } +func TestBranchProtectionRule_GetRequiredStatusChecks(tt *testing.T) { + tt.Parallel() + zeroValue := []string{} + b := &BranchProtectionRule{RequiredStatusChecks: zeroValue} + b.GetRequiredStatusChecks() + b = &BranchProtectionRule{} + b.GetRequiredStatusChecks() + b = nil + b.GetRequiredStatusChecks() +} + func TestBranchProtectionRule_GetRequiredStatusChecksEnforcementLevel(tt *testing.T) { tt.Parallel() var zeroValue string @@ -3141,6 +4211,338 @@ func TestBranchProtectionRuleEvent_GetSender(tt *testing.T) { b.GetSender() } +func TestBranchRestrictions_GetApps(tt *testing.T) { + tt.Parallel() + zeroValue := []*App{} + b := &BranchRestrictions{Apps: zeroValue} + b.GetApps() + b = &BranchRestrictions{} + b.GetApps() + b = nil + b.GetApps() +} + +func TestBranchRestrictions_GetTeams(tt *testing.T) { + tt.Parallel() + zeroValue := []*Team{} + b := &BranchRestrictions{Teams: zeroValue} + b.GetTeams() + b = &BranchRestrictions{} + b.GetTeams() + b = nil + b.GetTeams() +} + +func TestBranchRestrictions_GetUsers(tt *testing.T) { + tt.Parallel() + zeroValue := []*User{} + b := &BranchRestrictions{Users: zeroValue} + b.GetUsers() + b = &BranchRestrictions{} + b.GetUsers() + b = nil + b.GetUsers() +} + +func TestBranchRestrictionsRequest_GetApps(tt *testing.T) { + tt.Parallel() + zeroValue := []string{} + b := &BranchRestrictionsRequest{Apps: zeroValue} + b.GetApps() + b = &BranchRestrictionsRequest{} + b.GetApps() + b = nil + b.GetApps() +} + +func TestBranchRestrictionsRequest_GetTeams(tt *testing.T) { + tt.Parallel() + zeroValue := []string{} + b := &BranchRestrictionsRequest{Teams: zeroValue} + b.GetTeams() + b = &BranchRestrictionsRequest{} + b.GetTeams() + b = nil + b.GetTeams() +} + +func TestBranchRestrictionsRequest_GetUsers(tt *testing.T) { + tt.Parallel() + zeroValue := []string{} + b := &BranchRestrictionsRequest{Users: zeroValue} + b.GetUsers() + b = &BranchRestrictionsRequest{} + b.GetUsers() + b = nil + b.GetUsers() +} + +func TestBranchRuleMetadata_GetRulesetID(tt *testing.T) { + tt.Parallel() + b := &BranchRuleMetadata{} + b.GetRulesetID() + b = nil + b.GetRulesetID() +} + +func TestBranchRuleMetadata_GetRulesetSource(tt *testing.T) { + tt.Parallel() + b := &BranchRuleMetadata{} + b.GetRulesetSource() + b = nil + b.GetRulesetSource() +} + +func TestBranchRuleMetadata_GetRulesetSourceType(tt *testing.T) { + tt.Parallel() + b := &BranchRuleMetadata{} + b.GetRulesetSourceType() + b = nil + b.GetRulesetSourceType() +} + +func TestBranchRules_GetBranchNamePattern(tt *testing.T) { + tt.Parallel() + zeroValue := []*PatternBranchRule{} + b := &BranchRules{BranchNamePattern: zeroValue} + b.GetBranchNamePattern() + b = &BranchRules{} + b.GetBranchNamePattern() + b = nil + b.GetBranchNamePattern() +} + +func TestBranchRules_GetCodeScanning(tt *testing.T) { + tt.Parallel() + zeroValue := []*CodeScanningBranchRule{} + b := &BranchRules{CodeScanning: zeroValue} + b.GetCodeScanning() + b = &BranchRules{} + b.GetCodeScanning() + b = nil + b.GetCodeScanning() +} + +func TestBranchRules_GetCommitAuthorEmailPattern(tt *testing.T) { + tt.Parallel() + zeroValue := []*PatternBranchRule{} + b := &BranchRules{CommitAuthorEmailPattern: zeroValue} + b.GetCommitAuthorEmailPattern() + b = &BranchRules{} + b.GetCommitAuthorEmailPattern() + b = nil + b.GetCommitAuthorEmailPattern() +} + +func TestBranchRules_GetCommitMessagePattern(tt *testing.T) { + tt.Parallel() + zeroValue := []*PatternBranchRule{} + b := &BranchRules{CommitMessagePattern: zeroValue} + b.GetCommitMessagePattern() + b = &BranchRules{} + b.GetCommitMessagePattern() + b = nil + b.GetCommitMessagePattern() +} + +func TestBranchRules_GetCommitterEmailPattern(tt *testing.T) { + tt.Parallel() + zeroValue := []*PatternBranchRule{} + b := &BranchRules{CommitterEmailPattern: zeroValue} + b.GetCommitterEmailPattern() + b = &BranchRules{} + b.GetCommitterEmailPattern() + b = nil + b.GetCommitterEmailPattern() +} + +func TestBranchRules_GetCopilotCodeReview(tt *testing.T) { + tt.Parallel() + zeroValue := []*CopilotCodeReviewBranchRule{} + b := &BranchRules{CopilotCodeReview: zeroValue} + b.GetCopilotCodeReview() + b = &BranchRules{} + b.GetCopilotCodeReview() + b = nil + b.GetCopilotCodeReview() +} + +func TestBranchRules_GetCreation(tt *testing.T) { + tt.Parallel() + zeroValue := []*BranchRuleMetadata{} + b := &BranchRules{Creation: zeroValue} + b.GetCreation() + b = &BranchRules{} + b.GetCreation() + b = nil + b.GetCreation() +} + +func TestBranchRules_GetDeletion(tt *testing.T) { + tt.Parallel() + zeroValue := []*BranchRuleMetadata{} + b := &BranchRules{Deletion: zeroValue} + b.GetDeletion() + b = &BranchRules{} + b.GetDeletion() + b = nil + b.GetDeletion() +} + +func TestBranchRules_GetFileExtensionRestriction(tt *testing.T) { + tt.Parallel() + zeroValue := []*FileExtensionRestrictionBranchRule{} + b := &BranchRules{FileExtensionRestriction: zeroValue} + b.GetFileExtensionRestriction() + b = &BranchRules{} + b.GetFileExtensionRestriction() + b = nil + b.GetFileExtensionRestriction() +} + +func TestBranchRules_GetFilePathRestriction(tt *testing.T) { + tt.Parallel() + zeroValue := []*FilePathRestrictionBranchRule{} + b := &BranchRules{FilePathRestriction: zeroValue} + b.GetFilePathRestriction() + b = &BranchRules{} + b.GetFilePathRestriction() + b = nil + b.GetFilePathRestriction() +} + +func TestBranchRules_GetMaxFilePathLength(tt *testing.T) { + tt.Parallel() + zeroValue := []*MaxFilePathLengthBranchRule{} + b := &BranchRules{MaxFilePathLength: zeroValue} + b.GetMaxFilePathLength() + b = &BranchRules{} + b.GetMaxFilePathLength() + b = nil + b.GetMaxFilePathLength() +} + +func TestBranchRules_GetMaxFileSize(tt *testing.T) { + tt.Parallel() + zeroValue := []*MaxFileSizeBranchRule{} + b := &BranchRules{MaxFileSize: zeroValue} + b.GetMaxFileSize() + b = &BranchRules{} + b.GetMaxFileSize() + b = nil + b.GetMaxFileSize() +} + +func TestBranchRules_GetMergeQueue(tt *testing.T) { + tt.Parallel() + zeroValue := []*MergeQueueBranchRule{} + b := &BranchRules{MergeQueue: zeroValue} + b.GetMergeQueue() + b = &BranchRules{} + b.GetMergeQueue() + b = nil + b.GetMergeQueue() +} + +func TestBranchRules_GetNonFastForward(tt *testing.T) { + tt.Parallel() + zeroValue := []*BranchRuleMetadata{} + b := &BranchRules{NonFastForward: zeroValue} + b.GetNonFastForward() + b = &BranchRules{} + b.GetNonFastForward() + b = nil + b.GetNonFastForward() +} + +func TestBranchRules_GetPullRequest(tt *testing.T) { + tt.Parallel() + zeroValue := []*PullRequestBranchRule{} + b := &BranchRules{PullRequest: zeroValue} + b.GetPullRequest() + b = &BranchRules{} + b.GetPullRequest() + b = nil + b.GetPullRequest() +} + +func TestBranchRules_GetRequiredDeployments(tt *testing.T) { + tt.Parallel() + zeroValue := []*RequiredDeploymentsBranchRule{} + b := &BranchRules{RequiredDeployments: zeroValue} + b.GetRequiredDeployments() + b = &BranchRules{} + b.GetRequiredDeployments() + b = nil + b.GetRequiredDeployments() +} + +func TestBranchRules_GetRequiredLinearHistory(tt *testing.T) { + tt.Parallel() + zeroValue := []*BranchRuleMetadata{} + b := &BranchRules{RequiredLinearHistory: zeroValue} + b.GetRequiredLinearHistory() + b = &BranchRules{} + b.GetRequiredLinearHistory() + b = nil + b.GetRequiredLinearHistory() +} + +func TestBranchRules_GetRequiredSignatures(tt *testing.T) { + tt.Parallel() + zeroValue := []*BranchRuleMetadata{} + b := &BranchRules{RequiredSignatures: zeroValue} + b.GetRequiredSignatures() + b = &BranchRules{} + b.GetRequiredSignatures() + b = nil + b.GetRequiredSignatures() +} + +func TestBranchRules_GetRequiredStatusChecks(tt *testing.T) { + tt.Parallel() + zeroValue := []*RequiredStatusChecksBranchRule{} + b := &BranchRules{RequiredStatusChecks: zeroValue} + b.GetRequiredStatusChecks() + b = &BranchRules{} + b.GetRequiredStatusChecks() + b = nil + b.GetRequiredStatusChecks() +} + +func TestBranchRules_GetTagNamePattern(tt *testing.T) { + tt.Parallel() + zeroValue := []*PatternBranchRule{} + b := &BranchRules{TagNamePattern: zeroValue} + b.GetTagNamePattern() + b = &BranchRules{} + b.GetTagNamePattern() + b = nil + b.GetTagNamePattern() +} + +func TestBranchRules_GetUpdate(tt *testing.T) { + tt.Parallel() + zeroValue := []*UpdateBranchRule{} + b := &BranchRules{Update: zeroValue} + b.GetUpdate() + b = &BranchRules{} + b.GetUpdate() + b = nil + b.GetUpdate() +} + +func TestBranchRules_GetWorkflows(tt *testing.T) { + tt.Parallel() + zeroValue := []*WorkflowsBranchRule{} + b := &BranchRules{Workflows: zeroValue} + b.GetWorkflows() + b = &BranchRules{} + b.GetWorkflows() + b = nil + b.GetWorkflows() +} + func TestBypassActor_GetActorID(tt *testing.T) { tt.Parallel() var zeroValue int64 @@ -3168,6 +4570,88 @@ func TestBypassActor_GetBypassMode(tt *testing.T) { b.GetBypassMode() } +func TestBypassPullRequestAllowances_GetApps(tt *testing.T) { + tt.Parallel() + zeroValue := []*App{} + b := &BypassPullRequestAllowances{Apps: zeroValue} + b.GetApps() + b = &BypassPullRequestAllowances{} + b.GetApps() + b = nil + b.GetApps() +} + +func TestBypassPullRequestAllowances_GetTeams(tt *testing.T) { + tt.Parallel() + zeroValue := []*Team{} + b := &BypassPullRequestAllowances{Teams: zeroValue} + b.GetTeams() + b = &BypassPullRequestAllowances{} + b.GetTeams() + b = nil + b.GetTeams() +} + +func TestBypassPullRequestAllowances_GetUsers(tt *testing.T) { + tt.Parallel() + zeroValue := []*User{} + b := &BypassPullRequestAllowances{Users: zeroValue} + b.GetUsers() + b = &BypassPullRequestAllowances{} + b.GetUsers() + b = nil + b.GetUsers() +} + +func TestBypassPullRequestAllowancesRequest_GetApps(tt *testing.T) { + tt.Parallel() + zeroValue := []string{} + b := &BypassPullRequestAllowancesRequest{Apps: zeroValue} + b.GetApps() + b = &BypassPullRequestAllowancesRequest{} + b.GetApps() + b = nil + b.GetApps() +} + +func TestBypassPullRequestAllowancesRequest_GetTeams(tt *testing.T) { + tt.Parallel() + zeroValue := []string{} + b := &BypassPullRequestAllowancesRequest{Teams: zeroValue} + b.GetTeams() + b = &BypassPullRequestAllowancesRequest{} + b.GetTeams() + b = nil + b.GetTeams() +} + +func TestBypassPullRequestAllowancesRequest_GetUsers(tt *testing.T) { + tt.Parallel() + zeroValue := []string{} + b := &BypassPullRequestAllowancesRequest{Users: zeroValue} + b.GetUsers() + b = &BypassPullRequestAllowancesRequest{} + b.GetUsers() + b = nil + b.GetUsers() +} + +func TestBypassReviewer_GetReviewerID(tt *testing.T) { + tt.Parallel() + b := &BypassReviewer{} + b.GetReviewerID() + b = nil + b.GetReviewerID() +} + +func TestBypassReviewer_GetReviewerType(tt *testing.T) { + tt.Parallel() + b := &BypassReviewer{} + b.GetReviewerType() + b = nil + b.GetReviewerType() +} + func TestBypassReviewer_GetSecurityConfigurationID(tt *testing.T) { tt.Parallel() var zeroValue int64 @@ -3302,6 +4786,17 @@ func TestCheckRun_GetOutput(tt *testing.T) { c.GetOutput() } +func TestCheckRun_GetPullRequests(tt *testing.T) { + tt.Parallel() + zeroValue := []*PullRequest{} + c := &CheckRun{PullRequests: zeroValue} + c.GetPullRequests() + c = &CheckRun{} + c.GetPullRequests() + c = nil + c.GetPullRequests() +} + func TestCheckRun_GetStartedAt(tt *testing.T) { tt.Parallel() var zeroValue Timestamp @@ -3335,6 +4830,30 @@ func TestCheckRun_GetURL(tt *testing.T) { c.GetURL() } +func TestCheckRunAction_GetDescription(tt *testing.T) { + tt.Parallel() + c := &CheckRunAction{} + c.GetDescription() + c = nil + c.GetDescription() +} + +func TestCheckRunAction_GetIdentifier(tt *testing.T) { + tt.Parallel() + c := &CheckRunAction{} + c.GetIdentifier() + c = nil + c.GetIdentifier() +} + +func TestCheckRunAction_GetLabel(tt *testing.T) { + tt.Parallel() + c := &CheckRunAction{} + c.GetLabel() + c = nil + c.GetLabel() +} + func TestCheckRunAnnotation_GetAnnotationLevel(tt *testing.T) { tt.Parallel() var zeroValue string @@ -3526,6 +5045,17 @@ func TestCheckRunImage_GetImageURL(tt *testing.T) { c.GetImageURL() } +func TestCheckRunOutput_GetAnnotations(tt *testing.T) { + tt.Parallel() + zeroValue := []*CheckRunAnnotation{} + c := &CheckRunOutput{Annotations: zeroValue} + c.GetAnnotations() + c = &CheckRunOutput{} + c.GetAnnotations() + c = nil + c.GetAnnotations() +} + func TestCheckRunOutput_GetAnnotationsCount(tt *testing.T) { tt.Parallel() var zeroValue int @@ -3548,6 +5078,17 @@ func TestCheckRunOutput_GetAnnotationsURL(tt *testing.T) { c.GetAnnotationsURL() } +func TestCheckRunOutput_GetImages(tt *testing.T) { + tt.Parallel() + zeroValue := []*CheckRunImage{} + c := &CheckRunOutput{Images: zeroValue} + c.GetImages() + c = &CheckRunOutput{} + c.GetImages() + c = nil + c.GetImages() +} + func TestCheckRunOutput_GetSummary(tt *testing.T) { tt.Parallel() var zeroValue string @@ -3696,6 +5237,17 @@ func TestCheckSuite_GetNodeID(tt *testing.T) { c.GetNodeID() } +func TestCheckSuite_GetPullRequests(tt *testing.T) { + tt.Parallel() + zeroValue := []*PullRequest{} + c := &CheckSuite{PullRequests: zeroValue} + c.GetPullRequests() + c = &CheckSuite{} + c.GetPullRequests() + c = nil + c.GetPullRequests() +} + func TestCheckSuite_GetRepository(tt *testing.T) { tt.Parallel() c := &CheckSuite{} @@ -3810,6 +5362,17 @@ func TestCheckSuiteEvent_GetSender(tt *testing.T) { c.GetSender() } +func TestCheckSuitePreferenceOptions_GetAutoTriggerChecks(tt *testing.T) { + tt.Parallel() + zeroValue := []*AutoTriggerCheck{} + c := &CheckSuitePreferenceOptions{AutoTriggerChecks: zeroValue} + c.GetAutoTriggerChecks() + c = &CheckSuitePreferenceOptions{} + c.GetAutoTriggerChecks() + c = nil + c.GetAutoTriggerChecks() +} + func TestCheckSuitePreferenceResults_GetPreferences(tt *testing.T) { tt.Parallel() c := &CheckSuitePreferenceResults{} @@ -4125,6 +5688,22 @@ func TestClassroomUser_GetLogin(tt *testing.T) { c.GetLogin() } +func TestClusterArtifactDeployment_GetDeploymentName(tt *testing.T) { + tt.Parallel() + c := &ClusterArtifactDeployment{} + c.GetDeploymentName() + c = nil + c.GetDeploymentName() +} + +func TestClusterArtifactDeployment_GetDigest(tt *testing.T) { + tt.Parallel() + c := &ClusterArtifactDeployment{} + c.GetDigest() + c = nil + c.GetDigest() +} + func TestClusterArtifactDeployment_GetGithubRepository(tt *testing.T) { tt.Parallel() var zeroValue string @@ -4136,6 +5715,33 @@ func TestClusterArtifactDeployment_GetGithubRepository(tt *testing.T) { c.GetGithubRepository() } +func TestClusterArtifactDeployment_GetName(tt *testing.T) { + tt.Parallel() + c := &ClusterArtifactDeployment{} + c.GetName() + c = nil + c.GetName() +} + +func TestClusterArtifactDeployment_GetRuntimeRisks(tt *testing.T) { + tt.Parallel() + zeroValue := []DeploymentRuntimeRisk{} + c := &ClusterArtifactDeployment{RuntimeRisks: zeroValue} + c.GetRuntimeRisks() + c = &ClusterArtifactDeployment{} + c.GetRuntimeRisks() + c = nil + c.GetRuntimeRisks() +} + +func TestClusterArtifactDeployment_GetStatus(tt *testing.T) { + tt.Parallel() + c := &ClusterArtifactDeployment{} + c.GetStatus() + c = nil + c.GetStatus() +} + func TestClusterArtifactDeployment_GetTags(tt *testing.T) { tt.Parallel() zeroValue := map[string]string{} @@ -4158,6 +5764,25 @@ func TestClusterArtifactDeployment_GetVersion(tt *testing.T) { c.GetVersion() } +func TestClusterDeploymentRecordsRequest_GetDeployments(tt *testing.T) { + tt.Parallel() + zeroValue := []*ClusterArtifactDeployment{} + c := &ClusterDeploymentRecordsRequest{Deployments: zeroValue} + c.GetDeployments() + c = &ClusterDeploymentRecordsRequest{} + c.GetDeployments() + c = nil + c.GetDeployments() +} + +func TestClusterDeploymentRecordsRequest_GetLogicalEnvironment(tt *testing.T) { + tt.Parallel() + c := &ClusterDeploymentRecordsRequest{} + c.GetLogicalEnvironment() + c = nil + c.GetLogicalEnvironment() +} + func TestClusterDeploymentRecordsRequest_GetPhysicalEnvironment(tt *testing.T) { tt.Parallel() var zeroValue string @@ -4191,6 +5816,17 @@ func TestClusterSSHKey_GetKey(tt *testing.T) { c.GetKey() } +func TestClusterStatus_GetNodes(tt *testing.T) { + tt.Parallel() + zeroValue := []*ClusterStatusNode{} + c := &ClusterStatus{Nodes: zeroValue} + c.GetNodes() + c = &ClusterStatus{} + c.GetNodes() + c = nil + c.GetNodes() +} + func TestClusterStatus_GetStatus(tt *testing.T) { tt.Parallel() var zeroValue string @@ -4213,6 +5849,17 @@ func TestClusterStatusNode_GetHostname(tt *testing.T) { c.GetHostname() } +func TestClusterStatusNode_GetServices(tt *testing.T) { + tt.Parallel() + zeroValue := []*ClusterStatusNodeServiceItem{} + c := &ClusterStatusNode{Services: zeroValue} + c.GetServices() + c = &ClusterStatusNode{} + c.GetServices() + c = nil + c.GetServices() +} + func TestClusterStatusNode_GetStatus(tt *testing.T) { tt.Parallel() var zeroValue string @@ -4301,6 +5948,54 @@ func TestCodeOfConduct_GetURL(tt *testing.T) { c.GetURL() } +func TestCodeownersError_GetColumn(tt *testing.T) { + tt.Parallel() + c := &CodeownersError{} + c.GetColumn() + c = nil + c.GetColumn() +} + +func TestCodeownersError_GetKind(tt *testing.T) { + tt.Parallel() + c := &CodeownersError{} + c.GetKind() + c = nil + c.GetKind() +} + +func TestCodeownersError_GetLine(tt *testing.T) { + tt.Parallel() + c := &CodeownersError{} + c.GetLine() + c = nil + c.GetLine() +} + +func TestCodeownersError_GetMessage(tt *testing.T) { + tt.Parallel() + c := &CodeownersError{} + c.GetMessage() + c = nil + c.GetMessage() +} + +func TestCodeownersError_GetPath(tt *testing.T) { + tt.Parallel() + c := &CodeownersError{} + c.GetPath() + c = nil + c.GetPath() +} + +func TestCodeownersError_GetSource(tt *testing.T) { + tt.Parallel() + c := &CodeownersError{} + c.GetSource() + c = nil + c.GetSource() +} + func TestCodeownersError_GetSuggestion(tt *testing.T) { tt.Parallel() var zeroValue string @@ -4312,6 +6007,17 @@ func TestCodeownersError_GetSuggestion(tt *testing.T) { c.GetSuggestion() } +func TestCodeownersErrors_GetErrors(tt *testing.T) { + tt.Parallel() + zeroValue := []*CodeownersError{} + c := &CodeownersErrors{Errors: zeroValue} + c.GetErrors() + c = &CodeownersErrors{} + c.GetErrors() + c = nil + c.GetErrors() +} + func TestCodeQLDatabase_GetContentType(tt *testing.T) { tt.Parallel() var zeroValue string @@ -4460,6 +6166,17 @@ func TestCodeResult_GetSHA(tt *testing.T) { c.GetSHA() } +func TestCodeResult_GetTextMatches(tt *testing.T) { + tt.Parallel() + zeroValue := []*TextMatch{} + c := &CodeResult{TextMatches: zeroValue} + c.GetTextMatches() + c = &CodeResult{} + c.GetTextMatches() + c = nil + c.GetTextMatches() +} + func TestCodeScanningAlertEvent_GetAction(tt *testing.T) { tt.Parallel() var zeroValue string @@ -4555,6 +6272,22 @@ func TestCodeScanningAlertState_GetDismissedReason(tt *testing.T) { c.GetDismissedReason() } +func TestCodeScanningAlertState_GetState(tt *testing.T) { + tt.Parallel() + c := &CodeScanningAlertState{} + c.GetState() + c = nil + c.GetState() +} + +func TestCodeScanningBranchRule_GetParameters(tt *testing.T) { + tt.Parallel() + c := &CodeScanningBranchRule{} + c.GetParameters() + c = nil + c.GetParameters() +} + func TestCodeScanningDefaultSetupOptions_GetRunnerLabel(tt *testing.T) { tt.Parallel() var zeroValue string @@ -4566,6 +6299,14 @@ func TestCodeScanningDefaultSetupOptions_GetRunnerLabel(tt *testing.T) { c.GetRunnerLabel() } +func TestCodeScanningDefaultSetupOptions_GetRunnerType(tt *testing.T) { + tt.Parallel() + c := &CodeScanningDefaultSetupOptions{} + c.GetRunnerType() + c = nil + c.GetRunnerType() +} + func TestCodeScanningOptions_GetAllowAdvanced(tt *testing.T) { tt.Parallel() var zeroValue bool @@ -4577,6 +6318,28 @@ func TestCodeScanningOptions_GetAllowAdvanced(tt *testing.T) { c.GetAllowAdvanced() } +func TestCodeScanningRuleParameters_GetCodeScanningTools(tt *testing.T) { + tt.Parallel() + zeroValue := []*RuleCodeScanningTool{} + c := &CodeScanningRuleParameters{CodeScanningTools: zeroValue} + c.GetCodeScanningTools() + c = &CodeScanningRuleParameters{} + c.GetCodeScanningTools() + c = nil + c.GetCodeScanningTools() +} + +func TestCodeSearchResult_GetCodeResults(tt *testing.T) { + tt.Parallel() + zeroValue := []*CodeResult{} + c := &CodeSearchResult{CodeResults: zeroValue} + c.GetCodeResults() + c = &CodeSearchResult{} + c.GetCodeResults() + c = nil + c.GetCodeResults() +} + func TestCodeSearchResult_GetIncompleteResults(tt *testing.T) { tt.Parallel() var zeroValue bool @@ -4722,6 +6485,14 @@ func TestCodeSecurityConfiguration_GetDependencyGraphAutosubmitActionOptions(tt c.GetDependencyGraphAutosubmitActionOptions() } +func TestCodeSecurityConfiguration_GetDescription(tt *testing.T) { + tt.Parallel() + c := &CodeSecurityConfiguration{} + c.GetDescription() + c = nil + c.GetDescription() +} + func TestCodeSecurityConfiguration_GetEnforcement(tt *testing.T) { tt.Parallel() var zeroValue string @@ -4755,6 +6526,14 @@ func TestCodeSecurityConfiguration_GetID(tt *testing.T) { c.GetID() } +func TestCodeSecurityConfiguration_GetName(tt *testing.T) { + tt.Parallel() + c := &CodeSecurityConfiguration{} + c.GetName() + c = nil + c.GetName() +} + func TestCodeSecurityConfiguration_GetPrivateVulnerabilityReporting(tt *testing.T) { tt.Parallel() var zeroValue string @@ -5122,6 +6901,17 @@ func TestCodespace_GetPullsURL(tt *testing.T) { c.GetPullsURL() } +func TestCodespace_GetRecentFolders(tt *testing.T) { + tt.Parallel() + zeroValue := []string{} + c := &Codespace{RecentFolders: zeroValue} + c.GetRecentFolders() + c = &Codespace{} + c.GetRecentFolders() + c = nil + c.GetRecentFolders() +} + func TestCodespace_GetRepository(tt *testing.T) { tt.Parallel() c := &Codespace{} @@ -5333,6 +7123,14 @@ func TestCodespaceCreateForUserOptions_GetRef(tt *testing.T) { c.GetRef() } +func TestCodespaceCreateForUserOptions_GetRepositoryID(tt *testing.T) { + tt.Parallel() + c := &CodespaceCreateForUserOptions{} + c.GetRepositoryID() + c = nil + c.GetRepositoryID() +} + func TestCodespaceCreateForUserOptions_GetRetentionPeriodMinutes(tt *testing.T) { tt.Parallel() var zeroValue int @@ -5382,6 +7180,14 @@ func TestCodespaceDefaults_GetDevcontainerPath(tt *testing.T) { c.GetDevcontainerPath() } +func TestCodespaceDefaults_GetLocation(tt *testing.T) { + tt.Parallel() + c := &CodespaceDefaults{} + c.GetLocation() + c = nil + c.GetLocation() +} + func TestCodespaceExport_GetBranch(tt *testing.T) { tt.Parallel() var zeroValue string @@ -5481,6 +7287,30 @@ func TestCodespaceGetDefaultAttributesOptions_GetRef(tt *testing.T) { c.GetRef() } +func TestCodespacePermissions_GetAccepted(tt *testing.T) { + tt.Parallel() + c := &CodespacePermissions{} + c.GetAccepted() + c = nil + c.GetAccepted() +} + +func TestCodespacePullRequestOptions_GetPullRequestNumber(tt *testing.T) { + tt.Parallel() + c := &CodespacePullRequestOptions{} + c.GetPullRequestNumber() + c = nil + c.GetPullRequestNumber() +} + +func TestCodespacePullRequestOptions_GetRepositoryID(tt *testing.T) { + tt.Parallel() + c := &CodespacePullRequestOptions{} + c.GetRepositoryID() + c = nil + c.GetRepositoryID() +} + func TestCodespacesGitStatus_GetAhead(tt *testing.T) { tt.Parallel() var zeroValue int @@ -5613,6 +7443,55 @@ func TestCodespacesMachine_GetStorageInBytes(tt *testing.T) { c.GetStorageInBytes() } +func TestCodespacesMachines_GetMachines(tt *testing.T) { + tt.Parallel() + zeroValue := []*CodespacesMachine{} + c := &CodespacesMachines{Machines: zeroValue} + c.GetMachines() + c = &CodespacesMachines{} + c.GetMachines() + c = nil + c.GetMachines() +} + +func TestCodespacesMachines_GetTotalCount(tt *testing.T) { + tt.Parallel() + c := &CodespacesMachines{} + c.GetTotalCount() + c = nil + c.GetTotalCount() +} + +func TestCodespacesOrgAccessControlRequest_GetSelectedUsernames(tt *testing.T) { + tt.Parallel() + zeroValue := []string{} + c := &CodespacesOrgAccessControlRequest{SelectedUsernames: zeroValue} + c.GetSelectedUsernames() + c = &CodespacesOrgAccessControlRequest{} + c.GetSelectedUsernames() + c = nil + c.GetSelectedUsernames() +} + +func TestCodespacesOrgAccessControlRequest_GetVisibility(tt *testing.T) { + tt.Parallel() + c := &CodespacesOrgAccessControlRequest{} + c.GetVisibility() + c = nil + c.GetVisibility() +} + +func TestCodespacesRuntimeConstraints_GetAllowedPortPrivacySettings(tt *testing.T) { + tt.Parallel() + zeroValue := []string{} + c := &CodespacesRuntimeConstraints{AllowedPortPrivacySettings: zeroValue} + c.GetAllowedPortPrivacySettings() + c = &CodespacesRuntimeConstraints{} + c.GetAllowedPortPrivacySettings() + c = nil + c.GetAllowedPortPrivacySettings() +} + func TestCollaboratorInvitation_GetCreatedAt(tt *testing.T) { tt.Parallel() var zeroValue Timestamp @@ -5747,6 +7626,17 @@ func TestCombinedStatus_GetState(tt *testing.T) { c.GetState() } +func TestCombinedStatus_GetStatuses(tt *testing.T) { + tt.Parallel() + zeroValue := []*RepoStatus{} + c := &CombinedStatus{Statuses: zeroValue} + c.GetStatuses() + c = &CombinedStatus{} + c.GetStatuses() + c = nil + c.GetStatuses() +} + func TestCombinedStatus_GetTotalCount(tt *testing.T) { tt.Parallel() var zeroValue int @@ -5758,6 +7648,14 @@ func TestCombinedStatus_GetTotalCount(tt *testing.T) { c.GetTotalCount() } +func TestComment_GetBody(tt *testing.T) { + tt.Parallel() + c := &Comment{} + c.GetBody() + c = nil + c.GetBody() +} + func TestComment_GetCreatedAt(tt *testing.T) { tt.Parallel() var zeroValue Timestamp @@ -6010,6 +7908,17 @@ func TestCommit_GetNodeID(tt *testing.T) { c.GetNodeID() } +func TestCommit_GetParents(tt *testing.T) { + tt.Parallel() + zeroValue := []*Commit{} + c := &Commit{Parents: zeroValue} + c.GetParents() + c = &Commit{} + c.GetParents() + c = nil + c.GetParents() +} + func TestCommit_GetSHA(tt *testing.T) { tt.Parallel() var zeroValue string @@ -6310,6 +8219,17 @@ func TestCommitResult_GetHTMLURL(tt *testing.T) { c.GetHTMLURL() } +func TestCommitResult_GetParents(tt *testing.T) { + tt.Parallel() + zeroValue := []*Commit{} + c := &CommitResult{Parents: zeroValue} + c.GetParents() + c = &CommitResult{} + c.GetParents() + c = nil + c.GetParents() +} + func TestCommitResult_GetRepository(tt *testing.T) { tt.Parallel() c := &CommitResult{} @@ -6320,7 +8240,10 @@ func TestCommitResult_GetRepository(tt *testing.T) { func TestCommitResult_GetScore(tt *testing.T) { tt.Parallel() - c := &CommitResult{} + var zeroValue float64 + c := &CommitResult{Score: &zeroValue} + c.GetScore() + c = &CommitResult{} c.GetScore() c = nil c.GetScore() @@ -6378,6 +8301,17 @@ func TestCommitsComparison_GetBehindBy(tt *testing.T) { c.GetBehindBy() } +func TestCommitsComparison_GetCommits(tt *testing.T) { + tt.Parallel() + zeroValue := []*RepositoryCommit{} + c := &CommitsComparison{Commits: zeroValue} + c.GetCommits() + c = &CommitsComparison{} + c.GetCommits() + c = nil + c.GetCommits() +} + func TestCommitsComparison_GetDiffURL(tt *testing.T) { tt.Parallel() var zeroValue string @@ -6389,6 +8323,17 @@ func TestCommitsComparison_GetDiffURL(tt *testing.T) { c.GetDiffURL() } +func TestCommitsComparison_GetFiles(tt *testing.T) { + tt.Parallel() + zeroValue := []*CommitFile{} + c := &CommitsComparison{Files: zeroValue} + c.GetFiles() + c = &CommitsComparison{} + c.GetFiles() + c = nil + c.GetFiles() +} + func TestCommitsComparison_GetHTMLURL(tt *testing.T) { tt.Parallel() var zeroValue string @@ -6463,6 +8408,57 @@ func TestCommitsComparison_GetURL(tt *testing.T) { c.GetURL() } +func TestCommitsListOptions_GetAuthor(tt *testing.T) { + tt.Parallel() + c := &CommitsListOptions{} + c.GetAuthor() + c = nil + c.GetAuthor() +} + +func TestCommitsListOptions_GetPath(tt *testing.T) { + tt.Parallel() + c := &CommitsListOptions{} + c.GetPath() + c = nil + c.GetPath() +} + +func TestCommitsListOptions_GetSHA(tt *testing.T) { + tt.Parallel() + c := &CommitsListOptions{} + c.GetSHA() + c = nil + c.GetSHA() +} + +func TestCommitsListOptions_GetSince(tt *testing.T) { + tt.Parallel() + c := &CommitsListOptions{} + c.GetSince() + c = nil + c.GetSince() +} + +func TestCommitsListOptions_GetUntil(tt *testing.T) { + tt.Parallel() + c := &CommitsListOptions{} + c.GetUntil() + c = nil + c.GetUntil() +} + +func TestCommitsSearchResult_GetCommits(tt *testing.T) { + tt.Parallel() + zeroValue := []*CommitResult{} + c := &CommitsSearchResult{Commits: zeroValue} + c.GetCommits() + c = &CommitsSearchResult{} + c.GetCommits() + c = nil + c.GetCommits() +} + func TestCommitsSearchResult_GetIncompleteResults(tt *testing.T) { tt.Parallel() var zeroValue bool @@ -6637,6 +8633,28 @@ func TestCommunityHealthMetrics_GetUpdatedAt(tt *testing.T) { c.GetUpdatedAt() } +func TestConfigApplyEvents_GetNodes(tt *testing.T) { + tt.Parallel() + zeroValue := []*ConfigApplyEventsNode{} + c := &ConfigApplyEvents{Nodes: zeroValue} + c.GetNodes() + c = &ConfigApplyEvents{} + c.GetNodes() + c = nil + c.GetNodes() +} + +func TestConfigApplyEventsNode_GetEvents(tt *testing.T) { + tt.Parallel() + zeroValue := []*ConfigApplyEventsNodeEvent{} + c := &ConfigApplyEventsNode{Events: zeroValue} + c.GetEvents() + c = &ConfigApplyEventsNode{} + c.GetEvents() + c = nil + c.GetEvents() +} + func TestConfigApplyEventsNode_GetLastRequestID(tt *testing.T) { tt.Parallel() var zeroValue string @@ -6802,6 +8820,17 @@ func TestConfigApplyOptions_GetRunID(tt *testing.T) { c.GetRunID() } +func TestConfigApplyStatus_GetNodes(tt *testing.T) { + tt.Parallel() + zeroValue := []*ConfigApplyStatusNode{} + c := &ConfigApplyStatus{Nodes: zeroValue} + c.GetNodes() + c = &ConfigApplyStatus{} + c.GetNodes() + c = nil + c.GetNodes() +} + func TestConfigApplyStatus_GetRunning(tt *testing.T) { tt.Parallel() var zeroValue bool @@ -7395,6 +9424,17 @@ func TestConfigSettingsLDAP_GetAdminGroup(tt *testing.T) { c.GetAdminGroup() } +func TestConfigSettingsLDAP_GetBase(tt *testing.T) { + tt.Parallel() + zeroValue := []string{} + c := &ConfigSettingsLDAP{Base: zeroValue} + c.GetBase() + c = &ConfigSettingsLDAP{} + c.GetBase() + c = nil + c.GetBase() +} + func TestConfigSettingsLDAP_GetBindDN(tt *testing.T) { tt.Parallel() var zeroValue string @@ -7532,6 +9572,17 @@ func TestConfigSettingsLDAP_GetUID(tt *testing.T) { c.GetUID() } +func TestConfigSettingsLDAP_GetUserGroups(tt *testing.T) { + tt.Parallel() + zeroValue := []string{} + c := &ConfigSettingsLDAP{UserGroups: zeroValue} + c.GetUserGroups() + c = &ConfigSettingsLDAP{} + c.GetUserGroups() + c = nil + c.GetUserGroups() +} + func TestConfigSettingsLDAP_GetUserSyncEmails(tt *testing.T) { tt.Parallel() var zeroValue bool @@ -8400,6 +10451,14 @@ func TestContributor_GetURL(tt *testing.T) { c.GetURL() } +func TestContributorApprovalPermissions_GetApprovalPolicy(tt *testing.T) { + tt.Parallel() + c := &ContributorApprovalPermissions{} + c.GetApprovalPolicy() + c = nil + c.GetApprovalPolicy() +} + func TestContributorStats_GetAuthor(tt *testing.T) { tt.Parallel() c := &ContributorStats{} @@ -8419,6 +10478,79 @@ func TestContributorStats_GetTotal(tt *testing.T) { c.GetTotal() } +func TestContributorStats_GetWeeks(tt *testing.T) { + tt.Parallel() + zeroValue := []*WeeklyStats{} + c := &ContributorStats{Weeks: zeroValue} + c.GetWeeks() + c = &ContributorStats{} + c.GetWeeks() + c = nil + c.GetWeeks() +} + +func TestCopilotCodeReviewBranchRule_GetParameters(tt *testing.T) { + tt.Parallel() + c := &CopilotCodeReviewBranchRule{} + c.GetParameters() + c = nil + c.GetParameters() +} + +func TestCopilotCodeReviewRuleParameters_GetReviewDraftPullRequests(tt *testing.T) { + tt.Parallel() + c := &CopilotCodeReviewRuleParameters{} + c.GetReviewDraftPullRequests() + c = nil + c.GetReviewDraftPullRequests() +} + +func TestCopilotCodeReviewRuleParameters_GetReviewOnPush(tt *testing.T) { + tt.Parallel() + c := &CopilotCodeReviewRuleParameters{} + c.GetReviewOnPush() + c = nil + c.GetReviewOnPush() +} + +func TestCopilotDailyMetricsReport_GetDownloadLinks(tt *testing.T) { + tt.Parallel() + zeroValue := []string{} + c := &CopilotDailyMetricsReport{DownloadLinks: zeroValue} + c.GetDownloadLinks() + c = &CopilotDailyMetricsReport{} + c.GetDownloadLinks() + c = nil + c.GetDownloadLinks() +} + +func TestCopilotDailyMetricsReport_GetReportDay(tt *testing.T) { + tt.Parallel() + c := &CopilotDailyMetricsReport{} + c.GetReportDay() + c = nil + c.GetReportDay() +} + +func TestCopilotDotcomChat_GetModels(tt *testing.T) { + tt.Parallel() + zeroValue := []*CopilotDotcomChatModel{} + c := &CopilotDotcomChat{Models: zeroValue} + c.GetModels() + c = &CopilotDotcomChat{} + c.GetModels() + c = nil + c.GetModels() +} + +func TestCopilotDotcomChat_GetTotalEngagedUsers(tt *testing.T) { + tt.Parallel() + c := &CopilotDotcomChat{} + c.GetTotalEngagedUsers() + c = nil + c.GetTotalEngagedUsers() +} + func TestCopilotDotcomChatModel_GetCustomModelTrainingDate(tt *testing.T) { tt.Parallel() var zeroValue string @@ -8430,6 +10562,57 @@ func TestCopilotDotcomChatModel_GetCustomModelTrainingDate(tt *testing.T) { c.GetCustomModelTrainingDate() } +func TestCopilotDotcomChatModel_GetIsCustomModel(tt *testing.T) { + tt.Parallel() + c := &CopilotDotcomChatModel{} + c.GetIsCustomModel() + c = nil + c.GetIsCustomModel() +} + +func TestCopilotDotcomChatModel_GetName(tt *testing.T) { + tt.Parallel() + c := &CopilotDotcomChatModel{} + c.GetName() + c = nil + c.GetName() +} + +func TestCopilotDotcomChatModel_GetTotalChats(tt *testing.T) { + tt.Parallel() + c := &CopilotDotcomChatModel{} + c.GetTotalChats() + c = nil + c.GetTotalChats() +} + +func TestCopilotDotcomChatModel_GetTotalEngagedUsers(tt *testing.T) { + tt.Parallel() + c := &CopilotDotcomChatModel{} + c.GetTotalEngagedUsers() + c = nil + c.GetTotalEngagedUsers() +} + +func TestCopilotDotcomPullRequests_GetRepositories(tt *testing.T) { + tt.Parallel() + zeroValue := []*CopilotDotcomPullRequestsRepository{} + c := &CopilotDotcomPullRequests{Repositories: zeroValue} + c.GetRepositories() + c = &CopilotDotcomPullRequests{} + c.GetRepositories() + c = nil + c.GetRepositories() +} + +func TestCopilotDotcomPullRequests_GetTotalEngagedUsers(tt *testing.T) { + tt.Parallel() + c := &CopilotDotcomPullRequests{} + c.GetTotalEngagedUsers() + c = nil + c.GetTotalEngagedUsers() +} + func TestCopilotDotcomPullRequestsModel_GetCustomModelTrainingDate(tt *testing.T) { tt.Parallel() var zeroValue string @@ -8441,6 +10624,111 @@ func TestCopilotDotcomPullRequestsModel_GetCustomModelTrainingDate(tt *testing.T c.GetCustomModelTrainingDate() } +func TestCopilotDotcomPullRequestsModel_GetIsCustomModel(tt *testing.T) { + tt.Parallel() + c := &CopilotDotcomPullRequestsModel{} + c.GetIsCustomModel() + c = nil + c.GetIsCustomModel() +} + +func TestCopilotDotcomPullRequestsModel_GetName(tt *testing.T) { + tt.Parallel() + c := &CopilotDotcomPullRequestsModel{} + c.GetName() + c = nil + c.GetName() +} + +func TestCopilotDotcomPullRequestsModel_GetTotalEngagedUsers(tt *testing.T) { + tt.Parallel() + c := &CopilotDotcomPullRequestsModel{} + c.GetTotalEngagedUsers() + c = nil + c.GetTotalEngagedUsers() +} + +func TestCopilotDotcomPullRequestsModel_GetTotalPRSummariesCreated(tt *testing.T) { + tt.Parallel() + c := &CopilotDotcomPullRequestsModel{} + c.GetTotalPRSummariesCreated() + c = nil + c.GetTotalPRSummariesCreated() +} + +func TestCopilotDotcomPullRequestsRepository_GetModels(tt *testing.T) { + tt.Parallel() + zeroValue := []*CopilotDotcomPullRequestsModel{} + c := &CopilotDotcomPullRequestsRepository{Models: zeroValue} + c.GetModels() + c = &CopilotDotcomPullRequestsRepository{} + c.GetModels() + c = nil + c.GetModels() +} + +func TestCopilotDotcomPullRequestsRepository_GetName(tt *testing.T) { + tt.Parallel() + c := &CopilotDotcomPullRequestsRepository{} + c.GetName() + c = nil + c.GetName() +} + +func TestCopilotDotcomPullRequestsRepository_GetTotalEngagedUsers(tt *testing.T) { + tt.Parallel() + c := &CopilotDotcomPullRequestsRepository{} + c.GetTotalEngagedUsers() + c = nil + c.GetTotalEngagedUsers() +} + +func TestCopilotIDEChat_GetEditors(tt *testing.T) { + tt.Parallel() + zeroValue := []*CopilotIDEChatEditor{} + c := &CopilotIDEChat{Editors: zeroValue} + c.GetEditors() + c = &CopilotIDEChat{} + c.GetEditors() + c = nil + c.GetEditors() +} + +func TestCopilotIDEChat_GetTotalEngagedUsers(tt *testing.T) { + tt.Parallel() + c := &CopilotIDEChat{} + c.GetTotalEngagedUsers() + c = nil + c.GetTotalEngagedUsers() +} + +func TestCopilotIDEChatEditor_GetModels(tt *testing.T) { + tt.Parallel() + zeroValue := []*CopilotIDEChatModel{} + c := &CopilotIDEChatEditor{Models: zeroValue} + c.GetModels() + c = &CopilotIDEChatEditor{} + c.GetModels() + c = nil + c.GetModels() +} + +func TestCopilotIDEChatEditor_GetName(tt *testing.T) { + tt.Parallel() + c := &CopilotIDEChatEditor{} + c.GetName() + c = nil + c.GetName() +} + +func TestCopilotIDEChatEditor_GetTotalEngagedUsers(tt *testing.T) { + tt.Parallel() + c := &CopilotIDEChatEditor{} + c.GetTotalEngagedUsers() + c = nil + c.GetTotalEngagedUsers() +} + func TestCopilotIDEChatModel_GetCustomModelTrainingDate(tt *testing.T) { tt.Parallel() var zeroValue string @@ -8452,6 +10740,127 @@ func TestCopilotIDEChatModel_GetCustomModelTrainingDate(tt *testing.T) { c.GetCustomModelTrainingDate() } +func TestCopilotIDEChatModel_GetIsCustomModel(tt *testing.T) { + tt.Parallel() + c := &CopilotIDEChatModel{} + c.GetIsCustomModel() + c = nil + c.GetIsCustomModel() +} + +func TestCopilotIDEChatModel_GetName(tt *testing.T) { + tt.Parallel() + c := &CopilotIDEChatModel{} + c.GetName() + c = nil + c.GetName() +} + +func TestCopilotIDEChatModel_GetTotalChatCopyEvents(tt *testing.T) { + tt.Parallel() + c := &CopilotIDEChatModel{} + c.GetTotalChatCopyEvents() + c = nil + c.GetTotalChatCopyEvents() +} + +func TestCopilotIDEChatModel_GetTotalChatInsertionEvents(tt *testing.T) { + tt.Parallel() + c := &CopilotIDEChatModel{} + c.GetTotalChatInsertionEvents() + c = nil + c.GetTotalChatInsertionEvents() +} + +func TestCopilotIDEChatModel_GetTotalChats(tt *testing.T) { + tt.Parallel() + c := &CopilotIDEChatModel{} + c.GetTotalChats() + c = nil + c.GetTotalChats() +} + +func TestCopilotIDEChatModel_GetTotalEngagedUsers(tt *testing.T) { + tt.Parallel() + c := &CopilotIDEChatModel{} + c.GetTotalEngagedUsers() + c = nil + c.GetTotalEngagedUsers() +} + +func TestCopilotIDECodeCompletions_GetEditors(tt *testing.T) { + tt.Parallel() + zeroValue := []*CopilotIDECodeCompletionsEditor{} + c := &CopilotIDECodeCompletions{Editors: zeroValue} + c.GetEditors() + c = &CopilotIDECodeCompletions{} + c.GetEditors() + c = nil + c.GetEditors() +} + +func TestCopilotIDECodeCompletions_GetLanguages(tt *testing.T) { + tt.Parallel() + zeroValue := []*CopilotIDECodeCompletionsLanguage{} + c := &CopilotIDECodeCompletions{Languages: zeroValue} + c.GetLanguages() + c = &CopilotIDECodeCompletions{} + c.GetLanguages() + c = nil + c.GetLanguages() +} + +func TestCopilotIDECodeCompletions_GetTotalEngagedUsers(tt *testing.T) { + tt.Parallel() + c := &CopilotIDECodeCompletions{} + c.GetTotalEngagedUsers() + c = nil + c.GetTotalEngagedUsers() +} + +func TestCopilotIDECodeCompletionsEditor_GetModels(tt *testing.T) { + tt.Parallel() + zeroValue := []*CopilotIDECodeCompletionsModel{} + c := &CopilotIDECodeCompletionsEditor{Models: zeroValue} + c.GetModels() + c = &CopilotIDECodeCompletionsEditor{} + c.GetModels() + c = nil + c.GetModels() +} + +func TestCopilotIDECodeCompletionsEditor_GetName(tt *testing.T) { + tt.Parallel() + c := &CopilotIDECodeCompletionsEditor{} + c.GetName() + c = nil + c.GetName() +} + +func TestCopilotIDECodeCompletionsEditor_GetTotalEngagedUsers(tt *testing.T) { + tt.Parallel() + c := &CopilotIDECodeCompletionsEditor{} + c.GetTotalEngagedUsers() + c = nil + c.GetTotalEngagedUsers() +} + +func TestCopilotIDECodeCompletionsLanguage_GetName(tt *testing.T) { + tt.Parallel() + c := &CopilotIDECodeCompletionsLanguage{} + c.GetName() + c = nil + c.GetName() +} + +func TestCopilotIDECodeCompletionsLanguage_GetTotalEngagedUsers(tt *testing.T) { + tt.Parallel() + c := &CopilotIDECodeCompletionsLanguage{} + c.GetTotalEngagedUsers() + c = nil + c.GetTotalEngagedUsers() +} + func TestCopilotIDECodeCompletionsModel_GetCustomModelTrainingDate(tt *testing.T) { tt.Parallel() var zeroValue string @@ -8463,6 +10872,89 @@ func TestCopilotIDECodeCompletionsModel_GetCustomModelTrainingDate(tt *testing.T c.GetCustomModelTrainingDate() } +func TestCopilotIDECodeCompletionsModel_GetIsCustomModel(tt *testing.T) { + tt.Parallel() + c := &CopilotIDECodeCompletionsModel{} + c.GetIsCustomModel() + c = nil + c.GetIsCustomModel() +} + +func TestCopilotIDECodeCompletionsModel_GetLanguages(tt *testing.T) { + tt.Parallel() + zeroValue := []*CopilotIDECodeCompletionsModelLanguage{} + c := &CopilotIDECodeCompletionsModel{Languages: zeroValue} + c.GetLanguages() + c = &CopilotIDECodeCompletionsModel{} + c.GetLanguages() + c = nil + c.GetLanguages() +} + +func TestCopilotIDECodeCompletionsModel_GetName(tt *testing.T) { + tt.Parallel() + c := &CopilotIDECodeCompletionsModel{} + c.GetName() + c = nil + c.GetName() +} + +func TestCopilotIDECodeCompletionsModel_GetTotalEngagedUsers(tt *testing.T) { + tt.Parallel() + c := &CopilotIDECodeCompletionsModel{} + c.GetTotalEngagedUsers() + c = nil + c.GetTotalEngagedUsers() +} + +func TestCopilotIDECodeCompletionsModelLanguage_GetName(tt *testing.T) { + tt.Parallel() + c := &CopilotIDECodeCompletionsModelLanguage{} + c.GetName() + c = nil + c.GetName() +} + +func TestCopilotIDECodeCompletionsModelLanguage_GetTotalCodeAcceptances(tt *testing.T) { + tt.Parallel() + c := &CopilotIDECodeCompletionsModelLanguage{} + c.GetTotalCodeAcceptances() + c = nil + c.GetTotalCodeAcceptances() +} + +func TestCopilotIDECodeCompletionsModelLanguage_GetTotalCodeLinesAccepted(tt *testing.T) { + tt.Parallel() + c := &CopilotIDECodeCompletionsModelLanguage{} + c.GetTotalCodeLinesAccepted() + c = nil + c.GetTotalCodeLinesAccepted() +} + +func TestCopilotIDECodeCompletionsModelLanguage_GetTotalCodeLinesSuggested(tt *testing.T) { + tt.Parallel() + c := &CopilotIDECodeCompletionsModelLanguage{} + c.GetTotalCodeLinesSuggested() + c = nil + c.GetTotalCodeLinesSuggested() +} + +func TestCopilotIDECodeCompletionsModelLanguage_GetTotalCodeSuggestions(tt *testing.T) { + tt.Parallel() + c := &CopilotIDECodeCompletionsModelLanguage{} + c.GetTotalCodeSuggestions() + c = nil + c.GetTotalCodeSuggestions() +} + +func TestCopilotIDECodeCompletionsModelLanguage_GetTotalEngagedUsers(tt *testing.T) { + tt.Parallel() + c := &CopilotIDECodeCompletionsModelLanguage{} + c.GetTotalEngagedUsers() + c = nil + c.GetTotalEngagedUsers() +} + func TestCopilotMetrics_GetCopilotDotcomChat(tt *testing.T) { tt.Parallel() c := &CopilotMetrics{} @@ -8495,6 +10987,14 @@ func TestCopilotMetrics_GetCopilotIDECodeCompletions(tt *testing.T) { c.GetCopilotIDECodeCompletions() } +func TestCopilotMetrics_GetDate(tt *testing.T) { + tt.Parallel() + c := &CopilotMetrics{} + c.GetDate() + c = nil + c.GetDate() +} + func TestCopilotMetrics_GetTotalActiveUsers(tt *testing.T) { tt.Parallel() var zeroValue int @@ -8539,6 +11039,57 @@ func TestCopilotMetricsListOptions_GetUntil(tt *testing.T) { c.GetUntil() } +func TestCopilotMetricsReport_GetDownloadLinks(tt *testing.T) { + tt.Parallel() + zeroValue := []string{} + c := &CopilotMetricsReport{DownloadLinks: zeroValue} + c.GetDownloadLinks() + c = &CopilotMetricsReport{} + c.GetDownloadLinks() + c = nil + c.GetDownloadLinks() +} + +func TestCopilotMetricsReport_GetReportEndDay(tt *testing.T) { + tt.Parallel() + c := &CopilotMetricsReport{} + c.GetReportEndDay() + c = nil + c.GetReportEndDay() +} + +func TestCopilotMetricsReport_GetReportStartDay(tt *testing.T) { + tt.Parallel() + c := &CopilotMetricsReport{} + c.GetReportStartDay() + c = nil + c.GetReportStartDay() +} + +func TestCopilotMetricsReportOptions_GetDay(tt *testing.T) { + tt.Parallel() + c := &CopilotMetricsReportOptions{} + c.GetDay() + c = nil + c.GetDay() +} + +func TestCopilotOrganizationDetails_GetCopilotChat(tt *testing.T) { + tt.Parallel() + c := &CopilotOrganizationDetails{} + c.GetCopilotChat() + c = nil + c.GetCopilotChat() +} + +func TestCopilotOrganizationDetails_GetPublicCodeSuggestions(tt *testing.T) { + tt.Parallel() + c := &CopilotOrganizationDetails{} + c.GetPublicCodeSuggestions() + c = nil + c.GetPublicCodeSuggestions() +} + func TestCopilotOrganizationDetails_GetSeatBreakdown(tt *testing.T) { tt.Parallel() c := &CopilotOrganizationDetails{} @@ -8547,6 +11098,70 @@ func TestCopilotOrganizationDetails_GetSeatBreakdown(tt *testing.T) { c.GetSeatBreakdown() } +func TestCopilotOrganizationDetails_GetSeatManagementSetting(tt *testing.T) { + tt.Parallel() + c := &CopilotOrganizationDetails{} + c.GetSeatManagementSetting() + c = nil + c.GetSeatManagementSetting() +} + +func TestCopilotSeatBreakdown_GetActiveThisCycle(tt *testing.T) { + tt.Parallel() + c := &CopilotSeatBreakdown{} + c.GetActiveThisCycle() + c = nil + c.GetActiveThisCycle() +} + +func TestCopilotSeatBreakdown_GetAddedThisCycle(tt *testing.T) { + tt.Parallel() + c := &CopilotSeatBreakdown{} + c.GetAddedThisCycle() + c = nil + c.GetAddedThisCycle() +} + +func TestCopilotSeatBreakdown_GetInactiveThisCycle(tt *testing.T) { + tt.Parallel() + c := &CopilotSeatBreakdown{} + c.GetInactiveThisCycle() + c = nil + c.GetInactiveThisCycle() +} + +func TestCopilotSeatBreakdown_GetPendingCancellation(tt *testing.T) { + tt.Parallel() + c := &CopilotSeatBreakdown{} + c.GetPendingCancellation() + c = nil + c.GetPendingCancellation() +} + +func TestCopilotSeatBreakdown_GetPendingInvitation(tt *testing.T) { + tt.Parallel() + c := &CopilotSeatBreakdown{} + c.GetPendingInvitation() + c = nil + c.GetPendingInvitation() +} + +func TestCopilotSeatBreakdown_GetTotal(tt *testing.T) { + tt.Parallel() + c := &CopilotSeatBreakdown{} + c.GetTotal() + c = nil + c.GetTotal() +} + +func TestCopilotSeatDetails_GetAssignee(tt *testing.T) { + tt.Parallel() + c := &CopilotSeatDetails{} + c.GetAssignee() + c = nil + c.GetAssignee() +} + func TestCopilotSeatDetails_GetAssigningTeam(tt *testing.T) { tt.Parallel() c := &CopilotSeatDetails{} @@ -8632,6 +11247,33 @@ func TestCostCenter_GetAzureSubscription(tt *testing.T) { c.GetAzureSubscription() } +func TestCostCenter_GetID(tt *testing.T) { + tt.Parallel() + c := &CostCenter{} + c.GetID() + c = nil + c.GetID() +} + +func TestCostCenter_GetName(tt *testing.T) { + tt.Parallel() + c := &CostCenter{} + c.GetName() + c = nil + c.GetName() +} + +func TestCostCenter_GetResources(tt *testing.T) { + tt.Parallel() + zeroValue := []*CostCenterResource{} + c := &CostCenter{Resources: zeroValue} + c.GetResources() + c = &CostCenter{} + c.GetResources() + c = nil + c.GetResources() +} + func TestCostCenter_GetState(tt *testing.T) { tt.Parallel() var zeroValue string @@ -8643,6 +11285,74 @@ func TestCostCenter_GetState(tt *testing.T) { c.GetState() } +func TestCostCenterRequest_GetName(tt *testing.T) { + tt.Parallel() + c := &CostCenterRequest{} + c.GetName() + c = nil + c.GetName() +} + +func TestCostCenterResource_GetName(tt *testing.T) { + tt.Parallel() + c := &CostCenterResource{} + c.GetName() + c = nil + c.GetName() +} + +func TestCostCenterResource_GetType(tt *testing.T) { + tt.Parallel() + c := &CostCenterResource{} + c.GetType() + c = nil + c.GetType() +} + +func TestCostCenterResourceRequest_GetOrganizations(tt *testing.T) { + tt.Parallel() + zeroValue := []string{} + c := &CostCenterResourceRequest{Organizations: zeroValue} + c.GetOrganizations() + c = &CostCenterResourceRequest{} + c.GetOrganizations() + c = nil + c.GetOrganizations() +} + +func TestCostCenterResourceRequest_GetRepositories(tt *testing.T) { + tt.Parallel() + zeroValue := []string{} + c := &CostCenterResourceRequest{Repositories: zeroValue} + c.GetRepositories() + c = &CostCenterResourceRequest{} + c.GetRepositories() + c = nil + c.GetRepositories() +} + +func TestCostCenterResourceRequest_GetUsers(tt *testing.T) { + tt.Parallel() + zeroValue := []string{} + c := &CostCenterResourceRequest{Users: zeroValue} + c.GetUsers() + c = &CostCenterResourceRequest{} + c.GetUsers() + c = nil + c.GetUsers() +} + +func TestCostCenters_GetCostCenters(tt *testing.T) { + tt.Parallel() + zeroValue := []*CostCenter{} + c := &CostCenters{CostCenters: zeroValue} + c.GetCostCenters() + c = &CostCenters{} + c.GetCostCenters() + c = nil + c.GetCostCenters() +} + func TestCreateArtifactDeploymentRequest_GetCluster(tt *testing.T) { tt.Parallel() var zeroValue string @@ -8654,6 +11364,22 @@ func TestCreateArtifactDeploymentRequest_GetCluster(tt *testing.T) { c.GetCluster() } +func TestCreateArtifactDeploymentRequest_GetDeploymentName(tt *testing.T) { + tt.Parallel() + c := &CreateArtifactDeploymentRequest{} + c.GetDeploymentName() + c = nil + c.GetDeploymentName() +} + +func TestCreateArtifactDeploymentRequest_GetDigest(tt *testing.T) { + tt.Parallel() + c := &CreateArtifactDeploymentRequest{} + c.GetDigest() + c = nil + c.GetDigest() +} + func TestCreateArtifactDeploymentRequest_GetGithubRepository(tt *testing.T) { tt.Parallel() var zeroValue string @@ -8665,6 +11391,22 @@ func TestCreateArtifactDeploymentRequest_GetGithubRepository(tt *testing.T) { c.GetGithubRepository() } +func TestCreateArtifactDeploymentRequest_GetLogicalEnvironment(tt *testing.T) { + tt.Parallel() + c := &CreateArtifactDeploymentRequest{} + c.GetLogicalEnvironment() + c = nil + c.GetLogicalEnvironment() +} + +func TestCreateArtifactDeploymentRequest_GetName(tt *testing.T) { + tt.Parallel() + c := &CreateArtifactDeploymentRequest{} + c.GetName() + c = nil + c.GetName() +} + func TestCreateArtifactDeploymentRequest_GetPhysicalEnvironment(tt *testing.T) { tt.Parallel() var zeroValue string @@ -8676,6 +11418,25 @@ func TestCreateArtifactDeploymentRequest_GetPhysicalEnvironment(tt *testing.T) { c.GetPhysicalEnvironment() } +func TestCreateArtifactDeploymentRequest_GetRuntimeRisks(tt *testing.T) { + tt.Parallel() + zeroValue := []DeploymentRuntimeRisk{} + c := &CreateArtifactDeploymentRequest{RuntimeRisks: zeroValue} + c.GetRuntimeRisks() + c = &CreateArtifactDeploymentRequest{} + c.GetRuntimeRisks() + c = nil + c.GetRuntimeRisks() +} + +func TestCreateArtifactDeploymentRequest_GetStatus(tt *testing.T) { + tt.Parallel() + c := &CreateArtifactDeploymentRequest{} + c.GetStatus() + c = nil + c.GetStatus() +} + func TestCreateArtifactDeploymentRequest_GetTags(tt *testing.T) { tt.Parallel() zeroValue := map[string]string{} @@ -8709,6 +11470,14 @@ func TestCreateArtifactStorageRequest_GetArtifactURL(tt *testing.T) { c.GetArtifactURL() } +func TestCreateArtifactStorageRequest_GetDigest(tt *testing.T) { + tt.Parallel() + c := &CreateArtifactStorageRequest{} + c.GetDigest() + c = nil + c.GetDigest() +} + func TestCreateArtifactStorageRequest_GetGithubRepository(tt *testing.T) { tt.Parallel() var zeroValue string @@ -8720,6 +11489,14 @@ func TestCreateArtifactStorageRequest_GetGithubRepository(tt *testing.T) { c.GetGithubRepository() } +func TestCreateArtifactStorageRequest_GetName(tt *testing.T) { + tt.Parallel() + c := &CreateArtifactStorageRequest{} + c.GetName() + c = nil + c.GetName() +} + func TestCreateArtifactStorageRequest_GetPath(tt *testing.T) { tt.Parallel() var zeroValue string @@ -8731,6 +11508,14 @@ func TestCreateArtifactStorageRequest_GetPath(tt *testing.T) { c.GetPath() } +func TestCreateArtifactStorageRequest_GetRegistryURL(tt *testing.T) { + tt.Parallel() + c := &CreateArtifactStorageRequest{} + c.GetRegistryURL() + c = nil + c.GetRegistryURL() +} + func TestCreateArtifactStorageRequest_GetRepository(tt *testing.T) { tt.Parallel() var zeroValue string @@ -8764,6 +11549,17 @@ func TestCreateArtifactStorageRequest_GetVersion(tt *testing.T) { c.GetVersion() } +func TestCreateCheckRunOptions_GetActions(tt *testing.T) { + tt.Parallel() + zeroValue := []*CheckRunAction{} + c := &CreateCheckRunOptions{Actions: zeroValue} + c.GetActions() + c = &CreateCheckRunOptions{} + c.GetActions() + c = nil + c.GetActions() +} + func TestCreateCheckRunOptions_GetCompletedAt(tt *testing.T) { tt.Parallel() var zeroValue Timestamp @@ -8808,6 +11604,22 @@ func TestCreateCheckRunOptions_GetExternalID(tt *testing.T) { c.GetExternalID() } +func TestCreateCheckRunOptions_GetHeadSHA(tt *testing.T) { + tt.Parallel() + c := &CreateCheckRunOptions{} + c.GetHeadSHA() + c = nil + c.GetHeadSHA() +} + +func TestCreateCheckRunOptions_GetName(tt *testing.T) { + tt.Parallel() + c := &CreateCheckRunOptions{} + c.GetName() + c = nil + c.GetName() +} + func TestCreateCheckRunOptions_GetOutput(tt *testing.T) { tt.Parallel() c := &CreateCheckRunOptions{} @@ -8849,6 +11661,14 @@ func TestCreateCheckSuiteOptions_GetHeadBranch(tt *testing.T) { c.GetHeadBranch() } +func TestCreateCheckSuiteOptions_GetHeadSHA(tt *testing.T) { + tt.Parallel() + c := &CreateCheckSuiteOptions{} + c.GetHeadSHA() + c = nil + c.GetHeadSHA() +} + func TestCreateCodespaceOptions_GetClientIP(tt *testing.T) { tt.Parallel() var zeroValue string @@ -8970,6 +11790,14 @@ func TestCreateCodespaceOptions_GetWorkingDirectory(tt *testing.T) { c.GetWorkingDirectory() } +func TestCreateCommitOptions_GetSigner(tt *testing.T) { + tt.Parallel() + c := &CreateCommitOptions{} + c.GetSigner() + c = nil + c.GetSigner() +} + func TestCreateCustomOrgRoleRequest_GetBaseRole(tt *testing.T) { tt.Parallel() var zeroValue string @@ -8992,6 +11820,25 @@ func TestCreateCustomOrgRoleRequest_GetDescription(tt *testing.T) { c.GetDescription() } +func TestCreateCustomOrgRoleRequest_GetName(tt *testing.T) { + tt.Parallel() + c := &CreateCustomOrgRoleRequest{} + c.GetName() + c = nil + c.GetName() +} + +func TestCreateCustomOrgRoleRequest_GetPermissions(tt *testing.T) { + tt.Parallel() + zeroValue := []string{} + c := &CreateCustomOrgRoleRequest{Permissions: zeroValue} + c.GetPermissions() + c = &CreateCustomOrgRoleRequest{} + c.GetPermissions() + c = nil + c.GetPermissions() +} + func TestCreateEnterpriseRunnerGroupRequest_GetAllowsPublicRepositories(tt *testing.T) { tt.Parallel() var zeroValue bool @@ -9025,6 +11872,39 @@ func TestCreateEnterpriseRunnerGroupRequest_GetRestrictedToWorkflows(tt *testing c.GetRestrictedToWorkflows() } +func TestCreateEnterpriseRunnerGroupRequest_GetRunners(tt *testing.T) { + tt.Parallel() + zeroValue := []int64{} + c := &CreateEnterpriseRunnerGroupRequest{Runners: zeroValue} + c.GetRunners() + c = &CreateEnterpriseRunnerGroupRequest{} + c.GetRunners() + c = nil + c.GetRunners() +} + +func TestCreateEnterpriseRunnerGroupRequest_GetSelectedOrganizationIDs(tt *testing.T) { + tt.Parallel() + zeroValue := []int64{} + c := &CreateEnterpriseRunnerGroupRequest{SelectedOrganizationIDs: zeroValue} + c.GetSelectedOrganizationIDs() + c = &CreateEnterpriseRunnerGroupRequest{} + c.GetSelectedOrganizationIDs() + c = nil + c.GetSelectedOrganizationIDs() +} + +func TestCreateEnterpriseRunnerGroupRequest_GetSelectedWorkflows(tt *testing.T) { + tt.Parallel() + zeroValue := []string{} + c := &CreateEnterpriseRunnerGroupRequest{SelectedWorkflows: zeroValue} + c.GetSelectedWorkflows() + c = &CreateEnterpriseRunnerGroupRequest{} + c.GetSelectedWorkflows() + c = nil + c.GetSelectedWorkflows() +} + func TestCreateEnterpriseRunnerGroupRequest_GetVisibility(tt *testing.T) { tt.Parallel() var zeroValue string @@ -9134,6 +12014,14 @@ func TestCreateHostedRunnerRequest_GetEnableStaticIP(tt *testing.T) { c.GetEnableStaticIP() } +func TestCreateHostedRunnerRequest_GetImage(tt *testing.T) { + tt.Parallel() + c := &CreateHostedRunnerRequest{} + c.GetImage() + c = nil + c.GetImage() +} + func TestCreateHostedRunnerRequest_GetImageGen(tt *testing.T) { tt.Parallel() var zeroValue bool @@ -9156,6 +12044,73 @@ func TestCreateHostedRunnerRequest_GetMaximumRunners(tt *testing.T) { c.GetMaximumRunners() } +func TestCreateHostedRunnerRequest_GetName(tt *testing.T) { + tt.Parallel() + c := &CreateHostedRunnerRequest{} + c.GetName() + c = nil + c.GetName() +} + +func TestCreateHostedRunnerRequest_GetRunnerGroupID(tt *testing.T) { + tt.Parallel() + c := &CreateHostedRunnerRequest{} + c.GetRunnerGroupID() + c = nil + c.GetRunnerGroupID() +} + +func TestCreateHostedRunnerRequest_GetSize(tt *testing.T) { + tt.Parallel() + c := &CreateHostedRunnerRequest{} + c.GetSize() + c = nil + c.GetSize() +} + +func TestCreateOrganizationPrivateRegistry_GetEncryptedValue(tt *testing.T) { + tt.Parallel() + c := &CreateOrganizationPrivateRegistry{} + c.GetEncryptedValue() + c = nil + c.GetEncryptedValue() +} + +func TestCreateOrganizationPrivateRegistry_GetKeyID(tt *testing.T) { + tt.Parallel() + c := &CreateOrganizationPrivateRegistry{} + c.GetKeyID() + c = nil + c.GetKeyID() +} + +func TestCreateOrganizationPrivateRegistry_GetRegistryType(tt *testing.T) { + tt.Parallel() + c := &CreateOrganizationPrivateRegistry{} + c.GetRegistryType() + c = nil + c.GetRegistryType() +} + +func TestCreateOrganizationPrivateRegistry_GetSelectedRepositoryIDs(tt *testing.T) { + tt.Parallel() + zeroValue := []int64{} + c := &CreateOrganizationPrivateRegistry{SelectedRepositoryIDs: zeroValue} + c.GetSelectedRepositoryIDs() + c = &CreateOrganizationPrivateRegistry{} + c.GetSelectedRepositoryIDs() + c = nil + c.GetSelectedRepositoryIDs() +} + +func TestCreateOrganizationPrivateRegistry_GetURL(tt *testing.T) { + tt.Parallel() + c := &CreateOrganizationPrivateRegistry{} + c.GetURL() + c = nil + c.GetURL() +} + func TestCreateOrganizationPrivateRegistry_GetUsername(tt *testing.T) { tt.Parallel() var zeroValue string @@ -9167,6 +12122,14 @@ func TestCreateOrganizationPrivateRegistry_GetUsername(tt *testing.T) { c.GetUsername() } +func TestCreateOrganizationPrivateRegistry_GetVisibility(tt *testing.T) { + tt.Parallel() + c := &CreateOrganizationPrivateRegistry{} + c.GetVisibility() + c = nil + c.GetVisibility() +} + func TestCreateOrgInvitationOptions_GetEmail(tt *testing.T) { tt.Parallel() var zeroValue string @@ -9200,6 +12163,17 @@ func TestCreateOrgInvitationOptions_GetRole(tt *testing.T) { c.GetRole() } +func TestCreateOrgInvitationOptions_GetTeamID(tt *testing.T) { + tt.Parallel() + zeroValue := []int64{} + c := &CreateOrgInvitationOptions{TeamID: zeroValue} + c.GetTeamID() + c = &CreateOrgInvitationOptions{} + c.GetTeamID() + c = nil + c.GetTeamID() +} + func TestCreateOrUpdateCustomRepoRoleOptions_GetBaseRole(tt *testing.T) { tt.Parallel() var zeroValue string @@ -9233,6 +12207,17 @@ func TestCreateOrUpdateCustomRepoRoleOptions_GetName(tt *testing.T) { c.GetName() } +func TestCreateOrUpdateCustomRepoRoleOptions_GetPermissions(tt *testing.T) { + tt.Parallel() + zeroValue := []string{} + c := &CreateOrUpdateCustomRepoRoleOptions{Permissions: zeroValue} + c.GetPermissions() + c = &CreateOrUpdateCustomRepoRoleOptions{} + c.GetPermissions() + c = nil + c.GetPermissions() +} + func TestCreateOrUpdateIssueTypesOptions_GetColor(tt *testing.T) { tt.Parallel() var zeroValue string @@ -9255,6 +12240,14 @@ func TestCreateOrUpdateIssueTypesOptions_GetDescription(tt *testing.T) { c.GetDescription() } +func TestCreateOrUpdateIssueTypesOptions_GetIsEnabled(tt *testing.T) { + tt.Parallel() + c := &CreateOrUpdateIssueTypesOptions{} + c.GetIsEnabled() + c = nil + c.GetIsEnabled() +} + func TestCreateOrUpdateIssueTypesOptions_GetIsPrivate(tt *testing.T) { tt.Parallel() var zeroValue bool @@ -9266,6 +12259,14 @@ func TestCreateOrUpdateIssueTypesOptions_GetIsPrivate(tt *testing.T) { c.GetIsPrivate() } +func TestCreateOrUpdateIssueTypesOptions_GetName(tt *testing.T) { + tt.Parallel() + c := &CreateOrUpdateIssueTypesOptions{} + c.GetName() + c = nil + c.GetName() +} + func TestCreateProtectedChanges_GetFrom(tt *testing.T) { tt.Parallel() var zeroValue bool @@ -9277,6 +12278,22 @@ func TestCreateProtectedChanges_GetFrom(tt *testing.T) { c.GetFrom() } +func TestCreateRef_GetRef(tt *testing.T) { + tt.Parallel() + c := &CreateRef{} + c.GetRef() + c = nil + c.GetRef() +} + +func TestCreateRef_GetSHA(tt *testing.T) { + tt.Parallel() + c := &CreateRef{} + c.GetSHA() + c = nil + c.GetSHA() +} + func TestCreateRunnerGroupRequest_GetAllowsPublicRepositories(tt *testing.T) { tt.Parallel() var zeroValue bool @@ -9321,6 +12338,39 @@ func TestCreateRunnerGroupRequest_GetRestrictedToWorkflows(tt *testing.T) { c.GetRestrictedToWorkflows() } +func TestCreateRunnerGroupRequest_GetRunners(tt *testing.T) { + tt.Parallel() + zeroValue := []int64{} + c := &CreateRunnerGroupRequest{Runners: zeroValue} + c.GetRunners() + c = &CreateRunnerGroupRequest{} + c.GetRunners() + c = nil + c.GetRunners() +} + +func TestCreateRunnerGroupRequest_GetSelectedRepositoryIDs(tt *testing.T) { + tt.Parallel() + zeroValue := []int64{} + c := &CreateRunnerGroupRequest{SelectedRepositoryIDs: zeroValue} + c.GetSelectedRepositoryIDs() + c = &CreateRunnerGroupRequest{} + c.GetSelectedRepositoryIDs() + c = nil + c.GetSelectedRepositoryIDs() +} + +func TestCreateRunnerGroupRequest_GetSelectedWorkflows(tt *testing.T) { + tt.Parallel() + zeroValue := []string{} + c := &CreateRunnerGroupRequest{SelectedWorkflows: zeroValue} + c.GetSelectedWorkflows() + c = &CreateRunnerGroupRequest{} + c.GetSelectedWorkflows() + c = nil + c.GetSelectedWorkflows() +} + func TestCreateRunnerGroupRequest_GetVisibility(tt *testing.T) { tt.Parallel() var zeroValue string @@ -9332,6 +12382,30 @@ func TestCreateRunnerGroupRequest_GetVisibility(tt *testing.T) { c.GetVisibility() } +func TestCreateTag_GetMessage(tt *testing.T) { + tt.Parallel() + c := &CreateTag{} + c.GetMessage() + c = nil + c.GetMessage() +} + +func TestCreateTag_GetObject(tt *testing.T) { + tt.Parallel() + c := &CreateTag{} + c.GetObject() + c = nil + c.GetObject() +} + +func TestCreateTag_GetTag(tt *testing.T) { + tt.Parallel() + c := &CreateTag{} + c.GetTag() + c = nil + c.GetTag() +} + func TestCreateTag_GetTagger(tt *testing.T) { tt.Parallel() c := &CreateTag{} @@ -9340,6 +12414,14 @@ func TestCreateTag_GetTagger(tt *testing.T) { c.GetTagger() } +func TestCreateTag_GetType(tt *testing.T) { + tt.Parallel() + c := &CreateTag{} + c.GetType() + c = nil + c.GetType() +} + func TestCreateUpdateEnvironment_GetCanAdminsBypass(tt *testing.T) { tt.Parallel() var zeroValue bool @@ -9370,6 +12452,17 @@ func TestCreateUpdateEnvironment_GetPreventSelfReview(tt *testing.T) { c.GetPreventSelfReview() } +func TestCreateUpdateEnvironment_GetReviewers(tt *testing.T) { + tt.Parallel() + zeroValue := []*EnvReviewers{} + c := &CreateUpdateEnvironment{Reviewers: zeroValue} + c.GetReviewers() + c = &CreateUpdateEnvironment{} + c.GetReviewers() + c = nil + c.GetReviewers() +} + func TestCreateUpdateEnvironment_GetWaitTimer(tt *testing.T) { tt.Parallel() var zeroValue int @@ -9392,6 +12485,14 @@ func TestCreateUserRequest_GetEmail(tt *testing.T) { c.GetEmail() } +func TestCreateUserRequest_GetLogin(tt *testing.T) { + tt.Parallel() + c := &CreateUserRequest{} + c.GetLogin() + c = nil + c.GetLogin() +} + func TestCreateUserRequest_GetSuspended(tt *testing.T) { tt.Parallel() var zeroValue bool @@ -9414,6 +12515,14 @@ func TestCreateWorkflowDispatchEventRequest_GetInputs(tt *testing.T) { c.GetInputs() } +func TestCreateWorkflowDispatchEventRequest_GetRef(tt *testing.T) { + tt.Parallel() + c := &CreateWorkflowDispatchEventRequest{} + c.GetRef() + c = nil + c.GetRef() +} + func TestCreateWorkflowDispatchEventRequest_GetReturnRunDetails(tt *testing.T) { tt.Parallel() var zeroValue bool @@ -9436,6 +12545,17 @@ func TestCreationInfo_GetCreated(tt *testing.T) { c.GetCreated() } +func TestCreationInfo_GetCreators(tt *testing.T) { + tt.Parallel() + zeroValue := []string{} + c := &CreationInfo{Creators: zeroValue} + c.GetCreators() + c = &CreationInfo{} + c.GetCreators() + c = nil + c.GetCreators() +} + func TestCredentialAuthorization_GetAuthorizedCredentialExpiresAt(tt *testing.T) { tt.Parallel() var zeroValue Timestamp @@ -9546,6 +12666,17 @@ func TestCredentialAuthorization_GetLogin(tt *testing.T) { c.GetLogin() } +func TestCredentialAuthorization_GetScopes(tt *testing.T) { + tt.Parallel() + zeroValue := []string{} + c := &CredentialAuthorization{Scopes: zeroValue} + c.GetScopes() + c = &CredentialAuthorization{} + c.GetScopes() + c = nil + c.GetScopes() +} + func TestCredentialAuthorization_GetTokenLastEight(tt *testing.T) { tt.Parallel() var zeroValue string @@ -9557,6 +12688,14 @@ func TestCredentialAuthorization_GetTokenLastEight(tt *testing.T) { c.GetTokenLastEight() } +func TestCredentialAuthorizationsListOptions_GetLogin(tt *testing.T) { + tt.Parallel() + c := &CredentialAuthorizationsListOptions{} + c.GetLogin() + c = nil + c.GetLogin() +} + func TestCredit_GetType(tt *testing.T) { tt.Parallel() var zeroValue string @@ -9735,6 +12874,17 @@ func TestCustomOrgRole_GetOrg(tt *testing.T) { c.GetOrg() } +func TestCustomOrgRole_GetPermissions(tt *testing.T) { + tt.Parallel() + zeroValue := []string{} + c := &CustomOrgRole{Permissions: zeroValue} + c.GetPermissions() + c = &CustomOrgRole{} + c.GetPermissions() + c = nil + c.GetPermissions() +} + func TestCustomOrgRole_GetSource(tt *testing.T) { tt.Parallel() var zeroValue string @@ -9779,6 +12929,25 @@ func TestCustomPatternBackfillScan_GetPatternSlug(tt *testing.T) { c.GetPatternSlug() } +func TestCustomProperty_GetAllowedValues(tt *testing.T) { + tt.Parallel() + zeroValue := []string{} + c := &CustomProperty{AllowedValues: zeroValue} + c.GetAllowedValues() + c = &CustomProperty{} + c.GetAllowedValues() + c = nil + c.GetAllowedValues() +} + +func TestCustomProperty_GetDefaultValue(tt *testing.T) { + tt.Parallel() + c := &CustomProperty{} + c.GetDefaultValue() + c = nil + c.GetDefaultValue() +} + func TestCustomProperty_GetDescription(tt *testing.T) { tt.Parallel() var zeroValue string @@ -9845,6 +13014,14 @@ func TestCustomProperty_GetValuesEditableBy(tt *testing.T) { c.GetValuesEditableBy() } +func TestCustomProperty_GetValueType(tt *testing.T) { + tt.Parallel() + c := &CustomProperty{} + c.GetValueType() + c = nil + c.GetValueType() +} + func TestCustomPropertyEvent_GetAction(tt *testing.T) { tt.Parallel() var zeroValue string @@ -9896,6 +13073,22 @@ func TestCustomPropertyEvent_GetSender(tt *testing.T) { c.GetSender() } +func TestCustomPropertyValue_GetPropertyName(tt *testing.T) { + tt.Parallel() + c := &CustomPropertyValue{} + c.GetPropertyName() + c = nil + c.GetPropertyName() +} + +func TestCustomPropertyValue_GetValue(tt *testing.T) { + tt.Parallel() + c := &CustomPropertyValue{} + c.GetValue() + c = nil + c.GetValue() +} + func TestCustomPropertyValuesEvent_GetAction(tt *testing.T) { tt.Parallel() var zeroValue string @@ -9923,6 +13116,28 @@ func TestCustomPropertyValuesEvent_GetInstallation(tt *testing.T) { c.GetInstallation() } +func TestCustomPropertyValuesEvent_GetNewPropertyValues(tt *testing.T) { + tt.Parallel() + zeroValue := []*CustomPropertyValue{} + c := &CustomPropertyValuesEvent{NewPropertyValues: zeroValue} + c.GetNewPropertyValues() + c = &CustomPropertyValuesEvent{} + c.GetNewPropertyValues() + c = nil + c.GetNewPropertyValues() +} + +func TestCustomPropertyValuesEvent_GetOldPropertyValues(tt *testing.T) { + tt.Parallel() + zeroValue := []*CustomPropertyValue{} + c := &CustomPropertyValuesEvent{OldPropertyValues: zeroValue} + c.GetOldPropertyValues() + c = &CustomPropertyValuesEvent{} + c.GetOldPropertyValues() + c = nil + c.GetOldPropertyValues() +} + func TestCustomPropertyValuesEvent_GetOrg(tt *testing.T) { tt.Parallel() c := &CustomPropertyValuesEvent{} @@ -10010,6 +13225,17 @@ func TestCustomRepoRoles_GetOrg(tt *testing.T) { c.GetOrg() } +func TestCustomRepoRoles_GetPermissions(tt *testing.T) { + tt.Parallel() + zeroValue := []string{} + c := &CustomRepoRoles{Permissions: zeroValue} + c.GetPermissions() + c = &CustomRepoRoles{} + c.GetPermissions() + c = nil + c.GetPermissions() +} + func TestCustomRepoRoles_GetUpdatedAt(tt *testing.T) { tt.Parallel() var zeroValue Timestamp @@ -10021,6 +13247,41 @@ func TestCustomRepoRoles_GetUpdatedAt(tt *testing.T) { c.GetUpdatedAt() } +func TestDatadogConfig_GetEncryptedToken(tt *testing.T) { + tt.Parallel() + d := &DatadogConfig{} + d.GetEncryptedToken() + d = nil + d.GetEncryptedToken() +} + +func TestDatadogConfig_GetKeyID(tt *testing.T) { + tt.Parallel() + d := &DatadogConfig{} + d.GetKeyID() + d = nil + d.GetKeyID() +} + +func TestDatadogConfig_GetSite(tt *testing.T) { + tt.Parallel() + d := &DatadogConfig{} + d.GetSite() + d = nil + d.GetSite() +} + +func TestDefaultSetupConfiguration_GetLanguages(tt *testing.T) { + tt.Parallel() + zeroValue := []string{} + d := &DefaultSetupConfiguration{Languages: zeroValue} + d.GetLanguages() + d = &DefaultSetupConfiguration{} + d.GetLanguages() + d = nil + d.GetLanguages() +} + func TestDefaultSetupConfiguration_GetQuerySuite(tt *testing.T) { tt.Parallel() var zeroValue string @@ -10142,6 +13403,38 @@ func TestDeleteAnalysis_GetNextAnalysisURL(tt *testing.T) { d.GetNextAnalysisURL() } +func TestDeleteCostCenterResponse_GetCostCenterState(tt *testing.T) { + tt.Parallel() + d := &DeleteCostCenterResponse{} + d.GetCostCenterState() + d = nil + d.GetCostCenterState() +} + +func TestDeleteCostCenterResponse_GetID(tt *testing.T) { + tt.Parallel() + d := &DeleteCostCenterResponse{} + d.GetID() + d = nil + d.GetID() +} + +func TestDeleteCostCenterResponse_GetMessage(tt *testing.T) { + tt.Parallel() + d := &DeleteCostCenterResponse{} + d.GetMessage() + d = nil + d.GetMessage() +} + +func TestDeleteCostCenterResponse_GetName(tt *testing.T) { + tt.Parallel() + d := &DeleteCostCenterResponse{} + d.GetName() + d = nil + d.GetName() +} + func TestDeleteEvent_GetInstallation(tt *testing.T) { tt.Parallel() d := &DeleteEvent{} @@ -10449,6 +13742,54 @@ func TestDependabotAlertState_GetDismissedReason(tt *testing.T) { d.GetDismissedReason() } +func TestDependabotAlertState_GetState(tt *testing.T) { + tt.Parallel() + d := &DependabotAlertState{} + d.GetState() + d = nil + d.GetState() +} + +func TestDependabotEncryptedSecret_GetEncryptedValue(tt *testing.T) { + tt.Parallel() + d := &DependabotEncryptedSecret{} + d.GetEncryptedValue() + d = nil + d.GetEncryptedValue() +} + +func TestDependabotEncryptedSecret_GetKeyID(tt *testing.T) { + tt.Parallel() + d := &DependabotEncryptedSecret{} + d.GetKeyID() + d = nil + d.GetKeyID() +} + +func TestDependabotEncryptedSecret_GetName(tt *testing.T) { + tt.Parallel() + d := &DependabotEncryptedSecret{} + d.GetName() + d = nil + d.GetName() +} + +func TestDependabotEncryptedSecret_GetSelectedRepositoryIDs(tt *testing.T) { + tt.Parallel() + d := &DependabotEncryptedSecret{} + d.GetSelectedRepositoryIDs() + d = nil + d.GetSelectedRepositoryIDs() +} + +func TestDependabotEncryptedSecret_GetVisibility(tt *testing.T) { + tt.Parallel() + d := &DependabotEncryptedSecret{} + d.GetVisibility() + d = nil + d.GetVisibility() +} + func TestDependabotSecurityAdvisory_GetCVEID(tt *testing.T) { tt.Parallel() var zeroValue string @@ -10468,6 +13809,17 @@ func TestDependabotSecurityAdvisory_GetCVSS(tt *testing.T) { d.GetCVSS() } +func TestDependabotSecurityAdvisory_GetCWEs(tt *testing.T) { + tt.Parallel() + zeroValue := []*AdvisoryCWEs{} + d := &DependabotSecurityAdvisory{CWEs: zeroValue} + d.GetCWEs() + d = &DependabotSecurityAdvisory{} + d.GetCWEs() + d = nil + d.GetCWEs() +} + func TestDependabotSecurityAdvisory_GetDescription(tt *testing.T) { tt.Parallel() var zeroValue string @@ -10498,6 +13850,17 @@ func TestDependabotSecurityAdvisory_GetGHSAID(tt *testing.T) { d.GetGHSAID() } +func TestDependabotSecurityAdvisory_GetIdentifiers(tt *testing.T) { + tt.Parallel() + zeroValue := []*AdvisoryIdentifier{} + d := &DependabotSecurityAdvisory{Identifiers: zeroValue} + d.GetIdentifiers() + d = &DependabotSecurityAdvisory{} + d.GetIdentifiers() + d = nil + d.GetIdentifiers() +} + func TestDependabotSecurityAdvisory_GetPublishedAt(tt *testing.T) { tt.Parallel() var zeroValue Timestamp @@ -10509,6 +13872,17 @@ func TestDependabotSecurityAdvisory_GetPublishedAt(tt *testing.T) { d.GetPublishedAt() } +func TestDependabotSecurityAdvisory_GetReferences(tt *testing.T) { + tt.Parallel() + zeroValue := []*AdvisoryReference{} + d := &DependabotSecurityAdvisory{References: zeroValue} + d.GetReferences() + d = &DependabotSecurityAdvisory{} + d.GetReferences() + d = nil + d.GetReferences() +} + func TestDependabotSecurityAdvisory_GetSeverity(tt *testing.T) { tt.Parallel() var zeroValue string @@ -10542,6 +13916,17 @@ func TestDependabotSecurityAdvisory_GetUpdatedAt(tt *testing.T) { d.GetUpdatedAt() } +func TestDependabotSecurityAdvisory_GetVulnerabilities(tt *testing.T) { + tt.Parallel() + zeroValue := []*AdvisoryVulnerability{} + d := &DependabotSecurityAdvisory{Vulnerabilities: zeroValue} + d.GetVulnerabilities() + d = &DependabotSecurityAdvisory{} + d.GetVulnerabilities() + d = nil + d.GetVulnerabilities() +} + func TestDependabotSecurityAdvisory_GetWithdrawnAt(tt *testing.T) { tt.Parallel() var zeroValue Timestamp @@ -10665,6 +14050,14 @@ func TestDependencyGraphSnapshot_GetSha(tt *testing.T) { d.GetSha() } +func TestDependencyGraphSnapshot_GetVersion(tt *testing.T) { + tt.Parallel() + d := &DependencyGraphSnapshot{} + d.GetVersion() + d = nil + d.GetVersion() +} + func TestDependencyGraphSnapshotCreationData_GetCreatedAt(tt *testing.T) { tt.Parallel() var zeroValue Timestamp @@ -10676,6 +14069,14 @@ func TestDependencyGraphSnapshotCreationData_GetCreatedAt(tt *testing.T) { d.GetCreatedAt() } +func TestDependencyGraphSnapshotCreationData_GetID(tt *testing.T) { + tt.Parallel() + d := &DependencyGraphSnapshotCreationData{} + d.GetID() + d = nil + d.GetID() +} + func TestDependencyGraphSnapshotCreationData_GetMessage(tt *testing.T) { tt.Parallel() var zeroValue string @@ -10805,6 +14206,17 @@ func TestDependencyGraphSnapshotManifestFile_GetSourceLocation(tt *testing.T) { d.GetSourceLocation() } +func TestDependencyGraphSnapshotResolvedDependency_GetDependencies(tt *testing.T) { + tt.Parallel() + zeroValue := []string{} + d := &DependencyGraphSnapshotResolvedDependency{Dependencies: zeroValue} + d.GetDependencies() + d = &DependencyGraphSnapshotResolvedDependency{} + d.GetDependencies() + d = nil + d.GetDependencies() +} + func TestDependencyGraphSnapshotResolvedDependency_GetMetadata(tt *testing.T) { tt.Parallel() zeroValue := map[string]any{} @@ -10963,6 +14375,14 @@ func TestDeployment_GetNodeID(tt *testing.T) { d.GetNodeID() } +func TestDeployment_GetPayload(tt *testing.T) { + tt.Parallel() + d := &Deployment{} + d.GetPayload() + d = nil + d.GetPayload() +} + func TestDeployment_GetRef(tt *testing.T) { tt.Parallel() var zeroValue string @@ -11106,6 +14526,17 @@ func TestDeploymentBranchPolicyRequest_GetType(tt *testing.T) { d.GetType() } +func TestDeploymentBranchPolicyResponse_GetBranchPolicies(tt *testing.T) { + tt.Parallel() + zeroValue := []*DeploymentBranchPolicy{} + d := &DeploymentBranchPolicyResponse{BranchPolicies: zeroValue} + d.GetBranchPolicies() + d = &DeploymentBranchPolicyResponse{} + d.GetBranchPolicies() + d = nil + d.GetBranchPolicies() +} + func TestDeploymentBranchPolicyResponse_GetTotalCount(tt *testing.T) { tt.Parallel() var zeroValue int @@ -11241,6 +14672,17 @@ func TestDeploymentProtectionRuleEvent_GetOrganization(tt *testing.T) { d.GetOrganization() } +func TestDeploymentProtectionRuleEvent_GetPullRequests(tt *testing.T) { + tt.Parallel() + zeroValue := []*PullRequest{} + d := &DeploymentProtectionRuleEvent{PullRequests: zeroValue} + d.GetPullRequests() + d = &DeploymentProtectionRuleEvent{} + d.GetPullRequests() + d = nil + d.GetPullRequests() +} + func TestDeploymentProtectionRuleEvent_GetRepo(tt *testing.T) { tt.Parallel() d := &DeploymentProtectionRuleEvent{} @@ -11290,6 +14732,14 @@ func TestDeploymentRequest_GetEnvironment(tt *testing.T) { d.GetEnvironment() } +func TestDeploymentRequest_GetPayload(tt *testing.T) { + tt.Parallel() + d := &DeploymentRequest{} + d.GetPayload() + d = nil + d.GetPayload() +} + func TestDeploymentRequest_GetProductionEnvironment(tt *testing.T) { tt.Parallel() var zeroValue bool @@ -11426,6 +14876,17 @@ func TestDeploymentReviewEvent_GetRequester(tt *testing.T) { d.GetRequester() } +func TestDeploymentReviewEvent_GetReviewers(tt *testing.T) { + tt.Parallel() + zeroValue := []*RequiredReviewer{} + d := &DeploymentReviewEvent{Reviewers: zeroValue} + d.GetReviewers() + d = &DeploymentReviewEvent{} + d.GetReviewers() + d = nil + d.GetReviewers() +} + func TestDeploymentReviewEvent_GetSender(tt *testing.T) { tt.Parallel() d := &DeploymentReviewEvent{} @@ -11453,6 +14914,17 @@ func TestDeploymentReviewEvent_GetWorkflowJobRun(tt *testing.T) { d.GetWorkflowJobRun() } +func TestDeploymentReviewEvent_GetWorkflowJobRuns(tt *testing.T) { + tt.Parallel() + zeroValue := []*WorkflowJobRun{} + d := &DeploymentReviewEvent{WorkflowJobRuns: zeroValue} + d.GetWorkflowJobRuns() + d = &DeploymentReviewEvent{} + d.GetWorkflowJobRuns() + d = nil + d.GetWorkflowJobRuns() +} + func TestDeploymentReviewEvent_GetWorkflowRun(tt *testing.T) { tt.Parallel() d := &DeploymentReviewEvent{} @@ -11461,6 +14933,38 @@ func TestDeploymentReviewEvent_GetWorkflowRun(tt *testing.T) { d.GetWorkflowRun() } +func TestDeploymentsListOptions_GetEnvironment(tt *testing.T) { + tt.Parallel() + d := &DeploymentsListOptions{} + d.GetEnvironment() + d = nil + d.GetEnvironment() +} + +func TestDeploymentsListOptions_GetRef(tt *testing.T) { + tt.Parallel() + d := &DeploymentsListOptions{} + d.GetRef() + d = nil + d.GetRef() +} + +func TestDeploymentsListOptions_GetSHA(tt *testing.T) { + tt.Parallel() + d := &DeploymentsListOptions{} + d.GetSHA() + d = nil + d.GetSHA() +} + +func TestDeploymentsListOptions_GetTask(tt *testing.T) { + tt.Parallel() + d := &DeploymentsListOptions{} + d.GetTask() + d = nil + d.GetTask() +} + func TestDeploymentStatus_GetCreatedAt(tt *testing.T) { tt.Parallel() var zeroValue Timestamp @@ -11759,6 +15263,33 @@ func TestDevContainer_GetName(tt *testing.T) { d.GetName() } +func TestDevContainer_GetPath(tt *testing.T) { + tt.Parallel() + d := &DevContainer{} + d.GetPath() + d = nil + d.GetPath() +} + +func TestDevContainerConfigurations_GetDevcontainers(tt *testing.T) { + tt.Parallel() + zeroValue := []*DevContainer{} + d := &DevContainerConfigurations{Devcontainers: zeroValue} + d.GetDevcontainers() + d = &DevContainerConfigurations{} + d.GetDevcontainers() + d = nil + d.GetDevcontainers() +} + +func TestDevContainerConfigurations_GetTotalCount(tt *testing.T) { + tt.Parallel() + d := &DevContainerConfigurations{} + d.GetTotalCount() + d = nil + d.GetTotalCount() +} + func TestDiscussion_GetActiveLockReason(tt *testing.T) { tt.Parallel() var zeroValue string @@ -12268,6 +15799,14 @@ func TestDiscussionCommentEvent_GetSender(tt *testing.T) { d.GetSender() } +func TestDiscussionCommentListOptions_GetDirection(tt *testing.T) { + tt.Parallel() + d := &DiscussionCommentListOptions{} + d.GetDirection() + d = nil + d.GetDirection() +} + func TestDiscussionEvent_GetAction(tt *testing.T) { tt.Parallel() var zeroValue string @@ -12319,6 +15858,47 @@ func TestDiscussionEvent_GetSender(tt *testing.T) { d.GetSender() } +func TestDiscussionListOptions_GetDirection(tt *testing.T) { + tt.Parallel() + d := &DiscussionListOptions{} + d.GetDirection() + d = nil + d.GetDirection() +} + +func TestDismissalRestrictions_GetApps(tt *testing.T) { + tt.Parallel() + zeroValue := []*App{} + d := &DismissalRestrictions{Apps: zeroValue} + d.GetApps() + d = &DismissalRestrictions{} + d.GetApps() + d = nil + d.GetApps() +} + +func TestDismissalRestrictions_GetTeams(tt *testing.T) { + tt.Parallel() + zeroValue := []*Team{} + d := &DismissalRestrictions{Teams: zeroValue} + d.GetTeams() + d = &DismissalRestrictions{} + d.GetTeams() + d = nil + d.GetTeams() +} + +func TestDismissalRestrictions_GetUsers(tt *testing.T) { + tt.Parallel() + zeroValue := []*User{} + d := &DismissalRestrictions{Users: zeroValue} + d.GetUsers() + d = &DismissalRestrictions{} + d.GetUsers() + d = nil + d.GetUsers() +} + func TestDismissalRestrictionsRequest_GetApps(tt *testing.T) { tt.Parallel() var zeroValue []string @@ -12418,6 +15998,14 @@ func TestDispatchRequestOptions_GetClientPayload(tt *testing.T) { d.GetClientPayload() } +func TestDispatchRequestOptions_GetEventType(tt *testing.T) { + tt.Parallel() + d := &DispatchRequestOptions{} + d.GetEventType() + d = nil + d.GetEventType() +} + func TestDraftReviewComment_GetBody(tt *testing.T) { tt.Parallel() var zeroValue string @@ -12638,6 +16226,57 @@ func TestEditTitle_GetFrom(tt *testing.T) { e.GetFrom() } +func TestEditTopics_GetFrom(tt *testing.T) { + tt.Parallel() + zeroValue := []string{} + e := &EditTopics{From: zeroValue} + e.GetFrom() + e = &EditTopics{} + e.GetFrom() + e = nil + e.GetFrom() +} + +func TestEncryptedSecret_GetEncryptedValue(tt *testing.T) { + tt.Parallel() + e := &EncryptedSecret{} + e.GetEncryptedValue() + e = nil + e.GetEncryptedValue() +} + +func TestEncryptedSecret_GetKeyID(tt *testing.T) { + tt.Parallel() + e := &EncryptedSecret{} + e.GetKeyID() + e = nil + e.GetKeyID() +} + +func TestEncryptedSecret_GetName(tt *testing.T) { + tt.Parallel() + e := &EncryptedSecret{} + e.GetName() + e = nil + e.GetName() +} + +func TestEncryptedSecret_GetSelectedRepositoryIDs(tt *testing.T) { + tt.Parallel() + e := &EncryptedSecret{} + e.GetSelectedRepositoryIDs() + e = nil + e.GetSelectedRepositoryIDs() +} + +func TestEncryptedSecret_GetVisibility(tt *testing.T) { + tt.Parallel() + e := &EncryptedSecret{} + e.GetVisibility() + e = nil + e.GetVisibility() +} + func TestEnterprise_GetAvatarURL(tt *testing.T) { tt.Parallel() var zeroValue string @@ -12833,6 +16472,17 @@ func TestEnterpriseBudget_GetPreventFurtherUsage(tt *testing.T) { e.GetPreventFurtherUsage() } +func TestEnterpriseBudgetAlerting_GetAlertRecipients(tt *testing.T) { + tt.Parallel() + zeroValue := []string{} + e := &EnterpriseBudgetAlerting{AlertRecipients: zeroValue} + e.GetAlertRecipients() + e = &EnterpriseBudgetAlerting{} + e.GetAlertRecipients() + e = nil + e.GetAlertRecipients() +} + func TestEnterpriseBudgetAlerting_GetWillAlert(tt *testing.T) { tt.Parallel() var zeroValue bool @@ -12844,6 +16494,33 @@ func TestEnterpriseBudgetAlerting_GetWillAlert(tt *testing.T) { e.GetWillAlert() } +func TestEnterpriseConsumedLicenses_GetTotalSeatsConsumed(tt *testing.T) { + tt.Parallel() + e := &EnterpriseConsumedLicenses{} + e.GetTotalSeatsConsumed() + e = nil + e.GetTotalSeatsConsumed() +} + +func TestEnterpriseConsumedLicenses_GetTotalSeatsPurchased(tt *testing.T) { + tt.Parallel() + e := &EnterpriseConsumedLicenses{} + e.GetTotalSeatsPurchased() + e = nil + e.GetTotalSeatsPurchased() +} + +func TestEnterpriseConsumedLicenses_GetUsers(tt *testing.T) { + tt.Parallel() + zeroValue := []*EnterpriseLicensedUsers{} + e := &EnterpriseConsumedLicenses{Users: zeroValue} + e.GetUsers() + e = &EnterpriseConsumedLicenses{} + e.GetUsers() + e = nil + e.GetUsers() +} + func TestEnterpriseCreateBudget_GetBudgetAlerting(tt *testing.T) { tt.Parallel() e := &EnterpriseCreateBudget{} @@ -12852,6 +16529,14 @@ func TestEnterpriseCreateBudget_GetBudgetAlerting(tt *testing.T) { e.GetBudgetAlerting() } +func TestEnterpriseCreateBudget_GetBudgetAmount(tt *testing.T) { + tt.Parallel() + e := &EnterpriseCreateBudget{} + e.GetBudgetAmount() + e = nil + e.GetBudgetAmount() +} + func TestEnterpriseCreateBudget_GetBudgetEntityName(tt *testing.T) { tt.Parallel() var zeroValue string @@ -12874,6 +16559,30 @@ func TestEnterpriseCreateBudget_GetBudgetProductSKU(tt *testing.T) { e.GetBudgetProductSKU() } +func TestEnterpriseCreateBudget_GetBudgetScope(tt *testing.T) { + tt.Parallel() + e := &EnterpriseCreateBudget{} + e.GetBudgetScope() + e = nil + e.GetBudgetScope() +} + +func TestEnterpriseCreateBudget_GetBudgetType(tt *testing.T) { + tt.Parallel() + e := &EnterpriseCreateBudget{} + e.GetBudgetType() + e = nil + e.GetBudgetType() +} + +func TestEnterpriseCreateBudget_GetPreventFurtherUsage(tt *testing.T) { + tt.Parallel() + e := &EnterpriseCreateBudget{} + e.GetPreventFurtherUsage() + e = nil + e.GetPreventFurtherUsage() +} + func TestEnterpriseCreateOrUpdateBudgetResponse_GetBudget(tt *testing.T) { tt.Parallel() e := &EnterpriseCreateOrUpdateBudgetResponse{} @@ -12882,6 +16591,14 @@ func TestEnterpriseCreateOrUpdateBudgetResponse_GetBudget(tt *testing.T) { e.GetBudget() } +func TestEnterpriseCreateOrUpdateBudgetResponse_GetMessage(tt *testing.T) { + tt.Parallel() + e := &EnterpriseCreateOrUpdateBudgetResponse{} + e.GetMessage() + e = nil + e.GetMessage() +} + func TestEnterpriseCustomPropertiesValues_GetOrganizationID(tt *testing.T) { tt.Parallel() var zeroValue int64 @@ -12904,6 +16621,77 @@ func TestEnterpriseCustomPropertiesValues_GetOrganizationLogin(tt *testing.T) { e.GetOrganizationLogin() } +func TestEnterpriseCustomPropertiesValues_GetProperties(tt *testing.T) { + tt.Parallel() + zeroValue := []*CustomPropertyValue{} + e := &EnterpriseCustomPropertiesValues{Properties: zeroValue} + e.GetProperties() + e = &EnterpriseCustomPropertiesValues{} + e.GetProperties() + e = nil + e.GetProperties() +} + +func TestEnterpriseCustomPropertySchema_GetProperties(tt *testing.T) { + tt.Parallel() + zeroValue := []*CustomProperty{} + e := &EnterpriseCustomPropertySchema{Properties: zeroValue} + e.GetProperties() + e = &EnterpriseCustomPropertySchema{} + e.GetProperties() + e = nil + e.GetProperties() +} + +func TestEnterpriseCustomPropertyValuesRequest_GetOrganizationLogin(tt *testing.T) { + tt.Parallel() + zeroValue := []string{} + e := &EnterpriseCustomPropertyValuesRequest{OrganizationLogin: zeroValue} + e.GetOrganizationLogin() + e = &EnterpriseCustomPropertyValuesRequest{} + e.GetOrganizationLogin() + e = nil + e.GetOrganizationLogin() +} + +func TestEnterpriseCustomPropertyValuesRequest_GetProperties(tt *testing.T) { + tt.Parallel() + zeroValue := []*CustomPropertyValue{} + e := &EnterpriseCustomPropertyValuesRequest{Properties: zeroValue} + e.GetProperties() + e = &EnterpriseCustomPropertyValuesRequest{} + e.GetProperties() + e = nil + e.GetProperties() +} + +func TestEnterpriseDeleteBudgetResponse_GetID(tt *testing.T) { + tt.Parallel() + e := &EnterpriseDeleteBudgetResponse{} + e.GetID() + e = nil + e.GetID() +} + +func TestEnterpriseDeleteBudgetResponse_GetMessage(tt *testing.T) { + tt.Parallel() + e := &EnterpriseDeleteBudgetResponse{} + e.GetMessage() + e = nil + e.GetMessage() +} + +func TestEnterpriseLicensedUsers_GetEnterpriseServerEmails(tt *testing.T) { + tt.Parallel() + zeroValue := []string{} + e := &EnterpriseLicensedUsers{EnterpriseServerEmails: zeroValue} + e.GetEnterpriseServerEmails() + e = &EnterpriseLicensedUsers{} + e.GetEnterpriseServerEmails() + e = nil + e.GetEnterpriseServerEmails() +} + func TestEnterpriseLicensedUsers_GetEnterpriseServerUser(tt *testing.T) { tt.Parallel() var zeroValue bool @@ -12915,6 +16703,47 @@ func TestEnterpriseLicensedUsers_GetEnterpriseServerUser(tt *testing.T) { e.GetEnterpriseServerUser() } +func TestEnterpriseLicensedUsers_GetEnterpriseServerUserIDs(tt *testing.T) { + tt.Parallel() + zeroValue := []string{} + e := &EnterpriseLicensedUsers{EnterpriseServerUserIDs: zeroValue} + e.GetEnterpriseServerUserIDs() + e = &EnterpriseLicensedUsers{} + e.GetEnterpriseServerUserIDs() + e = nil + e.GetEnterpriseServerUserIDs() +} + +func TestEnterpriseLicensedUsers_GetGithubComEnterpriseRoles(tt *testing.T) { + tt.Parallel() + zeroValue := []string{} + e := &EnterpriseLicensedUsers{GithubComEnterpriseRoles: zeroValue} + e.GetGithubComEnterpriseRoles() + e = &EnterpriseLicensedUsers{} + e.GetGithubComEnterpriseRoles() + e = nil + e.GetGithubComEnterpriseRoles() +} + +func TestEnterpriseLicensedUsers_GetGithubComLogin(tt *testing.T) { + tt.Parallel() + e := &EnterpriseLicensedUsers{} + e.GetGithubComLogin() + e = nil + e.GetGithubComLogin() +} + +func TestEnterpriseLicensedUsers_GetGithubComMemberRoles(tt *testing.T) { + tt.Parallel() + zeroValue := []string{} + e := &EnterpriseLicensedUsers{GithubComMemberRoles: zeroValue} + e.GetGithubComMemberRoles() + e = &EnterpriseLicensedUsers{} + e.GetGithubComMemberRoles() + e = nil + e.GetGithubComMemberRoles() +} + func TestEnterpriseLicensedUsers_GetGithubComName(tt *testing.T) { tt.Parallel() var zeroValue string @@ -12926,6 +16755,17 @@ func TestEnterpriseLicensedUsers_GetGithubComName(tt *testing.T) { e.GetGithubComName() } +func TestEnterpriseLicensedUsers_GetGithubComOrgsWithPendingInvites(tt *testing.T) { + tt.Parallel() + zeroValue := []string{} + e := &EnterpriseLicensedUsers{GithubComOrgsWithPendingInvites: zeroValue} + e.GetGithubComOrgsWithPendingInvites() + e = &EnterpriseLicensedUsers{} + e.GetGithubComOrgsWithPendingInvites() + e = nil + e.GetGithubComOrgsWithPendingInvites() +} + func TestEnterpriseLicensedUsers_GetGithubComProfile(tt *testing.T) { tt.Parallel() var zeroValue string @@ -12959,6 +16799,41 @@ func TestEnterpriseLicensedUsers_GetGithubComTwoFactorAuth(tt *testing.T) { e.GetGithubComTwoFactorAuth() } +func TestEnterpriseLicensedUsers_GetGithubComUser(tt *testing.T) { + tt.Parallel() + e := &EnterpriseLicensedUsers{} + e.GetGithubComUser() + e = nil + e.GetGithubComUser() +} + +func TestEnterpriseLicensedUsers_GetGithubComVerifiedDomainEmails(tt *testing.T) { + tt.Parallel() + zeroValue := []string{} + e := &EnterpriseLicensedUsers{GithubComVerifiedDomainEmails: zeroValue} + e.GetGithubComVerifiedDomainEmails() + e = &EnterpriseLicensedUsers{} + e.GetGithubComVerifiedDomainEmails() + e = nil + e.GetGithubComVerifiedDomainEmails() +} + +func TestEnterpriseLicensedUsers_GetLicenseType(tt *testing.T) { + tt.Parallel() + e := &EnterpriseLicensedUsers{} + e.GetLicenseType() + e = nil + e.GetLicenseType() +} + +func TestEnterpriseLicensedUsers_GetTotalUserAccounts(tt *testing.T) { + tt.Parallel() + e := &EnterpriseLicensedUsers{} + e.GetTotalUserAccounts() + e = nil + e.GetTotalUserAccounts() +} + func TestEnterpriseLicensedUsers_GetVisualStudioLicenseStatus(tt *testing.T) { tt.Parallel() var zeroValue string @@ -12981,6 +16856,22 @@ func TestEnterpriseLicensedUsers_GetVisualStudioSubscriptionEmail(tt *testing.T) e.GetVisualStudioSubscriptionEmail() } +func TestEnterpriseLicensedUsers_GetVisualStudioSubscriptionUser(tt *testing.T) { + tt.Parallel() + e := &EnterpriseLicensedUsers{} + e.GetVisualStudioSubscriptionUser() + e = nil + e.GetVisualStudioSubscriptionUser() +} + +func TestEnterpriseLicenseSyncStatus_GetDescription(tt *testing.T) { + tt.Parallel() + e := &EnterpriseLicenseSyncStatus{} + e.GetDescription() + e = nil + e.GetDescription() +} + func TestEnterpriseLicenseSyncStatus_GetProperties(tt *testing.T) { tt.Parallel() e := &EnterpriseLicenseSyncStatus{} @@ -12989,6 +16880,25 @@ func TestEnterpriseLicenseSyncStatus_GetProperties(tt *testing.T) { e.GetProperties() } +func TestEnterpriseLicenseSyncStatus_GetTitle(tt *testing.T) { + tt.Parallel() + e := &EnterpriseLicenseSyncStatus{} + e.GetTitle() + e = nil + e.GetTitle() +} + +func TestEnterpriseListBudgets_GetBudgets(tt *testing.T) { + tt.Parallel() + zeroValue := []*EnterpriseBudget{} + e := &EnterpriseListBudgets{Budgets: zeroValue} + e.GetBudgets() + e = &EnterpriseListBudgets{} + e.GetBudgets() + e = nil + e.GetBudgets() +} + func TestEnterpriseListBudgets_GetHasNextPage(tt *testing.T) { tt.Parallel() var zeroValue bool @@ -13099,6 +17009,17 @@ func TestEnterpriseRunnerGroup_GetSelectedOrganizationsURL(tt *testing.T) { e.GetSelectedOrganizationsURL() } +func TestEnterpriseRunnerGroup_GetSelectedWorkflows(tt *testing.T) { + tt.Parallel() + zeroValue := []string{} + e := &EnterpriseRunnerGroup{SelectedWorkflows: zeroValue} + e.GetSelectedWorkflows() + e = &EnterpriseRunnerGroup{} + e.GetSelectedWorkflows() + e = nil + e.GetSelectedWorkflows() +} + func TestEnterpriseRunnerGroup_GetVisibility(tt *testing.T) { tt.Parallel() var zeroValue string @@ -13121,6 +17042,17 @@ func TestEnterpriseRunnerGroup_GetWorkflowRestrictionsReadOnly(tt *testing.T) { e.GetWorkflowRestrictionsReadOnly() } +func TestEnterpriseRunnerGroups_GetRunnerGroups(tt *testing.T) { + tt.Parallel() + zeroValue := []*EnterpriseRunnerGroup{} + e := &EnterpriseRunnerGroups{RunnerGroups: zeroValue} + e.GetRunnerGroups() + e = &EnterpriseRunnerGroups{} + e.GetRunnerGroups() + e = nil + e.GetRunnerGroups() +} + func TestEnterpriseRunnerGroups_GetTotalCount(tt *testing.T) { tt.Parallel() var zeroValue int @@ -13187,6 +17119,14 @@ func TestEnterpriseSecurityAnalysisSettings_GetSecretScanningValidityChecksEnabl e.GetSecretScanningValidityChecksEnabled() } +func TestEnterpriseTeam_GetCreatedAt(tt *testing.T) { + tt.Parallel() + e := &EnterpriseTeam{} + e.GetCreatedAt() + e = nil + e.GetCreatedAt() +} + func TestEnterpriseTeam_GetDescription(tt *testing.T) { tt.Parallel() var zeroValue string @@ -13198,6 +17138,46 @@ func TestEnterpriseTeam_GetDescription(tt *testing.T) { e.GetDescription() } +func TestEnterpriseTeam_GetGroupID(tt *testing.T) { + tt.Parallel() + e := &EnterpriseTeam{} + e.GetGroupID() + e = nil + e.GetGroupID() +} + +func TestEnterpriseTeam_GetHTMLURL(tt *testing.T) { + tt.Parallel() + e := &EnterpriseTeam{} + e.GetHTMLURL() + e = nil + e.GetHTMLURL() +} + +func TestEnterpriseTeam_GetID(tt *testing.T) { + tt.Parallel() + e := &EnterpriseTeam{} + e.GetID() + e = nil + e.GetID() +} + +func TestEnterpriseTeam_GetMemberURL(tt *testing.T) { + tt.Parallel() + e := &EnterpriseTeam{} + e.GetMemberURL() + e = nil + e.GetMemberURL() +} + +func TestEnterpriseTeam_GetName(tt *testing.T) { + tt.Parallel() + e := &EnterpriseTeam{} + e.GetName() + e = nil + e.GetName() +} + func TestEnterpriseTeam_GetOrganizationSelectionType(tt *testing.T) { tt.Parallel() var zeroValue string @@ -13209,6 +17189,30 @@ func TestEnterpriseTeam_GetOrganizationSelectionType(tt *testing.T) { e.GetOrganizationSelectionType() } +func TestEnterpriseTeam_GetSlug(tt *testing.T) { + tt.Parallel() + e := &EnterpriseTeam{} + e.GetSlug() + e = nil + e.GetSlug() +} + +func TestEnterpriseTeam_GetUpdatedAt(tt *testing.T) { + tt.Parallel() + e := &EnterpriseTeam{} + e.GetUpdatedAt() + e = nil + e.GetUpdatedAt() +} + +func TestEnterpriseTeam_GetURL(tt *testing.T) { + tt.Parallel() + e := &EnterpriseTeam{} + e.GetURL() + e = nil + e.GetURL() +} + func TestEnterpriseTeamCreateOrUpdateRequest_GetDescription(tt *testing.T) { tt.Parallel() var zeroValue string @@ -13231,6 +17235,14 @@ func TestEnterpriseTeamCreateOrUpdateRequest_GetGroupID(tt *testing.T) { e.GetGroupID() } +func TestEnterpriseTeamCreateOrUpdateRequest_GetName(tt *testing.T) { + tt.Parallel() + e := &EnterpriseTeamCreateOrUpdateRequest{} + e.GetName() + e = nil + e.GetName() +} + func TestEnterpriseTeamCreateOrUpdateRequest_GetOrganizationSelectionType(tt *testing.T) { tt.Parallel() var zeroValue string @@ -13412,6 +17424,17 @@ func TestEnvironment_GetOwner(tt *testing.T) { e.GetOwner() } +func TestEnvironment_GetProtectionRules(tt *testing.T) { + tt.Parallel() + zeroValue := []*ProtectionRule{} + e := &Environment{ProtectionRules: zeroValue} + e.GetProtectionRules() + e = &Environment{} + e.GetProtectionRules() + e = nil + e.GetProtectionRules() +} + func TestEnvironment_GetRepo(tt *testing.T) { tt.Parallel() var zeroValue string @@ -13423,6 +17446,17 @@ func TestEnvironment_GetRepo(tt *testing.T) { e.GetRepo() } +func TestEnvironment_GetReviewers(tt *testing.T) { + tt.Parallel() + zeroValue := []*EnvReviewers{} + e := &Environment{Reviewers: zeroValue} + e.GetReviewers() + e = &Environment{} + e.GetReviewers() + e = nil + e.GetReviewers() +} + func TestEnvironment_GetUpdatedAt(tt *testing.T) { tt.Parallel() var zeroValue Timestamp @@ -13456,6 +17490,17 @@ func TestEnvironment_GetWaitTimer(tt *testing.T) { e.GetWaitTimer() } +func TestEnvResponse_GetEnvironments(tt *testing.T) { + tt.Parallel() + zeroValue := []*Environment{} + e := &EnvResponse{Environments: zeroValue} + e.GetEnvironments() + e = &EnvResponse{} + e.GetEnvironments() + e = nil + e.GetEnvironments() +} + func TestEnvResponse_GetTotalCount(tt *testing.T) { tt.Parallel() var zeroValue int @@ -13489,6 +17534,38 @@ func TestEnvReviewers_GetType(tt *testing.T) { e.GetType() } +func TestError_GetCode(tt *testing.T) { + tt.Parallel() + e := &Error{} + e.GetCode() + e = nil + e.GetCode() +} + +func TestError_GetField(tt *testing.T) { + tt.Parallel() + e := &Error{} + e.GetField() + e = nil + e.GetField() +} + +func TestError_GetMessage(tt *testing.T) { + tt.Parallel() + e := &Error{} + e.GetMessage() + e = nil + e.GetMessage() +} + +func TestError_GetResource(tt *testing.T) { + tt.Parallel() + e := &Error{} + e.GetResource() + e = nil + e.GetResource() +} + func TestErrorBlock_GetCreatedAt(tt *testing.T) { tt.Parallel() var zeroValue Timestamp @@ -13500,6 +17577,14 @@ func TestErrorBlock_GetCreatedAt(tt *testing.T) { e.GetCreatedAt() } +func TestErrorBlock_GetReason(tt *testing.T) { + tt.Parallel() + e := &ErrorBlock{} + e.GetReason() + e = nil + e.GetReason() +} + func TestErrorResponse_GetBlock(tt *testing.T) { tt.Parallel() e := &ErrorResponse{} @@ -13508,6 +17593,33 @@ func TestErrorResponse_GetBlock(tt *testing.T) { e.GetBlock() } +func TestErrorResponse_GetDocumentationURL(tt *testing.T) { + tt.Parallel() + e := &ErrorResponse{} + e.GetDocumentationURL() + e = nil + e.GetDocumentationURL() +} + +func TestErrorResponse_GetErrors(tt *testing.T) { + tt.Parallel() + zeroValue := []Error{} + e := &ErrorResponse{Errors: zeroValue} + e.GetErrors() + e = &ErrorResponse{} + e.GetErrors() + e = nil + e.GetErrors() +} + +func TestErrorResponse_GetMessage(tt *testing.T) { + tt.Parallel() + e := &ErrorResponse{} + e.GetMessage() + e = nil + e.GetMessage() +} + func TestEvent_GetActor(tt *testing.T) { tt.Parallel() e := &Event{} @@ -13609,6 +17721,28 @@ func TestExternalGroup_GetGroupName(tt *testing.T) { e.GetGroupName() } +func TestExternalGroup_GetMembers(tt *testing.T) { + tt.Parallel() + zeroValue := []*ExternalGroupMember{} + e := &ExternalGroup{Members: zeroValue} + e.GetMembers() + e = &ExternalGroup{} + e.GetMembers() + e = nil + e.GetMembers() +} + +func TestExternalGroup_GetTeams(tt *testing.T) { + tt.Parallel() + zeroValue := []*ExternalGroupTeam{} + e := &ExternalGroup{Teams: zeroValue} + e.GetTeams() + e = &ExternalGroup{} + e.GetTeams() + e = nil + e.GetTeams() +} + func TestExternalGroup_GetUpdatedAt(tt *testing.T) { tt.Parallel() var zeroValue Timestamp @@ -13620,6 +17754,17 @@ func TestExternalGroup_GetUpdatedAt(tt *testing.T) { e.GetUpdatedAt() } +func TestExternalGroupList_GetGroups(tt *testing.T) { + tt.Parallel() + zeroValue := []*ExternalGroup{} + e := &ExternalGroupList{Groups: zeroValue} + e.GetGroups() + e = &ExternalGroupList{} + e.GetGroups() + e = nil + e.GetGroups() +} + func TestExternalGroupMember_GetMemberEmail(tt *testing.T) { tt.Parallel() var zeroValue string @@ -13732,6 +17877,17 @@ func TestFeedLinks_GetCurrentUserOrganization(tt *testing.T) { f.GetCurrentUserOrganization() } +func TestFeedLinks_GetCurrentUserOrganizations(tt *testing.T) { + tt.Parallel() + zeroValue := []*FeedLink{} + f := &FeedLinks{CurrentUserOrganizations: zeroValue} + f.GetCurrentUserOrganizations() + f = &FeedLinks{} + f.GetCurrentUserOrganizations() + f = nil + f.GetCurrentUserOrganizations() +} + func TestFeedLinks_GetCurrentUserPublic(tt *testing.T) { tt.Parallel() f := &FeedLinks{} @@ -13778,6 +17934,17 @@ func TestFeeds_GetCurrentUserOrganizationURL(tt *testing.T) { f.GetCurrentUserOrganizationURL() } +func TestFeeds_GetCurrentUserOrganizationURLs(tt *testing.T) { + tt.Parallel() + zeroValue := []string{} + f := &Feeds{CurrentUserOrganizationURLs: zeroValue} + f.GetCurrentUserOrganizationURLs() + f = &Feeds{} + f.GetCurrentUserOrganizationURLs() + f = nil + f.GetCurrentUserOrganizationURLs() +} + func TestFeeds_GetCurrentUserPublicURL(tt *testing.T) { tt.Parallel() var zeroValue string @@ -13863,6 +18030,14 @@ func TestFieldValue_GetFieldType(tt *testing.T) { f.GetFieldType() } +func TestFieldValue_GetFrom(tt *testing.T) { + tt.Parallel() + f := &FieldValue{} + f.GetFrom() + f = nil + f.GetFrom() +} + func TestFieldValue_GetProjectNumber(tt *testing.T) { tt.Parallel() var zeroValue int64 @@ -13874,6 +18049,52 @@ func TestFieldValue_GetProjectNumber(tt *testing.T) { f.GetProjectNumber() } +func TestFieldValue_GetTo(tt *testing.T) { + tt.Parallel() + f := &FieldValue{} + f.GetTo() + f = nil + f.GetTo() +} + +func TestFileExtensionRestrictionBranchRule_GetParameters(tt *testing.T) { + tt.Parallel() + f := &FileExtensionRestrictionBranchRule{} + f.GetParameters() + f = nil + f.GetParameters() +} + +func TestFileExtensionRestrictionRuleParameters_GetRestrictedFileExtensions(tt *testing.T) { + tt.Parallel() + zeroValue := []string{} + f := &FileExtensionRestrictionRuleParameters{RestrictedFileExtensions: zeroValue} + f.GetRestrictedFileExtensions() + f = &FileExtensionRestrictionRuleParameters{} + f.GetRestrictedFileExtensions() + f = nil + f.GetRestrictedFileExtensions() +} + +func TestFilePathRestrictionBranchRule_GetParameters(tt *testing.T) { + tt.Parallel() + f := &FilePathRestrictionBranchRule{} + f.GetParameters() + f = nil + f.GetParameters() +} + +func TestFilePathRestrictionRuleParameters_GetRestrictedFilePaths(tt *testing.T) { + tt.Parallel() + zeroValue := []string{} + f := &FilePathRestrictionRuleParameters{RestrictedFilePaths: zeroValue} + f.GetRestrictedFilePaths() + f = &FilePathRestrictionRuleParameters{} + f.GetRestrictedFilePaths() + f = nil + f.GetRestrictedFilePaths() +} + func TestFineGrainedPersonalAccessTokenRequest_GetCreatedAt(tt *testing.T) { tt.Parallel() var zeroValue Timestamp @@ -13885,6 +18106,62 @@ func TestFineGrainedPersonalAccessTokenRequest_GetCreatedAt(tt *testing.T) { f.GetCreatedAt() } +func TestFineGrainedPersonalAccessTokenRequest_GetID(tt *testing.T) { + tt.Parallel() + f := &FineGrainedPersonalAccessTokenRequest{} + f.GetID() + f = nil + f.GetID() +} + +func TestFineGrainedPersonalAccessTokenRequest_GetOwner(tt *testing.T) { + tt.Parallel() + f := &FineGrainedPersonalAccessTokenRequest{} + f.GetOwner() + f = nil + f.GetOwner() +} + +func TestFineGrainedPersonalAccessTokenRequest_GetPermissions(tt *testing.T) { + tt.Parallel() + f := &FineGrainedPersonalAccessTokenRequest{} + f.GetPermissions() + f = nil + f.GetPermissions() +} + +func TestFineGrainedPersonalAccessTokenRequest_GetReason(tt *testing.T) { + tt.Parallel() + f := &FineGrainedPersonalAccessTokenRequest{} + f.GetReason() + f = nil + f.GetReason() +} + +func TestFineGrainedPersonalAccessTokenRequest_GetRepositoriesURL(tt *testing.T) { + tt.Parallel() + f := &FineGrainedPersonalAccessTokenRequest{} + f.GetRepositoriesURL() + f = nil + f.GetRepositoriesURL() +} + +func TestFineGrainedPersonalAccessTokenRequest_GetRepositorySelection(tt *testing.T) { + tt.Parallel() + f := &FineGrainedPersonalAccessTokenRequest{} + f.GetRepositorySelection() + f = nil + f.GetRepositorySelection() +} + +func TestFineGrainedPersonalAccessTokenRequest_GetTokenExpired(tt *testing.T) { + tt.Parallel() + f := &FineGrainedPersonalAccessTokenRequest{} + f.GetTokenExpired() + f = nil + f.GetTokenExpired() +} + func TestFineGrainedPersonalAccessTokenRequest_GetTokenExpiresAt(tt *testing.T) { tt.Parallel() var zeroValue Timestamp @@ -13896,6 +18173,14 @@ func TestFineGrainedPersonalAccessTokenRequest_GetTokenExpiresAt(tt *testing.T) f.GetTokenExpiresAt() } +func TestFineGrainedPersonalAccessTokenRequest_GetTokenID(tt *testing.T) { + tt.Parallel() + f := &FineGrainedPersonalAccessTokenRequest{} + f.GetTokenID() + f = nil + f.GetTokenID() +} + func TestFineGrainedPersonalAccessTokenRequest_GetTokenLastUsedAt(tt *testing.T) { tt.Parallel() var zeroValue Timestamp @@ -13907,6 +18192,14 @@ func TestFineGrainedPersonalAccessTokenRequest_GetTokenLastUsedAt(tt *testing.T) f.GetTokenLastUsedAt() } +func TestFineGrainedPersonalAccessTokenRequest_GetTokenName(tt *testing.T) { + tt.Parallel() + f := &FineGrainedPersonalAccessTokenRequest{} + f.GetTokenName() + f = nil + f.GetTokenName() +} + func TestFirstPatchedVersion_GetIdentifier(tt *testing.T) { tt.Parallel() var zeroValue string @@ -13950,6 +18243,33 @@ func TestForkEvent_GetSender(tt *testing.T) { f.GetSender() } +func TestGenerateJITConfigRequest_GetLabels(tt *testing.T) { + tt.Parallel() + zeroValue := []string{} + g := &GenerateJITConfigRequest{Labels: zeroValue} + g.GetLabels() + g = &GenerateJITConfigRequest{} + g.GetLabels() + g = nil + g.GetLabels() +} + +func TestGenerateJITConfigRequest_GetName(tt *testing.T) { + tt.Parallel() + g := &GenerateJITConfigRequest{} + g.GetName() + g = nil + g.GetName() +} + +func TestGenerateJITConfigRequest_GetRunnerGroupID(tt *testing.T) { + tt.Parallel() + g := &GenerateJITConfigRequest{} + g.GetRunnerGroupID() + g = nil + g.GetRunnerGroupID() +} + func TestGenerateJITConfigRequest_GetWorkFolder(tt *testing.T) { tt.Parallel() var zeroValue string @@ -13983,6 +18303,14 @@ func TestGenerateNotesOptions_GetPreviousTagName(tt *testing.T) { g.GetPreviousTagName() } +func TestGenerateNotesOptions_GetTagName(tt *testing.T) { + tt.Parallel() + g := &GenerateNotesOptions{} + g.GetTagName() + g = nil + g.GetTagName() +} + func TestGenerateNotesOptions_GetTargetCommitish(tt *testing.T) { tt.Parallel() var zeroValue string @@ -14027,6 +18355,25 @@ func TestGetAuditLogOptions_GetPhrase(tt *testing.T) { g.GetPhrase() } +func TestGetCodeownersErrorsOptions_GetRef(tt *testing.T) { + tt.Parallel() + g := &GetCodeownersErrorsOptions{} + g.GetRef() + g = nil + g.GetRef() +} + +func TestGetProjectItemOptions_GetFields(tt *testing.T) { + tt.Parallel() + zeroValue := []int64{} + g := &GetProjectItemOptions{Fields: zeroValue} + g.GetFields() + g = &GetProjectItemOptions{} + g.GetFields() + g = nil + g.GetFields() +} + func TestGetProvisionedSCIMGroupEnterpriseOptions_GetExcludedAttributes(tt *testing.T) { tt.Parallel() var zeroValue string @@ -14408,6 +18755,14 @@ func TestGistFork_GetUser(tt *testing.T) { g.GetUser() } +func TestGistListOptions_GetSince(tt *testing.T) { + tt.Parallel() + g := &GistListOptions{} + g.GetSince() + g = nil + g.GetSince() +} + func TestGistStats_GetPrivateGists(tt *testing.T) { tt.Parallel() var zeroValue int @@ -14523,6 +18878,17 @@ func TestGitObject_GetURL(tt *testing.T) { g.GetURL() } +func TestGlobalSecurityAdvisory_GetCredits(tt *testing.T) { + tt.Parallel() + zeroValue := []*Credit{} + g := &GlobalSecurityAdvisory{Credits: zeroValue} + g.GetCredits() + g = &GlobalSecurityAdvisory{} + g.GetCredits() + g = nil + g.GetCredits() +} + func TestGlobalSecurityAdvisory_GetGithubReviewedAt(tt *testing.T) { tt.Parallel() var zeroValue Timestamp @@ -14556,6 +18922,17 @@ func TestGlobalSecurityAdvisory_GetNVDPublishedAt(tt *testing.T) { g.GetNVDPublishedAt() } +func TestGlobalSecurityAdvisory_GetReferences(tt *testing.T) { + tt.Parallel() + zeroValue := []string{} + g := &GlobalSecurityAdvisory{References: zeroValue} + g.GetReferences() + g = &GlobalSecurityAdvisory{} + g.GetReferences() + g = nil + g.GetReferences() +} + func TestGlobalSecurityAdvisory_GetRepositoryAdvisoryURL(tt *testing.T) { tt.Parallel() var zeroValue string @@ -14589,6 +18966,17 @@ func TestGlobalSecurityAdvisory_GetType(tt *testing.T) { g.GetType() } +func TestGlobalSecurityAdvisory_GetVulnerabilities(tt *testing.T) { + tt.Parallel() + zeroValue := []*GlobalSecurityVulnerability{} + g := &GlobalSecurityAdvisory{Vulnerabilities: zeroValue} + g.GetVulnerabilities() + g = &GlobalSecurityAdvisory{} + g.GetVulnerabilities() + g = nil + g.GetVulnerabilities() +} + func TestGlobalSecurityVulnerability_GetFirstPatchedVersion(tt *testing.T) { tt.Parallel() var zeroValue string @@ -14608,6 +18996,17 @@ func TestGlobalSecurityVulnerability_GetPackage(tt *testing.T) { g.GetPackage() } +func TestGlobalSecurityVulnerability_GetVulnerableFunctions(tt *testing.T) { + tt.Parallel() + zeroValue := []string{} + g := &GlobalSecurityVulnerability{VulnerableFunctions: zeroValue} + g.GetVulnerableFunctions() + g = &GlobalSecurityVulnerability{} + g.GetVulnerableFunctions() + g = nil + g.GetVulnerableFunctions() +} + func TestGlobalSecurityVulnerability_GetVulnerableVersionRange(tt *testing.T) { tt.Parallel() var zeroValue string @@ -14635,6 +19034,17 @@ func TestGollumEvent_GetOrg(tt *testing.T) { g.GetOrg() } +func TestGollumEvent_GetPages(tt *testing.T) { + tt.Parallel() + zeroValue := []*Page{} + g := &GollumEvent{Pages: zeroValue} + g.GetPages() + g = &GollumEvent{} + g.GetPages() + g = nil + g.GetPages() +} + func TestGollumEvent_GetRepo(tt *testing.T) { tt.Parallel() g := &GollumEvent{} @@ -14651,6 +19061,30 @@ func TestGollumEvent_GetSender(tt *testing.T) { g.GetSender() } +func TestGoogleCloudConfig_GetBucket(tt *testing.T) { + tt.Parallel() + g := &GoogleCloudConfig{} + g.GetBucket() + g = nil + g.GetBucket() +} + +func TestGoogleCloudConfig_GetEncryptedJSONCredentials(tt *testing.T) { + tt.Parallel() + g := &GoogleCloudConfig{} + g.GetEncryptedJSONCredentials() + g = nil + g.GetEncryptedJSONCredentials() +} + +func TestGoogleCloudConfig_GetKeyID(tt *testing.T) { + tt.Parallel() + g := &GoogleCloudConfig{} + g.GetKeyID() + g = nil + g.GetKeyID() +} + func TestGPGEmail_GetEmail(tt *testing.T) { tt.Parallel() var zeroValue string @@ -14728,6 +19162,17 @@ func TestGPGKey_GetCreatedAt(tt *testing.T) { g.GetCreatedAt() } +func TestGPGKey_GetEmails(tt *testing.T) { + tt.Parallel() + zeroValue := []*GPGEmail{} + g := &GPGKey{Emails: zeroValue} + g.GetEmails() + g = &GPGKey{} + g.GetEmails() + g = nil + g.GetEmails() +} + func TestGPGKey_GetExpiresAt(tt *testing.T) { tt.Parallel() var zeroValue Timestamp @@ -14794,6 +19239,17 @@ func TestGPGKey_GetRawKey(tt *testing.T) { g.GetRawKey() } +func TestGPGKey_GetSubkeys(tt *testing.T) { + tt.Parallel() + zeroValue := []*GPGKey{} + g := &GPGKey{Subkeys: zeroValue} + g.GetSubkeys() + g = &GPGKey{} + g.GetSubkeys() + g = nil + g.GetSubkeys() +} + func TestGrant_GetApp(tt *testing.T) { tt.Parallel() g := &Grant{} @@ -14824,6 +19280,17 @@ func TestGrant_GetID(tt *testing.T) { g.GetID() } +func TestGrant_GetScopes(tt *testing.T) { + tt.Parallel() + zeroValue := []string{} + g := &Grant{Scopes: zeroValue} + g.GetScopes() + g = &Grant{} + g.GetScopes() + g = nil + g.GetScopes() +} + func TestGrant_GetUpdatedAt(tt *testing.T) { tt.Parallel() var zeroValue Timestamp @@ -14846,6 +19313,17 @@ func TestGrant_GetURL(tt *testing.T) { g.GetURL() } +func TestHeadCommit_GetAdded(tt *testing.T) { + tt.Parallel() + zeroValue := []string{} + h := &HeadCommit{Added: zeroValue} + h.GetAdded() + h = &HeadCommit{} + h.GetAdded() + h = nil + h.GetAdded() +} + func TestHeadCommit_GetAuthor(tt *testing.T) { tt.Parallel() h := &HeadCommit{} @@ -14895,6 +19373,28 @@ func TestHeadCommit_GetMessage(tt *testing.T) { h.GetMessage() } +func TestHeadCommit_GetModified(tt *testing.T) { + tt.Parallel() + zeroValue := []string{} + h := &HeadCommit{Modified: zeroValue} + h.GetModified() + h = &HeadCommit{} + h.GetModified() + h = nil + h.GetModified() +} + +func TestHeadCommit_GetRemoved(tt *testing.T) { + tt.Parallel() + zeroValue := []string{} + h := &HeadCommit{Removed: zeroValue} + h.GetRemoved() + h = &HeadCommit{} + h.GetRemoved() + h = nil + h.GetRemoved() +} + func TestHeadCommit_GetSHA(tt *testing.T) { tt.Parallel() var zeroValue string @@ -14939,6 +19439,54 @@ func TestHeadCommit_GetURL(tt *testing.T) { h.GetURL() } +func TestHecConfig_GetDomain(tt *testing.T) { + tt.Parallel() + h := &HecConfig{} + h.GetDomain() + h = nil + h.GetDomain() +} + +func TestHecConfig_GetEncryptedToken(tt *testing.T) { + tt.Parallel() + h := &HecConfig{} + h.GetEncryptedToken() + h = nil + h.GetEncryptedToken() +} + +func TestHecConfig_GetKeyID(tt *testing.T) { + tt.Parallel() + h := &HecConfig{} + h.GetKeyID() + h = nil + h.GetKeyID() +} + +func TestHecConfig_GetPath(tt *testing.T) { + tt.Parallel() + h := &HecConfig{} + h.GetPath() + h = nil + h.GetPath() +} + +func TestHecConfig_GetPort(tt *testing.T) { + tt.Parallel() + h := &HecConfig{} + h.GetPort() + h = nil + h.GetPort() +} + +func TestHecConfig_GetSSLVerify(tt *testing.T) { + tt.Parallel() + h := &HecConfig{} + h.GetSSLVerify() + h = nil + h.GetSSLVerify() +} + func TestHook_GetActive(tt *testing.T) { tt.Parallel() var zeroValue bool @@ -14969,6 +19517,17 @@ func TestHook_GetCreatedAt(tt *testing.T) { h.GetCreatedAt() } +func TestHook_GetEvents(tt *testing.T) { + tt.Parallel() + zeroValue := []string{} + h := &Hook{Events: zeroValue} + h.GetEvents() + h = &Hook{} + h.GetEvents() + h = nil + h.GetEvents() +} + func TestHook_GetID(tt *testing.T) { tt.Parallel() var zeroValue int64 @@ -15125,7 +19684,10 @@ func TestHookDelivery_GetDeliveredAt(tt *testing.T) { func TestHookDelivery_GetDuration(tt *testing.T) { tt.Parallel() - h := &HookDelivery{} + var zeroValue float64 + h := &HookDelivery{Duration: &zeroValue} + h.GetDuration() + h = &HookDelivery{} h.GetDuration() h = nil h.GetDuration() @@ -15394,6 +19956,17 @@ func TestHostedRunner_GetPublicIPEnabled(tt *testing.T) { h.GetPublicIPEnabled() } +func TestHostedRunner_GetPublicIPs(tt *testing.T) { + tt.Parallel() + zeroValue := []*HostedRunnerPublicIP{} + h := &HostedRunner{PublicIPs: zeroValue} + h.GetPublicIPs() + h = &HostedRunner{} + h.GetPublicIPs() + h = nil + h.GetPublicIPs() +} + func TestHostedRunner_GetRunnerGroupID(tt *testing.T) { tt.Parallel() var zeroValue int64 @@ -15416,6 +19989,22 @@ func TestHostedRunner_GetStatus(tt *testing.T) { h.GetStatus() } +func TestHostedRunnerImage_GetID(tt *testing.T) { + tt.Parallel() + h := &HostedRunnerImage{} + h.GetID() + h = nil + h.GetID() +} + +func TestHostedRunnerImage_GetSource(tt *testing.T) { + tt.Parallel() + h := &HostedRunnerImage{} + h.GetSource() + h = nil + h.GetSource() +} + func TestHostedRunnerImage_GetVersion(tt *testing.T) { tt.Parallel() var zeroValue string @@ -15482,6 +20071,159 @@ func TestHostedRunnerImageDetail_GetVersion(tt *testing.T) { h.GetVersion() } +func TestHostedRunnerImages_GetImages(tt *testing.T) { + tt.Parallel() + zeroValue := []*HostedRunnerImageSpecs{} + h := &HostedRunnerImages{Images: zeroValue} + h.GetImages() + h = &HostedRunnerImages{} + h.GetImages() + h = nil + h.GetImages() +} + +func TestHostedRunnerImages_GetTotalCount(tt *testing.T) { + tt.Parallel() + h := &HostedRunnerImages{} + h.GetTotalCount() + h = nil + h.GetTotalCount() +} + +func TestHostedRunnerImageSpecs_GetDisplayName(tt *testing.T) { + tt.Parallel() + h := &HostedRunnerImageSpecs{} + h.GetDisplayName() + h = nil + h.GetDisplayName() +} + +func TestHostedRunnerImageSpecs_GetID(tt *testing.T) { + tt.Parallel() + h := &HostedRunnerImageSpecs{} + h.GetID() + h = nil + h.GetID() +} + +func TestHostedRunnerImageSpecs_GetPlatform(tt *testing.T) { + tt.Parallel() + h := &HostedRunnerImageSpecs{} + h.GetPlatform() + h = nil + h.GetPlatform() +} + +func TestHostedRunnerImageSpecs_GetSizeGB(tt *testing.T) { + tt.Parallel() + h := &HostedRunnerImageSpecs{} + h.GetSizeGB() + h = nil + h.GetSizeGB() +} + +func TestHostedRunnerImageSpecs_GetSource(tt *testing.T) { + tt.Parallel() + h := &HostedRunnerImageSpecs{} + h.GetSource() + h = nil + h.GetSource() +} + +func TestHostedRunnerMachineSpec_GetCPUCores(tt *testing.T) { + tt.Parallel() + h := &HostedRunnerMachineSpec{} + h.GetCPUCores() + h = nil + h.GetCPUCores() +} + +func TestHostedRunnerMachineSpec_GetID(tt *testing.T) { + tt.Parallel() + h := &HostedRunnerMachineSpec{} + h.GetID() + h = nil + h.GetID() +} + +func TestHostedRunnerMachineSpec_GetMemoryGB(tt *testing.T) { + tt.Parallel() + h := &HostedRunnerMachineSpec{} + h.GetMemoryGB() + h = nil + h.GetMemoryGB() +} + +func TestHostedRunnerMachineSpec_GetStorageGB(tt *testing.T) { + tt.Parallel() + h := &HostedRunnerMachineSpec{} + h.GetStorageGB() + h = nil + h.GetStorageGB() +} + +func TestHostedRunnerMachineSpecs_GetMachineSpecs(tt *testing.T) { + tt.Parallel() + zeroValue := []*HostedRunnerMachineSpec{} + h := &HostedRunnerMachineSpecs{MachineSpecs: zeroValue} + h.GetMachineSpecs() + h = &HostedRunnerMachineSpecs{} + h.GetMachineSpecs() + h = nil + h.GetMachineSpecs() +} + +func TestHostedRunnerMachineSpecs_GetTotalCount(tt *testing.T) { + tt.Parallel() + h := &HostedRunnerMachineSpecs{} + h.GetTotalCount() + h = nil + h.GetTotalCount() +} + +func TestHostedRunnerPlatforms_GetPlatforms(tt *testing.T) { + tt.Parallel() + zeroValue := []string{} + h := &HostedRunnerPlatforms{Platforms: zeroValue} + h.GetPlatforms() + h = &HostedRunnerPlatforms{} + h.GetPlatforms() + h = nil + h.GetPlatforms() +} + +func TestHostedRunnerPlatforms_GetTotalCount(tt *testing.T) { + tt.Parallel() + h := &HostedRunnerPlatforms{} + h.GetTotalCount() + h = nil + h.GetTotalCount() +} + +func TestHostedRunnerPublicIP_GetEnabled(tt *testing.T) { + tt.Parallel() + h := &HostedRunnerPublicIP{} + h.GetEnabled() + h = nil + h.GetEnabled() +} + +func TestHostedRunnerPublicIP_GetLength(tt *testing.T) { + tt.Parallel() + h := &HostedRunnerPublicIP{} + h.GetLength() + h = nil + h.GetLength() +} + +func TestHostedRunnerPublicIP_GetPrefix(tt *testing.T) { + tt.Parallel() + h := &HostedRunnerPublicIP{} + h.GetPrefix() + h = nil + h.GetPrefix() +} + func TestHostedRunnerPublicIPLimits_GetPublicIPs(tt *testing.T) { tt.Parallel() h := &HostedRunnerPublicIPLimits{} @@ -15490,6 +20232,52 @@ func TestHostedRunnerPublicIPLimits_GetPublicIPs(tt *testing.T) { h.GetPublicIPs() } +func TestHostedRunners_GetRunners(tt *testing.T) { + tt.Parallel() + zeroValue := []*HostedRunner{} + h := &HostedRunners{Runners: zeroValue} + h.GetRunners() + h = &HostedRunners{} + h.GetRunners() + h = nil + h.GetRunners() +} + +func TestHostedRunners_GetTotalCount(tt *testing.T) { + tt.Parallel() + h := &HostedRunners{} + h.GetTotalCount() + h = nil + h.GetTotalCount() +} + +func TestHovercard_GetContexts(tt *testing.T) { + tt.Parallel() + zeroValue := []*UserContext{} + h := &Hovercard{Contexts: zeroValue} + h.GetContexts() + h = &Hovercard{} + h.GetContexts() + h = nil + h.GetContexts() +} + +func TestHovercardOptions_GetSubjectID(tt *testing.T) { + tt.Parallel() + h := &HovercardOptions{} + h.GetSubjectID() + h = nil + h.GetSubjectID() +} + +func TestHovercardOptions_GetSubjectType(tt *testing.T) { + tt.Parallel() + h := &HovercardOptions{} + h.GetSubjectType() + h = nil + h.GetSubjectType() +} + func TestIDPGroup_GetGroupDescription(tt *testing.T) { tt.Parallel() var zeroValue string @@ -15523,6 +20311,17 @@ func TestIDPGroup_GetGroupName(tt *testing.T) { i.GetGroupName() } +func TestIDPGroupList_GetGroups(tt *testing.T) { + tt.Parallel() + zeroValue := []*IDPGroup{} + i := &IDPGroupList{Groups: zeroValue} + i.GetGroups() + i = &IDPGroupList{} + i.GetGroups() + i = nil + i.GetGroups() +} + func TestImmutableReleasePolicy_GetEnforcedRepositories(tt *testing.T) { tt.Parallel() var zeroValue string @@ -15534,6 +20333,17 @@ func TestImmutableReleasePolicy_GetEnforcedRepositories(tt *testing.T) { i.GetEnforcedRepositories() } +func TestImmutableReleasePolicy_GetSelectedRepositoryIDs(tt *testing.T) { + tt.Parallel() + zeroValue := []int64{} + i := &ImmutableReleasePolicy{SelectedRepositoryIDs: zeroValue} + i.GetSelectedRepositoryIDs() + i = &ImmutableReleasePolicy{} + i.GetSelectedRepositoryIDs() + i = nil + i.GetSelectedRepositoryIDs() +} + func TestImmutableReleaseSettings_GetEnforcedRepositories(tt *testing.T) { tt.Parallel() var zeroValue string @@ -15556,6 +20366,17 @@ func TestImmutableReleaseSettings_GetSelectedRepositoriesURL(tt *testing.T) { i.GetSelectedRepositoriesURL() } +func TestImpersonateUserOptions_GetScopes(tt *testing.T) { + tt.Parallel() + zeroValue := []string{} + i := &ImpersonateUserOptions{Scopes: zeroValue} + i.GetScopes() + i = &ImpersonateUserOptions{} + i.GetScopes() + i = nil + i.GetScopes() +} + func TestImport_GetAuthorsCount(tt *testing.T) { tt.Parallel() var zeroValue int @@ -15677,6 +20498,17 @@ func TestImport_GetPercent(tt *testing.T) { i.GetPercent() } +func TestImport_GetProjectChoices(tt *testing.T) { + tt.Parallel() + zeroValue := []*Import{} + i := &Import{ProjectChoices: zeroValue} + i.GetProjectChoices() + i = &Import{} + i.GetProjectChoices() + i = nil + i.GetProjectChoices() +} + func TestImport_GetPushPercent(tt *testing.T) { tt.Parallel() var zeroValue int @@ -15798,6 +20630,22 @@ func TestImport_GetVCSUsername(tt *testing.T) { i.GetVCSUsername() } +func TestInitialConfigOptions_GetLicense(tt *testing.T) { + tt.Parallel() + i := &InitialConfigOptions{} + i.GetLicense() + i = nil + i.GetLicense() +} + +func TestInitialConfigOptions_GetPassword(tt *testing.T) { + tt.Parallel() + i := &InitialConfigOptions{} + i.GetPassword() + i = nil + i.GetPassword() +} + func TestInstallableOrganization_GetAccessibleRepositoriesURL(tt *testing.T) { tt.Parallel() var zeroValue string @@ -15809,6 +20657,49 @@ func TestInstallableOrganization_GetAccessibleRepositoriesURL(tt *testing.T) { i.GetAccessibleRepositoriesURL() } +func TestInstallableOrganization_GetID(tt *testing.T) { + tt.Parallel() + i := &InstallableOrganization{} + i.GetID() + i = nil + i.GetID() +} + +func TestInstallableOrganization_GetLogin(tt *testing.T) { + tt.Parallel() + i := &InstallableOrganization{} + i.GetLogin() + i = nil + i.GetLogin() +} + +func TestInstallAppRequest_GetClientID(tt *testing.T) { + tt.Parallel() + i := &InstallAppRequest{} + i.GetClientID() + i = nil + i.GetClientID() +} + +func TestInstallAppRequest_GetRepositories(tt *testing.T) { + tt.Parallel() + zeroValue := []string{} + i := &InstallAppRequest{Repositories: zeroValue} + i.GetRepositories() + i = &InstallAppRequest{} + i.GetRepositories() + i = nil + i.GetRepositories() +} + +func TestInstallAppRequest_GetRepositorySelection(tt *testing.T) { + tt.Parallel() + i := &InstallAppRequest{} + i.GetRepositorySelection() + i = nil + i.GetRepositorySelection() +} + func TestInstallation_GetAccessTokensURL(tt *testing.T) { tt.Parallel() var zeroValue string @@ -15872,6 +20763,17 @@ func TestInstallation_GetCreatedAt(tt *testing.T) { i.GetCreatedAt() } +func TestInstallation_GetEvents(tt *testing.T) { + tt.Parallel() + zeroValue := []string{} + i := &Installation{Events: zeroValue} + i.GetEvents() + i = &Installation{} + i.GetEvents() + i = nil + i.GetEvents() +} + func TestInstallation_GetHasMultipleSingleFiles(tt *testing.T) { tt.Parallel() var zeroValue bool @@ -15957,6 +20859,17 @@ func TestInstallation_GetSingleFileName(tt *testing.T) { i.GetSingleFileName() } +func TestInstallation_GetSingleFilePaths(tt *testing.T) { + tt.Parallel() + zeroValue := []string{} + i := &Installation{SingleFilePaths: zeroValue} + i.GetSingleFilePaths() + i = &Installation{} + i.GetSingleFilePaths() + i = nil + i.GetSingleFilePaths() +} + func TestInstallation_GetSuspendedAt(tt *testing.T) { tt.Parallel() var zeroValue Timestamp @@ -16052,6 +20965,17 @@ func TestInstallationEvent_GetOrg(tt *testing.T) { i.GetOrg() } +func TestInstallationEvent_GetRepositories(tt *testing.T) { + tt.Parallel() + zeroValue := []*Repository{} + i := &InstallationEvent{Repositories: zeroValue} + i.GetRepositories() + i = &InstallationEvent{} + i.GetRepositories() + i = nil + i.GetRepositories() +} + func TestInstallationEvent_GetRequester(tt *testing.T) { tt.Parallel() i := &InstallationEvent{} @@ -16931,6 +21855,28 @@ func TestInstallationRepositoriesEvent_GetOrg(tt *testing.T) { i.GetOrg() } +func TestInstallationRepositoriesEvent_GetRepositoriesAdded(tt *testing.T) { + tt.Parallel() + zeroValue := []*Repository{} + i := &InstallationRepositoriesEvent{RepositoriesAdded: zeroValue} + i.GetRepositoriesAdded() + i = &InstallationRepositoriesEvent{} + i.GetRepositoriesAdded() + i = nil + i.GetRepositoriesAdded() +} + +func TestInstallationRepositoriesEvent_GetRepositoriesRemoved(tt *testing.T) { + tt.Parallel() + zeroValue := []*Repository{} + i := &InstallationRepositoriesEvent{RepositoriesRemoved: zeroValue} + i.GetRepositoriesRemoved() + i = &InstallationRepositoriesEvent{} + i.GetRepositoriesRemoved() + i = nil + i.GetRepositoriesRemoved() +} + func TestInstallationRepositoriesEvent_GetRepositorySelection(tt *testing.T) { tt.Parallel() var zeroValue string @@ -17107,6 +22053,17 @@ func TestInstallationToken_GetPermissions(tt *testing.T) { i.GetPermissions() } +func TestInstallationToken_GetRepositories(tt *testing.T) { + tt.Parallel() + zeroValue := []*Repository{} + i := &InstallationToken{Repositories: zeroValue} + i.GetRepositories() + i = &InstallationToken{} + i.GetRepositories() + i = nil + i.GetRepositories() +} + func TestInstallationToken_GetToken(tt *testing.T) { tt.Parallel() var zeroValue string @@ -17126,6 +22083,28 @@ func TestInstallationTokenListRepoOptions_GetPermissions(tt *testing.T) { i.GetPermissions() } +func TestInstallationTokenListRepoOptions_GetRepositories(tt *testing.T) { + tt.Parallel() + zeroValue := []string{} + i := &InstallationTokenListRepoOptions{Repositories: zeroValue} + i.GetRepositories() + i = &InstallationTokenListRepoOptions{} + i.GetRepositories() + i = nil + i.GetRepositories() +} + +func TestInstallationTokenListRepoOptions_GetRepositoryIDs(tt *testing.T) { + tt.Parallel() + zeroValue := []int64{} + i := &InstallationTokenListRepoOptions{RepositoryIDs: zeroValue} + i.GetRepositoryIDs() + i = &InstallationTokenListRepoOptions{} + i.GetRepositoryIDs() + i = nil + i.GetRepositoryIDs() +} + func TestInstallationTokenOptions_GetPermissions(tt *testing.T) { tt.Parallel() i := &InstallationTokenOptions{} @@ -17134,6 +22113,28 @@ func TestInstallationTokenOptions_GetPermissions(tt *testing.T) { i.GetPermissions() } +func TestInstallationTokenOptions_GetRepositories(tt *testing.T) { + tt.Parallel() + zeroValue := []string{} + i := &InstallationTokenOptions{Repositories: zeroValue} + i.GetRepositories() + i = &InstallationTokenOptions{} + i.GetRepositories() + i = nil + i.GetRepositories() +} + +func TestInstallationTokenOptions_GetRepositoryIDs(tt *testing.T) { + tt.Parallel() + zeroValue := []int64{} + i := &InstallationTokenOptions{RepositoryIDs: zeroValue} + i.GetRepositoryIDs() + i = &InstallationTokenOptions{} + i.GetRepositoryIDs() + i = nil + i.GetRepositoryIDs() +} + func TestInteractionRestriction_GetExpiresAt(tt *testing.T) { tt.Parallel() var zeroValue Timestamp @@ -17304,6 +22305,17 @@ func TestIssue_GetAssignee(tt *testing.T) { i.GetAssignee() } +func TestIssue_GetAssignees(tt *testing.T) { + tt.Parallel() + zeroValue := []*User{} + i := &Issue{Assignees: zeroValue} + i.GetAssignees() + i = &Issue{} + i.GetAssignees() + i = nil + i.GetAssignees() +} + func TestIssue_GetAuthorAssociation(tt *testing.T) { tt.Parallel() var zeroValue string @@ -17422,6 +22434,17 @@ func TestIssue_GetID(tt *testing.T) { i.GetID() } +func TestIssue_GetLabels(tt *testing.T) { + tt.Parallel() + zeroValue := []*Label{} + i := &Issue{Labels: zeroValue} + i.GetLabels() + i = &Issue{} + i.GetLabels() + i = nil + i.GetLabels() +} + func TestIssue_GetLabelsURL(tt *testing.T) { tt.Parallel() var zeroValue string @@ -17542,6 +22565,17 @@ func TestIssue_GetStateReason(tt *testing.T) { i.GetStateReason() } +func TestIssue_GetTextMatches(tt *testing.T) { + tt.Parallel() + zeroValue := []*TextMatch{} + i := &Issue{TextMatches: zeroValue} + i.GetTextMatches() + i = &Issue{} + i.GetTextMatches() + i = nil + i.GetTextMatches() +} + func TestIssue_GetTitle(tt *testing.T) { tt.Parallel() var zeroValue string @@ -17773,6 +22807,14 @@ func TestIssueCommentEvent_GetSender(tt *testing.T) { i.GetSender() } +func TestIssueEvent_GetAction(tt *testing.T) { + tt.Parallel() + i := &IssueEvent{} + i.GetAction() + i = nil + i.GetAction() +} + func TestIssueEvent_GetActor(tt *testing.T) { tt.Parallel() i := &IssueEvent{} @@ -17954,6 +22996,14 @@ func TestIssueImport_GetAssignee(tt *testing.T) { i.GetAssignee() } +func TestIssueImport_GetBody(tt *testing.T) { + tt.Parallel() + i := &IssueImport{} + i.GetBody() + i = nil + i.GetBody() +} + func TestIssueImport_GetClosed(tt *testing.T) { tt.Parallel() var zeroValue bool @@ -17987,6 +23037,17 @@ func TestIssueImport_GetCreatedAt(tt *testing.T) { i.GetCreatedAt() } +func TestIssueImport_GetLabels(tt *testing.T) { + tt.Parallel() + zeroValue := []string{} + i := &IssueImport{Labels: zeroValue} + i.GetLabels() + i = &IssueImport{} + i.GetLabels() + i = nil + i.GetLabels() +} + func TestIssueImport_GetMilestone(tt *testing.T) { tt.Parallel() var zeroValue int @@ -17998,6 +23059,14 @@ func TestIssueImport_GetMilestone(tt *testing.T) { i.GetMilestone() } +func TestIssueImport_GetTitle(tt *testing.T) { + tt.Parallel() + i := &IssueImport{} + i.GetTitle() + i = nil + i.GetTitle() +} + func TestIssueImport_GetUpdatedAt(tt *testing.T) { tt.Parallel() var zeroValue Timestamp @@ -18064,6 +23133,25 @@ func TestIssueImportError_GetValue(tt *testing.T) { i.GetValue() } +func TestIssueImportRequest_GetComments(tt *testing.T) { + tt.Parallel() + zeroValue := []*Comment{} + i := &IssueImportRequest{Comments: zeroValue} + i.GetComments() + i = &IssueImportRequest{} + i.GetComments() + i = nil + i.GetComments() +} + +func TestIssueImportRequest_GetIssueImport(tt *testing.T) { + tt.Parallel() + i := &IssueImportRequest{} + i.GetIssueImport() + i = nil + i.GetIssueImport() +} + func TestIssueImportResponse_GetCreatedAt(tt *testing.T) { tt.Parallel() var zeroValue Timestamp @@ -18086,6 +23174,17 @@ func TestIssueImportResponse_GetDocumentationURL(tt *testing.T) { i.GetDocumentationURL() } +func TestIssueImportResponse_GetErrors(tt *testing.T) { + tt.Parallel() + zeroValue := []*IssueImportError{} + i := &IssueImportResponse{Errors: zeroValue} + i.GetErrors() + i = &IssueImportResponse{} + i.GetErrors() + i = nil + i.GetErrors() +} + func TestIssueImportResponse_GetID(tt *testing.T) { tt.Parallel() var zeroValue int @@ -18163,6 +23262,148 @@ func TestIssueImportResponse_GetURL(tt *testing.T) { i.GetURL() } +func TestIssueListByOrgOptions_GetDirection(tt *testing.T) { + tt.Parallel() + i := &IssueListByOrgOptions{} + i.GetDirection() + i = nil + i.GetDirection() +} + +func TestIssueListByOrgOptions_GetFilter(tt *testing.T) { + tt.Parallel() + i := &IssueListByOrgOptions{} + i.GetFilter() + i = nil + i.GetFilter() +} + +func TestIssueListByOrgOptions_GetLabels(tt *testing.T) { + tt.Parallel() + zeroValue := []string{} + i := &IssueListByOrgOptions{Labels: zeroValue} + i.GetLabels() + i = &IssueListByOrgOptions{} + i.GetLabels() + i = nil + i.GetLabels() +} + +func TestIssueListByOrgOptions_GetSince(tt *testing.T) { + tt.Parallel() + i := &IssueListByOrgOptions{} + i.GetSince() + i = nil + i.GetSince() +} + +func TestIssueListByOrgOptions_GetSort(tt *testing.T) { + tt.Parallel() + i := &IssueListByOrgOptions{} + i.GetSort() + i = nil + i.GetSort() +} + +func TestIssueListByOrgOptions_GetState(tt *testing.T) { + tt.Parallel() + i := &IssueListByOrgOptions{} + i.GetState() + i = nil + i.GetState() +} + +func TestIssueListByOrgOptions_GetType(tt *testing.T) { + tt.Parallel() + i := &IssueListByOrgOptions{} + i.GetType() + i = nil + i.GetType() +} + +func TestIssueListByRepoOptions_GetAssignee(tt *testing.T) { + tt.Parallel() + i := &IssueListByRepoOptions{} + i.GetAssignee() + i = nil + i.GetAssignee() +} + +func TestIssueListByRepoOptions_GetCreator(tt *testing.T) { + tt.Parallel() + i := &IssueListByRepoOptions{} + i.GetCreator() + i = nil + i.GetCreator() +} + +func TestIssueListByRepoOptions_GetDirection(tt *testing.T) { + tt.Parallel() + i := &IssueListByRepoOptions{} + i.GetDirection() + i = nil + i.GetDirection() +} + +func TestIssueListByRepoOptions_GetLabels(tt *testing.T) { + tt.Parallel() + zeroValue := []string{} + i := &IssueListByRepoOptions{Labels: zeroValue} + i.GetLabels() + i = &IssueListByRepoOptions{} + i.GetLabels() + i = nil + i.GetLabels() +} + +func TestIssueListByRepoOptions_GetMentioned(tt *testing.T) { + tt.Parallel() + i := &IssueListByRepoOptions{} + i.GetMentioned() + i = nil + i.GetMentioned() +} + +func TestIssueListByRepoOptions_GetMilestone(tt *testing.T) { + tt.Parallel() + i := &IssueListByRepoOptions{} + i.GetMilestone() + i = nil + i.GetMilestone() +} + +func TestIssueListByRepoOptions_GetSince(tt *testing.T) { + tt.Parallel() + i := &IssueListByRepoOptions{} + i.GetSince() + i = nil + i.GetSince() +} + +func TestIssueListByRepoOptions_GetSort(tt *testing.T) { + tt.Parallel() + i := &IssueListByRepoOptions{} + i.GetSort() + i = nil + i.GetSort() +} + +func TestIssueListByRepoOptions_GetState(tt *testing.T) { + tt.Parallel() + i := &IssueListByRepoOptions{} + i.GetState() + i = nil + i.GetState() +} + +func TestIssueListByRepoOptions_GetType(tt *testing.T) { + tt.Parallel() + i := &IssueListByRepoOptions{} + i.GetType() + i = nil + i.GetType() +} + func TestIssueListCommentsOptions_GetDirection(tt *testing.T) { tt.Parallel() var zeroValue string @@ -18389,6 +23630,17 @@ func TestIssuesSearchResult_GetIncompleteResults(tt *testing.T) { i.GetIncompleteResults() } +func TestIssuesSearchResult_GetIssues(tt *testing.T) { + tt.Parallel() + zeroValue := []*Issue{} + i := &IssuesSearchResult{Issues: zeroValue} + i.GetIssues() + i = &IssuesSearchResult{} + i.GetIssues() + i = nil + i.GetIssues() +} + func TestIssuesSearchResult_GetTotal(tt *testing.T) { tt.Parallel() var zeroValue int @@ -18529,6 +23781,17 @@ func TestJITRunnerConfig_GetRunner(tt *testing.T) { j.GetRunner() } +func TestJobs_GetJobs(tt *testing.T) { + tt.Parallel() + zeroValue := []*WorkflowJob{} + j := &Jobs{Jobs: zeroValue} + j.GetJobs() + j = &Jobs{} + j.GetJobs() + j = nil + j.GetJobs() +} + func TestJobs_GetTotalCount(tt *testing.T) { tt.Parallel() var zeroValue int @@ -18832,7 +24095,10 @@ func TestLabelResult_GetName(tt *testing.T) { func TestLabelResult_GetScore(tt *testing.T) { tt.Parallel() - l := &LabelResult{} + var zeroValue float64 + l := &LabelResult{Score: &zeroValue} + l.GetScore() + l = &LabelResult{} l.GetScore() l = nil l.GetScore() @@ -18860,6 +24126,17 @@ func TestLabelsSearchResult_GetIncompleteResults(tt *testing.T) { l.GetIncompleteResults() } +func TestLabelsSearchResult_GetLabels(tt *testing.T) { + tt.Parallel() + zeroValue := []*LabelResult{} + l := &LabelsSearchResult{Labels: zeroValue} + l.GetLabels() + l = &LabelsSearchResult{} + l.GetLabels() + l = nil + l.GetLabels() +} + func TestLabelsSearchResult_GetTotal(tt *testing.T) { tt.Parallel() var zeroValue int @@ -18923,6 +24200,14 @@ func TestLastLicenseSync_GetProperties(tt *testing.T) { l.GetProperties() } +func TestLastLicenseSync_GetType(tt *testing.T) { + tt.Parallel() + l := &LastLicenseSync{} + l.GetType() + l = nil + l.GetType() +} + func TestLastLicenseSyncProperties_GetDate(tt *testing.T) { tt.Parallel() var zeroValue Timestamp @@ -18934,6 +24219,22 @@ func TestLastLicenseSyncProperties_GetDate(tt *testing.T) { l.GetDate() } +func TestLastLicenseSyncProperties_GetError(tt *testing.T) { + tt.Parallel() + l := &LastLicenseSyncProperties{} + l.GetError() + l = nil + l.GetError() +} + +func TestLastLicenseSyncProperties_GetStatus(tt *testing.T) { + tt.Parallel() + l := &LastLicenseSyncProperties{} + l.GetStatus() + l = nil + l.GetStatus() +} + func TestLicense_GetBody(tt *testing.T) { tt.Parallel() var zeroValue string @@ -19363,6 +24664,89 @@ func TestListAlertsOptions_GetState(tt *testing.T) { l.GetState() } +func TestListAllIssuesOptions_GetCollab(tt *testing.T) { + tt.Parallel() + l := &ListAllIssuesOptions{} + l.GetCollab() + l = nil + l.GetCollab() +} + +func TestListAllIssuesOptions_GetDirection(tt *testing.T) { + tt.Parallel() + l := &ListAllIssuesOptions{} + l.GetDirection() + l = nil + l.GetDirection() +} + +func TestListAllIssuesOptions_GetFilter(tt *testing.T) { + tt.Parallel() + l := &ListAllIssuesOptions{} + l.GetFilter() + l = nil + l.GetFilter() +} + +func TestListAllIssuesOptions_GetLabels(tt *testing.T) { + tt.Parallel() + zeroValue := []string{} + l := &ListAllIssuesOptions{Labels: zeroValue} + l.GetLabels() + l = &ListAllIssuesOptions{} + l.GetLabels() + l = nil + l.GetLabels() +} + +func TestListAllIssuesOptions_GetOrgs(tt *testing.T) { + tt.Parallel() + l := &ListAllIssuesOptions{} + l.GetOrgs() + l = nil + l.GetOrgs() +} + +func TestListAllIssuesOptions_GetOwned(tt *testing.T) { + tt.Parallel() + l := &ListAllIssuesOptions{} + l.GetOwned() + l = nil + l.GetOwned() +} + +func TestListAllIssuesOptions_GetPulls(tt *testing.T) { + tt.Parallel() + l := &ListAllIssuesOptions{} + l.GetPulls() + l = nil + l.GetPulls() +} + +func TestListAllIssuesOptions_GetSince(tt *testing.T) { + tt.Parallel() + l := &ListAllIssuesOptions{} + l.GetSince() + l = nil + l.GetSince() +} + +func TestListAllIssuesOptions_GetSort(tt *testing.T) { + tt.Parallel() + l := &ListAllIssuesOptions{} + l.GetSort() + l = nil + l.GetSort() +} + +func TestListAllIssuesOptions_GetState(tt *testing.T) { + tt.Parallel() + l := &ListAllIssuesOptions{} + l.GetState() + l = nil + l.GetState() +} + func TestListArtifactsOptions_GetName(tt *testing.T) { tt.Parallel() var zeroValue string @@ -19418,6 +24802,17 @@ func TestListCheckRunsOptions_GetStatus(tt *testing.T) { l.GetStatus() } +func TestListCheckRunsResults_GetCheckRuns(tt *testing.T) { + tt.Parallel() + zeroValue := []*CheckRun{} + l := &ListCheckRunsResults{CheckRuns: zeroValue} + l.GetCheckRuns() + l = &ListCheckRunsResults{} + l.GetCheckRuns() + l = nil + l.GetCheckRuns() +} + func TestListCheckRunsResults_GetTotal(tt *testing.T) { tt.Parallel() var zeroValue int @@ -19451,6 +24846,17 @@ func TestListCheckSuiteOptions_GetCheckName(tt *testing.T) { l.GetCheckName() } +func TestListCheckSuiteResults_GetCheckSuites(tt *testing.T) { + tt.Parallel() + zeroValue := []*CheckSuite{} + l := &ListCheckSuiteResults{CheckSuites: zeroValue} + l.GetCheckSuites() + l = &ListCheckSuiteResults{} + l.GetCheckSuites() + l = nil + l.GetCheckSuites() +} + func TestListCheckSuiteResults_GetTotal(tt *testing.T) { tt.Parallel() var zeroValue int @@ -19462,6 +24868,49 @@ func TestListCheckSuiteResults_GetTotal(tt *testing.T) { l.GetTotal() } +func TestListCodeSecurityConfigurationRepositoriesOptions_GetAfter(tt *testing.T) { + tt.Parallel() + l := &ListCodeSecurityConfigurationRepositoriesOptions{} + l.GetAfter() + l = nil + l.GetAfter() +} + +func TestListCodeSecurityConfigurationRepositoriesOptions_GetBefore(tt *testing.T) { + tt.Parallel() + l := &ListCodeSecurityConfigurationRepositoriesOptions{} + l.GetBefore() + l = nil + l.GetBefore() +} + +func TestListCodeSecurityConfigurationRepositoriesOptions_GetPerPage(tt *testing.T) { + tt.Parallel() + l := &ListCodeSecurityConfigurationRepositoriesOptions{} + l.GetPerPage() + l = nil + l.GetPerPage() +} + +func TestListCodeSecurityConfigurationRepositoriesOptions_GetStatus(tt *testing.T) { + tt.Parallel() + l := &ListCodeSecurityConfigurationRepositoriesOptions{} + l.GetStatus() + l = nil + l.GetStatus() +} + +func TestListCodespaces_GetCodespaces(tt *testing.T) { + tt.Parallel() + zeroValue := []*Codespace{} + l := &ListCodespaces{Codespaces: zeroValue} + l.GetCodespaces() + l = &ListCodespaces{} + l.GetCodespaces() + l = nil + l.GetCodespaces() +} + func TestListCodespaces_GetTotalCount(tt *testing.T) { tt.Parallel() var zeroValue int @@ -19473,6 +24922,57 @@ func TestListCodespaces_GetTotalCount(tt *testing.T) { l.GetTotalCount() } +func TestListCodespacesOptions_GetRepositoryID(tt *testing.T) { + tt.Parallel() + l := &ListCodespacesOptions{} + l.GetRepositoryID() + l = nil + l.GetRepositoryID() +} + +func TestListCollaboratorsOptions_GetAffiliation(tt *testing.T) { + tt.Parallel() + l := &ListCollaboratorsOptions{} + l.GetAffiliation() + l = nil + l.GetAffiliation() +} + +func TestListCollaboratorsOptions_GetPermission(tt *testing.T) { + tt.Parallel() + l := &ListCollaboratorsOptions{} + l.GetPermission() + l = nil + l.GetPermission() +} + +func TestListContributorsOptions_GetAnon(tt *testing.T) { + tt.Parallel() + l := &ListContributorsOptions{} + l.GetAnon() + l = nil + l.GetAnon() +} + +func TestListCopilotSeatsResponse_GetSeats(tt *testing.T) { + tt.Parallel() + zeroValue := []*CopilotSeatDetails{} + l := &ListCopilotSeatsResponse{Seats: zeroValue} + l.GetSeats() + l = &ListCopilotSeatsResponse{} + l.GetSeats() + l = nil + l.GetSeats() +} + +func TestListCopilotSeatsResponse_GetTotalSeats(tt *testing.T) { + tt.Parallel() + l := &ListCopilotSeatsResponse{} + l.GetTotalSeats() + l = nil + l.GetTotalSeats() +} + func TestListCostCenterOptions_GetState(tt *testing.T) { tt.Parallel() var zeroValue string @@ -19484,6 +24984,73 @@ func TestListCostCenterOptions_GetState(tt *testing.T) { l.GetState() } +func TestListCursorOptions_GetAfter(tt *testing.T) { + tt.Parallel() + l := &ListCursorOptions{} + l.GetAfter() + l = nil + l.GetAfter() +} + +func TestListCursorOptions_GetBefore(tt *testing.T) { + tt.Parallel() + l := &ListCursorOptions{} + l.GetBefore() + l = nil + l.GetBefore() +} + +func TestListCursorOptions_GetCursor(tt *testing.T) { + tt.Parallel() + l := &ListCursorOptions{} + l.GetCursor() + l = nil + l.GetCursor() +} + +func TestListCursorOptions_GetFirst(tt *testing.T) { + tt.Parallel() + l := &ListCursorOptions{} + l.GetFirst() + l = nil + l.GetFirst() +} + +func TestListCursorOptions_GetLast(tt *testing.T) { + tt.Parallel() + l := &ListCursorOptions{} + l.GetLast() + l = nil + l.GetLast() +} + +func TestListCursorOptions_GetPage(tt *testing.T) { + tt.Parallel() + l := &ListCursorOptions{} + l.GetPage() + l = nil + l.GetPage() +} + +func TestListCursorOptions_GetPerPage(tt *testing.T) { + tt.Parallel() + l := &ListCursorOptions{} + l.GetPerPage() + l = nil + l.GetPerPage() +} + +func TestListCustomDeploymentRuleIntegrationsResponse_GetAvailableIntegrations(tt *testing.T) { + tt.Parallel() + zeroValue := []*CustomDeploymentProtectionRuleApp{} + l := &ListCustomDeploymentRuleIntegrationsResponse{AvailableIntegrations: zeroValue} + l.GetAvailableIntegrations() + l = &ListCustomDeploymentRuleIntegrationsResponse{} + l.GetAvailableIntegrations() + l = nil + l.GetAvailableIntegrations() +} + func TestListCustomDeploymentRuleIntegrationsResponse_GetTotalCount(tt *testing.T) { tt.Parallel() var zeroValue int @@ -19495,6 +25062,25 @@ func TestListCustomDeploymentRuleIntegrationsResponse_GetTotalCount(tt *testing. l.GetTotalCount() } +func TestListCustomPropertyValuesOptions_GetRepositoryQuery(tt *testing.T) { + tt.Parallel() + l := &ListCustomPropertyValuesOptions{} + l.GetRepositoryQuery() + l = nil + l.GetRepositoryQuery() +} + +func TestListDeploymentProtectionRuleResponse_GetProtectionRules(tt *testing.T) { + tt.Parallel() + zeroValue := []*CustomDeploymentProtectionRule{} + l := &ListDeploymentProtectionRuleResponse{ProtectionRules: zeroValue} + l.GetProtectionRules() + l = &ListDeploymentProtectionRuleResponse{} + l.GetProtectionRules() + l = nil + l.GetProtectionRules() +} + func TestListDeploymentProtectionRuleResponse_GetTotalCount(tt *testing.T) { tt.Parallel() var zeroValue int @@ -19506,6 +25092,38 @@ func TestListDeploymentProtectionRuleResponse_GetTotalCount(tt *testing.T) { l.GetTotalCount() } +func TestListEnterpriseCodeSecurityConfigurationOptions_GetAfter(tt *testing.T) { + tt.Parallel() + l := &ListEnterpriseCodeSecurityConfigurationOptions{} + l.GetAfter() + l = nil + l.GetAfter() +} + +func TestListEnterpriseCodeSecurityConfigurationOptions_GetBefore(tt *testing.T) { + tt.Parallel() + l := &ListEnterpriseCodeSecurityConfigurationOptions{} + l.GetBefore() + l = nil + l.GetBefore() +} + +func TestListEnterpriseCodeSecurityConfigurationOptions_GetPerPage(tt *testing.T) { + tt.Parallel() + l := &ListEnterpriseCodeSecurityConfigurationOptions{} + l.GetPerPage() + l = nil + l.GetPerPage() +} + +func TestListEnterpriseRunnerGroupOptions_GetVisibleToOrganization(tt *testing.T) { + tt.Parallel() + l := &ListEnterpriseRunnerGroupOptions{} + l.GetVisibleToOrganization() + l = nil + l.GetVisibleToOrganization() +} + func TestListExternalGroupsOptions_GetDisplayName(tt *testing.T) { tt.Parallel() var zeroValue string @@ -19517,6 +25135,76 @@ func TestListExternalGroupsOptions_GetDisplayName(tt *testing.T) { l.GetDisplayName() } +func TestListFineGrainedPATOptions_GetDirection(tt *testing.T) { + tt.Parallel() + l := &ListFineGrainedPATOptions{} + l.GetDirection() + l = nil + l.GetDirection() +} + +func TestListFineGrainedPATOptions_GetLastUsedAfter(tt *testing.T) { + tt.Parallel() + l := &ListFineGrainedPATOptions{} + l.GetLastUsedAfter() + l = nil + l.GetLastUsedAfter() +} + +func TestListFineGrainedPATOptions_GetLastUsedBefore(tt *testing.T) { + tt.Parallel() + l := &ListFineGrainedPATOptions{} + l.GetLastUsedBefore() + l = nil + l.GetLastUsedBefore() +} + +func TestListFineGrainedPATOptions_GetOwner(tt *testing.T) { + tt.Parallel() + zeroValue := []string{} + l := &ListFineGrainedPATOptions{Owner: zeroValue} + l.GetOwner() + l = &ListFineGrainedPATOptions{} + l.GetOwner() + l = nil + l.GetOwner() +} + +func TestListFineGrainedPATOptions_GetPermission(tt *testing.T) { + tt.Parallel() + l := &ListFineGrainedPATOptions{} + l.GetPermission() + l = nil + l.GetPermission() +} + +func TestListFineGrainedPATOptions_GetRepository(tt *testing.T) { + tt.Parallel() + l := &ListFineGrainedPATOptions{} + l.GetRepository() + l = nil + l.GetRepository() +} + +func TestListFineGrainedPATOptions_GetSort(tt *testing.T) { + tt.Parallel() + l := &ListFineGrainedPATOptions{} + l.GetSort() + l = nil + l.GetSort() +} + +func TestListFineGrainedPATOptions_GetTokenID(tt *testing.T) { + tt.Parallel() + zeroValue := []int64{} + l := &ListFineGrainedPATOptions{TokenID: zeroValue} + l.GetTokenID() + l = &ListFineGrainedPATOptions{} + l.GetTokenID() + l = nil + l.GetTokenID() +} + func TestListGlobalSecurityAdvisoriesOptions_GetAffects(tt *testing.T) { tt.Parallel() var zeroValue string @@ -19539,6 +25227,17 @@ func TestListGlobalSecurityAdvisoriesOptions_GetCVEID(tt *testing.T) { l.GetCVEID() } +func TestListGlobalSecurityAdvisoriesOptions_GetCWEs(tt *testing.T) { + tt.Parallel() + zeroValue := []string{} + l := &ListGlobalSecurityAdvisoriesOptions{CWEs: zeroValue} + l.GetCWEs() + l = &ListGlobalSecurityAdvisoriesOptions{} + l.GetCWEs() + l = nil + l.GetCWEs() +} + func TestListGlobalSecurityAdvisoriesOptions_GetEcosystem(tt *testing.T) { tt.Parallel() var zeroValue string @@ -19627,6 +25326,14 @@ func TestListGlobalSecurityAdvisoriesOptions_GetUpdated(tt *testing.T) { l.GetUpdated() } +func TestListIDPGroupsOptions_GetQuery(tt *testing.T) { + tt.Parallel() + l := &ListIDPGroupsOptions{} + l.GetQuery() + l = nil + l.GetQuery() +} + func TestListLicensesOptions_GetFeatured(tt *testing.T) { tt.Parallel() var zeroValue bool @@ -19638,6 +25345,57 @@ func TestListLicensesOptions_GetFeatured(tt *testing.T) { l.GetFeatured() } +func TestListMembersOptions_GetFilter(tt *testing.T) { + tt.Parallel() + l := &ListMembersOptions{} + l.GetFilter() + l = nil + l.GetFilter() +} + +func TestListMembersOptions_GetPublicOnly(tt *testing.T) { + tt.Parallel() + l := &ListMembersOptions{} + l.GetPublicOnly() + l = nil + l.GetPublicOnly() +} + +func TestListMembersOptions_GetRole(tt *testing.T) { + tt.Parallel() + l := &ListMembersOptions{} + l.GetRole() + l = nil + l.GetRole() +} + +func TestListOptions_GetPage(tt *testing.T) { + tt.Parallel() + l := &ListOptions{} + l.GetPage() + l = nil + l.GetPage() +} + +func TestListOptions_GetPerPage(tt *testing.T) { + tt.Parallel() + l := &ListOptions{} + l.GetPerPage() + l = nil + l.GetPerPage() +} + +func TestListOrganizations_GetOrganizations(tt *testing.T) { + tt.Parallel() + zeroValue := []*Organization{} + l := &ListOrganizations{Organizations: zeroValue} + l.GetOrganizations() + l = &ListOrganizations{} + l.GetOrganizations() + l = nil + l.GetOrganizations() +} + func TestListOrganizations_GetTotalCount(tt *testing.T) { tt.Parallel() var zeroValue int @@ -19649,6 +25407,113 @@ func TestListOrganizations_GetTotalCount(tt *testing.T) { l.GetTotalCount() } +func TestListOrgCodeSecurityConfigurationOptions_GetAfter(tt *testing.T) { + tt.Parallel() + l := &ListOrgCodeSecurityConfigurationOptions{} + l.GetAfter() + l = nil + l.GetAfter() +} + +func TestListOrgCodeSecurityConfigurationOptions_GetBefore(tt *testing.T) { + tt.Parallel() + l := &ListOrgCodeSecurityConfigurationOptions{} + l.GetBefore() + l = nil + l.GetBefore() +} + +func TestListOrgCodeSecurityConfigurationOptions_GetPerPage(tt *testing.T) { + tt.Parallel() + l := &ListOrgCodeSecurityConfigurationOptions{} + l.GetPerPage() + l = nil + l.GetPerPage() +} + +func TestListOrgCodeSecurityConfigurationOptions_GetTargetType(tt *testing.T) { + tt.Parallel() + l := &ListOrgCodeSecurityConfigurationOptions{} + l.GetTargetType() + l = nil + l.GetTargetType() +} + +func TestListOrgMembershipsOptions_GetState(tt *testing.T) { + tt.Parallel() + l := &ListOrgMembershipsOptions{} + l.GetState() + l = nil + l.GetState() +} + +func TestListOrgRunnerGroupOptions_GetVisibleToRepository(tt *testing.T) { + tt.Parallel() + l := &ListOrgRunnerGroupOptions{} + l.GetVisibleToRepository() + l = nil + l.GetVisibleToRepository() +} + +func TestListOutsideCollaboratorsOptions_GetFilter(tt *testing.T) { + tt.Parallel() + l := &ListOutsideCollaboratorsOptions{} + l.GetFilter() + l = nil + l.GetFilter() +} + +func TestListPackageVersionsOptions_GetState(tt *testing.T) { + tt.Parallel() + l := &ListPackageVersionsOptions{} + l.GetState() + l = nil + l.GetState() +} + +func TestListProjectItemsOptions_GetFields(tt *testing.T) { + tt.Parallel() + zeroValue := []int64{} + l := &ListProjectItemsOptions{Fields: zeroValue} + l.GetFields() + l = &ListProjectItemsOptions{} + l.GetFields() + l = nil + l.GetFields() +} + +func TestListProjectsOptions_GetQuery(tt *testing.T) { + tt.Parallel() + l := &ListProjectsOptions{} + l.GetQuery() + l = nil + l.GetQuery() +} + +func TestListProjectsPaginationOptions_GetAfter(tt *testing.T) { + tt.Parallel() + l := &ListProjectsPaginationOptions{} + l.GetAfter() + l = nil + l.GetAfter() +} + +func TestListProjectsPaginationOptions_GetBefore(tt *testing.T) { + tt.Parallel() + l := &ListProjectsPaginationOptions{} + l.GetBefore() + l = nil + l.GetBefore() +} + +func TestListProjectsPaginationOptions_GetPerPage(tt *testing.T) { + tt.Parallel() + l := &ListProjectsPaginationOptions{} + l.GetPerPage() + l = nil + l.GetPerPage() +} + func TestListProvisionedSCIMGroupsEnterpriseOptions_GetCount(tt *testing.T) { tt.Parallel() var zeroValue int @@ -19726,6 +25591,14 @@ func TestListProvisionedSCIMUsersEnterpriseOptions_GetStartIndex(tt *testing.T) l.GetStartIndex() } +func TestListReactionOptions_GetContent(tt *testing.T) { + tt.Parallel() + l := &ListReactionOptions{} + l.GetContent() + l = nil + l.GetContent() +} + func TestListRepoMachineTypesOptions_GetClientIP(tt *testing.T) { tt.Parallel() var zeroValue string @@ -19759,6 +25632,17 @@ func TestListRepoMachineTypesOptions_GetRef(tt *testing.T) { l.GetRef() } +func TestListRepositories_GetRepositories(tt *testing.T) { + tt.Parallel() + zeroValue := []*Repository{} + l := &ListRepositories{Repositories: zeroValue} + l.GetRepositories() + l = &ListRepositories{} + l.GetRepositories() + l = nil + l.GetRepositories() +} + func TestListRepositories_GetTotalCount(tt *testing.T) { tt.Parallel() var zeroValue int @@ -19770,6 +25654,94 @@ func TestListRepositories_GetTotalCount(tt *testing.T) { l.GetTotalCount() } +func TestListRepositoryActivityOptions_GetActivityType(tt *testing.T) { + tt.Parallel() + l := &ListRepositoryActivityOptions{} + l.GetActivityType() + l = nil + l.GetActivityType() +} + +func TestListRepositoryActivityOptions_GetActor(tt *testing.T) { + tt.Parallel() + l := &ListRepositoryActivityOptions{} + l.GetActor() + l = nil + l.GetActor() +} + +func TestListRepositoryActivityOptions_GetAfter(tt *testing.T) { + tt.Parallel() + l := &ListRepositoryActivityOptions{} + l.GetAfter() + l = nil + l.GetAfter() +} + +func TestListRepositoryActivityOptions_GetBefore(tt *testing.T) { + tt.Parallel() + l := &ListRepositoryActivityOptions{} + l.GetBefore() + l = nil + l.GetBefore() +} + +func TestListRepositoryActivityOptions_GetDirection(tt *testing.T) { + tt.Parallel() + l := &ListRepositoryActivityOptions{} + l.GetDirection() + l = nil + l.GetDirection() +} + +func TestListRepositoryActivityOptions_GetPerPage(tt *testing.T) { + tt.Parallel() + l := &ListRepositoryActivityOptions{} + l.GetPerPage() + l = nil + l.GetPerPage() +} + +func TestListRepositoryActivityOptions_GetRef(tt *testing.T) { + tt.Parallel() + l := &ListRepositoryActivityOptions{} + l.GetRef() + l = nil + l.GetRef() +} + +func TestListRepositoryActivityOptions_GetTimePeriod(tt *testing.T) { + tt.Parallel() + l := &ListRepositoryActivityOptions{} + l.GetTimePeriod() + l = nil + l.GetTimePeriod() +} + +func TestListRepositorySecurityAdvisoriesOptions_GetDirection(tt *testing.T) { + tt.Parallel() + l := &ListRepositorySecurityAdvisoriesOptions{} + l.GetDirection() + l = nil + l.GetDirection() +} + +func TestListRepositorySecurityAdvisoriesOptions_GetSort(tt *testing.T) { + tt.Parallel() + l := &ListRepositorySecurityAdvisoriesOptions{} + l.GetSort() + l = nil + l.GetSort() +} + +func TestListRepositorySecurityAdvisoriesOptions_GetState(tt *testing.T) { + tt.Parallel() + l := &ListRepositorySecurityAdvisoriesOptions{} + l.GetState() + l = nil + l.GetState() +} + func TestListRunnersOptions_GetName(tt *testing.T) { tt.Parallel() var zeroValue string @@ -19814,6 +25786,129 @@ func TestListSCIMProvisionedIdentitiesOptions_GetStartIndex(tt *testing.T) { l.GetStartIndex() } +func TestListUserIssuesOptions_GetDirection(tt *testing.T) { + tt.Parallel() + l := &ListUserIssuesOptions{} + l.GetDirection() + l = nil + l.GetDirection() +} + +func TestListUserIssuesOptions_GetFilter(tt *testing.T) { + tt.Parallel() + l := &ListUserIssuesOptions{} + l.GetFilter() + l = nil + l.GetFilter() +} + +func TestListUserIssuesOptions_GetLabels(tt *testing.T) { + tt.Parallel() + zeroValue := []string{} + l := &ListUserIssuesOptions{Labels: zeroValue} + l.GetLabels() + l = &ListUserIssuesOptions{} + l.GetLabels() + l = nil + l.GetLabels() +} + +func TestListUserIssuesOptions_GetSince(tt *testing.T) { + tt.Parallel() + l := &ListUserIssuesOptions{} + l.GetSince() + l = nil + l.GetSince() +} + +func TestListUserIssuesOptions_GetSort(tt *testing.T) { + tt.Parallel() + l := &ListUserIssuesOptions{} + l.GetSort() + l = nil + l.GetSort() +} + +func TestListUserIssuesOptions_GetState(tt *testing.T) { + tt.Parallel() + l := &ListUserIssuesOptions{} + l.GetState() + l = nil + l.GetState() +} + +func TestListWorkflowJobsOptions_GetFilter(tt *testing.T) { + tt.Parallel() + l := &ListWorkflowJobsOptions{} + l.GetFilter() + l = nil + l.GetFilter() +} + +func TestListWorkflowRunsOptions_GetActor(tt *testing.T) { + tt.Parallel() + l := &ListWorkflowRunsOptions{} + l.GetActor() + l = nil + l.GetActor() +} + +func TestListWorkflowRunsOptions_GetBranch(tt *testing.T) { + tt.Parallel() + l := &ListWorkflowRunsOptions{} + l.GetBranch() + l = nil + l.GetBranch() +} + +func TestListWorkflowRunsOptions_GetCheckSuiteID(tt *testing.T) { + tt.Parallel() + l := &ListWorkflowRunsOptions{} + l.GetCheckSuiteID() + l = nil + l.GetCheckSuiteID() +} + +func TestListWorkflowRunsOptions_GetCreated(tt *testing.T) { + tt.Parallel() + l := &ListWorkflowRunsOptions{} + l.GetCreated() + l = nil + l.GetCreated() +} + +func TestListWorkflowRunsOptions_GetEvent(tt *testing.T) { + tt.Parallel() + l := &ListWorkflowRunsOptions{} + l.GetEvent() + l = nil + l.GetEvent() +} + +func TestListWorkflowRunsOptions_GetExcludePullRequests(tt *testing.T) { + tt.Parallel() + l := &ListWorkflowRunsOptions{} + l.GetExcludePullRequests() + l = nil + l.GetExcludePullRequests() +} + +func TestListWorkflowRunsOptions_GetHeadSHA(tt *testing.T) { + tt.Parallel() + l := &ListWorkflowRunsOptions{} + l.GetHeadSHA() + l = nil + l.GetHeadSHA() +} + +func TestListWorkflowRunsOptions_GetStatus(tt *testing.T) { + tt.Parallel() + l := &ListWorkflowRunsOptions{} + l.GetStatus() + l = nil + l.GetStatus() +} + func TestLocation_GetEndColumn(tt *testing.T) { tt.Parallel() var zeroValue int @@ -19880,6 +25975,14 @@ func TestLockBranch_GetEnabled(tt *testing.T) { l.GetEnabled() } +func TestLockIssueOptions_GetLockReason(tt *testing.T) { + tt.Parallel() + l := &LockIssueOptions{} + l.GetLockReason() + l = nil + l.GetLockReason() +} + func TestMaintenanceOperationStatus_GetHostname(tt *testing.T) { tt.Parallel() var zeroValue string @@ -19913,6 +26016,25 @@ func TestMaintenanceOperationStatus_GetUUID(tt *testing.T) { m.GetUUID() } +func TestMaintenanceOptions_GetEnabled(tt *testing.T) { + tt.Parallel() + m := &MaintenanceOptions{} + m.GetEnabled() + m = nil + m.GetEnabled() +} + +func TestMaintenanceOptions_GetIPExceptionList(tt *testing.T) { + tt.Parallel() + zeroValue := []string{} + m := &MaintenanceOptions{IPExceptionList: zeroValue} + m.GetIPExceptionList() + m = &MaintenanceOptions{} + m.GetIPExceptionList() + m = nil + m.GetIPExceptionList() +} + func TestMaintenanceOptions_GetMaintenanceModeMessage(tt *testing.T) { tt.Parallel() var zeroValue string @@ -19957,6 +26079,17 @@ func TestMaintenanceStatus_GetCanUnsetMaintenance(tt *testing.T) { m.GetCanUnsetMaintenance() } +func TestMaintenanceStatus_GetConnectionServices(tt *testing.T) { + tt.Parallel() + zeroValue := []*ConnectionServiceItem{} + m := &MaintenanceStatus{ConnectionServices: zeroValue} + m.GetConnectionServices() + m = &MaintenanceStatus{} + m.GetConnectionServices() + m = nil + m.GetConnectionServices() +} + func TestMaintenanceStatus_GetHostname(tt *testing.T) { tt.Parallel() var zeroValue string @@ -19968,6 +26101,17 @@ func TestMaintenanceStatus_GetHostname(tt *testing.T) { m.GetHostname() } +func TestMaintenanceStatus_GetIPExceptionList(tt *testing.T) { + tt.Parallel() + zeroValue := []string{} + m := &MaintenanceStatus{IPExceptionList: zeroValue} + m.GetIPExceptionList() + m = &MaintenanceStatus{} + m.GetIPExceptionList() + m = nil + m.GetIPExceptionList() +} + func TestMaintenanceStatus_GetMaintenanceModeMessage(tt *testing.T) { tt.Parallel() var zeroValue string @@ -20012,6 +26156,22 @@ func TestMaintenanceStatus_GetUUID(tt *testing.T) { m.GetUUID() } +func TestMarkdownOptions_GetContext(tt *testing.T) { + tt.Parallel() + m := &MarkdownOptions{} + m.GetContext() + m = nil + m.GetContext() +} + +func TestMarkdownOptions_GetMode(tt *testing.T) { + tt.Parallel() + m := &MarkdownOptions{} + m.GetMode() + m = nil + m.GetMode() +} + func TestMarketplacePendingChange_GetEffectiveDate(tt *testing.T) { tt.Parallel() var zeroValue Timestamp @@ -20488,6 +26648,17 @@ func TestMarketplacePurchaseEvent_GetSender(tt *testing.T) { m.GetSender() } +func TestMatch_GetIndices(tt *testing.T) { + tt.Parallel() + zeroValue := []int{} + m := &Match{Indices: zeroValue} + m.GetIndices() + m = &Match{} + m.GetIndices() + m = nil + m.GetIndices() +} + func TestMatch_GetText(tt *testing.T) { tt.Parallel() var zeroValue string @@ -20499,6 +26670,38 @@ func TestMatch_GetText(tt *testing.T) { m.GetText() } +func TestMaxFilePathLengthBranchRule_GetParameters(tt *testing.T) { + tt.Parallel() + m := &MaxFilePathLengthBranchRule{} + m.GetParameters() + m = nil + m.GetParameters() +} + +func TestMaxFilePathLengthRuleParameters_GetMaxFilePathLength(tt *testing.T) { + tt.Parallel() + m := &MaxFilePathLengthRuleParameters{} + m.GetMaxFilePathLength() + m = nil + m.GetMaxFilePathLength() +} + +func TestMaxFileSizeBranchRule_GetParameters(tt *testing.T) { + tt.Parallel() + m := &MaxFileSizeBranchRule{} + m.GetParameters() + m = nil + m.GetParameters() +} + +func TestMaxFileSizeRuleParameters_GetMaxFileSize(tt *testing.T) { + tt.Parallel() + m := &MaxFileSizeRuleParameters{} + m.GetMaxFileSize() + m = nil + m.GetMaxFileSize() +} + func TestMemberChanges_GetPermission(tt *testing.T) { tt.Parallel() m := &MemberChanges{} @@ -20854,6 +27057,70 @@ func TestMergeGroupEvent_GetSender(tt *testing.T) { m.GetSender() } +func TestMergeQueueBranchRule_GetParameters(tt *testing.T) { + tt.Parallel() + m := &MergeQueueBranchRule{} + m.GetParameters() + m = nil + m.GetParameters() +} + +func TestMergeQueueRuleParameters_GetCheckResponseTimeoutMinutes(tt *testing.T) { + tt.Parallel() + m := &MergeQueueRuleParameters{} + m.GetCheckResponseTimeoutMinutes() + m = nil + m.GetCheckResponseTimeoutMinutes() +} + +func TestMergeQueueRuleParameters_GetGroupingStrategy(tt *testing.T) { + tt.Parallel() + m := &MergeQueueRuleParameters{} + m.GetGroupingStrategy() + m = nil + m.GetGroupingStrategy() +} + +func TestMergeQueueRuleParameters_GetMaxEntriesToBuild(tt *testing.T) { + tt.Parallel() + m := &MergeQueueRuleParameters{} + m.GetMaxEntriesToBuild() + m = nil + m.GetMaxEntriesToBuild() +} + +func TestMergeQueueRuleParameters_GetMaxEntriesToMerge(tt *testing.T) { + tt.Parallel() + m := &MergeQueueRuleParameters{} + m.GetMaxEntriesToMerge() + m = nil + m.GetMaxEntriesToMerge() +} + +func TestMergeQueueRuleParameters_GetMergeMethod(tt *testing.T) { + tt.Parallel() + m := &MergeQueueRuleParameters{} + m.GetMergeMethod() + m = nil + m.GetMergeMethod() +} + +func TestMergeQueueRuleParameters_GetMinEntriesToMerge(tt *testing.T) { + tt.Parallel() + m := &MergeQueueRuleParameters{} + m.GetMinEntriesToMerge() + m = nil + m.GetMinEntriesToMerge() +} + +func TestMergeQueueRuleParameters_GetMinEntriesToMergeWaitMinutes(tt *testing.T) { + tt.Parallel() + m := &MergeQueueRuleParameters{} + m.GetMinEntriesToMergeWaitMinutes() + m = nil + m.GetMinEntriesToMergeWaitMinutes() +} + func TestMessage_GetText(tt *testing.T) { tt.Parallel() var zeroValue string @@ -21048,6 +27315,17 @@ func TestMigration_GetLockRepositories(tt *testing.T) { m.GetLockRepositories() } +func TestMigration_GetRepositories(tt *testing.T) { + tt.Parallel() + zeroValue := []*Repository{} + m := &Migration{Repositories: zeroValue} + m.GetRepositories() + m = &Migration{} + m.GetRepositories() + m = nil + m.GetRepositories() +} + func TestMigration_GetState(tt *testing.T) { tt.Parallel() var zeroValue string @@ -21081,6 +27359,41 @@ func TestMigration_GetURL(tt *testing.T) { m.GetURL() } +func TestMigrationOptions_GetExclude(tt *testing.T) { + tt.Parallel() + zeroValue := []string{} + m := &MigrationOptions{Exclude: zeroValue} + m.GetExclude() + m = &MigrationOptions{} + m.GetExclude() + m = nil + m.GetExclude() +} + +func TestMigrationOptions_GetExcludeAttachments(tt *testing.T) { + tt.Parallel() + m := &MigrationOptions{} + m.GetExcludeAttachments() + m = nil + m.GetExcludeAttachments() +} + +func TestMigrationOptions_GetExcludeReleases(tt *testing.T) { + tt.Parallel() + m := &MigrationOptions{} + m.GetExcludeReleases() + m = nil + m.GetExcludeReleases() +} + +func TestMigrationOptions_GetLockRepositories(tt *testing.T) { + tt.Parallel() + m := &MigrationOptions{} + m.GetLockRepositories() + m = nil + m.GetLockRepositories() +} + func TestMilestone_GetClosedAt(tt *testing.T) { tt.Parallel() var zeroValue Timestamp @@ -21313,6 +27626,30 @@ func TestMilestoneEvent_GetSender(tt *testing.T) { m.GetSender() } +func TestMilestoneListOptions_GetDirection(tt *testing.T) { + tt.Parallel() + m := &MilestoneListOptions{} + m.GetDirection() + m = nil + m.GetDirection() +} + +func TestMilestoneListOptions_GetSort(tt *testing.T) { + tt.Parallel() + m := &MilestoneListOptions{} + m.GetSort() + m = nil + m.GetSort() +} + +func TestMilestoneListOptions_GetState(tt *testing.T) { + tt.Parallel() + m := &MilestoneListOptions{} + m.GetState() + m = nil + m.GetState() +} + func TestMilestoneStats_GetClosedMilestones(tt *testing.T) { tt.Parallel() var zeroValue int @@ -21368,6 +27705,17 @@ func TestMostRecentInstance_GetCategory(tt *testing.T) { m.GetCategory() } +func TestMostRecentInstance_GetClassifications(tt *testing.T) { + tt.Parallel() + zeroValue := []string{} + m := &MostRecentInstance{Classifications: zeroValue} + m.GetClassifications() + m = &MostRecentInstance{} + m.GetClassifications() + m = nil + m.GetClassifications() +} + func TestMostRecentInstance_GetCommitSHA(tt *testing.T) { tt.Parallel() var zeroValue string @@ -21480,6 +27828,17 @@ func TestNetworkConfiguration_GetName(tt *testing.T) { n.GetName() } +func TestNetworkConfiguration_GetNetworkSettingsIDs(tt *testing.T) { + tt.Parallel() + zeroValue := []string{} + n := &NetworkConfiguration{NetworkSettingsIDs: zeroValue} + n.GetNetworkSettingsIDs() + n = &NetworkConfiguration{} + n.GetNetworkSettingsIDs() + n = nil + n.GetNetworkSettingsIDs() +} + func TestNetworkConfigurationRequest_GetComputeService(tt *testing.T) { tt.Parallel() n := &NetworkConfigurationRequest{} @@ -21499,6 +27858,28 @@ func TestNetworkConfigurationRequest_GetName(tt *testing.T) { n.GetName() } +func TestNetworkConfigurationRequest_GetNetworkSettingsIDs(tt *testing.T) { + tt.Parallel() + zeroValue := []string{} + n := &NetworkConfigurationRequest{NetworkSettingsIDs: zeroValue} + n.GetNetworkSettingsIDs() + n = &NetworkConfigurationRequest{} + n.GetNetworkSettingsIDs() + n = nil + n.GetNetworkSettingsIDs() +} + +func TestNetworkConfigurations_GetNetworkConfigurations(tt *testing.T) { + tt.Parallel() + zeroValue := []*NetworkConfiguration{} + n := &NetworkConfigurations{NetworkConfigurations: zeroValue} + n.GetNetworkConfigurations() + n = &NetworkConfigurations{} + n.GetNetworkConfigurations() + n = nil + n.GetNetworkConfigurations() +} + func TestNetworkConfigurations_GetTotalCount(tt *testing.T) { tt.Parallel() var zeroValue int64 @@ -21675,6 +28056,25 @@ func TestNewTeam_GetLDAPDN(tt *testing.T) { n.GetLDAPDN() } +func TestNewTeam_GetMaintainers(tt *testing.T) { + tt.Parallel() + zeroValue := []string{} + n := &NewTeam{Maintainers: zeroValue} + n.GetMaintainers() + n = &NewTeam{} + n.GetMaintainers() + n = nil + n.GetMaintainers() +} + +func TestNewTeam_GetName(tt *testing.T) { + tt.Parallel() + n := &NewTeam{} + n.GetName() + n = nil + n.GetName() +} + func TestNewTeam_GetNotificationSetting(tt *testing.T) { tt.Parallel() var zeroValue string @@ -21719,6 +28119,28 @@ func TestNewTeam_GetPrivacy(tt *testing.T) { n.GetPrivacy() } +func TestNewTeam_GetRepoNames(tt *testing.T) { + tt.Parallel() + zeroValue := []string{} + n := &NewTeam{RepoNames: zeroValue} + n.GetRepoNames() + n = &NewTeam{} + n.GetRepoNames() + n = nil + n.GetRepoNames() +} + +func TestNodeDetails_GetClusterRoles(tt *testing.T) { + tt.Parallel() + zeroValue := []string{} + n := &NodeDetails{ClusterRoles: zeroValue} + n.GetClusterRoles() + n = &NodeDetails{} + n.GetClusterRoles() + n = nil + n.GetClusterRoles() +} + func TestNodeDetails_GetHostname(tt *testing.T) { tt.Parallel() var zeroValue string @@ -21741,6 +28163,17 @@ func TestNodeDetails_GetUUID(tt *testing.T) { n.GetUUID() } +func TestNodeMetadataStatus_GetNodes(tt *testing.T) { + tt.Parallel() + zeroValue := []*NodeDetails{} + n := &NodeMetadataStatus{Nodes: zeroValue} + n.GetNodes() + n = &NodeMetadataStatus{} + n.GetNodes() + n = nil + n.GetNodes() +} + func TestNodeMetadataStatus_GetTopology(tt *testing.T) { tt.Parallel() var zeroValue string @@ -21875,6 +28308,38 @@ func TestNotification_GetURL(tt *testing.T) { n.GetURL() } +func TestNotificationListOptions_GetAll(tt *testing.T) { + tt.Parallel() + n := &NotificationListOptions{} + n.GetAll() + n = nil + n.GetAll() +} + +func TestNotificationListOptions_GetBefore(tt *testing.T) { + tt.Parallel() + n := &NotificationListOptions{} + n.GetBefore() + n = nil + n.GetBefore() +} + +func TestNotificationListOptions_GetParticipating(tt *testing.T) { + tt.Parallel() + n := &NotificationListOptions{} + n.GetParticipating() + n = nil + n.GetParticipating() +} + +func TestNotificationListOptions_GetSince(tt *testing.T) { + tt.Parallel() + n := &NotificationListOptions{} + n.GetSince() + n = nil + n.GetSince() +} + func TestNotificationSubject_GetLatestCommentURL(tt *testing.T) { tt.Parallel() var zeroValue string @@ -21952,6 +28417,17 @@ func TestOAuthAPP_GetURL(tt *testing.T) { o.GetURL() } +func TestOIDCSubjectClaimCustomTemplate_GetIncludeClaimKeys(tt *testing.T) { + tt.Parallel() + zeroValue := []string{} + o := &OIDCSubjectClaimCustomTemplate{IncludeClaimKeys: zeroValue} + o.GetIncludeClaimKeys() + o = &OIDCSubjectClaimCustomTemplate{} + o.GetIncludeClaimKeys() + o = nil + o.GetIncludeClaimKeys() +} + func TestOIDCSubjectClaimCustomTemplate_GetUseDefault(tt *testing.T) { tt.Parallel() var zeroValue bool @@ -22675,6 +29151,28 @@ func TestOrganization_GetWebCommitSignoffRequired(tt *testing.T) { o.GetWebCommitSignoffRequired() } +func TestOrganizationCustomPropertyValues_GetProperties(tt *testing.T) { + tt.Parallel() + zeroValue := []*CustomPropertyValue{} + o := &OrganizationCustomPropertyValues{Properties: zeroValue} + o.GetProperties() + o = &OrganizationCustomPropertyValues{} + o.GetProperties() + o = nil + o.GetProperties() +} + +func TestOrganizationCustomRepoRoles_GetCustomRepoRoles(tt *testing.T) { + tt.Parallel() + zeroValue := []*CustomRepoRoles{} + o := &OrganizationCustomRepoRoles{CustomRepoRoles: zeroValue} + o.GetCustomRepoRoles() + o = &OrganizationCustomRepoRoles{} + o.GetCustomRepoRoles() + o = nil + o.GetCustomRepoRoles() +} + func TestOrganizationCustomRepoRoles_GetTotalCount(tt *testing.T) { tt.Parallel() var zeroValue int @@ -22686,6 +29184,17 @@ func TestOrganizationCustomRepoRoles_GetTotalCount(tt *testing.T) { o.GetTotalCount() } +func TestOrganizationCustomRoles_GetCustomRepoRoles(tt *testing.T) { + tt.Parallel() + zeroValue := []*CustomOrgRole{} + o := &OrganizationCustomRoles{CustomRepoRoles: zeroValue} + o.GetCustomRepoRoles() + o = &OrganizationCustomRoles{} + o.GetCustomRepoRoles() + o = nil + o.GetCustomRepoRoles() +} + func TestOrganizationCustomRoles_GetTotalCount(tt *testing.T) { tt.Parallel() var zeroValue int @@ -22748,6 +29257,33 @@ func TestOrganizationEvent_GetSender(tt *testing.T) { o.GetSender() } +func TestOrganizationFineGrainedPermission_GetDescription(tt *testing.T) { + tt.Parallel() + o := &OrganizationFineGrainedPermission{} + o.GetDescription() + o = nil + o.GetDescription() +} + +func TestOrganizationFineGrainedPermission_GetName(tt *testing.T) { + tt.Parallel() + o := &OrganizationFineGrainedPermission{} + o.GetName() + o = nil + o.GetName() +} + +func TestOrganizationInstallations_GetInstallations(tt *testing.T) { + tt.Parallel() + zeroValue := []*Installation{} + o := &OrganizationInstallations{Installations: zeroValue} + o.GetInstallations() + o = &OrganizationInstallations{} + o.GetInstallations() + o = nil + o.GetInstallations() +} + func TestOrganizationInstallations_GetTotalCount(tt *testing.T) { tt.Parallel() var zeroValue int @@ -22759,6 +29295,22 @@ func TestOrganizationInstallations_GetTotalCount(tt *testing.T) { o.GetTotalCount() } +func TestOrganizationsListOptions_GetPerPage(tt *testing.T) { + tt.Parallel() + o := &OrganizationsListOptions{} + o.GetPerPage() + o = nil + o.GetPerPage() +} + +func TestOrganizationsListOptions_GetSince(tt *testing.T) { + tt.Parallel() + o := &OrganizationsListOptions{} + o.GetSince() + o = nil + o.GetSince() +} + func TestOrgBlockEvent_GetAction(tt *testing.T) { tt.Parallel() var zeroValue string @@ -23026,6 +29578,17 @@ func TestPackage_GetVisibility(tt *testing.T) { p.GetVisibility() } +func TestPackageContainerMetadata_GetTags(tt *testing.T) { + tt.Parallel() + zeroValue := []string{} + p := &PackageContainerMetadata{Tags: zeroValue} + p.GetTags() + p = &PackageContainerMetadata{} + p.GetTags() + p = nil + p.GetTags() +} + func TestPackageEvent_GetAction(tt *testing.T) { tt.Parallel() var zeroValue string @@ -23129,6 +29692,30 @@ func TestPackageEventContainerMetadataTag_GetName(tt *testing.T) { p.GetName() } +func TestPackageExternalRef_GetReferenceCategory(tt *testing.T) { + tt.Parallel() + p := &PackageExternalRef{} + p.GetReferenceCategory() + p = nil + p.GetReferenceCategory() +} + +func TestPackageExternalRef_GetReferenceLocator(tt *testing.T) { + tt.Parallel() + p := &PackageExternalRef{} + p.GetReferenceLocator() + p = nil + p.GetReferenceLocator() +} + +func TestPackageExternalRef_GetReferenceType(tt *testing.T) { + tt.Parallel() + p := &PackageExternalRef{} + p.GetReferenceType() + p = nil + p.GetReferenceType() +} + func TestPackageFile_GetAuthor(tt *testing.T) { tt.Parallel() p := &PackageFile{} @@ -23354,6 +29941,28 @@ func TestPackageNPMMetadata_GetCommitOID(tt *testing.T) { p.GetCommitOID() } +func TestPackageNPMMetadata_GetContributors(tt *testing.T) { + tt.Parallel() + zeroValue := []any{} + p := &PackageNPMMetadata{Contributors: zeroValue} + p.GetContributors() + p = &PackageNPMMetadata{} + p.GetContributors() + p = nil + p.GetContributors() +} + +func TestPackageNPMMetadata_GetCPU(tt *testing.T) { + tt.Parallel() + zeroValue := []string{} + p := &PackageNPMMetadata{CPU: zeroValue} + p.GetCPU() + p = &PackageNPMMetadata{} + p.GetCPU() + p = nil + p.GetCPU() +} + func TestPackageNPMMetadata_GetDeletedByID(tt *testing.T) { tt.Parallel() var zeroValue int64 @@ -23431,6 +30040,17 @@ func TestPackageNPMMetadata_GetEngines(tt *testing.T) { p.GetEngines() } +func TestPackageNPMMetadata_GetFiles(tt *testing.T) { + tt.Parallel() + zeroValue := []string{} + p := &PackageNPMMetadata{Files: zeroValue} + p.GetFiles() + p = &PackageNPMMetadata{} + p.GetFiles() + p = nil + p.GetFiles() +} + func TestPackageNPMMetadata_GetGitHead(tt *testing.T) { tt.Parallel() var zeroValue string @@ -23486,6 +30106,17 @@ func TestPackageNPMMetadata_GetInstallationCommand(tt *testing.T) { p.GetInstallationCommand() } +func TestPackageNPMMetadata_GetKeywords(tt *testing.T) { + tt.Parallel() + zeroValue := []string{} + p := &PackageNPMMetadata{Keywords: zeroValue} + p.GetKeywords() + p = &PackageNPMMetadata{} + p.GetKeywords() + p = nil + p.GetKeywords() +} + func TestPackageNPMMetadata_GetLicense(tt *testing.T) { tt.Parallel() var zeroValue string @@ -23508,6 +30139,17 @@ func TestPackageNPMMetadata_GetMain(tt *testing.T) { p.GetMain() } +func TestPackageNPMMetadata_GetMaintainers(tt *testing.T) { + tt.Parallel() + zeroValue := []any{} + p := &PackageNPMMetadata{Maintainers: zeroValue} + p.GetMaintainers() + p = &PackageNPMMetadata{} + p.GetMaintainers() + p = nil + p.GetMaintainers() +} + func TestPackageNPMMetadata_GetMan(tt *testing.T) { tt.Parallel() zeroValue := map[string]any{} @@ -23574,6 +30216,17 @@ func TestPackageNPMMetadata_GetOptionalDependencies(tt *testing.T) { p.GetOptionalDependencies() } +func TestPackageNPMMetadata_GetOS(tt *testing.T) { + tt.Parallel() + zeroValue := []string{} + p := &PackageNPMMetadata{OS: zeroValue} + p.GetOS() + p = &PackageNPMMetadata{} + p.GetOS() + p = nil + p.GetOS() +} + func TestPackageNPMMetadata_GetPeerDependencies(tt *testing.T) { tt.Parallel() zeroValue := map[string]string{} @@ -23651,6 +30304,14 @@ func TestPackageNPMMetadata_GetVersion(tt *testing.T) { p.GetVersion() } +func TestPackageNugetMetadata_GetID(tt *testing.T) { + tt.Parallel() + p := &PackageNugetMetadata{} + p.GetID() + p = nil + p.GetID() +} + func TestPackageNugetMetadata_GetName(tt *testing.T) { tt.Parallel() var zeroValue string @@ -23662,6 +30323,14 @@ func TestPackageNugetMetadata_GetName(tt *testing.T) { p.GetName() } +func TestPackageNugetMetadata_GetValue(tt *testing.T) { + tt.Parallel() + p := &PackageNugetMetadata{} + p.GetValue() + p = nil + p.GetValue() +} + func TestPackageRegistry_GetAboutURL(tt *testing.T) { tt.Parallel() var zeroValue string @@ -23835,6 +30504,30 @@ func TestPackageRelease_GetURL(tt *testing.T) { p.GetURL() } +func TestPackagesBilling_GetIncludedGigabytesBandwidth(tt *testing.T) { + tt.Parallel() + p := &PackagesBilling{} + p.GetIncludedGigabytesBandwidth() + p = nil + p.GetIncludedGigabytesBandwidth() +} + +func TestPackagesBilling_GetTotalGigabytesBandwidthUsed(tt *testing.T) { + tt.Parallel() + p := &PackagesBilling{} + p.GetTotalGigabytesBandwidthUsed() + p = nil + p.GetTotalGigabytesBandwidthUsed() +} + +func TestPackagesBilling_GetTotalPaidGigabytesBandwidthUsed(tt *testing.T) { + tt.Parallel() + p := &PackagesBilling{} + p.GetTotalPaidGigabytesBandwidthUsed() + p = nil + p.GetTotalPaidGigabytesBandwidthUsed() +} + func TestPackageVersion_GetAuthor(tt *testing.T) { tt.Parallel() p := &PackageVersion{} @@ -23895,6 +30588,17 @@ func TestPackageVersion_GetDescription(tt *testing.T) { p.GetDescription() } +func TestPackageVersion_GetDockerMetadata(tt *testing.T) { + tt.Parallel() + zeroValue := []any{} + p := &PackageVersion{DockerMetadata: zeroValue} + p.GetDockerMetadata() + p = &PackageVersion{} + p.GetDockerMetadata() + p = nil + p.GetDockerMetadata() +} + func TestPackageVersion_GetDraft(tt *testing.T) { tt.Parallel() var zeroValue bool @@ -23980,6 +30684,28 @@ func TestPackageVersion_GetNPMMetadata(tt *testing.T) { p.GetNPMMetadata() } +func TestPackageVersion_GetNugetMetadata(tt *testing.T) { + tt.Parallel() + zeroValue := []*PackageNugetMetadata{} + p := &PackageVersion{NugetMetadata: zeroValue} + p.GetNugetMetadata() + p = &PackageVersion{} + p.GetNugetMetadata() + p = nil + p.GetNugetMetadata() +} + +func TestPackageVersion_GetPackageFiles(tt *testing.T) { + tt.Parallel() + zeroValue := []*PackageFile{} + p := &PackageVersion{PackageFiles: zeroValue} + p.GetPackageFiles() + p = &PackageVersion{} + p.GetPackageFiles() + p = nil + p.GetPackageFiles() +} + func TestPackageVersion_GetPackageHTMLURL(tt *testing.T) { tt.Parallel() var zeroValue string @@ -24862,6 +31588,17 @@ func TestPagesHTTPSCertificate_GetDescription(tt *testing.T) { p.GetDescription() } +func TestPagesHTTPSCertificate_GetDomains(tt *testing.T) { + tt.Parallel() + zeroValue := []string{} + p := &PagesHTTPSCertificate{Domains: zeroValue} + p.GetDomains() + p = &PagesHTTPSCertificate{} + p.GetDomains() + p = nil + p.GetDomains() +} + func TestPagesHTTPSCertificate_GetExpiresAt(tt *testing.T) { tt.Parallel() var zeroValue string @@ -25010,6 +31747,14 @@ func TestPagesUpdateWithoutCNAME_GetSource(tt *testing.T) { p.GetSource() } +func TestPatternBranchRule_GetParameters(tt *testing.T) { + tt.Parallel() + p := &PatternBranchRule{} + p.GetParameters() + p = nil + p.GetParameters() +} + func TestPatternRuleParameters_GetName(tt *testing.T) { tt.Parallel() var zeroValue string @@ -25032,6 +31777,22 @@ func TestPatternRuleParameters_GetNegate(tt *testing.T) { p.GetNegate() } +func TestPatternRuleParameters_GetOperator(tt *testing.T) { + tt.Parallel() + p := &PatternRuleParameters{} + p.GetOperator() + p = nil + p.GetOperator() +} + +func TestPatternRuleParameters_GetPattern(tt *testing.T) { + tt.Parallel() + p := &PatternRuleParameters{} + p.GetPattern() + p = nil + p.GetPattern() +} + func TestPendingDeployment_GetCurrentUserCanApprove(tt *testing.T) { tt.Parallel() var zeroValue bool @@ -25051,6 +31812,17 @@ func TestPendingDeployment_GetEnvironment(tt *testing.T) { p.GetEnvironment() } +func TestPendingDeployment_GetReviewers(tt *testing.T) { + tt.Parallel() + zeroValue := []*RequiredReviewer{} + p := &PendingDeployment{Reviewers: zeroValue} + p.GetReviewers() + p = &PendingDeployment{} + p.GetReviewers() + p = nil + p.GetReviewers() +} + func TestPendingDeployment_GetWaitTimer(tt *testing.T) { tt.Parallel() var zeroValue int64 @@ -25128,6 +31900,33 @@ func TestPendingDeploymentEnvironment_GetURL(tt *testing.T) { p.GetURL() } +func TestPendingDeploymentsRequest_GetComment(tt *testing.T) { + tt.Parallel() + p := &PendingDeploymentsRequest{} + p.GetComment() + p = nil + p.GetComment() +} + +func TestPendingDeploymentsRequest_GetEnvironmentIDs(tt *testing.T) { + tt.Parallel() + zeroValue := []int64{} + p := &PendingDeploymentsRequest{EnvironmentIDs: zeroValue} + p.GetEnvironmentIDs() + p = &PendingDeploymentsRequest{} + p.GetEnvironmentIDs() + p = nil + p.GetEnvironmentIDs() +} + +func TestPendingDeploymentsRequest_GetState(tt *testing.T) { + tt.Parallel() + p := &PendingDeploymentsRequest{} + p.GetState() + p = nil + p.GetState() +} + func TestPersonalAccessToken_GetAccessGrantedAt(tt *testing.T) { tt.Parallel() var zeroValue Timestamp @@ -25338,6 +32137,17 @@ func TestPersonalAccessTokenRequest_GetPermissionsUpgraded(tt *testing.T) { p.GetPermissionsUpgraded() } +func TestPersonalAccessTokenRequest_GetRepositories(tt *testing.T) { + tt.Parallel() + zeroValue := []*Repository{} + p := &PersonalAccessTokenRequest{Repositories: zeroValue} + p.GetRepositories() + p = &PersonalAccessTokenRequest{} + p.GetRepositories() + p = nil + p.GetRepositories() +} + func TestPersonalAccessTokenRequest_GetRepositoryCount(tt *testing.T) { tt.Parallel() var zeroValue int64 @@ -25564,6 +32374,105 @@ func TestPlan_GetSpace(tt *testing.T) { p.GetSpace() } +func TestPreferenceList_GetAutoTriggerChecks(tt *testing.T) { + tt.Parallel() + zeroValue := []*AutoTriggerCheck{} + p := &PreferenceList{AutoTriggerChecks: zeroValue} + p.GetAutoTriggerChecks() + p = &PreferenceList{} + p.GetAutoTriggerChecks() + p = nil + p.GetAutoTriggerChecks() +} + +func TestPremiumRequestUsageItem_GetDiscountAmount(tt *testing.T) { + tt.Parallel() + p := &PremiumRequestUsageItem{} + p.GetDiscountAmount() + p = nil + p.GetDiscountAmount() +} + +func TestPremiumRequestUsageItem_GetDiscountQuantity(tt *testing.T) { + tt.Parallel() + p := &PremiumRequestUsageItem{} + p.GetDiscountQuantity() + p = nil + p.GetDiscountQuantity() +} + +func TestPremiumRequestUsageItem_GetGrossAmount(tt *testing.T) { + tt.Parallel() + p := &PremiumRequestUsageItem{} + p.GetGrossAmount() + p = nil + p.GetGrossAmount() +} + +func TestPremiumRequestUsageItem_GetGrossQuantity(tt *testing.T) { + tt.Parallel() + p := &PremiumRequestUsageItem{} + p.GetGrossQuantity() + p = nil + p.GetGrossQuantity() +} + +func TestPremiumRequestUsageItem_GetModel(tt *testing.T) { + tt.Parallel() + p := &PremiumRequestUsageItem{} + p.GetModel() + p = nil + p.GetModel() +} + +func TestPremiumRequestUsageItem_GetNetAmount(tt *testing.T) { + tt.Parallel() + p := &PremiumRequestUsageItem{} + p.GetNetAmount() + p = nil + p.GetNetAmount() +} + +func TestPremiumRequestUsageItem_GetNetQuantity(tt *testing.T) { + tt.Parallel() + p := &PremiumRequestUsageItem{} + p.GetNetQuantity() + p = nil + p.GetNetQuantity() +} + +func TestPremiumRequestUsageItem_GetPricePerUnit(tt *testing.T) { + tt.Parallel() + p := &PremiumRequestUsageItem{} + p.GetPricePerUnit() + p = nil + p.GetPricePerUnit() +} + +func TestPremiumRequestUsageItem_GetProduct(tt *testing.T) { + tt.Parallel() + p := &PremiumRequestUsageItem{} + p.GetProduct() + p = nil + p.GetProduct() +} + +func TestPremiumRequestUsageItem_GetSKU(tt *testing.T) { + tt.Parallel() + p := &PremiumRequestUsageItem{} + p.GetSKU() + p = nil + p.GetSKU() +} + +func TestPremiumRequestUsageItem_GetUnitType(tt *testing.T) { + tt.Parallel() + p := &PremiumRequestUsageItem{} + p.GetUnitType() + p = nil + p.GetUnitType() +} + func TestPremiumRequestUsageReport_GetModel(tt *testing.T) { tt.Parallel() var zeroValue string @@ -25597,6 +32506,25 @@ func TestPremiumRequestUsageReport_GetProduct(tt *testing.T) { p.GetProduct() } +func TestPremiumRequestUsageReport_GetTimePeriod(tt *testing.T) { + tt.Parallel() + p := &PremiumRequestUsageReport{} + p.GetTimePeriod() + p = nil + p.GetTimePeriod() +} + +func TestPremiumRequestUsageReport_GetUsageItems(tt *testing.T) { + tt.Parallel() + zeroValue := []*PremiumRequestUsageItem{} + p := &PremiumRequestUsageReport{UsageItems: zeroValue} + p.GetUsageItems() + p = &PremiumRequestUsageReport{} + p.GetUsageItems() + p = nil + p.GetUsageItems() +} + func TestPremiumRequestUsageReport_GetUser(tt *testing.T) { tt.Parallel() var zeroValue string @@ -25696,6 +32624,14 @@ func TestPremiumRequestUsageTimePeriod_GetMonth(tt *testing.T) { p.GetMonth() } +func TestPremiumRequestUsageTimePeriod_GetYear(tt *testing.T) { + tt.Parallel() + p := &PremiumRequestUsageTimePeriod{} + p.GetYear() + p = nil + p.GetYear() +} + func TestPreReceiveHook_GetConfigURL(tt *testing.T) { tt.Parallel() var zeroValue string @@ -25740,6 +32676,17 @@ func TestPreReceiveHook_GetName(tt *testing.T) { p.GetName() } +func TestPrivateRegistries_GetConfigurations(tt *testing.T) { + tt.Parallel() + zeroValue := []*PrivateRegistry{} + p := &PrivateRegistries{Configurations: zeroValue} + p.GetConfigurations() + p = &PrivateRegistries{} + p.GetConfigurations() + p = nil + p.GetConfigurations() +} + func TestPrivateRegistries_GetTotalCount(tt *testing.T) { tt.Parallel() var zeroValue int @@ -26408,6 +33355,17 @@ func TestProjectV2Field_GetNodeID(tt *testing.T) { p.GetNodeID() } +func TestProjectV2Field_GetOptions(tt *testing.T) { + tt.Parallel() + zeroValue := []*ProjectV2FieldOption{} + p := &ProjectV2Field{Options: zeroValue} + p.GetOptions() + p = &ProjectV2Field{} + p.GetOptions() + p = nil + p.GetOptions() +} + func TestProjectV2Field_GetProjectURL(tt *testing.T) { tt.Parallel() var zeroValue string @@ -26441,6 +33399,17 @@ func TestProjectV2FieldConfiguration_GetDuration(tt *testing.T) { p.GetDuration() } +func TestProjectV2FieldConfiguration_GetIterations(tt *testing.T) { + tt.Parallel() + zeroValue := []*ProjectV2FieldIteration{} + p := &ProjectV2FieldConfiguration{Iterations: zeroValue} + p.GetIterations() + p = &ProjectV2FieldConfiguration{} + p.GetIterations() + p = nil + p.GetIterations() +} + func TestProjectV2FieldConfiguration_GetStartDay(tt *testing.T) { tt.Parallel() var zeroValue int @@ -26588,6 +33557,17 @@ func TestProjectV2Item_GetCreator(tt *testing.T) { p.GetCreator() } +func TestProjectV2Item_GetFields(tt *testing.T) { + tt.Parallel() + zeroValue := []*ProjectV2ItemFieldValue{} + p := &ProjectV2Item{Fields: zeroValue} + p.GetFields() + p = &ProjectV2Item{} + p.GetFields() + p = nil + p.GetFields() +} + func TestProjectV2Item_GetID(tt *testing.T) { tt.Parallel() var zeroValue int64 @@ -26778,6 +33758,14 @@ func TestProjectV2ItemFieldValue_GetName(tt *testing.T) { p.GetName() } +func TestProjectV2ItemFieldValue_GetValue(tt *testing.T) { + tt.Parallel() + p := &ProjectV2ItemFieldValue{} + p.GetValue() + p = nil + p.GetValue() +} + func TestProjectV2StatusUpdate_GetBody(tt *testing.T) { tt.Parallel() var zeroValue string @@ -27186,6 +34174,14 @@ func TestProtectionRequest_GetBlockCreations(tt *testing.T) { p.GetBlockCreations() } +func TestProtectionRequest_GetEnforceAdmins(tt *testing.T) { + tt.Parallel() + p := &ProtectionRequest{} + p.GetEnforceAdmins() + p = nil + p.GetEnforceAdmins() +} + func TestProtectionRequest_GetLockBranch(tt *testing.T) { tt.Parallel() var zeroValue bool @@ -27276,6 +34272,17 @@ func TestProtectionRule_GetPreventSelfReview(tt *testing.T) { p.GetPreventSelfReview() } +func TestProtectionRule_GetReviewers(tt *testing.T) { + tt.Parallel() + zeroValue := []*RequiredReviewer{} + p := &ProtectionRule{Reviewers: zeroValue} + p.GetReviewers() + p = &ProtectionRule{} + p.GetReviewers() + p = nil + p.GetReviewers() +} + func TestProtectionRule_GetType(tt *testing.T) { tt.Parallel() var zeroValue string @@ -27330,6 +34337,22 @@ func TestPublicEvent_GetSender(tt *testing.T) { p.GetSender() } +func TestPublicIPUsage_GetCurrentUsage(tt *testing.T) { + tt.Parallel() + p := &PublicIPUsage{} + p.GetCurrentUsage() + p = nil + p.GetCurrentUsage() +} + +func TestPublicIPUsage_GetMaximum(tt *testing.T) { + tt.Parallel() + p := &PublicIPUsage{} + p.GetMaximum() + p = nil + p.GetMaximum() +} + func TestPublicKey_GetKey(tt *testing.T) { tt.Parallel() var zeroValue string @@ -27404,6 +34427,17 @@ func TestPullRequest_GetAssignee(tt *testing.T) { p.GetAssignee() } +func TestPullRequest_GetAssignees(tt *testing.T) { + tt.Parallel() + zeroValue := []*User{} + p := &PullRequest{Assignees: zeroValue} + p.GetAssignees() + p = &PullRequest{} + p.GetAssignees() + p = nil + p.GetAssignees() +} + func TestPullRequest_GetAuthorAssociation(tt *testing.T) { tt.Parallel() var zeroValue string @@ -27593,6 +34627,17 @@ func TestPullRequest_GetIssueURL(tt *testing.T) { p.GetIssueURL() } +func TestPullRequest_GetLabels(tt *testing.T) { + tt.Parallel() + zeroValue := []*Label{} + p := &PullRequest{Labels: zeroValue} + p.GetLabels() + p = &PullRequest{} + p.GetLabels() + p = nil + p.GetLabels() +} + func TestPullRequest_GetLinks(tt *testing.T) { tt.Parallel() p := &PullRequest{} @@ -27738,6 +34783,28 @@ func TestPullRequest_GetRebaseable(tt *testing.T) { p.GetRebaseable() } +func TestPullRequest_GetRequestedReviewers(tt *testing.T) { + tt.Parallel() + zeroValue := []*User{} + p := &PullRequest{RequestedReviewers: zeroValue} + p.GetRequestedReviewers() + p = &PullRequest{} + p.GetRequestedReviewers() + p = nil + p.GetRequestedReviewers() +} + +func TestPullRequest_GetRequestedTeams(tt *testing.T) { + tt.Parallel() + zeroValue := []*Team{} + p := &PullRequest{RequestedTeams: zeroValue} + p.GetRequestedTeams() + p = &PullRequest{} + p.GetRequestedTeams() + p = nil + p.GetRequestedTeams() +} + func TestPullRequest_GetReviewComments(tt *testing.T) { tt.Parallel() var zeroValue int @@ -27924,6 +34991,14 @@ func TestPullRequestBranch_GetUser(tt *testing.T) { p.GetUser() } +func TestPullRequestBranchRule_GetParameters(tt *testing.T) { + tt.Parallel() + p := &PullRequestBranchRule{} + p.GetParameters() + p = nil + p.GetParameters() +} + func TestPullRequestBranchUpdateOptions_GetExpectedHeadSHA(tt *testing.T) { tt.Parallel() var zeroValue string @@ -28435,6 +35510,70 @@ func TestPullRequestLinks_GetURL(tt *testing.T) { p.GetURL() } +func TestPullRequestListCommentsOptions_GetDirection(tt *testing.T) { + tt.Parallel() + p := &PullRequestListCommentsOptions{} + p.GetDirection() + p = nil + p.GetDirection() +} + +func TestPullRequestListCommentsOptions_GetSince(tt *testing.T) { + tt.Parallel() + p := &PullRequestListCommentsOptions{} + p.GetSince() + p = nil + p.GetSince() +} + +func TestPullRequestListCommentsOptions_GetSort(tt *testing.T) { + tt.Parallel() + p := &PullRequestListCommentsOptions{} + p.GetSort() + p = nil + p.GetSort() +} + +func TestPullRequestListOptions_GetBase(tt *testing.T) { + tt.Parallel() + p := &PullRequestListOptions{} + p.GetBase() + p = nil + p.GetBase() +} + +func TestPullRequestListOptions_GetDirection(tt *testing.T) { + tt.Parallel() + p := &PullRequestListOptions{} + p.GetDirection() + p = nil + p.GetDirection() +} + +func TestPullRequestListOptions_GetHead(tt *testing.T) { + tt.Parallel() + p := &PullRequestListOptions{} + p.GetHead() + p = nil + p.GetHead() +} + +func TestPullRequestListOptions_GetSort(tt *testing.T) { + tt.Parallel() + p := &PullRequestListOptions{} + p.GetSort() + p = nil + p.GetSort() +} + +func TestPullRequestListOptions_GetState(tt *testing.T) { + tt.Parallel() + p := &PullRequestListOptions{} + p.GetState() + p = nil + p.GetState() +} + func TestPullRequestMergeResult_GetMerged(tt *testing.T) { tt.Parallel() var zeroValue bool @@ -28468,6 +35607,38 @@ func TestPullRequestMergeResult_GetSHA(tt *testing.T) { p.GetSHA() } +func TestPullRequestOptions_GetCommitTitle(tt *testing.T) { + tt.Parallel() + p := &PullRequestOptions{} + p.GetCommitTitle() + p = nil + p.GetCommitTitle() +} + +func TestPullRequestOptions_GetDontDefaultIfBlank(tt *testing.T) { + tt.Parallel() + p := &PullRequestOptions{} + p.GetDontDefaultIfBlank() + p = nil + p.GetDontDefaultIfBlank() +} + +func TestPullRequestOptions_GetMergeMethod(tt *testing.T) { + tt.Parallel() + p := &PullRequestOptions{} + p.GetMergeMethod() + p = nil + p.GetMergeMethod() +} + +func TestPullRequestOptions_GetSHA(tt *testing.T) { + tt.Parallel() + p := &PullRequestOptions{} + p.GetSHA() + p = nil + p.GetSHA() +} + func TestPullRequestReview_GetAuthorAssociation(tt *testing.T) { tt.Parallel() var zeroValue string @@ -28723,6 +35894,17 @@ func TestPullRequestReviewRequest_GetBody(tt *testing.T) { p.GetBody() } +func TestPullRequestReviewRequest_GetComments(tt *testing.T) { + tt.Parallel() + zeroValue := []*DraftReviewComment{} + p := &PullRequestReviewRequest{Comments: zeroValue} + p.GetComments() + p = &PullRequestReviewRequest{} + p.GetComments() + p = nil + p.GetComments() +} + func TestPullRequestReviewRequest_GetCommitID(tt *testing.T) { tt.Parallel() var zeroValue string @@ -28772,6 +35954,38 @@ func TestPullRequestReviewsEnforcement_GetDismissalRestrictions(tt *testing.T) { p.GetDismissalRestrictions() } +func TestPullRequestReviewsEnforcement_GetDismissStaleReviews(tt *testing.T) { + tt.Parallel() + p := &PullRequestReviewsEnforcement{} + p.GetDismissStaleReviews() + p = nil + p.GetDismissStaleReviews() +} + +func TestPullRequestReviewsEnforcement_GetRequireCodeOwnerReviews(tt *testing.T) { + tt.Parallel() + p := &PullRequestReviewsEnforcement{} + p.GetRequireCodeOwnerReviews() + p = nil + p.GetRequireCodeOwnerReviews() +} + +func TestPullRequestReviewsEnforcement_GetRequiredApprovingReviewCount(tt *testing.T) { + tt.Parallel() + p := &PullRequestReviewsEnforcement{} + p.GetRequiredApprovingReviewCount() + p = nil + p.GetRequiredApprovingReviewCount() +} + +func TestPullRequestReviewsEnforcement_GetRequireLastPushApproval(tt *testing.T) { + tt.Parallel() + p := &PullRequestReviewsEnforcement{} + p.GetRequireLastPushApproval() + p = nil + p.GetRequireLastPushApproval() +} + func TestPullRequestReviewsEnforcementLevelChanges_GetFrom(tt *testing.T) { tt.Parallel() var zeroValue string @@ -28799,6 +36013,30 @@ func TestPullRequestReviewsEnforcementRequest_GetDismissalRestrictionsRequest(tt p.GetDismissalRestrictionsRequest() } +func TestPullRequestReviewsEnforcementRequest_GetDismissStaleReviews(tt *testing.T) { + tt.Parallel() + p := &PullRequestReviewsEnforcementRequest{} + p.GetDismissStaleReviews() + p = nil + p.GetDismissStaleReviews() +} + +func TestPullRequestReviewsEnforcementRequest_GetRequireCodeOwnerReviews(tt *testing.T) { + tt.Parallel() + p := &PullRequestReviewsEnforcementRequest{} + p.GetRequireCodeOwnerReviews() + p = nil + p.GetRequireCodeOwnerReviews() +} + +func TestPullRequestReviewsEnforcementRequest_GetRequiredApprovingReviewCount(tt *testing.T) { + tt.Parallel() + p := &PullRequestReviewsEnforcementRequest{} + p.GetRequiredApprovingReviewCount() + p = nil + p.GetRequiredApprovingReviewCount() +} + func TestPullRequestReviewsEnforcementRequest_GetRequireLastPushApproval(tt *testing.T) { tt.Parallel() var zeroValue bool @@ -28848,6 +36086,14 @@ func TestPullRequestReviewsEnforcementUpdate_GetRequireCodeOwnerReviews(tt *test p.GetRequireCodeOwnerReviews() } +func TestPullRequestReviewsEnforcementUpdate_GetRequiredApprovingReviewCount(tt *testing.T) { + tt.Parallel() + p := &PullRequestReviewsEnforcementUpdate{} + p.GetRequiredApprovingReviewCount() + p = nil + p.GetRequiredApprovingReviewCount() +} + func TestPullRequestReviewsEnforcementUpdate_GetRequireLastPushApproval(tt *testing.T) { tt.Parallel() var zeroValue bool @@ -28918,6 +36164,68 @@ func TestPullRequestReviewThreadEvent_GetThread(tt *testing.T) { p.GetThread() } +func TestPullRequestRuleParameters_GetAllowedMergeMethods(tt *testing.T) { + tt.Parallel() + zeroValue := []PullRequestMergeMethod{} + p := &PullRequestRuleParameters{AllowedMergeMethods: zeroValue} + p.GetAllowedMergeMethods() + p = &PullRequestRuleParameters{} + p.GetAllowedMergeMethods() + p = nil + p.GetAllowedMergeMethods() +} + +func TestPullRequestRuleParameters_GetDismissStaleReviewsOnPush(tt *testing.T) { + tt.Parallel() + p := &PullRequestRuleParameters{} + p.GetDismissStaleReviewsOnPush() + p = nil + p.GetDismissStaleReviewsOnPush() +} + +func TestPullRequestRuleParameters_GetRequireCodeOwnerReview(tt *testing.T) { + tt.Parallel() + p := &PullRequestRuleParameters{} + p.GetRequireCodeOwnerReview() + p = nil + p.GetRequireCodeOwnerReview() +} + +func TestPullRequestRuleParameters_GetRequiredApprovingReviewCount(tt *testing.T) { + tt.Parallel() + p := &PullRequestRuleParameters{} + p.GetRequiredApprovingReviewCount() + p = nil + p.GetRequiredApprovingReviewCount() +} + +func TestPullRequestRuleParameters_GetRequiredReviewers(tt *testing.T) { + tt.Parallel() + zeroValue := []*RulesetRequiredReviewer{} + p := &PullRequestRuleParameters{RequiredReviewers: zeroValue} + p.GetRequiredReviewers() + p = &PullRequestRuleParameters{} + p.GetRequiredReviewers() + p = nil + p.GetRequiredReviewers() +} + +func TestPullRequestRuleParameters_GetRequiredReviewThreadResolution(tt *testing.T) { + tt.Parallel() + p := &PullRequestRuleParameters{} + p.GetRequiredReviewThreadResolution() + p = nil + p.GetRequiredReviewThreadResolution() +} + +func TestPullRequestRuleParameters_GetRequireLastPushApproval(tt *testing.T) { + tt.Parallel() + p := &PullRequestRuleParameters{} + p.GetRequireLastPushApproval() + p = nil + p.GetRequireLastPushApproval() +} + func TestPullRequestTargetEvent_GetAction(tt *testing.T) { tt.Parallel() var zeroValue string @@ -29050,6 +36358,17 @@ func TestPullRequestTargetEvent_GetSender(tt *testing.T) { p.GetSender() } +func TestPullRequestThread_GetComments(tt *testing.T) { + tt.Parallel() + zeroValue := []*PullRequestComment{} + p := &PullRequestThread{Comments: zeroValue} + p.GetComments() + p = &PullRequestThread{} + p.GetComments() + p = nil + p.GetComments() +} + func TestPullRequestThread_GetID(tt *testing.T) { tt.Parallel() var zeroValue int64 @@ -29744,6 +37063,17 @@ func TestPushEventRepository_GetSVNURL(tt *testing.T) { p.GetSVNURL() } +func TestPushEventRepository_GetTopics(tt *testing.T) { + tt.Parallel() + zeroValue := []string{} + p := &PushEventRepository{Topics: zeroValue} + p.GetTopics() + p = &PushEventRepository{} + p.GetTopics() + p = nil + p.GetTopics() +} + func TestPushEventRepository_GetUpdatedAt(tt *testing.T) { tt.Parallel() var zeroValue Timestamp @@ -29788,6 +37118,94 @@ func TestPushProtectionBypass_GetExpireAt(tt *testing.T) { p.GetExpireAt() } +func TestPushProtectionBypass_GetReason(tt *testing.T) { + tt.Parallel() + p := &PushProtectionBypass{} + p.GetReason() + p = nil + p.GetReason() +} + +func TestPushProtectionBypass_GetTokenType(tt *testing.T) { + tt.Parallel() + p := &PushProtectionBypass{} + p.GetTokenType() + p = nil + p.GetTokenType() +} + +func TestPushProtectionBypassRequest_GetPlaceholderID(tt *testing.T) { + tt.Parallel() + p := &PushProtectionBypassRequest{} + p.GetPlaceholderID() + p = nil + p.GetPlaceholderID() +} + +func TestPushProtectionBypassRequest_GetReason(tt *testing.T) { + tt.Parallel() + p := &PushProtectionBypassRequest{} + p.GetReason() + p = nil + p.GetReason() +} + +func TestRate_GetLimit(tt *testing.T) { + tt.Parallel() + r := &Rate{} + r.GetLimit() + r = nil + r.GetLimit() +} + +func TestRate_GetRemaining(tt *testing.T) { + tt.Parallel() + r := &Rate{} + r.GetRemaining() + r = nil + r.GetRemaining() +} + +func TestRate_GetReset(tt *testing.T) { + tt.Parallel() + r := &Rate{} + r.GetReset() + r = nil + r.GetReset() +} + +func TestRate_GetResource(tt *testing.T) { + tt.Parallel() + r := &Rate{} + r.GetResource() + r = nil + r.GetResource() +} + +func TestRate_GetUsed(tt *testing.T) { + tt.Parallel() + r := &Rate{} + r.GetUsed() + r = nil + r.GetUsed() +} + +func TestRateLimitError_GetMessage(tt *testing.T) { + tt.Parallel() + r := &RateLimitError{} + r.GetMessage() + r = nil + r.GetMessage() +} + +func TestRateLimitError_GetRate(tt *testing.T) { + tt.Parallel() + r := &RateLimitError{} + r.GetRate() + r = nil + r.GetRate() +} + func TestRateLimits_GetActionsRunnerRegistration(tt *testing.T) { tt.Parallel() r := &RateLimits{} @@ -29884,6 +37302,14 @@ func TestRateLimits_GetSourceImport(tt *testing.T) { r.GetSourceImport() } +func TestRawOptions_GetType(tt *testing.T) { + tt.Parallel() + r := &RawOptions{} + r.GetType() + r = nil + r.GetType() +} + func TestReaction_GetContent(tt *testing.T) { tt.Parallel() var zeroValue string @@ -30079,6 +37505,14 @@ func TestReassignedResource_GetResourceType(tt *testing.T) { r.GetResourceType() } +func TestRedirectionError_GetStatusCode(tt *testing.T) { + tt.Parallel() + r := &RedirectionError{} + r.GetStatusCode() + r = nil + r.GetStatusCode() +} + func TestReference_GetNodeID(tt *testing.T) { tt.Parallel() var zeroValue string @@ -30609,6 +38043,41 @@ func TestRepoAdvisoryCreditDetailed_GetUser(tt *testing.T) { r.GetUser() } +func TestRepoCustomPropertyValue_GetProperties(tt *testing.T) { + tt.Parallel() + zeroValue := []*CustomPropertyValue{} + r := &RepoCustomPropertyValue{Properties: zeroValue} + r.GetProperties() + r = &RepoCustomPropertyValue{} + r.GetProperties() + r = nil + r.GetProperties() +} + +func TestRepoCustomPropertyValue_GetRepositoryFullName(tt *testing.T) { + tt.Parallel() + r := &RepoCustomPropertyValue{} + r.GetRepositoryFullName() + r = nil + r.GetRepositoryFullName() +} + +func TestRepoCustomPropertyValue_GetRepositoryID(tt *testing.T) { + tt.Parallel() + r := &RepoCustomPropertyValue{} + r.GetRepositoryID() + r = nil + r.GetRepositoryID() +} + +func TestRepoCustomPropertyValue_GetRepositoryName(tt *testing.T) { + tt.Parallel() + r := &RepoCustomPropertyValue{} + r.GetRepositoryName() + r = nil + r.GetRepositoryName() +} + func TestRepoDependencies_GetDownloadLocation(tt *testing.T) { tt.Parallel() var zeroValue string @@ -30620,6 +38089,17 @@ func TestRepoDependencies_GetDownloadLocation(tt *testing.T) { r.GetDownloadLocation() } +func TestRepoDependencies_GetExternalRefs(tt *testing.T) { + tt.Parallel() + zeroValue := []*PackageExternalRef{} + r := &RepoDependencies{ExternalRefs: zeroValue} + r.GetExternalRefs() + r = &RepoDependencies{} + r.GetExternalRefs() + r = nil + r.GetExternalRefs() +} + func TestRepoDependencies_GetFilesAnalyzed(tt *testing.T) { tt.Parallel() var zeroValue bool @@ -30686,6 +38166,22 @@ func TestRepoDependencies_GetVersionInfo(tt *testing.T) { r.GetVersionInfo() } +func TestRepoFineGrainedPermission_GetDescription(tt *testing.T) { + tt.Parallel() + r := &RepoFineGrainedPermission{} + r.GetDescription() + r = nil + r.GetDescription() +} + +func TestRepoFineGrainedPermission_GetName(tt *testing.T) { + tt.Parallel() + r := &RepoFineGrainedPermission{} + r.GetName() + r = nil + r.GetName() +} + func TestRepoImmutableReleasesStatus_GetEnabled(tt *testing.T) { tt.Parallel() var zeroValue bool @@ -30774,6 +38270,17 @@ func TestRepositoriesSearchResult_GetIncompleteResults(tt *testing.T) { r.GetIncompleteResults() } +func TestRepositoriesSearchResult_GetRepositories(tt *testing.T) { + tt.Parallel() + zeroValue := []*Repository{} + r := &RepositoriesSearchResult{Repositories: zeroValue} + r.GetRepositories() + r = &RepositoriesSearchResult{} + r.GetRepositories() + r = nil + r.GetRepositories() +} + func TestRepositoriesSearchResult_GetTotal(tt *testing.T) { tt.Parallel() var zeroValue int @@ -31814,6 +39321,28 @@ func TestRepository_GetTemplateRepository(tt *testing.T) { r.GetTemplateRepository() } +func TestRepository_GetTextMatches(tt *testing.T) { + tt.Parallel() + zeroValue := []*TextMatch{} + r := &Repository{TextMatches: zeroValue} + r.GetTextMatches() + r = &Repository{} + r.GetTextMatches() + r = nil + r.GetTextMatches() +} + +func TestRepository_GetTopics(tt *testing.T) { + tt.Parallel() + zeroValue := []string{} + r := &Repository{Topics: zeroValue} + r.GetTopics() + r = &Repository{} + r.GetTopics() + r = nil + r.GetTopics() +} + func TestRepository_GetTreesURL(tt *testing.T) { tt.Parallel() var zeroValue string @@ -31913,6 +39442,41 @@ func TestRepositoryActionsAccessLevel_GetAccessLevel(tt *testing.T) { r.GetAccessLevel() } +func TestRepositoryActiveCommitters_GetAdvancedSecurityCommitters(tt *testing.T) { + tt.Parallel() + r := &RepositoryActiveCommitters{} + r.GetAdvancedSecurityCommitters() + r = nil + r.GetAdvancedSecurityCommitters() +} + +func TestRepositoryActiveCommitters_GetAdvancedSecurityCommittersBreakdown(tt *testing.T) { + tt.Parallel() + zeroValue := []*AdvancedSecurityCommittersBreakdown{} + r := &RepositoryActiveCommitters{AdvancedSecurityCommittersBreakdown: zeroValue} + r.GetAdvancedSecurityCommittersBreakdown() + r = &RepositoryActiveCommitters{} + r.GetAdvancedSecurityCommittersBreakdown() + r = nil + r.GetAdvancedSecurityCommittersBreakdown() +} + +func TestRepositoryActiveCommitters_GetName(tt *testing.T) { + tt.Parallel() + r := &RepositoryActiveCommitters{} + r.GetName() + r = nil + r.GetName() +} + +func TestRepositoryActivity_GetActivityType(tt *testing.T) { + tt.Parallel() + r := &RepositoryActivity{} + r.GetActivityType() + r = nil + r.GetActivityType() +} + func TestRepositoryActivity_GetActor(tt *testing.T) { tt.Parallel() r := &RepositoryActivity{} @@ -31921,6 +39485,46 @@ func TestRepositoryActivity_GetActor(tt *testing.T) { r.GetActor() } +func TestRepositoryActivity_GetAfter(tt *testing.T) { + tt.Parallel() + r := &RepositoryActivity{} + r.GetAfter() + r = nil + r.GetAfter() +} + +func TestRepositoryActivity_GetBefore(tt *testing.T) { + tt.Parallel() + r := &RepositoryActivity{} + r.GetBefore() + r = nil + r.GetBefore() +} + +func TestRepositoryActivity_GetID(tt *testing.T) { + tt.Parallel() + r := &RepositoryActivity{} + r.GetID() + r = nil + r.GetID() +} + +func TestRepositoryActivity_GetNodeID(tt *testing.T) { + tt.Parallel() + r := &RepositoryActivity{} + r.GetNodeID() + r = nil + r.GetNodeID() +} + +func TestRepositoryActivity_GetRef(tt *testing.T) { + tt.Parallel() + r := &RepositoryActivity{} + r.GetRef() + r = nil + r.GetRef() +} + func TestRepositoryActivity_GetTimestamp(tt *testing.T) { tt.Parallel() var zeroValue Timestamp @@ -32141,6 +39745,14 @@ func TestRepositoryActor_GetUserViewType(tt *testing.T) { r.GetUserViewType() } +func TestRepositoryAddCollaboratorOptions_GetPermission(tt *testing.T) { + tt.Parallel() + r := &RepositoryAddCollaboratorOptions{} + r.GetPermission() + r = nil + r.GetPermission() +} + func TestRepositoryAttachment_GetRepository(tt *testing.T) { tt.Parallel() r := &RepositoryAttachment{} @@ -32340,6 +39952,17 @@ func TestRepositoryCommit_GetCommitter(tt *testing.T) { r.GetCommitter() } +func TestRepositoryCommit_GetFiles(tt *testing.T) { + tt.Parallel() + zeroValue := []*CommitFile{} + r := &RepositoryCommit{Files: zeroValue} + r.GetFiles() + r = &RepositoryCommit{} + r.GetFiles() + r = nil + r.GetFiles() +} + func TestRepositoryCommit_GetHTMLURL(tt *testing.T) { tt.Parallel() var zeroValue string @@ -32362,6 +39985,17 @@ func TestRepositoryCommit_GetNodeID(tt *testing.T) { r.GetNodeID() } +func TestRepositoryCommit_GetParents(tt *testing.T) { + tt.Parallel() + zeroValue := []*Commit{} + r := &RepositoryCommit{Parents: zeroValue} + r.GetParents() + r = &RepositoryCommit{} + r.GetParents() + r = nil + r.GetParents() +} + func TestRepositoryCommit_GetSHA(tt *testing.T) { tt.Parallel() var zeroValue string @@ -32551,6 +40185,17 @@ func TestRepositoryContentFileOptions_GetCommitter(tt *testing.T) { r.GetCommitter() } +func TestRepositoryContentFileOptions_GetContent(tt *testing.T) { + tt.Parallel() + zeroValue := []byte{} + r := &RepositoryContentFileOptions{Content: zeroValue} + r.GetContent() + r = &RepositoryContentFileOptions{} + r.GetContent() + r = nil + r.GetContent() +} + func TestRepositoryContentFileOptions_GetMessage(tt *testing.T) { tt.Parallel() var zeroValue string @@ -32573,6 +40218,14 @@ func TestRepositoryContentFileOptions_GetSHA(tt *testing.T) { r.GetSHA() } +func TestRepositoryContentGetOptions_GetRef(tt *testing.T) { + tt.Parallel() + r := &RepositoryContentGetOptions{} + r.GetRef() + r = nil + r.GetRef() +} + func TestRepositoryContentResponse_GetContent(tt *testing.T) { tt.Parallel() r := &RepositoryContentResponse{} @@ -32581,6 +40234,30 @@ func TestRepositoryContentResponse_GetContent(tt *testing.T) { r.GetContent() } +func TestRepositoryCreateForkOptions_GetDefaultBranchOnly(tt *testing.T) { + tt.Parallel() + r := &RepositoryCreateForkOptions{} + r.GetDefaultBranchOnly() + r = nil + r.GetDefaultBranchOnly() +} + +func TestRepositoryCreateForkOptions_GetName(tt *testing.T) { + tt.Parallel() + r := &RepositoryCreateForkOptions{} + r.GetName() + r = nil + r.GetName() +} + +func TestRepositoryCreateForkOptions_GetOrganization(tt *testing.T) { + tt.Parallel() + r := &RepositoryCreateForkOptions{} + r.GetOrganization() + r = nil + r.GetOrganization() +} + func TestRepositoryDispatchEvent_GetAction(tt *testing.T) { tt.Parallel() var zeroValue string @@ -32603,6 +40280,14 @@ func TestRepositoryDispatchEvent_GetBranch(tt *testing.T) { r.GetBranch() } +func TestRepositoryDispatchEvent_GetClientPayload(tt *testing.T) { + tt.Parallel() + r := &RepositoryDispatchEvent{} + r.GetClientPayload() + r = nil + r.GetClientPayload() +} + func TestRepositoryDispatchEvent_GetInstallation(tt *testing.T) { tt.Parallel() r := &RepositoryDispatchEvent{} @@ -32940,6 +40625,150 @@ func TestRepositoryLicense_GetURL(tt *testing.T) { r.GetURL() } +func TestRepositoryListAllOptions_GetSince(tt *testing.T) { + tt.Parallel() + r := &RepositoryListAllOptions{} + r.GetSince() + r = nil + r.GetSince() +} + +func TestRepositoryListByAuthenticatedUserOptions_GetAffiliation(tt *testing.T) { + tt.Parallel() + r := &RepositoryListByAuthenticatedUserOptions{} + r.GetAffiliation() + r = nil + r.GetAffiliation() +} + +func TestRepositoryListByAuthenticatedUserOptions_GetDirection(tt *testing.T) { + tt.Parallel() + r := &RepositoryListByAuthenticatedUserOptions{} + r.GetDirection() + r = nil + r.GetDirection() +} + +func TestRepositoryListByAuthenticatedUserOptions_GetSort(tt *testing.T) { + tt.Parallel() + r := &RepositoryListByAuthenticatedUserOptions{} + r.GetSort() + r = nil + r.GetSort() +} + +func TestRepositoryListByAuthenticatedUserOptions_GetType(tt *testing.T) { + tt.Parallel() + r := &RepositoryListByAuthenticatedUserOptions{} + r.GetType() + r = nil + r.GetType() +} + +func TestRepositoryListByAuthenticatedUserOptions_GetVisibility(tt *testing.T) { + tt.Parallel() + r := &RepositoryListByAuthenticatedUserOptions{} + r.GetVisibility() + r = nil + r.GetVisibility() +} + +func TestRepositoryListByOrgOptions_GetDirection(tt *testing.T) { + tt.Parallel() + r := &RepositoryListByOrgOptions{} + r.GetDirection() + r = nil + r.GetDirection() +} + +func TestRepositoryListByOrgOptions_GetSort(tt *testing.T) { + tt.Parallel() + r := &RepositoryListByOrgOptions{} + r.GetSort() + r = nil + r.GetSort() +} + +func TestRepositoryListByOrgOptions_GetType(tt *testing.T) { + tt.Parallel() + r := &RepositoryListByOrgOptions{} + r.GetType() + r = nil + r.GetType() +} + +func TestRepositoryListByUserOptions_GetDirection(tt *testing.T) { + tt.Parallel() + r := &RepositoryListByUserOptions{} + r.GetDirection() + r = nil + r.GetDirection() +} + +func TestRepositoryListByUserOptions_GetSort(tt *testing.T) { + tt.Parallel() + r := &RepositoryListByUserOptions{} + r.GetSort() + r = nil + r.GetSort() +} + +func TestRepositoryListByUserOptions_GetType(tt *testing.T) { + tt.Parallel() + r := &RepositoryListByUserOptions{} + r.GetType() + r = nil + r.GetType() +} + +func TestRepositoryListForksOptions_GetSort(tt *testing.T) { + tt.Parallel() + r := &RepositoryListForksOptions{} + r.GetSort() + r = nil + r.GetSort() +} + +func TestRepositoryListOptions_GetAffiliation(tt *testing.T) { + tt.Parallel() + r := &RepositoryListOptions{} + r.GetAffiliation() + r = nil + r.GetAffiliation() +} + +func TestRepositoryListOptions_GetDirection(tt *testing.T) { + tt.Parallel() + r := &RepositoryListOptions{} + r.GetDirection() + r = nil + r.GetDirection() +} + +func TestRepositoryListOptions_GetSort(tt *testing.T) { + tt.Parallel() + r := &RepositoryListOptions{} + r.GetSort() + r = nil + r.GetSort() +} + +func TestRepositoryListOptions_GetType(tt *testing.T) { + tt.Parallel() + r := &RepositoryListOptions{} + r.GetType() + r = nil + r.GetType() +} + +func TestRepositoryListOptions_GetVisibility(tt *testing.T) { + tt.Parallel() + r := &RepositoryListOptions{} + r.GetVisibility() + r = nil + r.GetVisibility() +} + func TestRepositoryListRulesetsOptions_GetIncludesParents(tt *testing.T) { tt.Parallel() var zeroValue bool @@ -32984,6 +40813,28 @@ func TestRepositoryMergeRequest_GetHead(tt *testing.T) { r.GetHead() } +func TestRepositoryParticipation_GetAll(tt *testing.T) { + tt.Parallel() + zeroValue := []int{} + r := &RepositoryParticipation{All: zeroValue} + r.GetAll() + r = &RepositoryParticipation{} + r.GetAll() + r = nil + r.GetAll() +} + +func TestRepositoryParticipation_GetOwner(tt *testing.T) { + tt.Parallel() + zeroValue := []int{} + r := &RepositoryParticipation{Owner: zeroValue} + r.GetOwner() + r = &RepositoryParticipation{} + r.GetOwner() + r = nil + r.GetOwner() +} + func TestRepositoryPermissionLevel_GetPermission(tt *testing.T) { tt.Parallel() var zeroValue string @@ -33069,6 +40920,17 @@ func TestRepositoryPermissions_GetTriage(tt *testing.T) { r.GetTriage() } +func TestRepositoryRelease_GetAssets(tt *testing.T) { + tt.Parallel() + zeroValue := []*ReleaseAsset{} + r := &RepositoryRelease{Assets: zeroValue} + r.GetAssets() + r = &RepositoryRelease{} + r.GetAssets() + r = nil + r.GetAssets() +} + func TestRepositoryRelease_GetAssetsURL(tt *testing.T) { tt.Parallel() var zeroValue string @@ -33297,6 +41159,49 @@ func TestRepositoryRelease_GetZipballURL(tt *testing.T) { r.GetZipballURL() } +func TestRepositoryReleaseNotes_GetBody(tt *testing.T) { + tt.Parallel() + r := &RepositoryReleaseNotes{} + r.GetBody() + r = nil + r.GetBody() +} + +func TestRepositoryReleaseNotes_GetName(tt *testing.T) { + tt.Parallel() + r := &RepositoryReleaseNotes{} + r.GetName() + r = nil + r.GetName() +} + +func TestRepositoryRule_GetParameters(tt *testing.T) { + tt.Parallel() + r := &RepositoryRule{} + r.GetParameters() + r = nil + r.GetParameters() +} + +func TestRepositoryRule_GetType(tt *testing.T) { + tt.Parallel() + r := &RepositoryRule{} + r.GetType() + r = nil + r.GetType() +} + +func TestRepositoryRuleset_GetBypassActors(tt *testing.T) { + tt.Parallel() + zeroValue := []*BypassActor{} + r := &RepositoryRuleset{BypassActors: zeroValue} + r.GetBypassActors() + r = &RepositoryRuleset{} + r.GetBypassActors() + r = nil + r.GetBypassActors() +} + func TestRepositoryRuleset_GetConditions(tt *testing.T) { tt.Parallel() r := &RepositoryRuleset{} @@ -33324,6 +41229,14 @@ func TestRepositoryRuleset_GetCurrentUserCanBypass(tt *testing.T) { r.GetCurrentUserCanBypass() } +func TestRepositoryRuleset_GetEnforcement(tt *testing.T) { + tt.Parallel() + r := &RepositoryRuleset{} + r.GetEnforcement() + r = nil + r.GetEnforcement() +} + func TestRepositoryRuleset_GetID(tt *testing.T) { tt.Parallel() var zeroValue int64 @@ -33343,6 +41256,14 @@ func TestRepositoryRuleset_GetLinks(tt *testing.T) { r.GetLinks() } +func TestRepositoryRuleset_GetName(tt *testing.T) { + tt.Parallel() + r := &RepositoryRuleset{} + r.GetName() + r = nil + r.GetName() +} + func TestRepositoryRuleset_GetNodeID(tt *testing.T) { tt.Parallel() var zeroValue string @@ -33362,6 +41283,14 @@ func TestRepositoryRuleset_GetRules(tt *testing.T) { r.GetRules() } +func TestRepositoryRuleset_GetSource(tt *testing.T) { + tt.Parallel() + r := &RepositoryRuleset{} + r.GetSource() + r = nil + r.GetSource() +} + func TestRepositoryRuleset_GetSourceType(tt *testing.T) { tt.Parallel() r := &RepositoryRuleset{} @@ -33389,6 +41318,39 @@ func TestRepositoryRuleset_GetUpdatedAt(tt *testing.T) { r.GetUpdatedAt() } +func TestRepositoryRulesetChangedConditions_GetAdded(tt *testing.T) { + tt.Parallel() + zeroValue := []*RepositoryRulesetConditions{} + r := &RepositoryRulesetChangedConditions{Added: zeroValue} + r.GetAdded() + r = &RepositoryRulesetChangedConditions{} + r.GetAdded() + r = nil + r.GetAdded() +} + +func TestRepositoryRulesetChangedConditions_GetDeleted(tt *testing.T) { + tt.Parallel() + zeroValue := []*RepositoryRulesetConditions{} + r := &RepositoryRulesetChangedConditions{Deleted: zeroValue} + r.GetDeleted() + r = &RepositoryRulesetChangedConditions{} + r.GetDeleted() + r = nil + r.GetDeleted() +} + +func TestRepositoryRulesetChangedConditions_GetUpdated(tt *testing.T) { + tt.Parallel() + zeroValue := []*RepositoryRulesetUpdatedConditions{} + r := &RepositoryRulesetChangedConditions{Updated: zeroValue} + r.GetUpdated() + r = &RepositoryRulesetChangedConditions{} + r.GetUpdated() + r = nil + r.GetUpdated() +} + func TestRepositoryRulesetChangedRule_GetConfiguration(tt *testing.T) { tt.Parallel() r := &RepositoryRulesetChangedRule{} @@ -33413,6 +41375,39 @@ func TestRepositoryRulesetChangedRule_GetRuleType(tt *testing.T) { r.GetRuleType() } +func TestRepositoryRulesetChangedRules_GetAdded(tt *testing.T) { + tt.Parallel() + zeroValue := []*RepositoryRule{} + r := &RepositoryRulesetChangedRules{Added: zeroValue} + r.GetAdded() + r = &RepositoryRulesetChangedRules{} + r.GetAdded() + r = nil + r.GetAdded() +} + +func TestRepositoryRulesetChangedRules_GetDeleted(tt *testing.T) { + tt.Parallel() + zeroValue := []*RepositoryRule{} + r := &RepositoryRulesetChangedRules{Deleted: zeroValue} + r.GetDeleted() + r = &RepositoryRulesetChangedRules{} + r.GetDeleted() + r = nil + r.GetDeleted() +} + +func TestRepositoryRulesetChangedRules_GetUpdated(tt *testing.T) { + tt.Parallel() + zeroValue := []*RepositoryRulesetUpdatedRules{} + r := &RepositoryRulesetChangedRules{Updated: zeroValue} + r.GetUpdated() + r = &RepositoryRulesetChangedRules{} + r.GetUpdated() + r = nil + r.GetUpdated() +} + func TestRepositoryRulesetChanges_GetConditions(tt *testing.T) { tt.Parallel() r := &RepositoryRulesetChanges{} @@ -33456,6 +41451,17 @@ func TestRepositoryRulesetChangeSource_GetFrom(tt *testing.T) { r.GetFrom() } +func TestRepositoryRulesetChangeSources_GetFrom(tt *testing.T) { + tt.Parallel() + zeroValue := []string{} + r := &RepositoryRulesetChangeSources{From: zeroValue} + r.GetFrom() + r = &RepositoryRulesetChangeSources{} + r.GetFrom() + r = nil + r.GetFrom() +} + func TestRepositoryRulesetConditions_GetOrganizationID(tt *testing.T) { tt.Parallel() r := &RepositoryRulesetConditions{} @@ -33606,6 +41612,116 @@ func TestRepositoryRulesetLinks_GetSelf(tt *testing.T) { r.GetSelf() } +func TestRepositoryRulesetOrganizationIDsConditionParameters_GetOrganizationIDs(tt *testing.T) { + tt.Parallel() + zeroValue := []int64{} + r := &RepositoryRulesetOrganizationIDsConditionParameters{OrganizationIDs: zeroValue} + r.GetOrganizationIDs() + r = &RepositoryRulesetOrganizationIDsConditionParameters{} + r.GetOrganizationIDs() + r = nil + r.GetOrganizationIDs() +} + +func TestRepositoryRulesetOrganizationNamesConditionParameters_GetExclude(tt *testing.T) { + tt.Parallel() + zeroValue := []string{} + r := &RepositoryRulesetOrganizationNamesConditionParameters{Exclude: zeroValue} + r.GetExclude() + r = &RepositoryRulesetOrganizationNamesConditionParameters{} + r.GetExclude() + r = nil + r.GetExclude() +} + +func TestRepositoryRulesetOrganizationNamesConditionParameters_GetInclude(tt *testing.T) { + tt.Parallel() + zeroValue := []string{} + r := &RepositoryRulesetOrganizationNamesConditionParameters{Include: zeroValue} + r.GetInclude() + r = &RepositoryRulesetOrganizationNamesConditionParameters{} + r.GetInclude() + r = nil + r.GetInclude() +} + +func TestRepositoryRulesetOrganizationPropertyConditionParameters_GetExclude(tt *testing.T) { + tt.Parallel() + zeroValue := []*RepositoryRulesetRepositoryPropertyTargetParameters{} + r := &RepositoryRulesetOrganizationPropertyConditionParameters{Exclude: zeroValue} + r.GetExclude() + r = &RepositoryRulesetOrganizationPropertyConditionParameters{} + r.GetExclude() + r = nil + r.GetExclude() +} + +func TestRepositoryRulesetOrganizationPropertyConditionParameters_GetInclude(tt *testing.T) { + tt.Parallel() + zeroValue := []*RepositoryRulesetRepositoryPropertyTargetParameters{} + r := &RepositoryRulesetOrganizationPropertyConditionParameters{Include: zeroValue} + r.GetInclude() + r = &RepositoryRulesetOrganizationPropertyConditionParameters{} + r.GetInclude() + r = nil + r.GetInclude() +} + +func TestRepositoryRulesetRefConditionParameters_GetExclude(tt *testing.T) { + tt.Parallel() + zeroValue := []string{} + r := &RepositoryRulesetRefConditionParameters{Exclude: zeroValue} + r.GetExclude() + r = &RepositoryRulesetRefConditionParameters{} + r.GetExclude() + r = nil + r.GetExclude() +} + +func TestRepositoryRulesetRefConditionParameters_GetInclude(tt *testing.T) { + tt.Parallel() + zeroValue := []string{} + r := &RepositoryRulesetRefConditionParameters{Include: zeroValue} + r.GetInclude() + r = &RepositoryRulesetRefConditionParameters{} + r.GetInclude() + r = nil + r.GetInclude() +} + +func TestRepositoryRulesetRepositoryIDsConditionParameters_GetRepositoryIDs(tt *testing.T) { + tt.Parallel() + zeroValue := []int64{} + r := &RepositoryRulesetRepositoryIDsConditionParameters{RepositoryIDs: zeroValue} + r.GetRepositoryIDs() + r = &RepositoryRulesetRepositoryIDsConditionParameters{} + r.GetRepositoryIDs() + r = nil + r.GetRepositoryIDs() +} + +func TestRepositoryRulesetRepositoryNamesConditionParameters_GetExclude(tt *testing.T) { + tt.Parallel() + zeroValue := []string{} + r := &RepositoryRulesetRepositoryNamesConditionParameters{Exclude: zeroValue} + r.GetExclude() + r = &RepositoryRulesetRepositoryNamesConditionParameters{} + r.GetExclude() + r = nil + r.GetExclude() +} + +func TestRepositoryRulesetRepositoryNamesConditionParameters_GetInclude(tt *testing.T) { + tt.Parallel() + zeroValue := []string{} + r := &RepositoryRulesetRepositoryNamesConditionParameters{Include: zeroValue} + r.GetInclude() + r = &RepositoryRulesetRepositoryNamesConditionParameters{} + r.GetInclude() + r = nil + r.GetInclude() +} + func TestRepositoryRulesetRepositoryNamesConditionParameters_GetProtected(tt *testing.T) { tt.Parallel() var zeroValue bool @@ -33617,6 +41733,47 @@ func TestRepositoryRulesetRepositoryNamesConditionParameters_GetProtected(tt *te r.GetProtected() } +func TestRepositoryRulesetRepositoryPropertyConditionParameters_GetExclude(tt *testing.T) { + tt.Parallel() + zeroValue := []*RepositoryRulesetRepositoryPropertyTargetParameters{} + r := &RepositoryRulesetRepositoryPropertyConditionParameters{Exclude: zeroValue} + r.GetExclude() + r = &RepositoryRulesetRepositoryPropertyConditionParameters{} + r.GetExclude() + r = nil + r.GetExclude() +} + +func TestRepositoryRulesetRepositoryPropertyConditionParameters_GetInclude(tt *testing.T) { + tt.Parallel() + zeroValue := []*RepositoryRulesetRepositoryPropertyTargetParameters{} + r := &RepositoryRulesetRepositoryPropertyConditionParameters{Include: zeroValue} + r.GetInclude() + r = &RepositoryRulesetRepositoryPropertyConditionParameters{} + r.GetInclude() + r = nil + r.GetInclude() +} + +func TestRepositoryRulesetRepositoryPropertyTargetParameters_GetName(tt *testing.T) { + tt.Parallel() + r := &RepositoryRulesetRepositoryPropertyTargetParameters{} + r.GetName() + r = nil + r.GetName() +} + +func TestRepositoryRulesetRepositoryPropertyTargetParameters_GetPropertyValues(tt *testing.T) { + tt.Parallel() + zeroValue := []string{} + r := &RepositoryRulesetRepositoryPropertyTargetParameters{PropertyValues: zeroValue} + r.GetPropertyValues() + r = &RepositoryRulesetRepositoryPropertyTargetParameters{} + r.GetPropertyValues() + r = nil + r.GetPropertyValues() +} + func TestRepositoryRulesetRepositoryPropertyTargetParameters_GetSource(tt *testing.T) { tt.Parallel() var zeroValue string @@ -33949,6 +42106,22 @@ func TestRepositoryTag_GetZipballURL(tt *testing.T) { r.GetZipballURL() } +func TestRepositoryVisibilityRuleParameters_GetInternal(tt *testing.T) { + tt.Parallel() + r := &RepositoryVisibilityRuleParameters{} + r.GetInternal() + r = nil + r.GetInternal() +} + +func TestRepositoryVisibilityRuleParameters_GetPrivate(tt *testing.T) { + tt.Parallel() + r := &RepositoryVisibilityRuleParameters{} + r.GetPrivate() + r = nil + r.GetPrivate() +} + func TestRepositoryVulnerabilityAlert_GetAffectedPackageName(tt *testing.T) { tt.Parallel() var zeroValue string @@ -34313,6 +42486,14 @@ func TestRepoStatus_GetURL(tt *testing.T) { r.GetURL() } +func TestRequestedAction_GetIdentifier(tt *testing.T) { + tt.Parallel() + r := &RequestedAction{} + r.GetIdentifier() + r = nil + r.GetIdentifier() +} + func TestRequireCodeOwnerReviewChanges_GetFrom(tt *testing.T) { tt.Parallel() var zeroValue bool @@ -34324,6 +42505,14 @@ func TestRequireCodeOwnerReviewChanges_GetFrom(tt *testing.T) { r.GetFrom() } +func TestRequiredConversationResolution_GetEnabled(tt *testing.T) { + tt.Parallel() + r := &RequiredConversationResolution{} + r.GetEnabled() + r = nil + r.GetEnabled() +} + func TestRequiredConversationResolutionLevelChanges_GetFrom(tt *testing.T) { tt.Parallel() var zeroValue string @@ -34335,6 +42524,14 @@ func TestRequiredConversationResolutionLevelChanges_GetFrom(tt *testing.T) { r.GetFrom() } +func TestRequiredDeploymentsBranchRule_GetParameters(tt *testing.T) { + tt.Parallel() + r := &RequiredDeploymentsBranchRule{} + r.GetParameters() + r = nil + r.GetParameters() +} + func TestRequiredDeploymentsEnforcementLevelChanges_GetFrom(tt *testing.T) { tt.Parallel() var zeroValue string @@ -34346,6 +42543,25 @@ func TestRequiredDeploymentsEnforcementLevelChanges_GetFrom(tt *testing.T) { r.GetFrom() } +func TestRequiredDeploymentsRuleParameters_GetRequiredDeploymentEnvironments(tt *testing.T) { + tt.Parallel() + zeroValue := []string{} + r := &RequiredDeploymentsRuleParameters{RequiredDeploymentEnvironments: zeroValue} + r.GetRequiredDeploymentEnvironments() + r = &RequiredDeploymentsRuleParameters{} + r.GetRequiredDeploymentEnvironments() + r = nil + r.GetRequiredDeploymentEnvironments() +} + +func TestRequiredReviewer_GetReviewer(tt *testing.T) { + tt.Parallel() + r := &RequiredReviewer{} + r.GetReviewer() + r = nil + r.GetReviewer() +} + func TestRequiredReviewer_GetType(tt *testing.T) { tt.Parallel() var zeroValue string @@ -34368,6 +42584,14 @@ func TestRequiredStatusCheck_GetAppID(tt *testing.T) { r.GetAppID() } +func TestRequiredStatusCheck_GetContext(tt *testing.T) { + tt.Parallel() + r := &RequiredStatusCheck{} + r.GetContext() + r = nil + r.GetContext() +} + func TestRequiredStatusChecks_GetChecks(tt *testing.T) { tt.Parallel() var zeroValue []*RequiredStatusCheck @@ -34401,6 +42625,14 @@ func TestRequiredStatusChecks_GetContextsURL(tt *testing.T) { r.GetContextsURL() } +func TestRequiredStatusChecks_GetStrict(tt *testing.T) { + tt.Parallel() + r := &RequiredStatusChecks{} + r.GetStrict() + r = nil + r.GetStrict() +} + func TestRequiredStatusChecks_GetURL(tt *testing.T) { tt.Parallel() var zeroValue string @@ -34412,6 +42644,25 @@ func TestRequiredStatusChecks_GetURL(tt *testing.T) { r.GetURL() } +func TestRequiredStatusChecksBranchRule_GetParameters(tt *testing.T) { + tt.Parallel() + r := &RequiredStatusChecksBranchRule{} + r.GetParameters() + r = nil + r.GetParameters() +} + +func TestRequiredStatusChecksChanges_GetFrom(tt *testing.T) { + tt.Parallel() + zeroValue := []string{} + r := &RequiredStatusChecksChanges{From: zeroValue} + r.GetFrom() + r = &RequiredStatusChecksChanges{} + r.GetFrom() + r = nil + r.GetFrom() +} + func TestRequiredStatusChecksEnforcementLevelChanges_GetFrom(tt *testing.T) { tt.Parallel() var zeroValue string @@ -34423,6 +42674,28 @@ func TestRequiredStatusChecksEnforcementLevelChanges_GetFrom(tt *testing.T) { r.GetFrom() } +func TestRequiredStatusChecksRequest_GetChecks(tt *testing.T) { + tt.Parallel() + zeroValue := []*RequiredStatusCheck{} + r := &RequiredStatusChecksRequest{Checks: zeroValue} + r.GetChecks() + r = &RequiredStatusChecksRequest{} + r.GetChecks() + r = nil + r.GetChecks() +} + +func TestRequiredStatusChecksRequest_GetContexts(tt *testing.T) { + tt.Parallel() + zeroValue := []string{} + r := &RequiredStatusChecksRequest{Contexts: zeroValue} + r.GetContexts() + r = &RequiredStatusChecksRequest{} + r.GetContexts() + r = nil + r.GetContexts() +} + func TestRequiredStatusChecksRequest_GetStrict(tt *testing.T) { tt.Parallel() var zeroValue bool @@ -34445,6 +42718,25 @@ func TestRequiredStatusChecksRuleParameters_GetDoNotEnforceOnCreate(tt *testing. r.GetDoNotEnforceOnCreate() } +func TestRequiredStatusChecksRuleParameters_GetRequiredStatusChecks(tt *testing.T) { + tt.Parallel() + zeroValue := []*RuleStatusCheck{} + r := &RequiredStatusChecksRuleParameters{RequiredStatusChecks: zeroValue} + r.GetRequiredStatusChecks() + r = &RequiredStatusChecksRuleParameters{} + r.GetRequiredStatusChecks() + r = nil + r.GetRequiredStatusChecks() +} + +func TestRequiredStatusChecksRuleParameters_GetStrictRequiredStatusChecksPolicy(tt *testing.T) { + tt.Parallel() + r := &RequiredStatusChecksRuleParameters{} + r.GetStrictRequiredStatusChecksPolicy() + r = nil + r.GetStrictRequiredStatusChecksPolicy() +} + func TestRequireLastPushApprovalChanges_GetFrom(tt *testing.T) { tt.Parallel() var zeroValue bool @@ -34456,6 +42748,140 @@ func TestRequireLastPushApprovalChanges_GetFrom(tt *testing.T) { r.GetFrom() } +func TestRequireLinearHistory_GetEnabled(tt *testing.T) { + tt.Parallel() + r := &RequireLinearHistory{} + r.GetEnabled() + r = nil + r.GetEnabled() +} + +func TestResponse_GetAfter(tt *testing.T) { + tt.Parallel() + r := &Response{} + r.GetAfter() + r = nil + r.GetAfter() +} + +func TestResponse_GetBefore(tt *testing.T) { + tt.Parallel() + r := &Response{} + r.GetBefore() + r = nil + r.GetBefore() +} + +func TestResponse_GetCursor(tt *testing.T) { + tt.Parallel() + r := &Response{} + r.GetCursor() + r = nil + r.GetCursor() +} + +func TestResponse_GetFirstPage(tt *testing.T) { + tt.Parallel() + r := &Response{} + r.GetFirstPage() + r = nil + r.GetFirstPage() +} + +func TestResponse_GetLastPage(tt *testing.T) { + tt.Parallel() + r := &Response{} + r.GetLastPage() + r = nil + r.GetLastPage() +} + +func TestResponse_GetNextPage(tt *testing.T) { + tt.Parallel() + r := &Response{} + r.GetNextPage() + r = nil + r.GetNextPage() +} + +func TestResponse_GetNextPageToken(tt *testing.T) { + tt.Parallel() + r := &Response{} + r.GetNextPageToken() + r = nil + r.GetNextPageToken() +} + +func TestResponse_GetPrevPage(tt *testing.T) { + tt.Parallel() + r := &Response{} + r.GetPrevPage() + r = nil + r.GetPrevPage() +} + +func TestResponse_GetRate(tt *testing.T) { + tt.Parallel() + r := &Response{} + r.GetRate() + r = nil + r.GetRate() +} + +func TestResponse_GetTokenExpiration(tt *testing.T) { + tt.Parallel() + r := &Response{} + r.GetTokenExpiration() + r = nil + r.GetTokenExpiration() +} + +func TestReviewCustomDeploymentProtectionRuleRequest_GetComment(tt *testing.T) { + tt.Parallel() + r := &ReviewCustomDeploymentProtectionRuleRequest{} + r.GetComment() + r = nil + r.GetComment() +} + +func TestReviewCustomDeploymentProtectionRuleRequest_GetEnvironmentName(tt *testing.T) { + tt.Parallel() + r := &ReviewCustomDeploymentProtectionRuleRequest{} + r.GetEnvironmentName() + r = nil + r.GetEnvironmentName() +} + +func TestReviewCustomDeploymentProtectionRuleRequest_GetState(tt *testing.T) { + tt.Parallel() + r := &ReviewCustomDeploymentProtectionRuleRequest{} + r.GetState() + r = nil + r.GetState() +} + +func TestReviewers_GetTeams(tt *testing.T) { + tt.Parallel() + zeroValue := []*Team{} + r := &Reviewers{Teams: zeroValue} + r.GetTeams() + r = &Reviewers{} + r.GetTeams() + r = nil + r.GetTeams() +} + +func TestReviewers_GetUsers(tt *testing.T) { + tt.Parallel() + zeroValue := []*User{} + r := &Reviewers{Users: zeroValue} + r.GetUsers() + r = &Reviewers{} + r.GetUsers() + r = nil + r.GetUsers() +} + func TestReviewersRequest_GetNodeID(tt *testing.T) { tt.Parallel() var zeroValue string @@ -34467,6 +42893,36 @@ func TestReviewersRequest_GetNodeID(tt *testing.T) { r.GetNodeID() } +func TestReviewersRequest_GetReviewers(tt *testing.T) { + tt.Parallel() + zeroValue := []string{} + r := &ReviewersRequest{Reviewers: zeroValue} + r.GetReviewers() + r = &ReviewersRequest{} + r.GetReviewers() + r = nil + r.GetReviewers() +} + +func TestReviewersRequest_GetTeamReviewers(tt *testing.T) { + tt.Parallel() + zeroValue := []string{} + r := &ReviewersRequest{TeamReviewers: zeroValue} + r.GetTeamReviewers() + r = &ReviewersRequest{} + r.GetTeamReviewers() + r = nil + r.GetTeamReviewers() +} + +func TestReviewPersonalAccessTokenRequestOptions_GetAction(tt *testing.T) { + tt.Parallel() + r := &ReviewPersonalAccessTokenRequestOptions{} + r.GetAction() + r = nil + r.GetAction() +} + func TestReviewPersonalAccessTokenRequestOptions_GetReason(tt *testing.T) { tt.Parallel() var zeroValue string @@ -34555,6 +43011,52 @@ func TestRule_GetSeverity(tt *testing.T) { r.GetSeverity() } +func TestRule_GetTags(tt *testing.T) { + tt.Parallel() + zeroValue := []string{} + r := &Rule{Tags: zeroValue} + r.GetTags() + r = &Rule{} + r.GetTags() + r = nil + r.GetTags() +} + +func TestRuleCodeScanningTool_GetAlertsThreshold(tt *testing.T) { + tt.Parallel() + r := &RuleCodeScanningTool{} + r.GetAlertsThreshold() + r = nil + r.GetAlertsThreshold() +} + +func TestRuleCodeScanningTool_GetSecurityAlertsThreshold(tt *testing.T) { + tt.Parallel() + r := &RuleCodeScanningTool{} + r.GetSecurityAlertsThreshold() + r = nil + r.GetSecurityAlertsThreshold() +} + +func TestRuleCodeScanningTool_GetTool(tt *testing.T) { + tt.Parallel() + r := &RuleCodeScanningTool{} + r.GetTool() + r = nil + r.GetTool() +} + +func TestRulesetRequiredReviewer_GetFilePatterns(tt *testing.T) { + tt.Parallel() + zeroValue := []string{} + r := &RulesetRequiredReviewer{FilePatterns: zeroValue} + r.GetFilePatterns() + r = &RulesetRequiredReviewer{} + r.GetFilePatterns() + r = nil + r.GetFilePatterns() +} + func TestRulesetRequiredReviewer_GetMinimumApprovals(tt *testing.T) { tt.Parallel() var zeroValue int @@ -34593,6 +43095,14 @@ func TestRulesetReviewer_GetType(tt *testing.T) { r.GetType() } +func TestRuleStatusCheck_GetContext(tt *testing.T) { + tt.Parallel() + r := &RuleStatusCheck{} + r.GetContext() + r = nil + r.GetContext() +} + func TestRuleStatusCheck_GetIntegrationID(tt *testing.T) { tt.Parallel() var zeroValue int64 @@ -34604,6 +43114,14 @@ func TestRuleStatusCheck_GetIntegrationID(tt *testing.T) { r.GetIntegrationID() } +func TestRuleWorkflow_GetPath(tt *testing.T) { + tt.Parallel() + r := &RuleWorkflow{} + r.GetPath() + r = nil + r.GetPath() +} + func TestRuleWorkflow_GetRef(tt *testing.T) { tt.Parallel() var zeroValue string @@ -34659,6 +43177,17 @@ func TestRunner_GetID(tt *testing.T) { r.GetID() } +func TestRunner_GetLabels(tt *testing.T) { + tt.Parallel() + zeroValue := []*RunnerLabels{} + r := &Runner{Labels: zeroValue} + r.GetLabels() + r = &Runner{} + r.GetLabels() + r = nil + r.GetLabels() +} + func TestRunner_GetName(tt *testing.T) { tt.Parallel() var zeroValue string @@ -34868,6 +43397,17 @@ func TestRunnerGroup_GetSelectedRepositoriesURL(tt *testing.T) { r.GetSelectedRepositoriesURL() } +func TestRunnerGroup_GetSelectedWorkflows(tt *testing.T) { + tt.Parallel() + zeroValue := []string{} + r := &RunnerGroup{SelectedWorkflows: zeroValue} + r.GetSelectedWorkflows() + r = &RunnerGroup{} + r.GetSelectedWorkflows() + r = nil + r.GetSelectedWorkflows() +} + func TestRunnerGroup_GetVisibility(tt *testing.T) { tt.Parallel() var zeroValue string @@ -34890,6 +43430,25 @@ func TestRunnerGroup_GetWorkflowRestrictionsReadOnly(tt *testing.T) { r.GetWorkflowRestrictionsReadOnly() } +func TestRunnerGroups_GetRunnerGroups(tt *testing.T) { + tt.Parallel() + zeroValue := []*RunnerGroup{} + r := &RunnerGroups{RunnerGroups: zeroValue} + r.GetRunnerGroups() + r = &RunnerGroups{} + r.GetRunnerGroups() + r = nil + r.GetRunnerGroups() +} + +func TestRunnerGroups_GetTotalCount(tt *testing.T) { + tt.Parallel() + r := &RunnerGroups{} + r.GetTotalCount() + r = nil + r.GetTotalCount() +} + func TestRunnerLabels_GetID(tt *testing.T) { tt.Parallel() var zeroValue int64 @@ -34923,6 +43482,25 @@ func TestRunnerLabels_GetType(tt *testing.T) { r.GetType() } +func TestRunners_GetRunners(tt *testing.T) { + tt.Parallel() + zeroValue := []*Runner{} + r := &Runners{Runners: zeroValue} + r.GetRunners() + r = &Runners{} + r.GetRunners() + r = nil + r.GetRunners() +} + +func TestRunners_GetTotalCount(tt *testing.T) { + tt.Parallel() + r := &Runners{} + r.GetTotalCount() + r = nil + r.GetTotalCount() +} + func TestSarifAnalysis_GetCheckoutURI(tt *testing.T) { tt.Parallel() var zeroValue string @@ -35060,6 +43638,17 @@ func TestSBOMInfo_GetDataLicense(tt *testing.T) { s.GetDataLicense() } +func TestSBOMInfo_GetDocumentDescribes(tt *testing.T) { + tt.Parallel() + zeroValue := []string{} + s := &SBOMInfo{DocumentDescribes: zeroValue} + s.GetDocumentDescribes() + s = &SBOMInfo{} + s.GetDocumentDescribes() + s = nil + s.GetDocumentDescribes() +} + func TestSBOMInfo_GetDocumentNamespace(tt *testing.T) { tt.Parallel() var zeroValue string @@ -35082,6 +43671,28 @@ func TestSBOMInfo_GetName(tt *testing.T) { s.GetName() } +func TestSBOMInfo_GetPackages(tt *testing.T) { + tt.Parallel() + zeroValue := []*RepoDependencies{} + s := &SBOMInfo{Packages: zeroValue} + s.GetPackages() + s = &SBOMInfo{} + s.GetPackages() + s = nil + s.GetPackages() +} + +func TestSBOMInfo_GetRelationships(tt *testing.T) { + tt.Parallel() + zeroValue := []*SBOMRelationship{} + s := &SBOMInfo{Relationships: zeroValue} + s.GetRelationships() + s = &SBOMInfo{} + s.GetRelationships() + s = nil + s.GetRelationships() +} + func TestSBOMInfo_GetSPDXID(tt *testing.T) { tt.Parallel() var zeroValue string @@ -35104,6 +43715,30 @@ func TestSBOMInfo_GetSPDXVersion(tt *testing.T) { s.GetSPDXVersion() } +func TestSBOMRelationship_GetRelatedSPDXElement(tt *testing.T) { + tt.Parallel() + s := &SBOMRelationship{} + s.GetRelatedSPDXElement() + s = nil + s.GetRelatedSPDXElement() +} + +func TestSBOMRelationship_GetRelationshipType(tt *testing.T) { + tt.Parallel() + s := &SBOMRelationship{} + s.GetRelationshipType() + s = nil + s.GetRelationshipType() +} + +func TestSBOMRelationship_GetSPDXElementID(tt *testing.T) { + tt.Parallel() + s := &SBOMRelationship{} + s.GetSPDXElementID() + s = nil + s.GetSPDXElementID() +} + func TestScanningAnalysis_GetAnalysisKey(tt *testing.T) { tt.Parallel() var zeroValue string @@ -35266,6 +43901,36 @@ func TestScanningAnalysis_GetWarning(tt *testing.T) { s.GetWarning() } +func TestSCIMEnterpriseAttribute_GetOperations(tt *testing.T) { + tt.Parallel() + zeroValue := []*SCIMEnterpriseAttributeOperation{} + s := &SCIMEnterpriseAttribute{Operations: zeroValue} + s.GetOperations() + s = &SCIMEnterpriseAttribute{} + s.GetOperations() + s = nil + s.GetOperations() +} + +func TestSCIMEnterpriseAttribute_GetSchemas(tt *testing.T) { + tt.Parallel() + zeroValue := []string{} + s := &SCIMEnterpriseAttribute{Schemas: zeroValue} + s.GetSchemas() + s = &SCIMEnterpriseAttribute{} + s.GetSchemas() + s = nil + s.GetSchemas() +} + +func TestSCIMEnterpriseAttributeOperation_GetOp(tt *testing.T) { + tt.Parallel() + s := &SCIMEnterpriseAttributeOperation{} + s.GetOp() + s = nil + s.GetOp() +} + func TestSCIMEnterpriseAttributeOperation_GetPath(tt *testing.T) { tt.Parallel() var zeroValue string @@ -35277,6 +43942,14 @@ func TestSCIMEnterpriseAttributeOperation_GetPath(tt *testing.T) { s.GetPath() } +func TestSCIMEnterpriseAttributeOperation_GetValue(tt *testing.T) { + tt.Parallel() + s := &SCIMEnterpriseAttributeOperation{} + s.GetValue() + s = nil + s.GetValue() +} + func TestSCIMEnterpriseDisplayReference_GetDisplay(tt *testing.T) { tt.Parallel() var zeroValue string @@ -35299,6 +43972,14 @@ func TestSCIMEnterpriseDisplayReference_GetRef(tt *testing.T) { s.GetRef() } +func TestSCIMEnterpriseDisplayReference_GetValue(tt *testing.T) { + tt.Parallel() + s := &SCIMEnterpriseDisplayReference{} + s.GetValue() + s = nil + s.GetValue() +} + func TestSCIMEnterpriseGroupAttributes_GetDisplayName(tt *testing.T) { tt.Parallel() var zeroValue string @@ -35332,6 +44013,17 @@ func TestSCIMEnterpriseGroupAttributes_GetID(tt *testing.T) { s.GetID() } +func TestSCIMEnterpriseGroupAttributes_GetMembers(tt *testing.T) { + tt.Parallel() + zeroValue := []*SCIMEnterpriseDisplayReference{} + s := &SCIMEnterpriseGroupAttributes{Members: zeroValue} + s.GetMembers() + s = &SCIMEnterpriseGroupAttributes{} + s.GetMembers() + s = nil + s.GetMembers() +} + func TestSCIMEnterpriseGroupAttributes_GetMeta(tt *testing.T) { tt.Parallel() s := &SCIMEnterpriseGroupAttributes{} @@ -35340,6 +44032,17 @@ func TestSCIMEnterpriseGroupAttributes_GetMeta(tt *testing.T) { s.GetMeta() } +func TestSCIMEnterpriseGroupAttributes_GetSchemas(tt *testing.T) { + tt.Parallel() + zeroValue := []string{} + s := &SCIMEnterpriseGroupAttributes{Schemas: zeroValue} + s.GetSchemas() + s = &SCIMEnterpriseGroupAttributes{} + s.GetSchemas() + s = nil + s.GetSchemas() +} + func TestSCIMEnterpriseGroups_GetItemsPerPage(tt *testing.T) { tt.Parallel() var zeroValue int @@ -35351,6 +44054,28 @@ func TestSCIMEnterpriseGroups_GetItemsPerPage(tt *testing.T) { s.GetItemsPerPage() } +func TestSCIMEnterpriseGroups_GetResources(tt *testing.T) { + tt.Parallel() + zeroValue := []*SCIMEnterpriseGroupAttributes{} + s := &SCIMEnterpriseGroups{Resources: zeroValue} + s.GetResources() + s = &SCIMEnterpriseGroups{} + s.GetResources() + s = nil + s.GetResources() +} + +func TestSCIMEnterpriseGroups_GetSchemas(tt *testing.T) { + tt.Parallel() + zeroValue := []string{} + s := &SCIMEnterpriseGroups{Schemas: zeroValue} + s.GetSchemas() + s = &SCIMEnterpriseGroups{} + s.GetSchemas() + s = nil + s.GetSchemas() +} + func TestSCIMEnterpriseGroups_GetStartIndex(tt *testing.T) { tt.Parallel() var zeroValue int @@ -35406,6 +44131,60 @@ func TestSCIMEnterpriseMeta_GetLocation(tt *testing.T) { s.GetLocation() } +func TestSCIMEnterpriseMeta_GetResourceType(tt *testing.T) { + tt.Parallel() + s := &SCIMEnterpriseMeta{} + s.GetResourceType() + s = nil + s.GetResourceType() +} + +func TestSCIMEnterpriseUserAttributes_GetActive(tt *testing.T) { + tt.Parallel() + s := &SCIMEnterpriseUserAttributes{} + s.GetActive() + s = nil + s.GetActive() +} + +func TestSCIMEnterpriseUserAttributes_GetDisplayName(tt *testing.T) { + tt.Parallel() + s := &SCIMEnterpriseUserAttributes{} + s.GetDisplayName() + s = nil + s.GetDisplayName() +} + +func TestSCIMEnterpriseUserAttributes_GetEmails(tt *testing.T) { + tt.Parallel() + zeroValue := []*SCIMEnterpriseUserEmail{} + s := &SCIMEnterpriseUserAttributes{Emails: zeroValue} + s.GetEmails() + s = &SCIMEnterpriseUserAttributes{} + s.GetEmails() + s = nil + s.GetEmails() +} + +func TestSCIMEnterpriseUserAttributes_GetExternalID(tt *testing.T) { + tt.Parallel() + s := &SCIMEnterpriseUserAttributes{} + s.GetExternalID() + s = nil + s.GetExternalID() +} + +func TestSCIMEnterpriseUserAttributes_GetGroups(tt *testing.T) { + tt.Parallel() + zeroValue := []*SCIMEnterpriseDisplayReference{} + s := &SCIMEnterpriseUserAttributes{Groups: zeroValue} + s.GetGroups() + s = &SCIMEnterpriseUserAttributes{} + s.GetGroups() + s = nil + s.GetGroups() +} + func TestSCIMEnterpriseUserAttributes_GetID(tt *testing.T) { tt.Parallel() var zeroValue string @@ -35433,6 +44212,68 @@ func TestSCIMEnterpriseUserAttributes_GetName(tt *testing.T) { s.GetName() } +func TestSCIMEnterpriseUserAttributes_GetRoles(tt *testing.T) { + tt.Parallel() + zeroValue := []*SCIMEnterpriseUserRole{} + s := &SCIMEnterpriseUserAttributes{Roles: zeroValue} + s.GetRoles() + s = &SCIMEnterpriseUserAttributes{} + s.GetRoles() + s = nil + s.GetRoles() +} + +func TestSCIMEnterpriseUserAttributes_GetSchemas(tt *testing.T) { + tt.Parallel() + zeroValue := []string{} + s := &SCIMEnterpriseUserAttributes{Schemas: zeroValue} + s.GetSchemas() + s = &SCIMEnterpriseUserAttributes{} + s.GetSchemas() + s = nil + s.GetSchemas() +} + +func TestSCIMEnterpriseUserAttributes_GetUserName(tt *testing.T) { + tt.Parallel() + s := &SCIMEnterpriseUserAttributes{} + s.GetUserName() + s = nil + s.GetUserName() +} + +func TestSCIMEnterpriseUserEmail_GetPrimary(tt *testing.T) { + tt.Parallel() + s := &SCIMEnterpriseUserEmail{} + s.GetPrimary() + s = nil + s.GetPrimary() +} + +func TestSCIMEnterpriseUserEmail_GetType(tt *testing.T) { + tt.Parallel() + s := &SCIMEnterpriseUserEmail{} + s.GetType() + s = nil + s.GetType() +} + +func TestSCIMEnterpriseUserEmail_GetValue(tt *testing.T) { + tt.Parallel() + s := &SCIMEnterpriseUserEmail{} + s.GetValue() + s = nil + s.GetValue() +} + +func TestSCIMEnterpriseUserName_GetFamilyName(tt *testing.T) { + tt.Parallel() + s := &SCIMEnterpriseUserName{} + s.GetFamilyName() + s = nil + s.GetFamilyName() +} + func TestSCIMEnterpriseUserName_GetFormatted(tt *testing.T) { tt.Parallel() var zeroValue string @@ -35444,6 +44285,14 @@ func TestSCIMEnterpriseUserName_GetFormatted(tt *testing.T) { s.GetFormatted() } +func TestSCIMEnterpriseUserName_GetGivenName(tt *testing.T) { + tt.Parallel() + s := &SCIMEnterpriseUserName{} + s.GetGivenName() + s = nil + s.GetGivenName() +} + func TestSCIMEnterpriseUserName_GetMiddleName(tt *testing.T) { tt.Parallel() var zeroValue string @@ -35488,6 +44337,14 @@ func TestSCIMEnterpriseUserRole_GetType(tt *testing.T) { s.GetType() } +func TestSCIMEnterpriseUserRole_GetValue(tt *testing.T) { + tt.Parallel() + s := &SCIMEnterpriseUserRole{} + s.GetValue() + s = nil + s.GetValue() +} + func TestSCIMEnterpriseUsers_GetItemsPerPage(tt *testing.T) { tt.Parallel() var zeroValue int @@ -35499,6 +44356,28 @@ func TestSCIMEnterpriseUsers_GetItemsPerPage(tt *testing.T) { s.GetItemsPerPage() } +func TestSCIMEnterpriseUsers_GetResources(tt *testing.T) { + tt.Parallel() + zeroValue := []*SCIMEnterpriseUserAttributes{} + s := &SCIMEnterpriseUsers{Resources: zeroValue} + s.GetResources() + s = &SCIMEnterpriseUsers{} + s.GetResources() + s = nil + s.GetResources() +} + +func TestSCIMEnterpriseUsers_GetSchemas(tt *testing.T) { + tt.Parallel() + zeroValue := []string{} + s := &SCIMEnterpriseUsers{Schemas: zeroValue} + s.GetSchemas() + s = &SCIMEnterpriseUsers{} + s.GetSchemas() + s = nil + s.GetSchemas() +} + func TestSCIMEnterpriseUsers_GetStartIndex(tt *testing.T) { tt.Parallel() var zeroValue int @@ -35576,6 +44455,28 @@ func TestSCIMProvisionedIdentities_GetItemsPerPage(tt *testing.T) { s.GetItemsPerPage() } +func TestSCIMProvisionedIdentities_GetResources(tt *testing.T) { + tt.Parallel() + zeroValue := []*SCIMUserAttributes{} + s := &SCIMProvisionedIdentities{Resources: zeroValue} + s.GetResources() + s = &SCIMProvisionedIdentities{} + s.GetResources() + s = nil + s.GetResources() +} + +func TestSCIMProvisionedIdentities_GetSchemas(tt *testing.T) { + tt.Parallel() + zeroValue := []string{} + s := &SCIMProvisionedIdentities{Schemas: zeroValue} + s.GetSchemas() + s = &SCIMProvisionedIdentities{} + s.GetSchemas() + s = nil + s.GetSchemas() +} + func TestSCIMProvisionedIdentities_GetStartIndex(tt *testing.T) { tt.Parallel() var zeroValue int @@ -35620,6 +44521,17 @@ func TestSCIMUserAttributes_GetDisplayName(tt *testing.T) { s.GetDisplayName() } +func TestSCIMUserAttributes_GetEmails(tt *testing.T) { + tt.Parallel() + zeroValue := []*SCIMUserEmail{} + s := &SCIMUserAttributes{Emails: zeroValue} + s.GetEmails() + s = &SCIMUserAttributes{} + s.GetEmails() + s = nil + s.GetEmails() +} + func TestSCIMUserAttributes_GetExternalID(tt *testing.T) { tt.Parallel() var zeroValue string @@ -35631,6 +44543,17 @@ func TestSCIMUserAttributes_GetExternalID(tt *testing.T) { s.GetExternalID() } +func TestSCIMUserAttributes_GetGroups(tt *testing.T) { + tt.Parallel() + zeroValue := []string{} + s := &SCIMUserAttributes{Groups: zeroValue} + s.GetGroups() + s = &SCIMUserAttributes{} + s.GetGroups() + s = nil + s.GetGroups() +} + func TestSCIMUserAttributes_GetID(tt *testing.T) { tt.Parallel() var zeroValue string @@ -35650,6 +44573,44 @@ func TestSCIMUserAttributes_GetMeta(tt *testing.T) { s.GetMeta() } +func TestSCIMUserAttributes_GetName(tt *testing.T) { + tt.Parallel() + s := &SCIMUserAttributes{} + s.GetName() + s = nil + s.GetName() +} + +func TestSCIMUserAttributes_GetRoles(tt *testing.T) { + tt.Parallel() + zeroValue := []*SCIMUserRole{} + s := &SCIMUserAttributes{Roles: zeroValue} + s.GetRoles() + s = &SCIMUserAttributes{} + s.GetRoles() + s = nil + s.GetRoles() +} + +func TestSCIMUserAttributes_GetSchemas(tt *testing.T) { + tt.Parallel() + zeroValue := []string{} + s := &SCIMUserAttributes{Schemas: zeroValue} + s.GetSchemas() + s = &SCIMUserAttributes{} + s.GetSchemas() + s = nil + s.GetSchemas() +} + +func TestSCIMUserAttributes_GetUserName(tt *testing.T) { + tt.Parallel() + s := &SCIMUserAttributes{} + s.GetUserName() + s = nil + s.GetUserName() +} + func TestSCIMUserEmail_GetPrimary(tt *testing.T) { tt.Parallel() var zeroValue bool @@ -35672,6 +44633,22 @@ func TestSCIMUserEmail_GetType(tt *testing.T) { s.GetType() } +func TestSCIMUserEmail_GetValue(tt *testing.T) { + tt.Parallel() + s := &SCIMUserEmail{} + s.GetValue() + s = nil + s.GetValue() +} + +func TestSCIMUserName_GetFamilyName(tt *testing.T) { + tt.Parallel() + s := &SCIMUserName{} + s.GetFamilyName() + s = nil + s.GetFamilyName() +} + func TestSCIMUserName_GetFormatted(tt *testing.T) { tt.Parallel() var zeroValue string @@ -35683,6 +44660,14 @@ func TestSCIMUserName_GetFormatted(tt *testing.T) { s.GetFormatted() } +func TestSCIMUserName_GetGivenName(tt *testing.T) { + tt.Parallel() + s := &SCIMUserName{} + s.GetGivenName() + s = nil + s.GetGivenName() +} + func TestSCIMUserRole_GetDisplay(tt *testing.T) { tt.Parallel() var zeroValue string @@ -35716,6 +44701,14 @@ func TestSCIMUserRole_GetType(tt *testing.T) { s.GetType() } +func TestSCIMUserRole_GetValue(tt *testing.T) { + tt.Parallel() + s := &SCIMUserRole{} + s.GetValue() + s = nil + s.GetValue() +} + func TestSearchOptions_GetAdvancedSearch(tt *testing.T) { tt.Parallel() var zeroValue bool @@ -35727,6 +44720,105 @@ func TestSearchOptions_GetAdvancedSearch(tt *testing.T) { s.GetAdvancedSearch() } +func TestSearchOptions_GetOrder(tt *testing.T) { + tt.Parallel() + s := &SearchOptions{} + s.GetOrder() + s = nil + s.GetOrder() +} + +func TestSearchOptions_GetSort(tt *testing.T) { + tt.Parallel() + s := &SearchOptions{} + s.GetSort() + s = nil + s.GetSort() +} + +func TestSearchOptions_GetTextMatch(tt *testing.T) { + tt.Parallel() + s := &SearchOptions{} + s.GetTextMatch() + s = nil + s.GetTextMatch() +} + +func TestSeatAssignments_GetSeatsCreated(tt *testing.T) { + tt.Parallel() + s := &SeatAssignments{} + s.GetSeatsCreated() + s = nil + s.GetSeatsCreated() +} + +func TestSeatCancellations_GetSeatsCancelled(tt *testing.T) { + tt.Parallel() + s := &SeatCancellations{} + s.GetSeatsCancelled() + s = nil + s.GetSeatsCancelled() +} + +func TestSecret_GetCreatedAt(tt *testing.T) { + tt.Parallel() + s := &Secret{} + s.GetCreatedAt() + s = nil + s.GetCreatedAt() +} + +func TestSecret_GetName(tt *testing.T) { + tt.Parallel() + s := &Secret{} + s.GetName() + s = nil + s.GetName() +} + +func TestSecret_GetSelectedRepositoriesURL(tt *testing.T) { + tt.Parallel() + s := &Secret{} + s.GetSelectedRepositoriesURL() + s = nil + s.GetSelectedRepositoriesURL() +} + +func TestSecret_GetUpdatedAt(tt *testing.T) { + tt.Parallel() + s := &Secret{} + s.GetUpdatedAt() + s = nil + s.GetUpdatedAt() +} + +func TestSecret_GetVisibility(tt *testing.T) { + tt.Parallel() + s := &Secret{} + s.GetVisibility() + s = nil + s.GetVisibility() +} + +func TestSecrets_GetSecrets(tt *testing.T) { + tt.Parallel() + zeroValue := []*Secret{} + s := &Secrets{Secrets: zeroValue} + s.GetSecrets() + s = &Secrets{} + s.GetSecrets() + s = nil + s.GetSecrets() +} + +func TestSecrets_GetTotalCount(tt *testing.T) { + tt.Parallel() + s := &Secrets{} + s.GetTotalCount() + s = nil + s.GetTotalCount() +} + func TestSecretScanning_GetStatus(tt *testing.T) { tt.Parallel() var zeroValue string @@ -36090,6 +45182,70 @@ func TestSecretScanningAlertEvent_GetSender(tt *testing.T) { s.GetSender() } +func TestSecretScanningAlertListOptions_GetDirection(tt *testing.T) { + tt.Parallel() + s := &SecretScanningAlertListOptions{} + s.GetDirection() + s = nil + s.GetDirection() +} + +func TestSecretScanningAlertListOptions_GetIsMultiRepo(tt *testing.T) { + tt.Parallel() + s := &SecretScanningAlertListOptions{} + s.GetIsMultiRepo() + s = nil + s.GetIsMultiRepo() +} + +func TestSecretScanningAlertListOptions_GetIsPubliclyLeaked(tt *testing.T) { + tt.Parallel() + s := &SecretScanningAlertListOptions{} + s.GetIsPubliclyLeaked() + s = nil + s.GetIsPubliclyLeaked() +} + +func TestSecretScanningAlertListOptions_GetResolution(tt *testing.T) { + tt.Parallel() + s := &SecretScanningAlertListOptions{} + s.GetResolution() + s = nil + s.GetResolution() +} + +func TestSecretScanningAlertListOptions_GetSecretType(tt *testing.T) { + tt.Parallel() + s := &SecretScanningAlertListOptions{} + s.GetSecretType() + s = nil + s.GetSecretType() +} + +func TestSecretScanningAlertListOptions_GetSort(tt *testing.T) { + tt.Parallel() + s := &SecretScanningAlertListOptions{} + s.GetSort() + s = nil + s.GetSort() +} + +func TestSecretScanningAlertListOptions_GetState(tt *testing.T) { + tt.Parallel() + s := &SecretScanningAlertListOptions{} + s.GetState() + s = nil + s.GetState() +} + +func TestSecretScanningAlertListOptions_GetValidity(tt *testing.T) { + tt.Parallel() + s := &SecretScanningAlertListOptions{} + s.GetValidity() + s = nil + s.GetValidity() +} + func TestSecretScanningAlertLocation_GetDetails(tt *testing.T) { tt.Parallel() s := &SecretScanningAlertLocation{} @@ -36300,6 +45456,14 @@ func TestSecretScanningAlertUpdateOptions_GetResolutionComment(tt *testing.T) { s.GetResolutionComment() } +func TestSecretScanningAlertUpdateOptions_GetState(tt *testing.T) { + tt.Parallel() + s := &SecretScanningAlertUpdateOptions{} + s.GetState() + s = nil + s.GetState() +} + func TestSecretScanningCustomPatternSetting_GetCustomPatternVersion(tt *testing.T) { tt.Parallel() var zeroValue string @@ -36311,6 +45475,44 @@ func TestSecretScanningCustomPatternSetting_GetCustomPatternVersion(tt *testing. s.GetCustomPatternVersion() } +func TestSecretScanningCustomPatternSetting_GetPushProtectionSetting(tt *testing.T) { + tt.Parallel() + s := &SecretScanningCustomPatternSetting{} + s.GetPushProtectionSetting() + s = nil + s.GetPushProtectionSetting() +} + +func TestSecretScanningCustomPatternSetting_GetTokenType(tt *testing.T) { + tt.Parallel() + s := &SecretScanningCustomPatternSetting{} + s.GetTokenType() + s = nil + s.GetTokenType() +} + +func TestSecretScanningDelegatedBypassOptions_GetReviewers(tt *testing.T) { + tt.Parallel() + zeroValue := []*BypassReviewer{} + s := &SecretScanningDelegatedBypassOptions{Reviewers: zeroValue} + s.GetReviewers() + s = &SecretScanningDelegatedBypassOptions{} + s.GetReviewers() + s = nil + s.GetReviewers() +} + +func TestSecretScanningPatternConfigs_GetCustomPatternOverrides(tt *testing.T) { + tt.Parallel() + zeroValue := []*SecretScanningPatternOverride{} + s := &SecretScanningPatternConfigs{CustomPatternOverrides: zeroValue} + s.GetCustomPatternOverrides() + s = &SecretScanningPatternConfigs{} + s.GetCustomPatternOverrides() + s = nil + s.GetCustomPatternOverrides() +} + func TestSecretScanningPatternConfigs_GetPatternConfigVersion(tt *testing.T) { tt.Parallel() var zeroValue string @@ -36322,6 +45524,17 @@ func TestSecretScanningPatternConfigs_GetPatternConfigVersion(tt *testing.T) { s.GetPatternConfigVersion() } +func TestSecretScanningPatternConfigs_GetProviderPatternOverrides(tt *testing.T) { + tt.Parallel() + zeroValue := []*SecretScanningPatternOverride{} + s := &SecretScanningPatternConfigs{ProviderPatternOverrides: zeroValue} + s.GetProviderPatternOverrides() + s = &SecretScanningPatternConfigs{} + s.GetProviderPatternOverrides() + s = nil + s.GetProviderPatternOverrides() +} + func TestSecretScanningPatternConfigsUpdate_GetPatternConfigVersion(tt *testing.T) { tt.Parallel() var zeroValue string @@ -36333,6 +45546,17 @@ func TestSecretScanningPatternConfigsUpdate_GetPatternConfigVersion(tt *testing. s.GetPatternConfigVersion() } +func TestSecretScanningPatternConfigsUpdateOptions_GetCustomPatternSettings(tt *testing.T) { + tt.Parallel() + zeroValue := []*SecretScanningCustomPatternSetting{} + s := &SecretScanningPatternConfigsUpdateOptions{CustomPatternSettings: zeroValue} + s.GetCustomPatternSettings() + s = &SecretScanningPatternConfigsUpdateOptions{} + s.GetCustomPatternSettings() + s = nil + s.GetCustomPatternSettings() +} + func TestSecretScanningPatternConfigsUpdateOptions_GetPatternConfigVersion(tt *testing.T) { tt.Parallel() var zeroValue string @@ -36344,6 +45568,17 @@ func TestSecretScanningPatternConfigsUpdateOptions_GetPatternConfigVersion(tt *t s.GetPatternConfigVersion() } +func TestSecretScanningPatternConfigsUpdateOptions_GetProviderPatternSettings(tt *testing.T) { + tt.Parallel() + zeroValue := []*SecretScanningProviderPatternSetting{} + s := &SecretScanningPatternConfigsUpdateOptions{ProviderPatternSettings: zeroValue} + s.GetProviderPatternSettings() + s = &SecretScanningPatternConfigsUpdateOptions{} + s.GetProviderPatternSettings() + s = nil + s.GetProviderPatternSettings() +} + func TestSecretScanningPatternOverride_GetAlertTotal(tt *testing.T) { tt.Parallel() var zeroValue int @@ -36476,6 +45711,22 @@ func TestSecretScanningPatternOverride_GetTokenType(tt *testing.T) { s.GetTokenType() } +func TestSecretScanningProviderPatternSetting_GetPushProtectionSetting(tt *testing.T) { + tt.Parallel() + s := &SecretScanningProviderPatternSetting{} + s.GetPushProtectionSetting() + s = nil + s.GetPushProtectionSetting() +} + +func TestSecretScanningProviderPatternSetting_GetTokenType(tt *testing.T) { + tt.Parallel() + s := &SecretScanningProviderPatternSetting{} + s.GetTokenType() + s = nil + s.GetTokenType() +} + func TestSecretScanningPushProtection_GetStatus(tt *testing.T) { tt.Parallel() var zeroValue string @@ -36487,6 +45738,50 @@ func TestSecretScanningPushProtection_GetStatus(tt *testing.T) { s.GetStatus() } +func TestSecretScanningScanHistory_GetBackfillScans(tt *testing.T) { + tt.Parallel() + zeroValue := []*SecretsScan{} + s := &SecretScanningScanHistory{BackfillScans: zeroValue} + s.GetBackfillScans() + s = &SecretScanningScanHistory{} + s.GetBackfillScans() + s = nil + s.GetBackfillScans() +} + +func TestSecretScanningScanHistory_GetCustomPatternBackfillScans(tt *testing.T) { + tt.Parallel() + zeroValue := []*CustomPatternBackfillScan{} + s := &SecretScanningScanHistory{CustomPatternBackfillScans: zeroValue} + s.GetCustomPatternBackfillScans() + s = &SecretScanningScanHistory{} + s.GetCustomPatternBackfillScans() + s = nil + s.GetCustomPatternBackfillScans() +} + +func TestSecretScanningScanHistory_GetIncrementalScans(tt *testing.T) { + tt.Parallel() + zeroValue := []*SecretsScan{} + s := &SecretScanningScanHistory{IncrementalScans: zeroValue} + s.GetIncrementalScans() + s = &SecretScanningScanHistory{} + s.GetIncrementalScans() + s = nil + s.GetIncrementalScans() +} + +func TestSecretScanningScanHistory_GetPatternUpdateScans(tt *testing.T) { + tt.Parallel() + zeroValue := []*SecretsScan{} + s := &SecretScanningScanHistory{PatternUpdateScans: zeroValue} + s.GetPatternUpdateScans() + s = &SecretScanningScanHistory{} + s.GetPatternUpdateScans() + s = nil + s.GetPatternUpdateScans() +} + func TestSecretScanningValidityChecks_GetStatus(tt *testing.T) { tt.Parallel() var zeroValue string @@ -36520,6 +45815,22 @@ func TestSecretsScan_GetStartedAt(tt *testing.T) { s.GetStartedAt() } +func TestSecretsScan_GetStatus(tt *testing.T) { + tt.Parallel() + s := &SecretsScan{} + s.GetStatus() + s = nil + s.GetStatus() +} + +func TestSecretsScan_GetType(tt *testing.T) { + tt.Parallel() + s := &SecretsScan{} + s.GetType() + s = nil + s.GetType() +} + func TestSecurityAdvisory_GetAuthor(tt *testing.T) { tt.Parallel() s := &SecurityAdvisory{} @@ -36539,6 +45850,28 @@ func TestSecurityAdvisory_GetClosedAt(tt *testing.T) { s.GetClosedAt() } +func TestSecurityAdvisory_GetCollaboratingTeams(tt *testing.T) { + tt.Parallel() + zeroValue := []*Team{} + s := &SecurityAdvisory{CollaboratingTeams: zeroValue} + s.GetCollaboratingTeams() + s = &SecurityAdvisory{} + s.GetCollaboratingTeams() + s = nil + s.GetCollaboratingTeams() +} + +func TestSecurityAdvisory_GetCollaboratingUsers(tt *testing.T) { + tt.Parallel() + zeroValue := []*User{} + s := &SecurityAdvisory{CollaboratingUsers: zeroValue} + s.GetCollaboratingUsers() + s = &SecurityAdvisory{} + s.GetCollaboratingUsers() + s = nil + s.GetCollaboratingUsers() +} + func TestSecurityAdvisory_GetCreatedAt(tt *testing.T) { tt.Parallel() var zeroValue Timestamp @@ -36550,6 +45883,28 @@ func TestSecurityAdvisory_GetCreatedAt(tt *testing.T) { s.GetCreatedAt() } +func TestSecurityAdvisory_GetCredits(tt *testing.T) { + tt.Parallel() + zeroValue := []*RepoAdvisoryCredit{} + s := &SecurityAdvisory{Credits: zeroValue} + s.GetCredits() + s = &SecurityAdvisory{} + s.GetCredits() + s = nil + s.GetCredits() +} + +func TestSecurityAdvisory_GetCreditsDetailed(tt *testing.T) { + tt.Parallel() + zeroValue := []*RepoAdvisoryCreditDetailed{} + s := &SecurityAdvisory{CreditsDetailed: zeroValue} + s.GetCreditsDetailed() + s = &SecurityAdvisory{} + s.GetCreditsDetailed() + s = nil + s.GetCreditsDetailed() +} + func TestSecurityAdvisory_GetCVEID(tt *testing.T) { tt.Parallel() var zeroValue string @@ -36569,6 +45924,28 @@ func TestSecurityAdvisory_GetCVSS(tt *testing.T) { s.GetCVSS() } +func TestSecurityAdvisory_GetCWEIDs(tt *testing.T) { + tt.Parallel() + zeroValue := []string{} + s := &SecurityAdvisory{CWEIDs: zeroValue} + s.GetCWEIDs() + s = &SecurityAdvisory{} + s.GetCWEIDs() + s = nil + s.GetCWEIDs() +} + +func TestSecurityAdvisory_GetCWEs(tt *testing.T) { + tt.Parallel() + zeroValue := []*AdvisoryCWEs{} + s := &SecurityAdvisory{CWEs: zeroValue} + s.GetCWEs() + s = &SecurityAdvisory{} + s.GetCWEs() + s = nil + s.GetCWEs() +} + func TestSecurityAdvisory_GetDescription(tt *testing.T) { tt.Parallel() var zeroValue string @@ -36602,6 +45979,17 @@ func TestSecurityAdvisory_GetHTMLURL(tt *testing.T) { s.GetHTMLURL() } +func TestSecurityAdvisory_GetIdentifiers(tt *testing.T) { + tt.Parallel() + zeroValue := []*AdvisoryIdentifier{} + s := &SecurityAdvisory{Identifiers: zeroValue} + s.GetIdentifiers() + s = &SecurityAdvisory{} + s.GetIdentifiers() + s = nil + s.GetIdentifiers() +} + func TestSecurityAdvisory_GetPrivateFork(tt *testing.T) { tt.Parallel() s := &SecurityAdvisory{} @@ -36629,6 +46017,17 @@ func TestSecurityAdvisory_GetPublisher(tt *testing.T) { s.GetPublisher() } +func TestSecurityAdvisory_GetReferences(tt *testing.T) { + tt.Parallel() + zeroValue := []*AdvisoryReference{} + s := &SecurityAdvisory{References: zeroValue} + s.GetReferences() + s = &SecurityAdvisory{} + s.GetReferences() + s = nil + s.GetReferences() +} + func TestSecurityAdvisory_GetSeverity(tt *testing.T) { tt.Parallel() var zeroValue string @@ -36692,6 +46091,17 @@ func TestSecurityAdvisory_GetURL(tt *testing.T) { s.GetURL() } +func TestSecurityAdvisory_GetVulnerabilities(tt *testing.T) { + tt.Parallel() + zeroValue := []*AdvisoryVulnerability{} + s := &SecurityAdvisory{Vulnerabilities: zeroValue} + s.GetVulnerabilities() + s = &SecurityAdvisory{} + s.GetVulnerabilities() + s = nil + s.GetVulnerabilities() +} + func TestSecurityAdvisory_GetWithdrawnAt(tt *testing.T) { tt.Parallel() var zeroValue Timestamp @@ -36877,6 +46287,17 @@ func TestSecurityAndAnalysisEvent_GetSender(tt *testing.T) { s.GetSender() } +func TestSelectedReposList_GetRepositories(tt *testing.T) { + tt.Parallel() + zeroValue := []*Repository{} + s := &SelectedReposList{Repositories: zeroValue} + s.GetRepositories() + s = &SelectedReposList{} + s.GetRepositories() + s = nil + s.GetRepositories() +} + func TestSelectedReposList_GetTotalCount(tt *testing.T) { tt.Parallel() var zeroValue int @@ -36888,6 +46309,25 @@ func TestSelectedReposList_GetTotalCount(tt *testing.T) { s.GetTotalCount() } +func TestSelfHostedRunnersAllowedRepos_GetRepositories(tt *testing.T) { + tt.Parallel() + zeroValue := []*Repository{} + s := &SelfHostedRunnersAllowedRepos{Repositories: zeroValue} + s.GetRepositories() + s = &SelfHostedRunnersAllowedRepos{} + s.GetRepositories() + s = nil + s.GetRepositories() +} + +func TestSelfHostedRunnersAllowedRepos_GetTotalCount(tt *testing.T) { + tt.Parallel() + s := &SelfHostedRunnersAllowedRepos{} + s.GetTotalCount() + s = nil + s.GetTotalCount() +} + func TestSelfHostedRunnersSettingsOrganization_GetEnabledRepositories(tt *testing.T) { tt.Parallel() var zeroValue string @@ -36948,6 +46388,22 @@ func TestServerInstances_GetItems(tt *testing.T) { s.GetItems() } +func TestServerInstances_GetType(tt *testing.T) { + tt.Parallel() + s := &ServerInstances{} + s.GetType() + s = nil + s.GetType() +} + +func TestServerItemProperties_GetHostname(tt *testing.T) { + tt.Parallel() + s := &ServerItemProperties{} + s.GetHostname() + s = nil + s.GetHostname() +} + func TestServerItemProperties_GetLastSync(tt *testing.T) { tt.Parallel() s := &ServerItemProperties{} @@ -36956,6 +46412,14 @@ func TestServerItemProperties_GetLastSync(tt *testing.T) { s.GetLastSync() } +func TestServerItemProperties_GetServerID(tt *testing.T) { + tt.Parallel() + s := &ServerItemProperties{} + s.GetServerID() + s = nil + s.GetServerID() +} + func TestServiceInstanceItems_GetProperties(tt *testing.T) { tt.Parallel() s := &ServiceInstanceItems{} @@ -36964,6 +46428,47 @@ func TestServiceInstanceItems_GetProperties(tt *testing.T) { s.GetProperties() } +func TestServiceInstanceItems_GetType(tt *testing.T) { + tt.Parallel() + s := &ServiceInstanceItems{} + s.GetType() + s = nil + s.GetType() +} + +func TestSetOrgAccessRunnerGroupRequest_GetSelectedOrganizationIDs(tt *testing.T) { + tt.Parallel() + zeroValue := []int64{} + s := &SetOrgAccessRunnerGroupRequest{SelectedOrganizationIDs: zeroValue} + s.GetSelectedOrganizationIDs() + s = &SetOrgAccessRunnerGroupRequest{} + s.GetSelectedOrganizationIDs() + s = nil + s.GetSelectedOrganizationIDs() +} + +func TestSetRepoAccessRunnerGroupRequest_GetSelectedRepositoryIDs(tt *testing.T) { + tt.Parallel() + zeroValue := []int64{} + s := &SetRepoAccessRunnerGroupRequest{SelectedRepositoryIDs: zeroValue} + s.GetSelectedRepositoryIDs() + s = &SetRepoAccessRunnerGroupRequest{} + s.GetSelectedRepositoryIDs() + s = nil + s.GetSelectedRepositoryIDs() +} + +func TestSetRunnerGroupRunnersRequest_GetRunners(tt *testing.T) { + tt.Parallel() + zeroValue := []int64{} + s := &SetRunnerGroupRunnersRequest{Runners: zeroValue} + s.GetRunners() + s = &SetRunnerGroupRunnersRequest{} + s.GetRunners() + s = nil + s.GetRunners() +} + func TestSignatureRequirementEnforcementLevelChanges_GetFrom(tt *testing.T) { tt.Parallel() var zeroValue string @@ -37041,6 +46546,22 @@ func TestSignatureVerification_GetVerified(tt *testing.T) { s.GetVerified() } +func TestSimplePatternRuleParameters_GetNegate(tt *testing.T) { + tt.Parallel() + s := &SimplePatternRuleParameters{} + s.GetNegate() + s = nil + s.GetNegate() +} + +func TestSimplePatternRuleParameters_GetPattern(tt *testing.T) { + tt.Parallel() + s := &SimplePatternRuleParameters{} + s.GetPattern() + s = nil + s.GetPattern() +} + func TestSocialAccount_GetProvider(tt *testing.T) { tt.Parallel() var zeroValue string @@ -37189,6 +46710,46 @@ func TestSourceImportAuthor_GetURL(tt *testing.T) { s.GetURL() } +func TestSplunkConfig_GetDomain(tt *testing.T) { + tt.Parallel() + s := &SplunkConfig{} + s.GetDomain() + s = nil + s.GetDomain() +} + +func TestSplunkConfig_GetEncryptedToken(tt *testing.T) { + tt.Parallel() + s := &SplunkConfig{} + s.GetEncryptedToken() + s = nil + s.GetEncryptedToken() +} + +func TestSplunkConfig_GetKeyID(tt *testing.T) { + tt.Parallel() + s := &SplunkConfig{} + s.GetKeyID() + s = nil + s.GetKeyID() +} + +func TestSplunkConfig_GetPort(tt *testing.T) { + tt.Parallel() + s := &SplunkConfig{} + s.GetPort() + s = nil + s.GetPort() +} + +func TestSplunkConfig_GetSSLVerify(tt *testing.T) { + tt.Parallel() + s := &SplunkConfig{} + s.GetSSLVerify() + s = nil + s.GetSSLVerify() +} + func TestSponsorshipChanges_GetPrivacyLevel(tt *testing.T) { tt.Parallel() var zeroValue string @@ -37281,6 +46842,14 @@ func TestSponsorshipTier_GetFrom(tt *testing.T) { s.GetFrom() } +func TestSSHKeyOptions_GetKey(tt *testing.T) { + tt.Parallel() + s := &SSHKeyOptions{} + s.GetKey() + s = nil + s.GetKey() +} + func TestSSHKeyStatus_GetHostname(tt *testing.T) { tt.Parallel() var zeroValue string @@ -37461,6 +47030,17 @@ func TestStarredRepository_GetStarredAt(tt *testing.T) { s.GetStarredAt() } +func TestStatusEvent_GetBranches(tt *testing.T) { + tt.Parallel() + zeroValue := []*Branch{} + s := &StatusEvent{Branches: zeroValue} + s.GetBranches() + s = &StatusEvent{} + s.GetBranches() + s = nil + s.GetBranches() +} + func TestStatusEvent_GetCommit(tt *testing.T) { tt.Parallel() s := &StatusEvent{} @@ -37600,6 +47180,30 @@ func TestStatusEvent_GetUpdatedAt(tt *testing.T) { s.GetUpdatedAt() } +func TestStorageBilling_GetDaysLeftInBillingCycle(tt *testing.T) { + tt.Parallel() + s := &StorageBilling{} + s.GetDaysLeftInBillingCycle() + s = nil + s.GetDaysLeftInBillingCycle() +} + +func TestStorageBilling_GetEstimatedPaidStorageForMonth(tt *testing.T) { + tt.Parallel() + s := &StorageBilling{} + s.GetEstimatedPaidStorageForMonth() + s = nil + s.GetEstimatedPaidStorageForMonth() +} + +func TestStorageBilling_GetEstimatedStorageForMonth(tt *testing.T) { + tt.Parallel() + s := &StorageBilling{} + s.GetEstimatedStorageForMonth() + s = nil + s.GetEstimatedStorageForMonth() +} + func TestSubIssueRequest_GetAfterID(tt *testing.T) { tt.Parallel() var zeroValue int64 @@ -37633,6 +47237,14 @@ func TestSubIssueRequest_GetReplaceParent(tt *testing.T) { s.GetReplaceParent() } +func TestSubIssueRequest_GetSubIssueID(tt *testing.T) { + tt.Parallel() + s := &SubIssueRequest{} + s.GetSubIssueID() + s = nil + s.GetSubIssueID() +} + func TestSubscription_GetCreatedAt(tt *testing.T) { tt.Parallel() var zeroValue Timestamp @@ -37710,6 +47322,17 @@ func TestSubscription_GetURL(tt *testing.T) { s.GetURL() } +func TestSystemRequirements_GetNodes(tt *testing.T) { + tt.Parallel() + zeroValue := []*SystemRequirementsNode{} + s := &SystemRequirements{Nodes: zeroValue} + s.GetNodes() + s = &SystemRequirements{} + s.GetNodes() + s = nil + s.GetNodes() +} + func TestSystemRequirements_GetStatus(tt *testing.T) { tt.Parallel() var zeroValue string @@ -37732,6 +47355,17 @@ func TestSystemRequirementsNode_GetHostname(tt *testing.T) { s.GetHostname() } +func TestSystemRequirementsNode_GetRolesStatus(tt *testing.T) { + tt.Parallel() + zeroValue := []*SystemRequirementsNodeRoleStatus{} + s := &SystemRequirementsNode{RolesStatus: zeroValue} + s.GetRolesStatus() + s = &SystemRequirementsNode{} + s.GetRolesStatus() + s = nil + s.GetRolesStatus() +} + func TestSystemRequirementsNode_GetStatus(tt *testing.T) { tt.Parallel() var zeroValue string @@ -38186,6 +47820,22 @@ func TestTeamAddEvent_GetTeam(tt *testing.T) { t.GetTeam() } +func TestTeamAddTeamMembershipOptions_GetRole(tt *testing.T) { + tt.Parallel() + t := &TeamAddTeamMembershipOptions{} + t.GetRole() + t = nil + t.GetRole() +} + +func TestTeamAddTeamRepoOptions_GetPermission(tt *testing.T) { + tt.Parallel() + t := &TeamAddTeamRepoOptions{} + t.GetPermission() + t = nil + t.GetPermission() +} + func TestTeamChange_GetDescription(tt *testing.T) { tt.Parallel() t := &TeamChange{} @@ -38590,6 +48240,14 @@ func TestTeamLDAPMapping_GetURL(tt *testing.T) { t.GetURL() } +func TestTeamListTeamMembersOptions_GetRole(tt *testing.T) { + tt.Parallel() + t := &TeamListTeamMembersOptions{} + t.GetRole() + t = nil + t.GetRole() +} + func TestTeamName_GetFrom(tt *testing.T) { tt.Parallel() var zeroValue string @@ -38738,6 +48396,17 @@ func TestTextMatch_GetFragment(tt *testing.T) { t.GetFragment() } +func TestTextMatch_GetMatches(tt *testing.T) { + tt.Parallel() + zeroValue := []*Match{} + t := &TextMatch{Matches: zeroValue} + t.GetMatches() + t = &TextMatch{} + t.GetMatches() + t = nil + t.GetMatches() +} + func TestTextMatch_GetObjectType(tt *testing.T) { tt.Parallel() var zeroValue string @@ -38904,6 +48573,17 @@ func TestTimeline_GetMilestone(tt *testing.T) { t.GetMilestone() } +func TestTimeline_GetParents(tt *testing.T) { + tt.Parallel() + zeroValue := []*Commit{} + t := &Timeline{Parents: zeroValue} + t.GetParents() + t = &Timeline{} + t.GetParents() + t = nil + t.GetParents() +} + func TestTimeline_GetPerformedViaGithubApp(tt *testing.T) { tt.Parallel() t := &Timeline{} @@ -39116,7 +48796,10 @@ func TestTopicResult_GetName(tt *testing.T) { func TestTopicResult_GetScore(tt *testing.T) { tt.Parallel() - t := &TopicResult{} + var zeroValue float64 + t := &TopicResult{Score: &zeroValue} + t.GetScore() + t = &TopicResult{} t.GetScore() t = nil t.GetScore() @@ -39155,6 +48838,17 @@ func TestTopicsSearchResult_GetIncompleteResults(tt *testing.T) { t.GetIncompleteResults() } +func TestTopicsSearchResult_GetTopics(tt *testing.T) { + tt.Parallel() + zeroValue := []*TopicResult{} + t := &TopicsSearchResult{Topics: zeroValue} + t.GetTopics() + t = &TopicsSearchResult{} + t.GetTopics() + t = nil + t.GetTopics() +} + func TestTopicsSearchResult_GetTotal(tt *testing.T) { tt.Parallel() var zeroValue int @@ -39166,6 +48860,41 @@ func TestTopicsSearchResult_GetTotal(tt *testing.T) { t.GetTotal() } +func TestTotalCacheUsage_GetTotalActiveCachesCount(tt *testing.T) { + tt.Parallel() + t := &TotalCacheUsage{} + t.GetTotalActiveCachesCount() + t = nil + t.GetTotalActiveCachesCount() +} + +func TestTotalCacheUsage_GetTotalActiveCachesUsageSizeInBytes(tt *testing.T) { + tt.Parallel() + t := &TotalCacheUsage{} + t.GetTotalActiveCachesUsageSizeInBytes() + t = nil + t.GetTotalActiveCachesUsageSizeInBytes() +} + +func TestTrafficBreakdownOptions_GetPer(tt *testing.T) { + tt.Parallel() + t := &TrafficBreakdownOptions{} + t.GetPer() + t = nil + t.GetPer() +} + +func TestTrafficClones_GetClones(tt *testing.T) { + tt.Parallel() + zeroValue := []*TrafficData{} + t := &TrafficClones{Clones: zeroValue} + t.GetClones() + t = &TrafficClones{} + t.GetClones() + t = nil + t.GetClones() +} + func TestTrafficClones_GetCount(tt *testing.T) { tt.Parallel() var zeroValue int @@ -39320,6 +49049,17 @@ func TestTrafficViews_GetUniques(tt *testing.T) { t.GetUniques() } +func TestTrafficViews_GetViews(tt *testing.T) { + tt.Parallel() + zeroValue := []*TrafficData{} + t := &TrafficViews{Views: zeroValue} + t.GetViews() + t = &TrafficViews{} + t.GetViews() + t = nil + t.GetViews() +} + func TestTransferRequest_GetNewName(tt *testing.T) { tt.Parallel() var zeroValue string @@ -39331,6 +49071,36 @@ func TestTransferRequest_GetNewName(tt *testing.T) { t.GetNewName() } +func TestTransferRequest_GetNewOwner(tt *testing.T) { + tt.Parallel() + t := &TransferRequest{} + t.GetNewOwner() + t = nil + t.GetNewOwner() +} + +func TestTransferRequest_GetTeamID(tt *testing.T) { + tt.Parallel() + zeroValue := []int64{} + t := &TransferRequest{TeamID: zeroValue} + t.GetTeamID() + t = &TransferRequest{} + t.GetTeamID() + t = nil + t.GetTeamID() +} + +func TestTree_GetEntries(tt *testing.T) { + tt.Parallel() + zeroValue := []*TreeEntry{} + t := &Tree{Entries: zeroValue} + t.GetEntries() + t = &Tree{} + t.GetEntries() + t = nil + t.GetEntries() +} + func TestTree_GetSHA(tt *testing.T) { tt.Parallel() var zeroValue string @@ -39430,6 +49200,22 @@ func TestTreeEntry_GetURL(tt *testing.T) { t.GetURL() } +func TestUnauthenticatedRateLimitedTransport_GetClientID(tt *testing.T) { + tt.Parallel() + u := &UnauthenticatedRateLimitedTransport{} + u.GetClientID() + u = nil + u.GetClientID() +} + +func TestUnauthenticatedRateLimitedTransport_GetClientSecret(tt *testing.T) { + tt.Parallel() + u := &UnauthenticatedRateLimitedTransport{} + u.GetClientSecret() + u = nil + u.GetClientSecret() +} + func TestUpdateAppInstallationRepositoriesOptions_GetRepositorySelection(tt *testing.T) { tt.Parallel() var zeroValue string @@ -39441,6 +49227,25 @@ func TestUpdateAppInstallationRepositoriesOptions_GetRepositorySelection(tt *tes u.GetRepositorySelection() } +func TestUpdateAppInstallationRepositoriesOptions_GetSelectedRepositoryIDs(tt *testing.T) { + tt.Parallel() + zeroValue := []int64{} + u := &UpdateAppInstallationRepositoriesOptions{SelectedRepositoryIDs: zeroValue} + u.GetSelectedRepositoryIDs() + u = &UpdateAppInstallationRepositoriesOptions{} + u.GetSelectedRepositoryIDs() + u = nil + u.GetSelectedRepositoryIDs() +} + +func TestUpdateAttributeForSCIMUserOperations_GetOp(tt *testing.T) { + tt.Parallel() + u := &UpdateAttributeForSCIMUserOperations{} + u.GetOp() + u = nil + u.GetOp() +} + func TestUpdateAttributeForSCIMUserOperations_GetPath(tt *testing.T) { tt.Parallel() var zeroValue string @@ -39452,6 +49257,52 @@ func TestUpdateAttributeForSCIMUserOperations_GetPath(tt *testing.T) { u.GetPath() } +func TestUpdateAttributeForSCIMUserOperations_GetValue(tt *testing.T) { + tt.Parallel() + u := &UpdateAttributeForSCIMUserOperations{} + u.GetValue() + u = nil + u.GetValue() +} + +func TestUpdateAttributeForSCIMUserOptions_GetOperations(tt *testing.T) { + tt.Parallel() + u := &UpdateAttributeForSCIMUserOptions{} + u.GetOperations() + u = nil + u.GetOperations() +} + +func TestUpdateAttributeForSCIMUserOptions_GetSchemas(tt *testing.T) { + tt.Parallel() + zeroValue := []string{} + u := &UpdateAttributeForSCIMUserOptions{Schemas: zeroValue} + u.GetSchemas() + u = &UpdateAttributeForSCIMUserOptions{} + u.GetSchemas() + u = nil + u.GetSchemas() +} + +func TestUpdateBranchRule_GetParameters(tt *testing.T) { + tt.Parallel() + u := &UpdateBranchRule{} + u.GetParameters() + u = nil + u.GetParameters() +} + +func TestUpdateCheckRunOptions_GetActions(tt *testing.T) { + tt.Parallel() + zeroValue := []*CheckRunAction{} + u := &UpdateCheckRunOptions{Actions: zeroValue} + u.GetActions() + u = &UpdateCheckRunOptions{} + u.GetActions() + u = nil + u.GetActions() +} + func TestUpdateCheckRunOptions_GetCompletedAt(tt *testing.T) { tt.Parallel() var zeroValue Timestamp @@ -39496,6 +49347,14 @@ func TestUpdateCheckRunOptions_GetExternalID(tt *testing.T) { u.GetExternalID() } +func TestUpdateCheckRunOptions_GetName(tt *testing.T) { + tt.Parallel() + u := &UpdateCheckRunOptions{} + u.GetName() + u = nil + u.GetName() +} + func TestUpdateCheckRunOptions_GetOutput(tt *testing.T) { tt.Parallel() u := &UpdateCheckRunOptions{} @@ -39526,6 +49385,17 @@ func TestUpdateCodespaceOptions_GetMachine(tt *testing.T) { u.GetMachine() } +func TestUpdateCodespaceOptions_GetRecentFolders(tt *testing.T) { + tt.Parallel() + zeroValue := []string{} + u := &UpdateCodespaceOptions{RecentFolders: zeroValue} + u.GetRecentFolders() + u = &UpdateCodespaceOptions{} + u.GetRecentFolders() + u = nil + u.GetRecentFolders() +} + func TestUpdateCustomOrgRoleRequest_GetBaseRole(tt *testing.T) { tt.Parallel() var zeroValue string @@ -39559,6 +49429,28 @@ func TestUpdateCustomOrgRoleRequest_GetName(tt *testing.T) { u.GetName() } +func TestUpdateCustomOrgRoleRequest_GetPermissions(tt *testing.T) { + tt.Parallel() + zeroValue := []string{} + u := &UpdateCustomOrgRoleRequest{Permissions: zeroValue} + u.GetPermissions() + u = &UpdateCustomOrgRoleRequest{} + u.GetPermissions() + u = nil + u.GetPermissions() +} + +func TestUpdateDefaultSetupConfigurationOptions_GetLanguages(tt *testing.T) { + tt.Parallel() + zeroValue := []string{} + u := &UpdateDefaultSetupConfigurationOptions{Languages: zeroValue} + u.GetLanguages() + u = &UpdateDefaultSetupConfigurationOptions{} + u.GetLanguages() + u = nil + u.GetLanguages() +} + func TestUpdateDefaultSetupConfigurationOptions_GetQuerySuite(tt *testing.T) { tt.Parallel() var zeroValue string @@ -39570,6 +49462,14 @@ func TestUpdateDefaultSetupConfigurationOptions_GetQuerySuite(tt *testing.T) { u.GetQuerySuite() } +func TestUpdateDefaultSetupConfigurationOptions_GetState(tt *testing.T) { + tt.Parallel() + u := &UpdateDefaultSetupConfigurationOptions{} + u.GetState() + u = nil + u.GetState() +} + func TestUpdateDefaultSetupConfigurationResponse_GetRunID(tt *testing.T) { tt.Parallel() var zeroValue int64 @@ -39625,6 +49525,17 @@ func TestUpdateEnterpriseRunnerGroupRequest_GetRestrictedToWorkflows(tt *testing u.GetRestrictedToWorkflows() } +func TestUpdateEnterpriseRunnerGroupRequest_GetSelectedWorkflows(tt *testing.T) { + tt.Parallel() + zeroValue := []string{} + u := &UpdateEnterpriseRunnerGroupRequest{SelectedWorkflows: zeroValue} + u.GetSelectedWorkflows() + u = &UpdateEnterpriseRunnerGroupRequest{} + u.GetSelectedWorkflows() + u = nil + u.GetSelectedWorkflows() +} + func TestUpdateEnterpriseRunnerGroupRequest_GetVisibility(tt *testing.T) { tt.Parallel() var zeroValue string @@ -39746,6 +49657,17 @@ func TestUpdateOrganizationPrivateRegistry_GetRegistryType(tt *testing.T) { u.GetRegistryType() } +func TestUpdateOrganizationPrivateRegistry_GetSelectedRepositoryIDs(tt *testing.T) { + tt.Parallel() + zeroValue := []int64{} + u := &UpdateOrganizationPrivateRegistry{SelectedRepositoryIDs: zeroValue} + u.GetSelectedRepositoryIDs() + u = &UpdateOrganizationPrivateRegistry{} + u.GetSelectedRepositoryIDs() + u = nil + u.GetSelectedRepositoryIDs() +} + func TestUpdateOrganizationPrivateRegistry_GetURL(tt *testing.T) { tt.Parallel() var zeroValue string @@ -39787,6 +49709,33 @@ func TestUpdateProjectItemOptions_GetArchived(tt *testing.T) { u.GetArchived() } +func TestUpdateProjectItemOptions_GetFields(tt *testing.T) { + tt.Parallel() + zeroValue := []*UpdateProjectV2Field{} + u := &UpdateProjectItemOptions{Fields: zeroValue} + u.GetFields() + u = &UpdateProjectItemOptions{} + u.GetFields() + u = nil + u.GetFields() +} + +func TestUpdateProjectV2Field_GetID(tt *testing.T) { + tt.Parallel() + u := &UpdateProjectV2Field{} + u.GetID() + u = nil + u.GetID() +} + +func TestUpdateProjectV2Field_GetValue(tt *testing.T) { + tt.Parallel() + u := &UpdateProjectV2Field{} + u.GetValue() + u = nil + u.GetValue() +} + func TestUpdateRef_GetForce(tt *testing.T) { tt.Parallel() var zeroValue bool @@ -39798,6 +49747,22 @@ func TestUpdateRef_GetForce(tt *testing.T) { u.GetForce() } +func TestUpdateRef_GetSHA(tt *testing.T) { + tt.Parallel() + u := &UpdateRef{} + u.GetSHA() + u = nil + u.GetSHA() +} + +func TestUpdateRuleParameters_GetUpdateAllowsFetchAndMerge(tt *testing.T) { + tt.Parallel() + u := &UpdateRuleParameters{} + u.GetUpdateAllowsFetchAndMerge() + u = nil + u.GetUpdateAllowsFetchAndMerge() +} + func TestUpdateRunnerGroupRequest_GetAllowsPublicRepositories(tt *testing.T) { tt.Parallel() var zeroValue bool @@ -39842,6 +49807,17 @@ func TestUpdateRunnerGroupRequest_GetRestrictedToWorkflows(tt *testing.T) { u.GetRestrictedToWorkflows() } +func TestUpdateRunnerGroupRequest_GetSelectedWorkflows(tt *testing.T) { + tt.Parallel() + zeroValue := []string{} + u := &UpdateRunnerGroupRequest{SelectedWorkflows: zeroValue} + u.GetSelectedWorkflows() + u = &UpdateRunnerGroupRequest{} + u.GetSelectedWorkflows() + u = nil + u.GetSelectedWorkflows() +} + func TestUpdateRunnerGroupRequest_GetVisibility(tt *testing.T) { tt.Parallel() var zeroValue string @@ -39853,6 +49829,70 @@ func TestUpdateRunnerGroupRequest_GetVisibility(tt *testing.T) { u.GetVisibility() } +func TestUploadLicenseOptions_GetLicense(tt *testing.T) { + tt.Parallel() + u := &UploadLicenseOptions{} + u.GetLicense() + u = nil + u.GetLicense() +} + +func TestUploadOptions_GetLabel(tt *testing.T) { + tt.Parallel() + u := &UploadOptions{} + u.GetLabel() + u = nil + u.GetLabel() +} + +func TestUploadOptions_GetMediaType(tt *testing.T) { + tt.Parallel() + u := &UploadOptions{} + u.GetMediaType() + u = nil + u.GetMediaType() +} + +func TestUploadOptions_GetName(tt *testing.T) { + tt.Parallel() + u := &UploadOptions{} + u.GetName() + u = nil + u.GetName() +} + +func TestUsageItem_GetDate(tt *testing.T) { + tt.Parallel() + u := &UsageItem{} + u.GetDate() + u = nil + u.GetDate() +} + +func TestUsageItem_GetDiscountAmount(tt *testing.T) { + tt.Parallel() + u := &UsageItem{} + u.GetDiscountAmount() + u = nil + u.GetDiscountAmount() +} + +func TestUsageItem_GetGrossAmount(tt *testing.T) { + tt.Parallel() + u := &UsageItem{} + u.GetGrossAmount() + u = nil + u.GetGrossAmount() +} + +func TestUsageItem_GetNetAmount(tt *testing.T) { + tt.Parallel() + u := &UsageItem{} + u.GetNetAmount() + u = nil + u.GetNetAmount() +} + func TestUsageItem_GetOrganizationName(tt *testing.T) { tt.Parallel() var zeroValue string @@ -39864,6 +49904,30 @@ func TestUsageItem_GetOrganizationName(tt *testing.T) { u.GetOrganizationName() } +func TestUsageItem_GetPricePerUnit(tt *testing.T) { + tt.Parallel() + u := &UsageItem{} + u.GetPricePerUnit() + u = nil + u.GetPricePerUnit() +} + +func TestUsageItem_GetProduct(tt *testing.T) { + tt.Parallel() + u := &UsageItem{} + u.GetProduct() + u = nil + u.GetProduct() +} + +func TestUsageItem_GetQuantity(tt *testing.T) { + tt.Parallel() + u := &UsageItem{} + u.GetQuantity() + u = nil + u.GetQuantity() +} + func TestUsageItem_GetRepositoryName(tt *testing.T) { tt.Parallel() var zeroValue string @@ -39875,6 +49939,33 @@ func TestUsageItem_GetRepositoryName(tt *testing.T) { u.GetRepositoryName() } +func TestUsageItem_GetSKU(tt *testing.T) { + tt.Parallel() + u := &UsageItem{} + u.GetSKU() + u = nil + u.GetSKU() +} + +func TestUsageItem_GetUnitType(tt *testing.T) { + tt.Parallel() + u := &UsageItem{} + u.GetUnitType() + u = nil + u.GetUnitType() +} + +func TestUsageReport_GetUsageItems(tt *testing.T) { + tt.Parallel() + zeroValue := []*UsageItem{} + u := &UsageReport{UsageItems: zeroValue} + u.GetUsageItems() + u = &UsageReport{} + u.GetUsageItems() + u = nil + u.GetUsageItems() +} + func TestUsageReportOptions_GetDay(tt *testing.T) { tt.Parallel() var zeroValue int @@ -40128,6 +50219,17 @@ func TestUser_GetID(tt *testing.T) { u.GetID() } +func TestUser_GetInheritedFrom(tt *testing.T) { + tt.Parallel() + zeroValue := []*Team{} + u := &User{InheritedFrom: zeroValue} + u.GetInheritedFrom() + u = &User{} + u.GetInheritedFrom() + u = nil + u.GetInheritedFrom() +} + func TestUser_GetLdapDn(tt *testing.T) { tt.Parallel() var zeroValue string @@ -40331,6 +50433,17 @@ func TestUser_GetSuspendedAt(tt *testing.T) { u.GetSuspendedAt() } +func TestUser_GetTextMatches(tt *testing.T) { + tt.Parallel() + zeroValue := []*TextMatch{} + u := &User{TextMatches: zeroValue} + u.GetTextMatches() + u = &User{} + u.GetTextMatches() + u = nil + u.GetTextMatches() +} + func TestUser_GetTotalPrivateRepos(tt *testing.T) { tt.Parallel() var zeroValue int64 @@ -40471,6 +50584,17 @@ func TestUserAuthorization_GetNoteURL(tt *testing.T) { u.GetNoteURL() } +func TestUserAuthorization_GetScopes(tt *testing.T) { + tt.Parallel() + zeroValue := []string{} + u := &UserAuthorization{Scopes: zeroValue} + u.GetScopes() + u = &UserAuthorization{} + u.GetScopes() + u = nil + u.GetScopes() +} + func TestUserAuthorization_GetToken(tt *testing.T) { tt.Parallel() var zeroValue string @@ -40811,6 +50935,22 @@ func TestUserLDAPMapping_GetURL(tt *testing.T) { u.GetURL() } +func TestUserListOptions_GetPerPage(tt *testing.T) { + tt.Parallel() + u := &UserListOptions{} + u.GetPerPage() + u = nil + u.GetPerPage() +} + +func TestUserListOptions_GetSince(tt *testing.T) { + tt.Parallel() + u := &UserListOptions{} + u.GetSince() + u = nil + u.GetSince() +} + func TestUserMigration_GetCreatedAt(tt *testing.T) { tt.Parallel() var zeroValue string @@ -40866,6 +51006,17 @@ func TestUserMigration_GetLockRepositories(tt *testing.T) { u.GetLockRepositories() } +func TestUserMigration_GetRepositories(tt *testing.T) { + tt.Parallel() + zeroValue := []*Repository{} + u := &UserMigration{Repositories: zeroValue} + u.GetRepositories() + u = &UserMigration{} + u.GetRepositories() + u = nil + u.GetRepositories() +} + func TestUserMigration_GetState(tt *testing.T) { tt.Parallel() var zeroValue string @@ -40899,6 +51050,22 @@ func TestUserMigration_GetURL(tt *testing.T) { u.GetURL() } +func TestUserMigrationOptions_GetExcludeAttachments(tt *testing.T) { + tt.Parallel() + u := &UserMigrationOptions{} + u.GetExcludeAttachments() + u = nil + u.GetExcludeAttachments() +} + +func TestUserMigrationOptions_GetLockRepositories(tt *testing.T) { + tt.Parallel() + u := &UserMigrationOptions{} + u.GetLockRepositories() + u = nil + u.GetLockRepositories() +} + func TestUsersSearchResult_GetIncompleteResults(tt *testing.T) { tt.Parallel() var zeroValue bool @@ -40921,6 +51088,17 @@ func TestUsersSearchResult_GetTotal(tt *testing.T) { u.GetTotal() } +func TestUsersSearchResult_GetUsers(tt *testing.T) { + tt.Parallel() + zeroValue := []*User{} + u := &UsersSearchResult{Users: zeroValue} + u.GetUsers() + u = &UsersSearchResult{} + u.GetUsers() + u = nil + u.GetUsers() +} + func TestUserStats_GetAdminUsers(tt *testing.T) { tt.Parallel() var zeroValue int @@ -41030,6 +51208,17 @@ func TestWatchEvent_GetSender(tt *testing.T) { w.GetSender() } +func TestWeeklyCommitActivity_GetDays(tt *testing.T) { + tt.Parallel() + zeroValue := []int{} + w := &WeeklyCommitActivity{Days: zeroValue} + w.GetDays() + w = &WeeklyCommitActivity{} + w.GetDays() + w = nil + w.GetDays() +} + func TestWeeklyCommitActivity_GetTotal(tt *testing.T) { tt.Parallel() var zeroValue int @@ -41217,6 +51406,14 @@ func TestWorkflowBill_GetTotalMS(tt *testing.T) { w.GetTotalMS() } +func TestWorkflowDispatchEvent_GetInputs(tt *testing.T) { + tt.Parallel() + w := &WorkflowDispatchEvent{} + w.GetInputs() + w = nil + w.GetInputs() +} + func TestWorkflowDispatchEvent_GetInstallation(tt *testing.T) { tt.Parallel() w := &WorkflowDispatchEvent{} @@ -41392,6 +51589,17 @@ func TestWorkflowJob_GetID(tt *testing.T) { w.GetID() } +func TestWorkflowJob_GetLabels(tt *testing.T) { + tt.Parallel() + zeroValue := []string{} + w := &WorkflowJob{Labels: zeroValue} + w.GetLabels() + w = &WorkflowJob{} + w.GetLabels() + w = nil + w.GetLabels() +} + func TestWorkflowJob_GetName(tt *testing.T) { tt.Parallel() var zeroValue string @@ -41513,6 +51721,17 @@ func TestWorkflowJob_GetStatus(tt *testing.T) { w.GetStatus() } +func TestWorkflowJob_GetSteps(tt *testing.T) { + tt.Parallel() + zeroValue := []*TaskStep{} + w := &WorkflowJob{Steps: zeroValue} + w.GetSteps() + w = &WorkflowJob{} + w.GetSteps() + w = nil + w.GetSteps() +} + func TestWorkflowJob_GetURL(tt *testing.T) { tt.Parallel() var zeroValue string @@ -41915,6 +52134,28 @@ func TestWorkflowRun_GetPreviousAttemptURL(tt *testing.T) { w.GetPreviousAttemptURL() } +func TestWorkflowRun_GetPullRequests(tt *testing.T) { + tt.Parallel() + zeroValue := []*PullRequest{} + w := &WorkflowRun{PullRequests: zeroValue} + w.GetPullRequests() + w = &WorkflowRun{} + w.GetPullRequests() + w = nil + w.GetPullRequests() +} + +func TestWorkflowRun_GetReferencedWorkflows(tt *testing.T) { + tt.Parallel() + zeroValue := []*ReferencedWorkflow{} + w := &WorkflowRun{ReferencedWorkflows: zeroValue} + w.GetReferencedWorkflows() + w = &WorkflowRun{} + w.GetReferencedWorkflows() + w = nil + w.GetReferencedWorkflows() +} + func TestWorkflowRun_GetRepository(tt *testing.T) { tt.Parallel() w := &WorkflowRun{} @@ -42041,6 +52282,17 @@ func TestWorkflowRunAttemptOptions_GetExcludePullRequests(tt *testing.T) { w.GetExcludePullRequests() } +func TestWorkflowRunBill_GetJobRuns(tt *testing.T) { + tt.Parallel() + zeroValue := []*WorkflowRunJobRun{} + w := &WorkflowRunBill{JobRuns: zeroValue} + w.GetJobRuns() + w = &WorkflowRunBill{} + w.GetJobRuns() + w = nil + w.GetJobRuns() +} + func TestWorkflowRunBill_GetJobs(tt *testing.T) { tt.Parallel() var zeroValue int @@ -42155,6 +52407,17 @@ func TestWorkflowRuns_GetTotalCount(tt *testing.T) { w.GetTotalCount() } +func TestWorkflowRuns_GetWorkflowRuns(tt *testing.T) { + tt.Parallel() + zeroValue := []*WorkflowRun{} + w := &WorkflowRuns{WorkflowRuns: zeroValue} + w.GetWorkflowRuns() + w = &WorkflowRuns{} + w.GetWorkflowRuns() + w = nil + w.GetWorkflowRuns() +} + func TestWorkflowRunUsage_GetBillable(tt *testing.T) { tt.Parallel() w := &WorkflowRunUsage{} @@ -42185,6 +52448,25 @@ func TestWorkflows_GetTotalCount(tt *testing.T) { w.GetTotalCount() } +func TestWorkflows_GetWorkflows(tt *testing.T) { + tt.Parallel() + zeroValue := []*Workflow{} + w := &Workflows{Workflows: zeroValue} + w.GetWorkflows() + w = &Workflows{} + w.GetWorkflows() + w = nil + w.GetWorkflows() +} + +func TestWorkflowsBranchRule_GetParameters(tt *testing.T) { + tt.Parallel() + w := &WorkflowsBranchRule{} + w.GetParameters() + w = nil + w.GetParameters() +} + func TestWorkflowsPermissions_GetRequireApprovalForForkPRWorkflows(tt *testing.T) { tt.Parallel() var zeroValue bool @@ -42240,6 +52522,14 @@ func TestWorkflowsPermissionsOpt_GetRequireApprovalForForkPRWorkflows(tt *testin w.GetRequireApprovalForForkPRWorkflows() } +func TestWorkflowsPermissionsOpt_GetRunWorkflowsFromForkPullRequests(tt *testing.T) { + tt.Parallel() + w := &WorkflowsPermissionsOpt{} + w.GetRunWorkflowsFromForkPullRequests() + w = nil + w.GetRunWorkflowsFromForkPullRequests() +} + func TestWorkflowsPermissionsOpt_GetSendSecretsAndVariables(tt *testing.T) { tt.Parallel() var zeroValue bool @@ -42273,6 +52563,17 @@ func TestWorkflowsRuleParameters_GetDoNotEnforceOnCreate(tt *testing.T) { w.GetDoNotEnforceOnCreate() } +func TestWorkflowsRuleParameters_GetWorkflows(tt *testing.T) { + tt.Parallel() + zeroValue := []*RuleWorkflow{} + w := &WorkflowsRuleParameters{Workflows: zeroValue} + w.GetWorkflows() + w = &WorkflowsRuleParameters{} + w.GetWorkflows() + w = nil + w.GetWorkflows() +} + func TestWorkflowUsage_GetBillable(tt *testing.T) { tt.Parallel() w := &WorkflowUsage{}